@@ -132,6 +132,29 @@ public com.google.protobuf.ByteString getMethodsBytes(int index) {
132
132
return methods_ .getByteString (index );
133
133
}
134
134
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
+
135
158
private byte memoizedIsInitialized = -1 ;
136
159
137
160
@ java .lang .Override
@@ -149,6 +172,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
149
172
for (int i = 0 ; i < methods_ .size (); i ++) {
150
173
com .google .protobuf .GeneratedMessageV3 .writeString (output , 1 , methods_ .getRaw (i ));
151
174
}
175
+ if (generateOmittedAsInternal_ != false ) {
176
+ output .writeBool (2 , generateOmittedAsInternal_ );
177
+ }
152
178
getUnknownFields ().writeTo (output );
153
179
}
154
180
@@ -166,6 +192,9 @@ public int getSerializedSize() {
166
192
size += dataSize ;
167
193
size += 1 * getMethodsList ().size ();
168
194
}
195
+ if (generateOmittedAsInternal_ != false ) {
196
+ size += com .google .protobuf .CodedOutputStream .computeBoolSize (2 , generateOmittedAsInternal_ );
197
+ }
169
198
size += getUnknownFields ().getSerializedSize ();
170
199
memoizedSize = size ;
171
200
return size ;
@@ -182,6 +211,7 @@ public boolean equals(final java.lang.Object obj) {
182
211
com .google .api .SelectiveGapicGeneration other = (com .google .api .SelectiveGapicGeneration ) obj ;
183
212
184
213
if (!getMethodsList ().equals (other .getMethodsList ())) return false ;
214
+ if (getGenerateOmittedAsInternal () != other .getGenerateOmittedAsInternal ()) return false ;
185
215
if (!getUnknownFields ().equals (other .getUnknownFields ())) return false ;
186
216
return true ;
187
217
}
@@ -197,6 +227,8 @@ public int hashCode() {
197
227
hash = (37 * hash ) + METHODS_FIELD_NUMBER ;
198
228
hash = (53 * hash ) + getMethodsList ().hashCode ();
199
229
}
230
+ hash = (37 * hash ) + GENERATE_OMITTED_AS_INTERNAL_FIELD_NUMBER ;
231
+ hash = (53 * hash ) + com .google .protobuf .Internal .hashBoolean (getGenerateOmittedAsInternal ());
200
232
hash = (29 * hash ) + getUnknownFields ().hashCode ();
201
233
memoizedHashCode = hash ;
202
234
return hash ;
@@ -338,6 +370,7 @@ public Builder clear() {
338
370
super .clear ();
339
371
bitField0_ = 0 ;
340
372
methods_ = com .google .protobuf .LazyStringArrayList .emptyList ();
373
+ generateOmittedAsInternal_ = false ;
341
374
return this ;
342
375
}
343
376
@@ -378,6 +411,9 @@ private void buildPartial0(com.google.api.SelectiveGapicGeneration result) {
378
411
methods_ .makeImmutable ();
379
412
result .methods_ = methods_ ;
380
413
}
414
+ if (((from_bitField0_ & 0x00000002 ) != 0 )) {
415
+ result .generateOmittedAsInternal_ = generateOmittedAsInternal_ ;
416
+ }
381
417
}
382
418
383
419
@ java .lang .Override
@@ -435,6 +471,9 @@ public Builder mergeFrom(com.google.api.SelectiveGapicGeneration other) {
435
471
}
436
472
onChanged ();
437
473
}
474
+ if (other .getGenerateOmittedAsInternal () != false ) {
475
+ setGenerateOmittedAsInternal (other .getGenerateOmittedAsInternal ());
476
+ }
438
477
this .mergeUnknownFields (other .getUnknownFields ());
439
478
onChanged ();
440
479
return this ;
@@ -468,6 +507,12 @@ public Builder mergeFrom(
468
507
methods_ .add (s );
469
508
break ;
470
509
} // case 10
510
+ case 16 :
511
+ {
512
+ generateOmittedAsInternal_ = input .readBool ();
513
+ bitField0_ |= 0x00000002 ;
514
+ break ;
515
+ } // case 16
471
516
default :
472
517
{
473
518
if (!super .parseUnknownField (input , extensionRegistry , tag )) {
@@ -670,6 +715,74 @@ public Builder addMethodsBytes(com.google.protobuf.ByteString value) {
670
715
return this ;
671
716
}
672
717
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
+
673
786
@ java .lang .Override
674
787
public final Builder setUnknownFields (final com .google .protobuf .UnknownFieldSet unknownFields ) {
675
788
return super .setUnknownFields (unknownFields );
0 commit comments