• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/container/v1/cluster_service.proto
18 
19 package com.google.container.v1;
20 
21 /**
22  *
23  *
24  * <pre>
25  * GetOpenIDConfigRequest gets the OIDC discovery document for the
26  * cluster. See the OpenID Connect Discovery 1.0 specification for details.
27  * </pre>
28  *
29  * Protobuf type {@code google.container.v1.GetOpenIDConfigRequest}
30  */
31 public final class GetOpenIDConfigRequest extends com.google.protobuf.GeneratedMessageV3
32     implements
33     // @@protoc_insertion_point(message_implements:google.container.v1.GetOpenIDConfigRequest)
34     GetOpenIDConfigRequestOrBuilder {
35   private static final long serialVersionUID = 0L;
36   // Use GetOpenIDConfigRequest.newBuilder() to construct.
GetOpenIDConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)37   private GetOpenIDConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
38     super(builder);
39   }
40 
GetOpenIDConfigRequest()41   private GetOpenIDConfigRequest() {
42     parent_ = "";
43   }
44 
45   @java.lang.Override
46   @SuppressWarnings({"unused"})
newInstance(UnusedPrivateParameter unused)47   protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
48     return new GetOpenIDConfigRequest();
49   }
50 
51   @java.lang.Override
getUnknownFields()52   public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
53     return this.unknownFields;
54   }
55 
getDescriptor()56   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
57     return com.google.container.v1.ClusterServiceProto
58         .internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
59   }
60 
61   @java.lang.Override
62   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()63       internalGetFieldAccessorTable() {
64     return com.google.container.v1.ClusterServiceProto
65         .internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable
66         .ensureFieldAccessorsInitialized(
67             com.google.container.v1.GetOpenIDConfigRequest.class,
68             com.google.container.v1.GetOpenIDConfigRequest.Builder.class);
69   }
70 
71   public static final int PARENT_FIELD_NUMBER = 1;
72 
73   @SuppressWarnings("serial")
74   private volatile java.lang.Object parent_ = "";
75   /**
76    *
77    *
78    * <pre>
79    * The cluster (project, location, cluster name) to get the discovery document
80    * for. Specified in the format `projects/&#42;&#47;locations/&#42;&#47;clusters/&#42;`.
81    * </pre>
82    *
83    * <code>string parent = 1;</code>
84    *
85    * @return The parent.
86    */
87   @java.lang.Override
getParent()88   public java.lang.String getParent() {
89     java.lang.Object ref = parent_;
90     if (ref instanceof java.lang.String) {
91       return (java.lang.String) ref;
92     } else {
93       com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
94       java.lang.String s = bs.toStringUtf8();
95       parent_ = s;
96       return s;
97     }
98   }
99   /**
100    *
101    *
102    * <pre>
103    * The cluster (project, location, cluster name) to get the discovery document
104    * for. Specified in the format `projects/&#42;&#47;locations/&#42;&#47;clusters/&#42;`.
105    * </pre>
106    *
107    * <code>string parent = 1;</code>
108    *
109    * @return The bytes for parent.
110    */
111   @java.lang.Override
getParentBytes()112   public com.google.protobuf.ByteString getParentBytes() {
113     java.lang.Object ref = parent_;
114     if (ref instanceof java.lang.String) {
115       com.google.protobuf.ByteString b =
116           com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
117       parent_ = b;
118       return b;
119     } else {
120       return (com.google.protobuf.ByteString) ref;
121     }
122   }
123 
124   private byte memoizedIsInitialized = -1;
125 
126   @java.lang.Override
isInitialized()127   public final boolean isInitialized() {
128     byte isInitialized = memoizedIsInitialized;
129     if (isInitialized == 1) return true;
130     if (isInitialized == 0) return false;
131 
132     memoizedIsInitialized = 1;
133     return true;
134   }
135 
136   @java.lang.Override
writeTo(com.google.protobuf.CodedOutputStream output)137   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
138     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
139       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
140     }
141     getUnknownFields().writeTo(output);
142   }
143 
144   @java.lang.Override
getSerializedSize()145   public int getSerializedSize() {
146     int size = memoizedSize;
147     if (size != -1) return size;
148 
149     size = 0;
150     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
151       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
152     }
153     size += getUnknownFields().getSerializedSize();
154     memoizedSize = size;
155     return size;
156   }
157 
158   @java.lang.Override
equals(final java.lang.Object obj)159   public boolean equals(final java.lang.Object obj) {
160     if (obj == this) {
161       return true;
162     }
163     if (!(obj instanceof com.google.container.v1.GetOpenIDConfigRequest)) {
164       return super.equals(obj);
165     }
166     com.google.container.v1.GetOpenIDConfigRequest other =
167         (com.google.container.v1.GetOpenIDConfigRequest) obj;
168 
169     if (!getParent().equals(other.getParent())) return false;
170     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
171     return true;
172   }
173 
174   @java.lang.Override
hashCode()175   public int hashCode() {
176     if (memoizedHashCode != 0) {
177       return memoizedHashCode;
178     }
179     int hash = 41;
180     hash = (19 * hash) + getDescriptor().hashCode();
181     hash = (37 * hash) + PARENT_FIELD_NUMBER;
182     hash = (53 * hash) + getParent().hashCode();
183     hash = (29 * hash) + getUnknownFields().hashCode();
184     memoizedHashCode = hash;
185     return hash;
186   }
187 
parseFrom(java.nio.ByteBuffer data)188   public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(java.nio.ByteBuffer data)
189       throws com.google.protobuf.InvalidProtocolBufferException {
190     return PARSER.parseFrom(data);
191   }
192 
parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)193   public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(
194       java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
195       throws com.google.protobuf.InvalidProtocolBufferException {
196     return PARSER.parseFrom(data, extensionRegistry);
197   }
198 
parseFrom( com.google.protobuf.ByteString data)199   public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(
200       com.google.protobuf.ByteString data)
201       throws com.google.protobuf.InvalidProtocolBufferException {
202     return PARSER.parseFrom(data);
203   }
204 
parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)205   public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(
206       com.google.protobuf.ByteString data,
207       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
208       throws com.google.protobuf.InvalidProtocolBufferException {
209     return PARSER.parseFrom(data, extensionRegistry);
210   }
211 
parseFrom(byte[] data)212   public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(byte[] data)
213       throws com.google.protobuf.InvalidProtocolBufferException {
214     return PARSER.parseFrom(data);
215   }
216 
parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)217   public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(
218       byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
219       throws com.google.protobuf.InvalidProtocolBufferException {
220     return PARSER.parseFrom(data, extensionRegistry);
221   }
222 
parseFrom(java.io.InputStream input)223   public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(java.io.InputStream input)
224       throws java.io.IOException {
225     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
226   }
227 
parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)228   public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(
229       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
230       throws java.io.IOException {
231     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
232         PARSER, input, extensionRegistry);
233   }
234 
parseDelimitedFrom( java.io.InputStream input)235   public static com.google.container.v1.GetOpenIDConfigRequest parseDelimitedFrom(
236       java.io.InputStream input) throws java.io.IOException {
237     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
238   }
239 
parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)240   public static com.google.container.v1.GetOpenIDConfigRequest parseDelimitedFrom(
241       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
242       throws java.io.IOException {
243     return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
244         PARSER, input, extensionRegistry);
245   }
246 
parseFrom( com.google.protobuf.CodedInputStream input)247   public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(
248       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
249     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
250   }
251 
parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)252   public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(
253       com.google.protobuf.CodedInputStream input,
254       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
255       throws java.io.IOException {
256     return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
257         PARSER, input, extensionRegistry);
258   }
259 
260   @java.lang.Override
newBuilderForType()261   public Builder newBuilderForType() {
262     return newBuilder();
263   }
264 
newBuilder()265   public static Builder newBuilder() {
266     return DEFAULT_INSTANCE.toBuilder();
267   }
268 
newBuilder(com.google.container.v1.GetOpenIDConfigRequest prototype)269   public static Builder newBuilder(com.google.container.v1.GetOpenIDConfigRequest prototype) {
270     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
271   }
272 
273   @java.lang.Override
toBuilder()274   public Builder toBuilder() {
275     return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
276   }
277 
278   @java.lang.Override
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)279   protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
280     Builder builder = new Builder(parent);
281     return builder;
282   }
283   /**
284    *
285    *
286    * <pre>
287    * GetOpenIDConfigRequest gets the OIDC discovery document for the
288    * cluster. See the OpenID Connect Discovery 1.0 specification for details.
289    * </pre>
290    *
291    * Protobuf type {@code google.container.v1.GetOpenIDConfigRequest}
292    */
293   public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
294       implements
295       // @@protoc_insertion_point(builder_implements:google.container.v1.GetOpenIDConfigRequest)
296       com.google.container.v1.GetOpenIDConfigRequestOrBuilder {
getDescriptor()297     public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
298       return com.google.container.v1.ClusterServiceProto
299           .internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
300     }
301 
302     @java.lang.Override
303     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()304         internalGetFieldAccessorTable() {
305       return com.google.container.v1.ClusterServiceProto
306           .internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable
307           .ensureFieldAccessorsInitialized(
308               com.google.container.v1.GetOpenIDConfigRequest.class,
309               com.google.container.v1.GetOpenIDConfigRequest.Builder.class);
310     }
311 
312     // Construct using com.google.container.v1.GetOpenIDConfigRequest.newBuilder()
Builder()313     private Builder() {}
314 
Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)315     private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
316       super(parent);
317     }
318 
319     @java.lang.Override
clear()320     public Builder clear() {
321       super.clear();
322       bitField0_ = 0;
323       parent_ = "";
324       return this;
325     }
326 
327     @java.lang.Override
getDescriptorForType()328     public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
329       return com.google.container.v1.ClusterServiceProto
330           .internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
331     }
332 
333     @java.lang.Override
getDefaultInstanceForType()334     public com.google.container.v1.GetOpenIDConfigRequest getDefaultInstanceForType() {
335       return com.google.container.v1.GetOpenIDConfigRequest.getDefaultInstance();
336     }
337 
338     @java.lang.Override
build()339     public com.google.container.v1.GetOpenIDConfigRequest build() {
340       com.google.container.v1.GetOpenIDConfigRequest result = buildPartial();
341       if (!result.isInitialized()) {
342         throw newUninitializedMessageException(result);
343       }
344       return result;
345     }
346 
347     @java.lang.Override
buildPartial()348     public com.google.container.v1.GetOpenIDConfigRequest buildPartial() {
349       com.google.container.v1.GetOpenIDConfigRequest result =
350           new com.google.container.v1.GetOpenIDConfigRequest(this);
351       if (bitField0_ != 0) {
352         buildPartial0(result);
353       }
354       onBuilt();
355       return result;
356     }
357 
buildPartial0(com.google.container.v1.GetOpenIDConfigRequest result)358     private void buildPartial0(com.google.container.v1.GetOpenIDConfigRequest result) {
359       int from_bitField0_ = bitField0_;
360       if (((from_bitField0_ & 0x00000001) != 0)) {
361         result.parent_ = parent_;
362       }
363     }
364 
365     @java.lang.Override
clone()366     public Builder clone() {
367       return super.clone();
368     }
369 
370     @java.lang.Override
setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)371     public Builder setField(
372         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
373       return super.setField(field, value);
374     }
375 
376     @java.lang.Override
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)377     public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
378       return super.clearField(field);
379     }
380 
381     @java.lang.Override
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)382     public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
383       return super.clearOneof(oneof);
384     }
385 
386     @java.lang.Override
setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)387     public Builder setRepeatedField(
388         com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
389       return super.setRepeatedField(field, index, value);
390     }
391 
392     @java.lang.Override
addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)393     public Builder addRepeatedField(
394         com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
395       return super.addRepeatedField(field, value);
396     }
397 
398     @java.lang.Override
mergeFrom(com.google.protobuf.Message other)399     public Builder mergeFrom(com.google.protobuf.Message other) {
400       if (other instanceof com.google.container.v1.GetOpenIDConfigRequest) {
401         return mergeFrom((com.google.container.v1.GetOpenIDConfigRequest) other);
402       } else {
403         super.mergeFrom(other);
404         return this;
405       }
406     }
407 
mergeFrom(com.google.container.v1.GetOpenIDConfigRequest other)408     public Builder mergeFrom(com.google.container.v1.GetOpenIDConfigRequest other) {
409       if (other == com.google.container.v1.GetOpenIDConfigRequest.getDefaultInstance()) return this;
410       if (!other.getParent().isEmpty()) {
411         parent_ = other.parent_;
412         bitField0_ |= 0x00000001;
413         onChanged();
414       }
415       this.mergeUnknownFields(other.getUnknownFields());
416       onChanged();
417       return this;
418     }
419 
420     @java.lang.Override
isInitialized()421     public final boolean isInitialized() {
422       return true;
423     }
424 
425     @java.lang.Override
mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)426     public Builder mergeFrom(
427         com.google.protobuf.CodedInputStream input,
428         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
429         throws java.io.IOException {
430       if (extensionRegistry == null) {
431         throw new java.lang.NullPointerException();
432       }
433       try {
434         boolean done = false;
435         while (!done) {
436           int tag = input.readTag();
437           switch (tag) {
438             case 0:
439               done = true;
440               break;
441             case 10:
442               {
443                 parent_ = input.readStringRequireUtf8();
444                 bitField0_ |= 0x00000001;
445                 break;
446               } // case 10
447             default:
448               {
449                 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
450                   done = true; // was an endgroup tag
451                 }
452                 break;
453               } // default:
454           } // switch (tag)
455         } // while (!done)
456       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
457         throw e.unwrapIOException();
458       } finally {
459         onChanged();
460       } // finally
461       return this;
462     }
463 
464     private int bitField0_;
465 
466     private java.lang.Object parent_ = "";
467     /**
468      *
469      *
470      * <pre>
471      * The cluster (project, location, cluster name) to get the discovery document
472      * for. Specified in the format `projects/&#42;&#47;locations/&#42;&#47;clusters/&#42;`.
473      * </pre>
474      *
475      * <code>string parent = 1;</code>
476      *
477      * @return The parent.
478      */
getParent()479     public java.lang.String getParent() {
480       java.lang.Object ref = parent_;
481       if (!(ref instanceof java.lang.String)) {
482         com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
483         java.lang.String s = bs.toStringUtf8();
484         parent_ = s;
485         return s;
486       } else {
487         return (java.lang.String) ref;
488       }
489     }
490     /**
491      *
492      *
493      * <pre>
494      * The cluster (project, location, cluster name) to get the discovery document
495      * for. Specified in the format `projects/&#42;&#47;locations/&#42;&#47;clusters/&#42;`.
496      * </pre>
497      *
498      * <code>string parent = 1;</code>
499      *
500      * @return The bytes for parent.
501      */
getParentBytes()502     public com.google.protobuf.ByteString getParentBytes() {
503       java.lang.Object ref = parent_;
504       if (ref instanceof String) {
505         com.google.protobuf.ByteString b =
506             com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
507         parent_ = b;
508         return b;
509       } else {
510         return (com.google.protobuf.ByteString) ref;
511       }
512     }
513     /**
514      *
515      *
516      * <pre>
517      * The cluster (project, location, cluster name) to get the discovery document
518      * for. Specified in the format `projects/&#42;&#47;locations/&#42;&#47;clusters/&#42;`.
519      * </pre>
520      *
521      * <code>string parent = 1;</code>
522      *
523      * @param value The parent to set.
524      * @return This builder for chaining.
525      */
setParent(java.lang.String value)526     public Builder setParent(java.lang.String value) {
527       if (value == null) {
528         throw new NullPointerException();
529       }
530       parent_ = value;
531       bitField0_ |= 0x00000001;
532       onChanged();
533       return this;
534     }
535     /**
536      *
537      *
538      * <pre>
539      * The cluster (project, location, cluster name) to get the discovery document
540      * for. Specified in the format `projects/&#42;&#47;locations/&#42;&#47;clusters/&#42;`.
541      * </pre>
542      *
543      * <code>string parent = 1;</code>
544      *
545      * @return This builder for chaining.
546      */
clearParent()547     public Builder clearParent() {
548       parent_ = getDefaultInstance().getParent();
549       bitField0_ = (bitField0_ & ~0x00000001);
550       onChanged();
551       return this;
552     }
553     /**
554      *
555      *
556      * <pre>
557      * The cluster (project, location, cluster name) to get the discovery document
558      * for. Specified in the format `projects/&#42;&#47;locations/&#42;&#47;clusters/&#42;`.
559      * </pre>
560      *
561      * <code>string parent = 1;</code>
562      *
563      * @param value The bytes for parent to set.
564      * @return This builder for chaining.
565      */
setParentBytes(com.google.protobuf.ByteString value)566     public Builder setParentBytes(com.google.protobuf.ByteString value) {
567       if (value == null) {
568         throw new NullPointerException();
569       }
570       checkByteStringIsUtf8(value);
571       parent_ = value;
572       bitField0_ |= 0x00000001;
573       onChanged();
574       return this;
575     }
576 
577     @java.lang.Override
setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)578     public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
579       return super.setUnknownFields(unknownFields);
580     }
581 
582     @java.lang.Override
mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)583     public final Builder mergeUnknownFields(
584         final com.google.protobuf.UnknownFieldSet unknownFields) {
585       return super.mergeUnknownFields(unknownFields);
586     }
587 
588     // @@protoc_insertion_point(builder_scope:google.container.v1.GetOpenIDConfigRequest)
589   }
590 
591   // @@protoc_insertion_point(class_scope:google.container.v1.GetOpenIDConfigRequest)
592   private static final com.google.container.v1.GetOpenIDConfigRequest DEFAULT_INSTANCE;
593 
594   static {
595     DEFAULT_INSTANCE = new com.google.container.v1.GetOpenIDConfigRequest();
596   }
597 
getDefaultInstance()598   public static com.google.container.v1.GetOpenIDConfigRequest getDefaultInstance() {
599     return DEFAULT_INSTANCE;
600   }
601 
602   private static final com.google.protobuf.Parser<GetOpenIDConfigRequest> PARSER =
603       new com.google.protobuf.AbstractParser<GetOpenIDConfigRequest>() {
604         @java.lang.Override
605         public GetOpenIDConfigRequest parsePartialFrom(
606             com.google.protobuf.CodedInputStream input,
607             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
608             throws com.google.protobuf.InvalidProtocolBufferException {
609           Builder builder = newBuilder();
610           try {
611             builder.mergeFrom(input, extensionRegistry);
612           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
613             throw e.setUnfinishedMessage(builder.buildPartial());
614           } catch (com.google.protobuf.UninitializedMessageException e) {
615             throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
616           } catch (java.io.IOException e) {
617             throw new com.google.protobuf.InvalidProtocolBufferException(e)
618                 .setUnfinishedMessage(builder.buildPartial());
619           }
620           return builder.buildPartial();
621         }
622       };
623 
parser()624   public static com.google.protobuf.Parser<GetOpenIDConfigRequest> parser() {
625     return PARSER;
626   }
627 
628   @java.lang.Override
getParserForType()629   public com.google.protobuf.Parser<GetOpenIDConfigRequest> getParserForType() {
630     return PARSER;
631   }
632 
633   @java.lang.Override
getDefaultInstanceForType()634   public com.google.container.v1.GetOpenIDConfigRequest getDefaultInstanceForType() {
635     return DEFAULT_INSTANCE;
636   }
637 }
638