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