@@ -69,6 +69,7 @@ static WatchpermissionsReflection() {
69
69
70
70
}
71
71
#region Messages
72
+ [ global ::System . Diagnostics . DebuggerDisplayAttribute ( "{ToString(),nq}" ) ]
72
73
public sealed partial class WatchPermissionsRequest : pb ::IMessage < WatchPermissionsRequest >
73
74
#if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
74
75
, pb ::IBufferMessage
@@ -253,7 +254,11 @@ public void MergeFrom(pb::CodedInputStream input) {
253
254
#else
254
255
uint tag ;
255
256
while ( ( tag = input . ReadTag ( ) ) != 0 ) {
256
- switch ( tag ) {
257
+ if ( ( tag & 7 ) == 4 ) {
258
+ // Abort on any end group tag.
259
+ return ;
260
+ }
261
+ switch ( tag ) {
257
262
default :
258
263
_unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , input ) ;
259
264
break ;
@@ -279,7 +284,11 @@ public void MergeFrom(pb::CodedInputStream input) {
279
284
void pb ::IBufferMessage . InternalMergeFrom ( ref pb ::ParseContext input ) {
280
285
uint tag ;
281
286
while ( ( tag = input . ReadTag ( ) ) != 0 ) {
282
- switch ( tag ) {
287
+ if ( ( tag & 7 ) == 4 ) {
288
+ // Abort on any end group tag.
289
+ return ;
290
+ }
291
+ switch ( tag ) {
283
292
default :
284
293
_unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , ref input ) ;
285
294
break ;
@@ -301,6 +310,7 @@ public void MergeFrom(pb::CodedInputStream input) {
301
310
302
311
}
303
312
313
+ [ global ::System . Diagnostics . DebuggerDisplayAttribute ( "{ToString(),nq}" ) ]
304
314
public sealed partial class WatchedPermission : pb ::IMessage < WatchedPermission >
305
315
#if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
306
316
, pb ::IBufferMessage
@@ -555,7 +565,11 @@ public void MergeFrom(pb::CodedInputStream input) {
555
565
#else
556
566
uint tag ;
557
567
while ( ( tag = input . ReadTag ( ) ) != 0 ) {
558
- switch ( tag ) {
568
+ if ( ( tag & 7 ) == 4 ) {
569
+ // Abort on any end group tag.
570
+ return ;
571
+ }
572
+ switch ( tag ) {
559
573
default :
560
574
_unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , input ) ;
561
575
break ;
@@ -586,7 +600,11 @@ public void MergeFrom(pb::CodedInputStream input) {
586
600
void pb ::IBufferMessage . InternalMergeFrom ( ref pb ::ParseContext input ) {
587
601
uint tag ;
588
602
while ( ( tag = input . ReadTag ( ) ) != 0 ) {
589
- switch ( tag ) {
603
+ if ( ( tag & 7 ) == 4 ) {
604
+ // Abort on any end group tag.
605
+ return ;
606
+ }
607
+ switch ( tag ) {
590
608
default :
591
609
_unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , ref input ) ;
592
610
break ;
@@ -613,6 +631,7 @@ public void MergeFrom(pb::CodedInputStream input) {
613
631
614
632
}
615
633
634
+ [ global ::System . Diagnostics . DebuggerDisplayAttribute ( "{ToString(),nq}" ) ]
616
635
public sealed partial class WatchPermissionsResponse : pb ::IMessage < WatchPermissionsResponse >
617
636
#if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
618
637
, pb ::IBufferMessage
@@ -850,7 +869,11 @@ public void MergeFrom(pb::CodedInputStream input) {
850
869
#else
851
870
uint tag ;
852
871
while ( ( tag = input . ReadTag ( ) ) != 0 ) {
853
- switch ( tag ) {
872
+ if ( ( tag & 7 ) == 4 ) {
873
+ // Abort on any end group tag.
874
+ return ;
875
+ }
876
+ switch ( tag ) {
854
877
default :
855
878
_unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , input ) ;
856
879
break ;
@@ -883,7 +906,11 @@ public void MergeFrom(pb::CodedInputStream input) {
883
906
void pb ::IBufferMessage . InternalMergeFrom ( ref pb ::ParseContext input ) {
884
907
uint tag ;
885
908
while ( ( tag = input . ReadTag ( ) ) != 0 ) {
886
- switch ( tag ) {
909
+ if ( ( tag & 7 ) == 4 ) {
910
+ // Abort on any end group tag.
911
+ return ;
912
+ }
913
+ switch ( tag ) {
887
914
default :
888
915
_unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , ref input ) ;
889
916
break ;
@@ -912,6 +939,7 @@ public void MergeFrom(pb::CodedInputStream input) {
912
939
913
940
}
914
941
942
+ [ global ::System . Diagnostics . DebuggerDisplayAttribute ( "{ToString(),nq}" ) ]
915
943
public sealed partial class PermissionChange : pb ::IMessage < PermissionChange >
916
944
#if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
917
945
, pb ::IBufferMessage
@@ -1207,7 +1235,11 @@ public void MergeFrom(pb::CodedInputStream input) {
1207
1235
#else
1208
1236
uint tag ;
1209
1237
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 ) {
1211
1243
default :
1212
1244
_unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , input ) ;
1213
1245
break ;
@@ -1251,7 +1283,11 @@ public void MergeFrom(pb::CodedInputStream input) {
1251
1283
void pb ::IBufferMessage . InternalMergeFrom ( ref pb ::ParseContext input ) {
1252
1284
uint tag ;
1253
1285
while ( ( tag = input . ReadTag ( ) ) != 0 ) {
1254
- switch ( tag ) {
1286
+ if ( ( tag & 7 ) == 4 ) {
1287
+ // Abort on any end group tag.
1288
+ return ;
1289
+ }
1290
+ switch ( tag ) {
1255
1291
default :
1256
1292
_unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , ref input ) ;
1257
1293
break ;
0 commit comments