22// Generated by the protocol buffer compiler. DO NOT EDIT!
33// source: ct/scheduler/scheduler.proto
44// </auto-generated>
5- #pragma warning disable 1591 , 0612 , 3021
5+ #pragma warning disable 1591 , 0612 , 3021 , 8981
66#region Designer generated code
77
88using pb = global ::Google . Protobuf ;
@@ -116,6 +116,7 @@ public enum JobStatus {
116116 #endregion
117117
118118 #region Messages
119+ [ global ::System . Diagnostics . DebuggerDisplayAttribute ( "{ToString(),nq}" ) ]
119120 public sealed partial class SchedulingJob : pb ::IMessage < SchedulingJob >
120121 #if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
121122 , pb ::IBufferMessage
@@ -668,7 +669,11 @@ public void MergeFrom(pb::CodedInputStream input) {
668669 #else
669670 uint tag ;
670671 while ( ( tag = input . ReadTag ( ) ) != 0 ) {
671- switch ( tag ) {
672+ if ( ( tag & 7 ) == 4 ) {
673+ // Abort on any end group tag.
674+ return ;
675+ }
676+ switch ( tag ) {
672677 default :
673678 _unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , input ) ;
674679 break ;
@@ -753,7 +758,11 @@ public void MergeFrom(pb::CodedInputStream input) {
753758 void pb ::IBufferMessage . InternalMergeFrom ( ref pb ::ParseContext input ) {
754759 uint tag ;
755760 while ( ( tag = input . ReadTag ( ) ) != 0 ) {
756- switch ( tag ) {
761+ if ( ( tag & 7 ) == 4 ) {
762+ // Abort on any end group tag.
763+ return ;
764+ }
765+ switch ( tag ) {
757766 default :
758767 _unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , ref input ) ;
759768 break ;
@@ -834,6 +843,7 @@ public void MergeFrom(pb::CodedInputStream input) {
834843
835844 }
836845
846+ [ global ::System . Diagnostics . DebuggerDisplayAttribute ( "{ToString(),nq}" ) ]
837847 public sealed partial class Schedule : pb ::IMessage < Schedule >
838848 #if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
839849 , pb ::IBufferMessage
@@ -947,12 +957,26 @@ public string Timezone {
947957 [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
948958 [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
949959 public int RepeatCount {
950- get { return expiryCase_ == ExpiryOneofCase . RepeatCount ? ( int ) expiry_ : 0 ; }
960+ get { return HasRepeatCount ? ( int ) expiry_ : 0 ; }
951961 set {
952962 expiry_ = value ;
953963 expiryCase_ = ExpiryOneofCase . RepeatCount ;
954964 }
955965 }
966+ /// <summary>Gets whether the "repeatCount" field is set</summary>
967+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
968+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
969+ public bool HasRepeatCount {
970+ get { return expiryCase_ == ExpiryOneofCase . RepeatCount ; }
971+ }
972+ /// <summary> Clears the value of the oneof if it's currently set to "repeatCount" </summary>
973+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
974+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
975+ public void ClearRepeatCount ( ) {
976+ if ( HasRepeatCount ) {
977+ ClearExpiry ( ) ;
978+ }
979+ }
956980
957981 /// <summary>Field number for the "expiryDate" field.</summary>
958982 public const int ExpiryDateFieldNumber = 16 ;
@@ -1021,7 +1045,7 @@ public override int GetHashCode() {
10211045 if ( Schedule_ . Length != 0 ) hash ^= Schedule_ . GetHashCode ( ) ;
10221046 if ( Timezone . Length != 0 ) hash ^= Timezone . GetHashCode ( ) ;
10231047 if ( startsAt_ != null ) hash ^= StartsAt . GetHashCode ( ) ;
1024- if ( expiryCase_ == ExpiryOneofCase . RepeatCount ) hash ^= RepeatCount . GetHashCode ( ) ;
1048+ if ( HasRepeatCount ) hash ^= RepeatCount . GetHashCode ( ) ;
10251049 if ( expiryCase_ == ExpiryOneofCase . ExpiryDate ) hash ^= ExpiryDate . GetHashCode ( ) ;
10261050 hash ^= ( int ) expiryCase_ ;
10271051 if ( _unknownFields != null ) {
@@ -1054,7 +1078,7 @@ public void WriteTo(pb::CodedOutputStream output) {
10541078 output . WriteRawTag ( 26 ) ;
10551079 output . WriteMessage ( StartsAt ) ;
10561080 }
1057- if ( expiryCase_ == ExpiryOneofCase . RepeatCount ) {
1081+ if ( HasRepeatCount ) {
10581082 output . WriteRawTag ( 120 ) ;
10591083 output . WriteSInt32 ( RepeatCount ) ;
10601084 }
@@ -1084,7 +1108,7 @@ public void WriteTo(pb::CodedOutputStream output) {
10841108 output . WriteRawTag ( 26 ) ;
10851109 output . WriteMessage ( StartsAt ) ;
10861110 }
1087- if ( expiryCase_ == ExpiryOneofCase . RepeatCount ) {
1111+ if ( HasRepeatCount ) {
10881112 output . WriteRawTag ( 120 ) ;
10891113 output . WriteSInt32 ( RepeatCount ) ;
10901114 }
@@ -1111,7 +1135,7 @@ public int CalculateSize() {
11111135 if ( startsAt_ != null ) {
11121136 size += 1 + pb ::CodedOutputStream . ComputeMessageSize ( StartsAt ) ;
11131137 }
1114- if ( expiryCase_ == ExpiryOneofCase . RepeatCount ) {
1138+ if ( HasRepeatCount ) {
11151139 size += 1 + pb ::CodedOutputStream . ComputeSInt32Size ( RepeatCount ) ;
11161140 }
11171141 if ( expiryCase_ == ExpiryOneofCase . ExpiryDate ) {
@@ -1164,7 +1188,11 @@ public void MergeFrom(pb::CodedInputStream input) {
11641188 #else
11651189 uint tag ;
11661190 while ( ( tag = input . ReadTag ( ) ) != 0 ) {
1167- switch ( tag ) {
1191+ if ( ( tag & 7 ) == 4 ) {
1192+ // Abort on any end group tag.
1193+ return ;
1194+ }
1195+ switch ( tag ) {
11681196 default :
11691197 _unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , input ) ;
11701198 break ;
@@ -1207,7 +1235,11 @@ public void MergeFrom(pb::CodedInputStream input) {
12071235 void pb ::IBufferMessage . InternalMergeFrom ( ref pb ::ParseContext input ) {
12081236 uint tag ;
12091237 while ( ( tag = input . ReadTag ( ) ) != 0 ) {
1210- switch ( tag ) {
1238+ if ( ( tag & 7 ) == 4 ) {
1239+ // Abort on any end group tag.
1240+ return ;
1241+ }
1242+ switch ( tag ) {
12111243 default :
12121244 _unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , ref input ) ;
12131245 break ;
@@ -1246,6 +1278,7 @@ public void MergeFrom(pb::CodedInputStream input) {
12461278
12471279 }
12481280
1281+ [ global ::System . Diagnostics . DebuggerDisplayAttribute ( "{ToString(),nq}" ) ]
12491282 public sealed partial class SchedulingJobResponse : pb ::IMessage < SchedulingJobResponse >
12501283 #if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
12511284 , pb ::IBufferMessage
@@ -1506,7 +1539,11 @@ public void MergeFrom(pb::CodedInputStream input) {
15061539 #else
15071540 uint tag ;
15081541 while ( ( tag = input . ReadTag ( ) ) != 0 ) {
1509- switch ( tag ) {
1542+ if ( ( tag & 7 ) == 4 ) {
1543+ // Abort on any end group tag.
1544+ return ;
1545+ }
1546+ switch ( tag ) {
15101547 default :
15111548 _unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , input ) ;
15121549 break ;
@@ -1543,7 +1580,11 @@ public void MergeFrom(pb::CodedInputStream input) {
15431580 void pb ::IBufferMessage . InternalMergeFrom ( ref pb ::ParseContext input ) {
15441581 uint tag ;
15451582 while ( ( tag = input . ReadTag ( ) ) != 0 ) {
1546- switch ( tag ) {
1583+ if ( ( tag & 7 ) == 4 ) {
1584+ // Abort on any end group tag.
1585+ return ;
1586+ }
1587+ switch ( tag ) {
15471588 default :
15481589 _unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , ref input ) ;
15491590 break ;
@@ -1576,6 +1617,7 @@ public void MergeFrom(pb::CodedInputStream input) {
15761617
15771618 }
15781619
1620+ [ global ::System . Diagnostics . DebuggerDisplayAttribute ( "{ToString(),nq}" ) ]
15791621 public sealed partial class JobHistory : pb ::IMessage < JobHistory >
15801622 #if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
15811623 , pb ::IBufferMessage
@@ -1932,7 +1974,11 @@ public void MergeFrom(pb::CodedInputStream input) {
19321974 #else
19331975 uint tag ;
19341976 while ( ( tag = input . ReadTag ( ) ) != 0 ) {
1935- switch ( tag ) {
1977+ if ( ( tag & 7 ) == 4 ) {
1978+ // Abort on any end group tag.
1979+ return ;
1980+ }
1981+ switch ( tag ) {
19361982 default :
19371983 _unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , input ) ;
19381984 break ;
@@ -1981,7 +2027,11 @@ public void MergeFrom(pb::CodedInputStream input) {
19812027 void pb ::IBufferMessage . InternalMergeFrom ( ref pb ::ParseContext input ) {
19822028 uint tag ;
19832029 while ( ( tag = input . ReadTag ( ) ) != 0 ) {
1984- switch ( tag ) {
2030+ if ( ( tag & 7 ) == 4 ) {
2031+ // Abort on any end group tag.
2032+ return ;
2033+ }
2034+ switch ( tag ) {
19852035 default :
19862036 _unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , ref input ) ;
19872037 break ;
0 commit comments