@@ -53,45 +53,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
5353 return this .unknownFields ;
5454 }
5555
56- private AccessContextManagerOperationMetadata (
57- com .google .protobuf .CodedInputStream input ,
58- com .google .protobuf .ExtensionRegistryLite extensionRegistry )
59- throws com .google .protobuf .InvalidProtocolBufferException {
60- this ();
61- if (extensionRegistry == null ) {
62- throw new java .lang .NullPointerException ();
63- }
64- com .google .protobuf .UnknownFieldSet .Builder unknownFields =
65- com .google .protobuf .UnknownFieldSet .newBuilder ();
66- try {
67- boolean done = false ;
68- while (!done ) {
69- int tag = input .readTag ();
70- switch (tag ) {
71- case 0 :
72- done = true ;
73- break ;
74- default :
75- {
76- if (!parseUnknownField (input , unknownFields , extensionRegistry , tag )) {
77- done = true ;
78- }
79- break ;
80- }
81- }
82- }
83- } catch (com .google .protobuf .InvalidProtocolBufferException e ) {
84- throw e .setUnfinishedMessage (this );
85- } catch (com .google .protobuf .UninitializedMessageException e ) {
86- throw e .asInvalidProtocolBufferException ().setUnfinishedMessage (this );
87- } catch (java .io .IOException e ) {
88- throw new com .google .protobuf .InvalidProtocolBufferException (e ).setUnfinishedMessage (this );
89- } finally {
90- this .unknownFields = unknownFields .build ();
91- makeExtensionsImmutable ();
92- }
93- }
94-
9556 public static final com .google .protobuf .Descriptors .Descriptor getDescriptor () {
9657 return com .google .identity .accesscontextmanager .v1 .AccessContextManagerProto
9758 .internal_static_google_identity_accesscontextmanager_v1_AccessContextManagerOperationMetadata_descriptor ;
@@ -122,7 +83,7 @@ public final boolean isInitialized() {
12283
12384 @ java .lang .Override
12485 public void writeTo (com .google .protobuf .CodedOutputStream output ) throws java .io .IOException {
125- unknownFields .writeTo (output );
86+ getUnknownFields () .writeTo (output );
12687 }
12788
12889 @ java .lang .Override
@@ -131,7 +92,7 @@ public int getSerializedSize() {
13192 if (size != -1 ) return size ;
13293
13394 size = 0 ;
134- size += unknownFields .getSerializedSize ();
95+ size += getUnknownFields () .getSerializedSize ();
13596 memoizedSize = size ;
13697 return size ;
13798 }
@@ -149,7 +110,7 @@ public boolean equals(final java.lang.Object obj) {
149110 com .google .identity .accesscontextmanager .v1 .AccessContextManagerOperationMetadata other =
150111 (com .google .identity .accesscontextmanager .v1 .AccessContextManagerOperationMetadata ) obj ;
151112
152- if (!unknownFields .equals (other .unknownFields )) return false ;
113+ if (!getUnknownFields () .equals (other .getUnknownFields () )) return false ;
153114 return true ;
154115 }
155116
@@ -160,7 +121,7 @@ public int hashCode() {
160121 }
161122 int hash = 41 ;
162123 hash = (19 * hash ) + getDescriptor ().hashCode ();
163- hash = (29 * hash ) + unknownFields .hashCode ();
124+ hash = (29 * hash ) + getUnknownFields () .hashCode ();
164125 memoizedHashCode = hash ;
165126 return hash ;
166127 }
@@ -300,17 +261,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
300261
301262 // Construct using
302263 // com.google.identity.accesscontextmanager.v1.AccessContextManagerOperationMetadata.newBuilder()
303- private Builder () {
304- maybeForceBuilderInitialization ();
305- }
264+ private Builder () {}
306265
307266 private Builder (com .google .protobuf .GeneratedMessageV3 .BuilderParent parent ) {
308267 super (parent );
309- maybeForceBuilderInitialization ();
310- }
311-
312- private void maybeForceBuilderInitialization () {
313- if (com .google .protobuf .GeneratedMessageV3 .alwaysUseFieldBuilders ) {}
314268 }
315269
316270 @ java .lang .Override
@@ -405,7 +359,7 @@ public Builder mergeFrom(
405359 if (other
406360 == com .google .identity .accesscontextmanager .v1 .AccessContextManagerOperationMetadata
407361 .getDefaultInstance ()) return this ;
408- this .mergeUnknownFields (other .unknownFields );
362+ this .mergeUnknownFields (other .getUnknownFields () );
409363 onChanged ();
410364 return this ;
411365 }
@@ -420,20 +374,31 @@ public Builder mergeFrom(
420374 com .google .protobuf .CodedInputStream input ,
421375 com .google .protobuf .ExtensionRegistryLite extensionRegistry )
422376 throws java .io .IOException {
423- com .google .identity .accesscontextmanager .v1 .AccessContextManagerOperationMetadata
424- parsedMessage = null ;
377+ if (extensionRegistry == null ) {
378+ throw new java .lang .NullPointerException ();
379+ }
425380 try {
426- parsedMessage = PARSER .parsePartialFrom (input , extensionRegistry );
381+ boolean done = false ;
382+ while (!done ) {
383+ int tag = input .readTag ();
384+ switch (tag ) {
385+ case 0 :
386+ done = true ;
387+ break ;
388+ default :
389+ {
390+ if (!super .parseUnknownField (input , extensionRegistry , tag )) {
391+ done = true ; // was an endgroup tag
392+ }
393+ break ;
394+ } // default:
395+ } // switch (tag)
396+ } // while (!done)
427397 } catch (com .google .protobuf .InvalidProtocolBufferException e ) {
428- parsedMessage =
429- (com .google .identity .accesscontextmanager .v1 .AccessContextManagerOperationMetadata )
430- e .getUnfinishedMessage ();
431398 throw e .unwrapIOException ();
432399 } finally {
433- if (parsedMessage != null ) {
434- mergeFrom (parsedMessage );
435- }
436- }
400+ onChanged ();
401+ } // finally
437402 return this ;
438403 }
439404
@@ -473,7 +438,18 @@ public AccessContextManagerOperationMetadata parsePartialFrom(
473438 com .google .protobuf .CodedInputStream input ,
474439 com .google .protobuf .ExtensionRegistryLite extensionRegistry )
475440 throws com .google .protobuf .InvalidProtocolBufferException {
476- return new AccessContextManagerOperationMetadata (input , extensionRegistry );
441+ Builder builder = newBuilder ();
442+ try {
443+ builder .mergeFrom (input , extensionRegistry );
444+ } catch (com .google .protobuf .InvalidProtocolBufferException e ) {
445+ throw e .setUnfinishedMessage (builder .buildPartial ());
446+ } catch (com .google .protobuf .UninitializedMessageException e ) {
447+ throw e .asInvalidProtocolBufferException ().setUnfinishedMessage (builder .buildPartial ());
448+ } catch (java .io .IOException e ) {
449+ throw new com .google .protobuf .InvalidProtocolBufferException (e )
450+ .setUnfinishedMessage (builder .buildPartial ());
451+ }
452+ return builder .buildPartial ();
477453 }
478454 };
479455
0 commit comments