@@ -132,6 +132,29 @@ public com.google.protobuf.ByteString getMethodsBytes(int index) {
132132 return methods_ .getByteString (index );
133133 }
134134
135+ public static final int GENERATE_OMITTED_AS_INTERNAL_FIELD_NUMBER = 2 ;
136+ private boolean generateOmittedAsInternal_ = false ;
137+ /**
138+ *
139+ *
140+ * <pre>
141+ * Setting this to true indicates to the client generators that methods
142+ * that would be excluded from the generation should instead be generated
143+ * in a way that indicates these methods should not be consumed by
144+ * end users. How this is expressed is up to individual language
145+ * implementations to decide. Some examples may be: added annotations,
146+ * obfuscated identifiers, or other language idiomatic patterns.
147+ * </pre>
148+ *
149+ * <code>bool generate_omitted_as_internal = 2;</code>
150+ *
151+ * @return The generateOmittedAsInternal.
152+ */
153+ @ java .lang .Override
154+ public boolean getGenerateOmittedAsInternal () {
155+ return generateOmittedAsInternal_ ;
156+ }
157+
135158 private byte memoizedIsInitialized = -1 ;
136159
137160 @ java .lang .Override
@@ -149,6 +172,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
149172 for (int i = 0 ; i < methods_ .size (); i ++) {
150173 com .google .protobuf .GeneratedMessageV3 .writeString (output , 1 , methods_ .getRaw (i ));
151174 }
175+ if (generateOmittedAsInternal_ != false ) {
176+ output .writeBool (2 , generateOmittedAsInternal_ );
177+ }
152178 getUnknownFields ().writeTo (output );
153179 }
154180
@@ -166,6 +192,9 @@ public int getSerializedSize() {
166192 size += dataSize ;
167193 size += 1 * getMethodsList ().size ();
168194 }
195+ if (generateOmittedAsInternal_ != false ) {
196+ size += com .google .protobuf .CodedOutputStream .computeBoolSize (2 , generateOmittedAsInternal_ );
197+ }
169198 size += getUnknownFields ().getSerializedSize ();
170199 memoizedSize = size ;
171200 return size ;
@@ -182,6 +211,7 @@ public boolean equals(final java.lang.Object obj) {
182211 com .google .api .SelectiveGapicGeneration other = (com .google .api .SelectiveGapicGeneration ) obj ;
183212
184213 if (!getMethodsList ().equals (other .getMethodsList ())) return false ;
214+ if (getGenerateOmittedAsInternal () != other .getGenerateOmittedAsInternal ()) return false ;
185215 if (!getUnknownFields ().equals (other .getUnknownFields ())) return false ;
186216 return true ;
187217 }
@@ -197,6 +227,8 @@ public int hashCode() {
197227 hash = (37 * hash ) + METHODS_FIELD_NUMBER ;
198228 hash = (53 * hash ) + getMethodsList ().hashCode ();
199229 }
230+ hash = (37 * hash ) + GENERATE_OMITTED_AS_INTERNAL_FIELD_NUMBER ;
231+ hash = (53 * hash ) + com .google .protobuf .Internal .hashBoolean (getGenerateOmittedAsInternal ());
200232 hash = (29 * hash ) + getUnknownFields ().hashCode ();
201233 memoizedHashCode = hash ;
202234 return hash ;
@@ -338,6 +370,7 @@ public Builder clear() {
338370 super .clear ();
339371 bitField0_ = 0 ;
340372 methods_ = com .google .protobuf .LazyStringArrayList .emptyList ();
373+ generateOmittedAsInternal_ = false ;
341374 return this ;
342375 }
343376
@@ -378,6 +411,9 @@ private void buildPartial0(com.google.api.SelectiveGapicGeneration result) {
378411 methods_ .makeImmutable ();
379412 result .methods_ = methods_ ;
380413 }
414+ if (((from_bitField0_ & 0x00000002 ) != 0 )) {
415+ result .generateOmittedAsInternal_ = generateOmittedAsInternal_ ;
416+ }
381417 }
382418
383419 @ java .lang .Override
@@ -435,6 +471,9 @@ public Builder mergeFrom(com.google.api.SelectiveGapicGeneration other) {
435471 }
436472 onChanged ();
437473 }
474+ if (other .getGenerateOmittedAsInternal () != false ) {
475+ setGenerateOmittedAsInternal (other .getGenerateOmittedAsInternal ());
476+ }
438477 this .mergeUnknownFields (other .getUnknownFields ());
439478 onChanged ();
440479 return this ;
@@ -468,6 +507,12 @@ public Builder mergeFrom(
468507 methods_ .add (s );
469508 break ;
470509 } // case 10
510+ case 16 :
511+ {
512+ generateOmittedAsInternal_ = input .readBool ();
513+ bitField0_ |= 0x00000002 ;
514+ break ;
515+ } // case 16
471516 default :
472517 {
473518 if (!super .parseUnknownField (input , extensionRegistry , tag )) {
@@ -670,6 +715,74 @@ public Builder addMethodsBytes(com.google.protobuf.ByteString value) {
670715 return this ;
671716 }
672717
718+ private boolean generateOmittedAsInternal_ ;
719+ /**
720+ *
721+ *
722+ * <pre>
723+ * Setting this to true indicates to the client generators that methods
724+ * that would be excluded from the generation should instead be generated
725+ * in a way that indicates these methods should not be consumed by
726+ * end users. How this is expressed is up to individual language
727+ * implementations to decide. Some examples may be: added annotations,
728+ * obfuscated identifiers, or other language idiomatic patterns.
729+ * </pre>
730+ *
731+ * <code>bool generate_omitted_as_internal = 2;</code>
732+ *
733+ * @return The generateOmittedAsInternal.
734+ */
735+ @ java .lang .Override
736+ public boolean getGenerateOmittedAsInternal () {
737+ return generateOmittedAsInternal_ ;
738+ }
739+ /**
740+ *
741+ *
742+ * <pre>
743+ * Setting this to true indicates to the client generators that methods
744+ * that would be excluded from the generation should instead be generated
745+ * in a way that indicates these methods should not be consumed by
746+ * end users. How this is expressed is up to individual language
747+ * implementations to decide. Some examples may be: added annotations,
748+ * obfuscated identifiers, or other language idiomatic patterns.
749+ * </pre>
750+ *
751+ * <code>bool generate_omitted_as_internal = 2;</code>
752+ *
753+ * @param value The generateOmittedAsInternal to set.
754+ * @return This builder for chaining.
755+ */
756+ public Builder setGenerateOmittedAsInternal (boolean value ) {
757+
758+ generateOmittedAsInternal_ = value ;
759+ bitField0_ |= 0x00000002 ;
760+ onChanged ();
761+ return this ;
762+ }
763+ /**
764+ *
765+ *
766+ * <pre>
767+ * Setting this to true indicates to the client generators that methods
768+ * that would be excluded from the generation should instead be generated
769+ * in a way that indicates these methods should not be consumed by
770+ * end users. How this is expressed is up to individual language
771+ * implementations to decide. Some examples may be: added annotations,
772+ * obfuscated identifiers, or other language idiomatic patterns.
773+ * </pre>
774+ *
775+ * <code>bool generate_omitted_as_internal = 2;</code>
776+ *
777+ * @return This builder for chaining.
778+ */
779+ public Builder clearGenerateOmittedAsInternal () {
780+ bitField0_ = (bitField0_ & ~0x00000002 );
781+ generateOmittedAsInternal_ = false ;
782+ onChanged ();
783+ return this ;
784+ }
785+
673786 @ java .lang .Override
674787 public final Builder setUnknownFields (final com .google .protobuf .UnknownFieldSet unknownFields ) {
675788 return super .setUnknownFields (unknownFields );
0 commit comments