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 * GetOpenIDConfigResponse is an OIDC discovery document for the cluster. 26 * See the OpenID Connect Discovery 1.0 specification for details. 27 * </pre> 28 * 29 * Protobuf type {@code google.container.v1.GetOpenIDConfigResponse} 30 */ 31 public final class GetOpenIDConfigResponse extends com.google.protobuf.GeneratedMessageV3 32 implements 33 // @@protoc_insertion_point(message_implements:google.container.v1.GetOpenIDConfigResponse) 34 GetOpenIDConfigResponseOrBuilder { 35 private static final long serialVersionUID = 0L; 36 // Use GetOpenIDConfigResponse.newBuilder() to construct. GetOpenIDConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)37 private GetOpenIDConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 38 super(builder); 39 } 40 GetOpenIDConfigResponse()41 private GetOpenIDConfigResponse() { 42 issuer_ = ""; 43 jwksUri_ = ""; 44 responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; 45 subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; 46 idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; 47 claimsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; 48 grantTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; 49 } 50 51 @java.lang.Override 52 @SuppressWarnings({"unused"}) newInstance(UnusedPrivateParameter unused)53 protected java.lang.Object newInstance(UnusedPrivateParameter unused) { 54 return new GetOpenIDConfigResponse(); 55 } 56 57 @java.lang.Override getUnknownFields()58 public final com.google.protobuf.UnknownFieldSet getUnknownFields() { 59 return this.unknownFields; 60 } 61 getDescriptor()62 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 63 return com.google.container.v1.ClusterServiceProto 64 .internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor; 65 } 66 67 @java.lang.Override 68 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()69 internalGetFieldAccessorTable() { 70 return com.google.container.v1.ClusterServiceProto 71 .internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable 72 .ensureFieldAccessorsInitialized( 73 com.google.container.v1.GetOpenIDConfigResponse.class, 74 com.google.container.v1.GetOpenIDConfigResponse.Builder.class); 75 } 76 77 public static final int ISSUER_FIELD_NUMBER = 1; 78 79 @SuppressWarnings("serial") 80 private volatile java.lang.Object issuer_ = ""; 81 /** 82 * 83 * 84 * <pre> 85 * OIDC Issuer. 86 * </pre> 87 * 88 * <code>string issuer = 1;</code> 89 * 90 * @return The issuer. 91 */ 92 @java.lang.Override getIssuer()93 public java.lang.String getIssuer() { 94 java.lang.Object ref = issuer_; 95 if (ref instanceof java.lang.String) { 96 return (java.lang.String) ref; 97 } else { 98 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 99 java.lang.String s = bs.toStringUtf8(); 100 issuer_ = s; 101 return s; 102 } 103 } 104 /** 105 * 106 * 107 * <pre> 108 * OIDC Issuer. 109 * </pre> 110 * 111 * <code>string issuer = 1;</code> 112 * 113 * @return The bytes for issuer. 114 */ 115 @java.lang.Override getIssuerBytes()116 public com.google.protobuf.ByteString getIssuerBytes() { 117 java.lang.Object ref = issuer_; 118 if (ref instanceof java.lang.String) { 119 com.google.protobuf.ByteString b = 120 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 121 issuer_ = b; 122 return b; 123 } else { 124 return (com.google.protobuf.ByteString) ref; 125 } 126 } 127 128 public static final int JWKS_URI_FIELD_NUMBER = 2; 129 130 @SuppressWarnings("serial") 131 private volatile java.lang.Object jwksUri_ = ""; 132 /** 133 * 134 * 135 * <pre> 136 * JSON Web Key uri. 137 * </pre> 138 * 139 * <code>string jwks_uri = 2;</code> 140 * 141 * @return The jwksUri. 142 */ 143 @java.lang.Override getJwksUri()144 public java.lang.String getJwksUri() { 145 java.lang.Object ref = jwksUri_; 146 if (ref instanceof java.lang.String) { 147 return (java.lang.String) ref; 148 } else { 149 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 150 java.lang.String s = bs.toStringUtf8(); 151 jwksUri_ = s; 152 return s; 153 } 154 } 155 /** 156 * 157 * 158 * <pre> 159 * JSON Web Key uri. 160 * </pre> 161 * 162 * <code>string jwks_uri = 2;</code> 163 * 164 * @return The bytes for jwksUri. 165 */ 166 @java.lang.Override getJwksUriBytes()167 public com.google.protobuf.ByteString getJwksUriBytes() { 168 java.lang.Object ref = jwksUri_; 169 if (ref instanceof java.lang.String) { 170 com.google.protobuf.ByteString b = 171 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 172 jwksUri_ = b; 173 return b; 174 } else { 175 return (com.google.protobuf.ByteString) ref; 176 } 177 } 178 179 public static final int RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER = 3; 180 181 @SuppressWarnings("serial") 182 private com.google.protobuf.LazyStringList responseTypesSupported_; 183 /** 184 * 185 * 186 * <pre> 187 * Supported response types. 188 * </pre> 189 * 190 * <code>repeated string response_types_supported = 3;</code> 191 * 192 * @return A list containing the responseTypesSupported. 193 */ getResponseTypesSupportedList()194 public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { 195 return responseTypesSupported_; 196 } 197 /** 198 * 199 * 200 * <pre> 201 * Supported response types. 202 * </pre> 203 * 204 * <code>repeated string response_types_supported = 3;</code> 205 * 206 * @return The count of responseTypesSupported. 207 */ getResponseTypesSupportedCount()208 public int getResponseTypesSupportedCount() { 209 return responseTypesSupported_.size(); 210 } 211 /** 212 * 213 * 214 * <pre> 215 * Supported response types. 216 * </pre> 217 * 218 * <code>repeated string response_types_supported = 3;</code> 219 * 220 * @param index The index of the element to return. 221 * @return The responseTypesSupported at the given index. 222 */ getResponseTypesSupported(int index)223 public java.lang.String getResponseTypesSupported(int index) { 224 return responseTypesSupported_.get(index); 225 } 226 /** 227 * 228 * 229 * <pre> 230 * Supported response types. 231 * </pre> 232 * 233 * <code>repeated string response_types_supported = 3;</code> 234 * 235 * @param index The index of the value to return. 236 * @return The bytes of the responseTypesSupported at the given index. 237 */ getResponseTypesSupportedBytes(int index)238 public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { 239 return responseTypesSupported_.getByteString(index); 240 } 241 242 public static final int SUBJECT_TYPES_SUPPORTED_FIELD_NUMBER = 4; 243 244 @SuppressWarnings("serial") 245 private com.google.protobuf.LazyStringList subjectTypesSupported_; 246 /** 247 * 248 * 249 * <pre> 250 * Supported subject types. 251 * </pre> 252 * 253 * <code>repeated string subject_types_supported = 4;</code> 254 * 255 * @return A list containing the subjectTypesSupported. 256 */ getSubjectTypesSupportedList()257 public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { 258 return subjectTypesSupported_; 259 } 260 /** 261 * 262 * 263 * <pre> 264 * Supported subject types. 265 * </pre> 266 * 267 * <code>repeated string subject_types_supported = 4;</code> 268 * 269 * @return The count of subjectTypesSupported. 270 */ getSubjectTypesSupportedCount()271 public int getSubjectTypesSupportedCount() { 272 return subjectTypesSupported_.size(); 273 } 274 /** 275 * 276 * 277 * <pre> 278 * Supported subject types. 279 * </pre> 280 * 281 * <code>repeated string subject_types_supported = 4;</code> 282 * 283 * @param index The index of the element to return. 284 * @return The subjectTypesSupported at the given index. 285 */ getSubjectTypesSupported(int index)286 public java.lang.String getSubjectTypesSupported(int index) { 287 return subjectTypesSupported_.get(index); 288 } 289 /** 290 * 291 * 292 * <pre> 293 * Supported subject types. 294 * </pre> 295 * 296 * <code>repeated string subject_types_supported = 4;</code> 297 * 298 * @param index The index of the value to return. 299 * @return The bytes of the subjectTypesSupported at the given index. 300 */ getSubjectTypesSupportedBytes(int index)301 public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { 302 return subjectTypesSupported_.getByteString(index); 303 } 304 305 public static final int ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED_FIELD_NUMBER = 5; 306 307 @SuppressWarnings("serial") 308 private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_; 309 /** 310 * 311 * 312 * <pre> 313 * supported ID Token signing Algorithms. 314 * </pre> 315 * 316 * <code>repeated string id_token_signing_alg_values_supported = 5;</code> 317 * 318 * @return A list containing the idTokenSigningAlgValuesSupported. 319 */ getIdTokenSigningAlgValuesSupportedList()320 public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { 321 return idTokenSigningAlgValuesSupported_; 322 } 323 /** 324 * 325 * 326 * <pre> 327 * supported ID Token signing Algorithms. 328 * </pre> 329 * 330 * <code>repeated string id_token_signing_alg_values_supported = 5;</code> 331 * 332 * @return The count of idTokenSigningAlgValuesSupported. 333 */ getIdTokenSigningAlgValuesSupportedCount()334 public int getIdTokenSigningAlgValuesSupportedCount() { 335 return idTokenSigningAlgValuesSupported_.size(); 336 } 337 /** 338 * 339 * 340 * <pre> 341 * supported ID Token signing Algorithms. 342 * </pre> 343 * 344 * <code>repeated string id_token_signing_alg_values_supported = 5;</code> 345 * 346 * @param index The index of the element to return. 347 * @return The idTokenSigningAlgValuesSupported at the given index. 348 */ getIdTokenSigningAlgValuesSupported(int index)349 public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { 350 return idTokenSigningAlgValuesSupported_.get(index); 351 } 352 /** 353 * 354 * 355 * <pre> 356 * supported ID Token signing Algorithms. 357 * </pre> 358 * 359 * <code>repeated string id_token_signing_alg_values_supported = 5;</code> 360 * 361 * @param index The index of the value to return. 362 * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. 363 */ getIdTokenSigningAlgValuesSupportedBytes(int index)364 public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { 365 return idTokenSigningAlgValuesSupported_.getByteString(index); 366 } 367 368 public static final int CLAIMS_SUPPORTED_FIELD_NUMBER = 6; 369 370 @SuppressWarnings("serial") 371 private com.google.protobuf.LazyStringList claimsSupported_; 372 /** 373 * 374 * 375 * <pre> 376 * Supported claims. 377 * </pre> 378 * 379 * <code>repeated string claims_supported = 6;</code> 380 * 381 * @return A list containing the claimsSupported. 382 */ getClaimsSupportedList()383 public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { 384 return claimsSupported_; 385 } 386 /** 387 * 388 * 389 * <pre> 390 * Supported claims. 391 * </pre> 392 * 393 * <code>repeated string claims_supported = 6;</code> 394 * 395 * @return The count of claimsSupported. 396 */ getClaimsSupportedCount()397 public int getClaimsSupportedCount() { 398 return claimsSupported_.size(); 399 } 400 /** 401 * 402 * 403 * <pre> 404 * Supported claims. 405 * </pre> 406 * 407 * <code>repeated string claims_supported = 6;</code> 408 * 409 * @param index The index of the element to return. 410 * @return The claimsSupported at the given index. 411 */ getClaimsSupported(int index)412 public java.lang.String getClaimsSupported(int index) { 413 return claimsSupported_.get(index); 414 } 415 /** 416 * 417 * 418 * <pre> 419 * Supported claims. 420 * </pre> 421 * 422 * <code>repeated string claims_supported = 6;</code> 423 * 424 * @param index The index of the value to return. 425 * @return The bytes of the claimsSupported at the given index. 426 */ getClaimsSupportedBytes(int index)427 public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { 428 return claimsSupported_.getByteString(index); 429 } 430 431 public static final int GRANT_TYPES_FIELD_NUMBER = 7; 432 433 @SuppressWarnings("serial") 434 private com.google.protobuf.LazyStringList grantTypes_; 435 /** 436 * 437 * 438 * <pre> 439 * Supported grant types. 440 * </pre> 441 * 442 * <code>repeated string grant_types = 7;</code> 443 * 444 * @return A list containing the grantTypes. 445 */ getGrantTypesList()446 public com.google.protobuf.ProtocolStringList getGrantTypesList() { 447 return grantTypes_; 448 } 449 /** 450 * 451 * 452 * <pre> 453 * Supported grant types. 454 * </pre> 455 * 456 * <code>repeated string grant_types = 7;</code> 457 * 458 * @return The count of grantTypes. 459 */ getGrantTypesCount()460 public int getGrantTypesCount() { 461 return grantTypes_.size(); 462 } 463 /** 464 * 465 * 466 * <pre> 467 * Supported grant types. 468 * </pre> 469 * 470 * <code>repeated string grant_types = 7;</code> 471 * 472 * @param index The index of the element to return. 473 * @return The grantTypes at the given index. 474 */ getGrantTypes(int index)475 public java.lang.String getGrantTypes(int index) { 476 return grantTypes_.get(index); 477 } 478 /** 479 * 480 * 481 * <pre> 482 * Supported grant types. 483 * </pre> 484 * 485 * <code>repeated string grant_types = 7;</code> 486 * 487 * @param index The index of the value to return. 488 * @return The bytes of the grantTypes at the given index. 489 */ getGrantTypesBytes(int index)490 public com.google.protobuf.ByteString getGrantTypesBytes(int index) { 491 return grantTypes_.getByteString(index); 492 } 493 494 private byte memoizedIsInitialized = -1; 495 496 @java.lang.Override isInitialized()497 public final boolean isInitialized() { 498 byte isInitialized = memoizedIsInitialized; 499 if (isInitialized == 1) return true; 500 if (isInitialized == 0) return false; 501 502 memoizedIsInitialized = 1; 503 return true; 504 } 505 506 @java.lang.Override writeTo(com.google.protobuf.CodedOutputStream output)507 public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { 508 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { 509 com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuer_); 510 } 511 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jwksUri_)) { 512 com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jwksUri_); 513 } 514 for (int i = 0; i < responseTypesSupported_.size(); i++) { 515 com.google.protobuf.GeneratedMessageV3.writeString( 516 output, 3, responseTypesSupported_.getRaw(i)); 517 } 518 for (int i = 0; i < subjectTypesSupported_.size(); i++) { 519 com.google.protobuf.GeneratedMessageV3.writeString( 520 output, 4, subjectTypesSupported_.getRaw(i)); 521 } 522 for (int i = 0; i < idTokenSigningAlgValuesSupported_.size(); i++) { 523 com.google.protobuf.GeneratedMessageV3.writeString( 524 output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); 525 } 526 for (int i = 0; i < claimsSupported_.size(); i++) { 527 com.google.protobuf.GeneratedMessageV3.writeString(output, 6, claimsSupported_.getRaw(i)); 528 } 529 for (int i = 0; i < grantTypes_.size(); i++) { 530 com.google.protobuf.GeneratedMessageV3.writeString(output, 7, grantTypes_.getRaw(i)); 531 } 532 getUnknownFields().writeTo(output); 533 } 534 535 @java.lang.Override getSerializedSize()536 public int getSerializedSize() { 537 int size = memoizedSize; 538 if (size != -1) return size; 539 540 size = 0; 541 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { 542 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issuer_); 543 } 544 if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jwksUri_)) { 545 size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jwksUri_); 546 } 547 { 548 int dataSize = 0; 549 for (int i = 0; i < responseTypesSupported_.size(); i++) { 550 dataSize += computeStringSizeNoTag(responseTypesSupported_.getRaw(i)); 551 } 552 size += dataSize; 553 size += 1 * getResponseTypesSupportedList().size(); 554 } 555 { 556 int dataSize = 0; 557 for (int i = 0; i < subjectTypesSupported_.size(); i++) { 558 dataSize += computeStringSizeNoTag(subjectTypesSupported_.getRaw(i)); 559 } 560 size += dataSize; 561 size += 1 * getSubjectTypesSupportedList().size(); 562 } 563 { 564 int dataSize = 0; 565 for (int i = 0; i < idTokenSigningAlgValuesSupported_.size(); i++) { 566 dataSize += computeStringSizeNoTag(idTokenSigningAlgValuesSupported_.getRaw(i)); 567 } 568 size += dataSize; 569 size += 1 * getIdTokenSigningAlgValuesSupportedList().size(); 570 } 571 { 572 int dataSize = 0; 573 for (int i = 0; i < claimsSupported_.size(); i++) { 574 dataSize += computeStringSizeNoTag(claimsSupported_.getRaw(i)); 575 } 576 size += dataSize; 577 size += 1 * getClaimsSupportedList().size(); 578 } 579 { 580 int dataSize = 0; 581 for (int i = 0; i < grantTypes_.size(); i++) { 582 dataSize += computeStringSizeNoTag(grantTypes_.getRaw(i)); 583 } 584 size += dataSize; 585 size += 1 * getGrantTypesList().size(); 586 } 587 size += getUnknownFields().getSerializedSize(); 588 memoizedSize = size; 589 return size; 590 } 591 592 @java.lang.Override equals(final java.lang.Object obj)593 public boolean equals(final java.lang.Object obj) { 594 if (obj == this) { 595 return true; 596 } 597 if (!(obj instanceof com.google.container.v1.GetOpenIDConfigResponse)) { 598 return super.equals(obj); 599 } 600 com.google.container.v1.GetOpenIDConfigResponse other = 601 (com.google.container.v1.GetOpenIDConfigResponse) obj; 602 603 if (!getIssuer().equals(other.getIssuer())) return false; 604 if (!getJwksUri().equals(other.getJwksUri())) return false; 605 if (!getResponseTypesSupportedList().equals(other.getResponseTypesSupportedList())) 606 return false; 607 if (!getSubjectTypesSupportedList().equals(other.getSubjectTypesSupportedList())) return false; 608 if (!getIdTokenSigningAlgValuesSupportedList() 609 .equals(other.getIdTokenSigningAlgValuesSupportedList())) return false; 610 if (!getClaimsSupportedList().equals(other.getClaimsSupportedList())) return false; 611 if (!getGrantTypesList().equals(other.getGrantTypesList())) return false; 612 if (!getUnknownFields().equals(other.getUnknownFields())) return false; 613 return true; 614 } 615 616 @java.lang.Override hashCode()617 public int hashCode() { 618 if (memoizedHashCode != 0) { 619 return memoizedHashCode; 620 } 621 int hash = 41; 622 hash = (19 * hash) + getDescriptor().hashCode(); 623 hash = (37 * hash) + ISSUER_FIELD_NUMBER; 624 hash = (53 * hash) + getIssuer().hashCode(); 625 hash = (37 * hash) + JWKS_URI_FIELD_NUMBER; 626 hash = (53 * hash) + getJwksUri().hashCode(); 627 if (getResponseTypesSupportedCount() > 0) { 628 hash = (37 * hash) + RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER; 629 hash = (53 * hash) + getResponseTypesSupportedList().hashCode(); 630 } 631 if (getSubjectTypesSupportedCount() > 0) { 632 hash = (37 * hash) + SUBJECT_TYPES_SUPPORTED_FIELD_NUMBER; 633 hash = (53 * hash) + getSubjectTypesSupportedList().hashCode(); 634 } 635 if (getIdTokenSigningAlgValuesSupportedCount() > 0) { 636 hash = (37 * hash) + ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED_FIELD_NUMBER; 637 hash = (53 * hash) + getIdTokenSigningAlgValuesSupportedList().hashCode(); 638 } 639 if (getClaimsSupportedCount() > 0) { 640 hash = (37 * hash) + CLAIMS_SUPPORTED_FIELD_NUMBER; 641 hash = (53 * hash) + getClaimsSupportedList().hashCode(); 642 } 643 if (getGrantTypesCount() > 0) { 644 hash = (37 * hash) + GRANT_TYPES_FIELD_NUMBER; 645 hash = (53 * hash) + getGrantTypesList().hashCode(); 646 } 647 hash = (29 * hash) + getUnknownFields().hashCode(); 648 memoizedHashCode = hash; 649 return hash; 650 } 651 parseFrom(java.nio.ByteBuffer data)652 public static com.google.container.v1.GetOpenIDConfigResponse parseFrom(java.nio.ByteBuffer data) 653 throws com.google.protobuf.InvalidProtocolBufferException { 654 return PARSER.parseFrom(data); 655 } 656 parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)657 public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( 658 java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 659 throws com.google.protobuf.InvalidProtocolBufferException { 660 return PARSER.parseFrom(data, extensionRegistry); 661 } 662 parseFrom( com.google.protobuf.ByteString data)663 public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( 664 com.google.protobuf.ByteString data) 665 throws com.google.protobuf.InvalidProtocolBufferException { 666 return PARSER.parseFrom(data); 667 } 668 parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)669 public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( 670 com.google.protobuf.ByteString data, 671 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 672 throws com.google.protobuf.InvalidProtocolBufferException { 673 return PARSER.parseFrom(data, extensionRegistry); 674 } 675 parseFrom(byte[] data)676 public static com.google.container.v1.GetOpenIDConfigResponse parseFrom(byte[] data) 677 throws com.google.protobuf.InvalidProtocolBufferException { 678 return PARSER.parseFrom(data); 679 } 680 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)681 public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( 682 byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 683 throws com.google.protobuf.InvalidProtocolBufferException { 684 return PARSER.parseFrom(data, extensionRegistry); 685 } 686 parseFrom(java.io.InputStream input)687 public static com.google.container.v1.GetOpenIDConfigResponse parseFrom(java.io.InputStream input) 688 throws java.io.IOException { 689 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 690 } 691 parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)692 public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( 693 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 694 throws java.io.IOException { 695 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 696 PARSER, input, extensionRegistry); 697 } 698 parseDelimitedFrom( java.io.InputStream input)699 public static com.google.container.v1.GetOpenIDConfigResponse parseDelimitedFrom( 700 java.io.InputStream input) throws java.io.IOException { 701 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); 702 } 703 parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)704 public static com.google.container.v1.GetOpenIDConfigResponse parseDelimitedFrom( 705 java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) 706 throws java.io.IOException { 707 return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( 708 PARSER, input, extensionRegistry); 709 } 710 parseFrom( com.google.protobuf.CodedInputStream input)711 public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( 712 com.google.protobuf.CodedInputStream input) throws java.io.IOException { 713 return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); 714 } 715 parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)716 public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( 717 com.google.protobuf.CodedInputStream input, 718 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 719 throws java.io.IOException { 720 return com.google.protobuf.GeneratedMessageV3.parseWithIOException( 721 PARSER, input, extensionRegistry); 722 } 723 724 @java.lang.Override newBuilderForType()725 public Builder newBuilderForType() { 726 return newBuilder(); 727 } 728 newBuilder()729 public static Builder newBuilder() { 730 return DEFAULT_INSTANCE.toBuilder(); 731 } 732 newBuilder(com.google.container.v1.GetOpenIDConfigResponse prototype)733 public static Builder newBuilder(com.google.container.v1.GetOpenIDConfigResponse prototype) { 734 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 735 } 736 737 @java.lang.Override toBuilder()738 public Builder toBuilder() { 739 return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); 740 } 741 742 @java.lang.Override newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)743 protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 744 Builder builder = new Builder(parent); 745 return builder; 746 } 747 /** 748 * 749 * 750 * <pre> 751 * GetOpenIDConfigResponse is an OIDC discovery document for the cluster. 752 * See the OpenID Connect Discovery 1.0 specification for details. 753 * </pre> 754 * 755 * Protobuf type {@code google.container.v1.GetOpenIDConfigResponse} 756 */ 757 public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> 758 implements 759 // @@protoc_insertion_point(builder_implements:google.container.v1.GetOpenIDConfigResponse) 760 com.google.container.v1.GetOpenIDConfigResponseOrBuilder { getDescriptor()761 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { 762 return com.google.container.v1.ClusterServiceProto 763 .internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor; 764 } 765 766 @java.lang.Override 767 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()768 internalGetFieldAccessorTable() { 769 return com.google.container.v1.ClusterServiceProto 770 .internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable 771 .ensureFieldAccessorsInitialized( 772 com.google.container.v1.GetOpenIDConfigResponse.class, 773 com.google.container.v1.GetOpenIDConfigResponse.Builder.class); 774 } 775 776 // Construct using com.google.container.v1.GetOpenIDConfigResponse.newBuilder() Builder()777 private Builder() {} 778 Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)779 private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 780 super(parent); 781 } 782 783 @java.lang.Override clear()784 public Builder clear() { 785 super.clear(); 786 bitField0_ = 0; 787 issuer_ = ""; 788 jwksUri_ = ""; 789 responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; 790 bitField0_ = (bitField0_ & ~0x00000004); 791 subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; 792 bitField0_ = (bitField0_ & ~0x00000008); 793 idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; 794 bitField0_ = (bitField0_ & ~0x00000010); 795 claimsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; 796 bitField0_ = (bitField0_ & ~0x00000020); 797 grantTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; 798 bitField0_ = (bitField0_ & ~0x00000040); 799 return this; 800 } 801 802 @java.lang.Override getDescriptorForType()803 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 804 return com.google.container.v1.ClusterServiceProto 805 .internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor; 806 } 807 808 @java.lang.Override getDefaultInstanceForType()809 public com.google.container.v1.GetOpenIDConfigResponse getDefaultInstanceForType() { 810 return com.google.container.v1.GetOpenIDConfigResponse.getDefaultInstance(); 811 } 812 813 @java.lang.Override build()814 public com.google.container.v1.GetOpenIDConfigResponse build() { 815 com.google.container.v1.GetOpenIDConfigResponse result = buildPartial(); 816 if (!result.isInitialized()) { 817 throw newUninitializedMessageException(result); 818 } 819 return result; 820 } 821 822 @java.lang.Override buildPartial()823 public com.google.container.v1.GetOpenIDConfigResponse buildPartial() { 824 com.google.container.v1.GetOpenIDConfigResponse result = 825 new com.google.container.v1.GetOpenIDConfigResponse(this); 826 buildPartialRepeatedFields(result); 827 if (bitField0_ != 0) { 828 buildPartial0(result); 829 } 830 onBuilt(); 831 return result; 832 } 833 buildPartialRepeatedFields( com.google.container.v1.GetOpenIDConfigResponse result)834 private void buildPartialRepeatedFields( 835 com.google.container.v1.GetOpenIDConfigResponse result) { 836 if (((bitField0_ & 0x00000004) != 0)) { 837 responseTypesSupported_ = responseTypesSupported_.getUnmodifiableView(); 838 bitField0_ = (bitField0_ & ~0x00000004); 839 } 840 result.responseTypesSupported_ = responseTypesSupported_; 841 if (((bitField0_ & 0x00000008) != 0)) { 842 subjectTypesSupported_ = subjectTypesSupported_.getUnmodifiableView(); 843 bitField0_ = (bitField0_ & ~0x00000008); 844 } 845 result.subjectTypesSupported_ = subjectTypesSupported_; 846 if (((bitField0_ & 0x00000010) != 0)) { 847 idTokenSigningAlgValuesSupported_ = idTokenSigningAlgValuesSupported_.getUnmodifiableView(); 848 bitField0_ = (bitField0_ & ~0x00000010); 849 } 850 result.idTokenSigningAlgValuesSupported_ = idTokenSigningAlgValuesSupported_; 851 if (((bitField0_ & 0x00000020) != 0)) { 852 claimsSupported_ = claimsSupported_.getUnmodifiableView(); 853 bitField0_ = (bitField0_ & ~0x00000020); 854 } 855 result.claimsSupported_ = claimsSupported_; 856 if (((bitField0_ & 0x00000040) != 0)) { 857 grantTypes_ = grantTypes_.getUnmodifiableView(); 858 bitField0_ = (bitField0_ & ~0x00000040); 859 } 860 result.grantTypes_ = grantTypes_; 861 } 862 buildPartial0(com.google.container.v1.GetOpenIDConfigResponse result)863 private void buildPartial0(com.google.container.v1.GetOpenIDConfigResponse result) { 864 int from_bitField0_ = bitField0_; 865 if (((from_bitField0_ & 0x00000001) != 0)) { 866 result.issuer_ = issuer_; 867 } 868 if (((from_bitField0_ & 0x00000002) != 0)) { 869 result.jwksUri_ = jwksUri_; 870 } 871 } 872 873 @java.lang.Override clone()874 public Builder clone() { 875 return super.clone(); 876 } 877 878 @java.lang.Override setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)879 public Builder setField( 880 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 881 return super.setField(field, value); 882 } 883 884 @java.lang.Override clearField(com.google.protobuf.Descriptors.FieldDescriptor field)885 public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { 886 return super.clearField(field); 887 } 888 889 @java.lang.Override clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)890 public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { 891 return super.clearOneof(oneof); 892 } 893 894 @java.lang.Override setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)895 public Builder setRepeatedField( 896 com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { 897 return super.setRepeatedField(field, index, value); 898 } 899 900 @java.lang.Override addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)901 public Builder addRepeatedField( 902 com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { 903 return super.addRepeatedField(field, value); 904 } 905 906 @java.lang.Override mergeFrom(com.google.protobuf.Message other)907 public Builder mergeFrom(com.google.protobuf.Message other) { 908 if (other instanceof com.google.container.v1.GetOpenIDConfigResponse) { 909 return mergeFrom((com.google.container.v1.GetOpenIDConfigResponse) other); 910 } else { 911 super.mergeFrom(other); 912 return this; 913 } 914 } 915 mergeFrom(com.google.container.v1.GetOpenIDConfigResponse other)916 public Builder mergeFrom(com.google.container.v1.GetOpenIDConfigResponse other) { 917 if (other == com.google.container.v1.GetOpenIDConfigResponse.getDefaultInstance()) 918 return this; 919 if (!other.getIssuer().isEmpty()) { 920 issuer_ = other.issuer_; 921 bitField0_ |= 0x00000001; 922 onChanged(); 923 } 924 if (!other.getJwksUri().isEmpty()) { 925 jwksUri_ = other.jwksUri_; 926 bitField0_ |= 0x00000002; 927 onChanged(); 928 } 929 if (!other.responseTypesSupported_.isEmpty()) { 930 if (responseTypesSupported_.isEmpty()) { 931 responseTypesSupported_ = other.responseTypesSupported_; 932 bitField0_ = (bitField0_ & ~0x00000004); 933 } else { 934 ensureResponseTypesSupportedIsMutable(); 935 responseTypesSupported_.addAll(other.responseTypesSupported_); 936 } 937 onChanged(); 938 } 939 if (!other.subjectTypesSupported_.isEmpty()) { 940 if (subjectTypesSupported_.isEmpty()) { 941 subjectTypesSupported_ = other.subjectTypesSupported_; 942 bitField0_ = (bitField0_ & ~0x00000008); 943 } else { 944 ensureSubjectTypesSupportedIsMutable(); 945 subjectTypesSupported_.addAll(other.subjectTypesSupported_); 946 } 947 onChanged(); 948 } 949 if (!other.idTokenSigningAlgValuesSupported_.isEmpty()) { 950 if (idTokenSigningAlgValuesSupported_.isEmpty()) { 951 idTokenSigningAlgValuesSupported_ = other.idTokenSigningAlgValuesSupported_; 952 bitField0_ = (bitField0_ & ~0x00000010); 953 } else { 954 ensureIdTokenSigningAlgValuesSupportedIsMutable(); 955 idTokenSigningAlgValuesSupported_.addAll(other.idTokenSigningAlgValuesSupported_); 956 } 957 onChanged(); 958 } 959 if (!other.claimsSupported_.isEmpty()) { 960 if (claimsSupported_.isEmpty()) { 961 claimsSupported_ = other.claimsSupported_; 962 bitField0_ = (bitField0_ & ~0x00000020); 963 } else { 964 ensureClaimsSupportedIsMutable(); 965 claimsSupported_.addAll(other.claimsSupported_); 966 } 967 onChanged(); 968 } 969 if (!other.grantTypes_.isEmpty()) { 970 if (grantTypes_.isEmpty()) { 971 grantTypes_ = other.grantTypes_; 972 bitField0_ = (bitField0_ & ~0x00000040); 973 } else { 974 ensureGrantTypesIsMutable(); 975 grantTypes_.addAll(other.grantTypes_); 976 } 977 onChanged(); 978 } 979 this.mergeUnknownFields(other.getUnknownFields()); 980 onChanged(); 981 return this; 982 } 983 984 @java.lang.Override isInitialized()985 public final boolean isInitialized() { 986 return true; 987 } 988 989 @java.lang.Override mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)990 public Builder mergeFrom( 991 com.google.protobuf.CodedInputStream input, 992 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 993 throws java.io.IOException { 994 if (extensionRegistry == null) { 995 throw new java.lang.NullPointerException(); 996 } 997 try { 998 boolean done = false; 999 while (!done) { 1000 int tag = input.readTag(); 1001 switch (tag) { 1002 case 0: 1003 done = true; 1004 break; 1005 case 10: 1006 { 1007 issuer_ = input.readStringRequireUtf8(); 1008 bitField0_ |= 0x00000001; 1009 break; 1010 } // case 10 1011 case 18: 1012 { 1013 jwksUri_ = input.readStringRequireUtf8(); 1014 bitField0_ |= 0x00000002; 1015 break; 1016 } // case 18 1017 case 26: 1018 { 1019 java.lang.String s = input.readStringRequireUtf8(); 1020 ensureResponseTypesSupportedIsMutable(); 1021 responseTypesSupported_.add(s); 1022 break; 1023 } // case 26 1024 case 34: 1025 { 1026 java.lang.String s = input.readStringRequireUtf8(); 1027 ensureSubjectTypesSupportedIsMutable(); 1028 subjectTypesSupported_.add(s); 1029 break; 1030 } // case 34 1031 case 42: 1032 { 1033 java.lang.String s = input.readStringRequireUtf8(); 1034 ensureIdTokenSigningAlgValuesSupportedIsMutable(); 1035 idTokenSigningAlgValuesSupported_.add(s); 1036 break; 1037 } // case 42 1038 case 50: 1039 { 1040 java.lang.String s = input.readStringRequireUtf8(); 1041 ensureClaimsSupportedIsMutable(); 1042 claimsSupported_.add(s); 1043 break; 1044 } // case 50 1045 case 58: 1046 { 1047 java.lang.String s = input.readStringRequireUtf8(); 1048 ensureGrantTypesIsMutable(); 1049 grantTypes_.add(s); 1050 break; 1051 } // case 58 1052 default: 1053 { 1054 if (!super.parseUnknownField(input, extensionRegistry, tag)) { 1055 done = true; // was an endgroup tag 1056 } 1057 break; 1058 } // default: 1059 } // switch (tag) 1060 } // while (!done) 1061 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1062 throw e.unwrapIOException(); 1063 } finally { 1064 onChanged(); 1065 } // finally 1066 return this; 1067 } 1068 1069 private int bitField0_; 1070 1071 private java.lang.Object issuer_ = ""; 1072 /** 1073 * 1074 * 1075 * <pre> 1076 * OIDC Issuer. 1077 * </pre> 1078 * 1079 * <code>string issuer = 1;</code> 1080 * 1081 * @return The issuer. 1082 */ getIssuer()1083 public java.lang.String getIssuer() { 1084 java.lang.Object ref = issuer_; 1085 if (!(ref instanceof java.lang.String)) { 1086 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 1087 java.lang.String s = bs.toStringUtf8(); 1088 issuer_ = s; 1089 return s; 1090 } else { 1091 return (java.lang.String) ref; 1092 } 1093 } 1094 /** 1095 * 1096 * 1097 * <pre> 1098 * OIDC Issuer. 1099 * </pre> 1100 * 1101 * <code>string issuer = 1;</code> 1102 * 1103 * @return The bytes for issuer. 1104 */ getIssuerBytes()1105 public com.google.protobuf.ByteString getIssuerBytes() { 1106 java.lang.Object ref = issuer_; 1107 if (ref instanceof String) { 1108 com.google.protobuf.ByteString b = 1109 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 1110 issuer_ = b; 1111 return b; 1112 } else { 1113 return (com.google.protobuf.ByteString) ref; 1114 } 1115 } 1116 /** 1117 * 1118 * 1119 * <pre> 1120 * OIDC Issuer. 1121 * </pre> 1122 * 1123 * <code>string issuer = 1;</code> 1124 * 1125 * @param value The issuer to set. 1126 * @return This builder for chaining. 1127 */ setIssuer(java.lang.String value)1128 public Builder setIssuer(java.lang.String value) { 1129 if (value == null) { 1130 throw new NullPointerException(); 1131 } 1132 issuer_ = value; 1133 bitField0_ |= 0x00000001; 1134 onChanged(); 1135 return this; 1136 } 1137 /** 1138 * 1139 * 1140 * <pre> 1141 * OIDC Issuer. 1142 * </pre> 1143 * 1144 * <code>string issuer = 1;</code> 1145 * 1146 * @return This builder for chaining. 1147 */ clearIssuer()1148 public Builder clearIssuer() { 1149 issuer_ = getDefaultInstance().getIssuer(); 1150 bitField0_ = (bitField0_ & ~0x00000001); 1151 onChanged(); 1152 return this; 1153 } 1154 /** 1155 * 1156 * 1157 * <pre> 1158 * OIDC Issuer. 1159 * </pre> 1160 * 1161 * <code>string issuer = 1;</code> 1162 * 1163 * @param value The bytes for issuer to set. 1164 * @return This builder for chaining. 1165 */ setIssuerBytes(com.google.protobuf.ByteString value)1166 public Builder setIssuerBytes(com.google.protobuf.ByteString value) { 1167 if (value == null) { 1168 throw new NullPointerException(); 1169 } 1170 checkByteStringIsUtf8(value); 1171 issuer_ = value; 1172 bitField0_ |= 0x00000001; 1173 onChanged(); 1174 return this; 1175 } 1176 1177 private java.lang.Object jwksUri_ = ""; 1178 /** 1179 * 1180 * 1181 * <pre> 1182 * JSON Web Key uri. 1183 * </pre> 1184 * 1185 * <code>string jwks_uri = 2;</code> 1186 * 1187 * @return The jwksUri. 1188 */ getJwksUri()1189 public java.lang.String getJwksUri() { 1190 java.lang.Object ref = jwksUri_; 1191 if (!(ref instanceof java.lang.String)) { 1192 com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; 1193 java.lang.String s = bs.toStringUtf8(); 1194 jwksUri_ = s; 1195 return s; 1196 } else { 1197 return (java.lang.String) ref; 1198 } 1199 } 1200 /** 1201 * 1202 * 1203 * <pre> 1204 * JSON Web Key uri. 1205 * </pre> 1206 * 1207 * <code>string jwks_uri = 2;</code> 1208 * 1209 * @return The bytes for jwksUri. 1210 */ getJwksUriBytes()1211 public com.google.protobuf.ByteString getJwksUriBytes() { 1212 java.lang.Object ref = jwksUri_; 1213 if (ref instanceof String) { 1214 com.google.protobuf.ByteString b = 1215 com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); 1216 jwksUri_ = b; 1217 return b; 1218 } else { 1219 return (com.google.protobuf.ByteString) ref; 1220 } 1221 } 1222 /** 1223 * 1224 * 1225 * <pre> 1226 * JSON Web Key uri. 1227 * </pre> 1228 * 1229 * <code>string jwks_uri = 2;</code> 1230 * 1231 * @param value The jwksUri to set. 1232 * @return This builder for chaining. 1233 */ setJwksUri(java.lang.String value)1234 public Builder setJwksUri(java.lang.String value) { 1235 if (value == null) { 1236 throw new NullPointerException(); 1237 } 1238 jwksUri_ = value; 1239 bitField0_ |= 0x00000002; 1240 onChanged(); 1241 return this; 1242 } 1243 /** 1244 * 1245 * 1246 * <pre> 1247 * JSON Web Key uri. 1248 * </pre> 1249 * 1250 * <code>string jwks_uri = 2;</code> 1251 * 1252 * @return This builder for chaining. 1253 */ clearJwksUri()1254 public Builder clearJwksUri() { 1255 jwksUri_ = getDefaultInstance().getJwksUri(); 1256 bitField0_ = (bitField0_ & ~0x00000002); 1257 onChanged(); 1258 return this; 1259 } 1260 /** 1261 * 1262 * 1263 * <pre> 1264 * JSON Web Key uri. 1265 * </pre> 1266 * 1267 * <code>string jwks_uri = 2;</code> 1268 * 1269 * @param value The bytes for jwksUri to set. 1270 * @return This builder for chaining. 1271 */ setJwksUriBytes(com.google.protobuf.ByteString value)1272 public Builder setJwksUriBytes(com.google.protobuf.ByteString value) { 1273 if (value == null) { 1274 throw new NullPointerException(); 1275 } 1276 checkByteStringIsUtf8(value); 1277 jwksUri_ = value; 1278 bitField0_ |= 0x00000002; 1279 onChanged(); 1280 return this; 1281 } 1282 1283 private com.google.protobuf.LazyStringList responseTypesSupported_ = 1284 com.google.protobuf.LazyStringArrayList.EMPTY; 1285 ensureResponseTypesSupportedIsMutable()1286 private void ensureResponseTypesSupportedIsMutable() { 1287 if (!((bitField0_ & 0x00000004) != 0)) { 1288 responseTypesSupported_ = 1289 new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); 1290 bitField0_ |= 0x00000004; 1291 } 1292 } 1293 /** 1294 * 1295 * 1296 * <pre> 1297 * Supported response types. 1298 * </pre> 1299 * 1300 * <code>repeated string response_types_supported = 3;</code> 1301 * 1302 * @return A list containing the responseTypesSupported. 1303 */ getResponseTypesSupportedList()1304 public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { 1305 return responseTypesSupported_.getUnmodifiableView(); 1306 } 1307 /** 1308 * 1309 * 1310 * <pre> 1311 * Supported response types. 1312 * </pre> 1313 * 1314 * <code>repeated string response_types_supported = 3;</code> 1315 * 1316 * @return The count of responseTypesSupported. 1317 */ getResponseTypesSupportedCount()1318 public int getResponseTypesSupportedCount() { 1319 return responseTypesSupported_.size(); 1320 } 1321 /** 1322 * 1323 * 1324 * <pre> 1325 * Supported response types. 1326 * </pre> 1327 * 1328 * <code>repeated string response_types_supported = 3;</code> 1329 * 1330 * @param index The index of the element to return. 1331 * @return The responseTypesSupported at the given index. 1332 */ getResponseTypesSupported(int index)1333 public java.lang.String getResponseTypesSupported(int index) { 1334 return responseTypesSupported_.get(index); 1335 } 1336 /** 1337 * 1338 * 1339 * <pre> 1340 * Supported response types. 1341 * </pre> 1342 * 1343 * <code>repeated string response_types_supported = 3;</code> 1344 * 1345 * @param index The index of the value to return. 1346 * @return The bytes of the responseTypesSupported at the given index. 1347 */ getResponseTypesSupportedBytes(int index)1348 public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { 1349 return responseTypesSupported_.getByteString(index); 1350 } 1351 /** 1352 * 1353 * 1354 * <pre> 1355 * Supported response types. 1356 * </pre> 1357 * 1358 * <code>repeated string response_types_supported = 3;</code> 1359 * 1360 * @param index The index to set the value at. 1361 * @param value The responseTypesSupported to set. 1362 * @return This builder for chaining. 1363 */ setResponseTypesSupported(int index, java.lang.String value)1364 public Builder setResponseTypesSupported(int index, java.lang.String value) { 1365 if (value == null) { 1366 throw new NullPointerException(); 1367 } 1368 ensureResponseTypesSupportedIsMutable(); 1369 responseTypesSupported_.set(index, value); 1370 onChanged(); 1371 return this; 1372 } 1373 /** 1374 * 1375 * 1376 * <pre> 1377 * Supported response types. 1378 * </pre> 1379 * 1380 * <code>repeated string response_types_supported = 3;</code> 1381 * 1382 * @param value The responseTypesSupported to add. 1383 * @return This builder for chaining. 1384 */ addResponseTypesSupported(java.lang.String value)1385 public Builder addResponseTypesSupported(java.lang.String value) { 1386 if (value == null) { 1387 throw new NullPointerException(); 1388 } 1389 ensureResponseTypesSupportedIsMutable(); 1390 responseTypesSupported_.add(value); 1391 onChanged(); 1392 return this; 1393 } 1394 /** 1395 * 1396 * 1397 * <pre> 1398 * Supported response types. 1399 * </pre> 1400 * 1401 * <code>repeated string response_types_supported = 3;</code> 1402 * 1403 * @param values The responseTypesSupported to add. 1404 * @return This builder for chaining. 1405 */ addAllResponseTypesSupported(java.lang.Iterable<java.lang.String> values)1406 public Builder addAllResponseTypesSupported(java.lang.Iterable<java.lang.String> values) { 1407 ensureResponseTypesSupportedIsMutable(); 1408 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, responseTypesSupported_); 1409 onChanged(); 1410 return this; 1411 } 1412 /** 1413 * 1414 * 1415 * <pre> 1416 * Supported response types. 1417 * </pre> 1418 * 1419 * <code>repeated string response_types_supported = 3;</code> 1420 * 1421 * @return This builder for chaining. 1422 */ clearResponseTypesSupported()1423 public Builder clearResponseTypesSupported() { 1424 responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; 1425 bitField0_ = (bitField0_ & ~0x00000004); 1426 onChanged(); 1427 return this; 1428 } 1429 /** 1430 * 1431 * 1432 * <pre> 1433 * Supported response types. 1434 * </pre> 1435 * 1436 * <code>repeated string response_types_supported = 3;</code> 1437 * 1438 * @param value The bytes of the responseTypesSupported to add. 1439 * @return This builder for chaining. 1440 */ addResponseTypesSupportedBytes(com.google.protobuf.ByteString value)1441 public Builder addResponseTypesSupportedBytes(com.google.protobuf.ByteString value) { 1442 if (value == null) { 1443 throw new NullPointerException(); 1444 } 1445 checkByteStringIsUtf8(value); 1446 ensureResponseTypesSupportedIsMutable(); 1447 responseTypesSupported_.add(value); 1448 onChanged(); 1449 return this; 1450 } 1451 1452 private com.google.protobuf.LazyStringList subjectTypesSupported_ = 1453 com.google.protobuf.LazyStringArrayList.EMPTY; 1454 ensureSubjectTypesSupportedIsMutable()1455 private void ensureSubjectTypesSupportedIsMutable() { 1456 if (!((bitField0_ & 0x00000008) != 0)) { 1457 subjectTypesSupported_ = 1458 new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); 1459 bitField0_ |= 0x00000008; 1460 } 1461 } 1462 /** 1463 * 1464 * 1465 * <pre> 1466 * Supported subject types. 1467 * </pre> 1468 * 1469 * <code>repeated string subject_types_supported = 4;</code> 1470 * 1471 * @return A list containing the subjectTypesSupported. 1472 */ getSubjectTypesSupportedList()1473 public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { 1474 return subjectTypesSupported_.getUnmodifiableView(); 1475 } 1476 /** 1477 * 1478 * 1479 * <pre> 1480 * Supported subject types. 1481 * </pre> 1482 * 1483 * <code>repeated string subject_types_supported = 4;</code> 1484 * 1485 * @return The count of subjectTypesSupported. 1486 */ getSubjectTypesSupportedCount()1487 public int getSubjectTypesSupportedCount() { 1488 return subjectTypesSupported_.size(); 1489 } 1490 /** 1491 * 1492 * 1493 * <pre> 1494 * Supported subject types. 1495 * </pre> 1496 * 1497 * <code>repeated string subject_types_supported = 4;</code> 1498 * 1499 * @param index The index of the element to return. 1500 * @return The subjectTypesSupported at the given index. 1501 */ getSubjectTypesSupported(int index)1502 public java.lang.String getSubjectTypesSupported(int index) { 1503 return subjectTypesSupported_.get(index); 1504 } 1505 /** 1506 * 1507 * 1508 * <pre> 1509 * Supported subject types. 1510 * </pre> 1511 * 1512 * <code>repeated string subject_types_supported = 4;</code> 1513 * 1514 * @param index The index of the value to return. 1515 * @return The bytes of the subjectTypesSupported at the given index. 1516 */ getSubjectTypesSupportedBytes(int index)1517 public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { 1518 return subjectTypesSupported_.getByteString(index); 1519 } 1520 /** 1521 * 1522 * 1523 * <pre> 1524 * Supported subject types. 1525 * </pre> 1526 * 1527 * <code>repeated string subject_types_supported = 4;</code> 1528 * 1529 * @param index The index to set the value at. 1530 * @param value The subjectTypesSupported to set. 1531 * @return This builder for chaining. 1532 */ setSubjectTypesSupported(int index, java.lang.String value)1533 public Builder setSubjectTypesSupported(int index, java.lang.String value) { 1534 if (value == null) { 1535 throw new NullPointerException(); 1536 } 1537 ensureSubjectTypesSupportedIsMutable(); 1538 subjectTypesSupported_.set(index, value); 1539 onChanged(); 1540 return this; 1541 } 1542 /** 1543 * 1544 * 1545 * <pre> 1546 * Supported subject types. 1547 * </pre> 1548 * 1549 * <code>repeated string subject_types_supported = 4;</code> 1550 * 1551 * @param value The subjectTypesSupported to add. 1552 * @return This builder for chaining. 1553 */ addSubjectTypesSupported(java.lang.String value)1554 public Builder addSubjectTypesSupported(java.lang.String value) { 1555 if (value == null) { 1556 throw new NullPointerException(); 1557 } 1558 ensureSubjectTypesSupportedIsMutable(); 1559 subjectTypesSupported_.add(value); 1560 onChanged(); 1561 return this; 1562 } 1563 /** 1564 * 1565 * 1566 * <pre> 1567 * Supported subject types. 1568 * </pre> 1569 * 1570 * <code>repeated string subject_types_supported = 4;</code> 1571 * 1572 * @param values The subjectTypesSupported to add. 1573 * @return This builder for chaining. 1574 */ addAllSubjectTypesSupported(java.lang.Iterable<java.lang.String> values)1575 public Builder addAllSubjectTypesSupported(java.lang.Iterable<java.lang.String> values) { 1576 ensureSubjectTypesSupportedIsMutable(); 1577 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subjectTypesSupported_); 1578 onChanged(); 1579 return this; 1580 } 1581 /** 1582 * 1583 * 1584 * <pre> 1585 * Supported subject types. 1586 * </pre> 1587 * 1588 * <code>repeated string subject_types_supported = 4;</code> 1589 * 1590 * @return This builder for chaining. 1591 */ clearSubjectTypesSupported()1592 public Builder clearSubjectTypesSupported() { 1593 subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; 1594 bitField0_ = (bitField0_ & ~0x00000008); 1595 onChanged(); 1596 return this; 1597 } 1598 /** 1599 * 1600 * 1601 * <pre> 1602 * Supported subject types. 1603 * </pre> 1604 * 1605 * <code>repeated string subject_types_supported = 4;</code> 1606 * 1607 * @param value The bytes of the subjectTypesSupported to add. 1608 * @return This builder for chaining. 1609 */ addSubjectTypesSupportedBytes(com.google.protobuf.ByteString value)1610 public Builder addSubjectTypesSupportedBytes(com.google.protobuf.ByteString value) { 1611 if (value == null) { 1612 throw new NullPointerException(); 1613 } 1614 checkByteStringIsUtf8(value); 1615 ensureSubjectTypesSupportedIsMutable(); 1616 subjectTypesSupported_.add(value); 1617 onChanged(); 1618 return this; 1619 } 1620 1621 private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_ = 1622 com.google.protobuf.LazyStringArrayList.EMPTY; 1623 ensureIdTokenSigningAlgValuesSupportedIsMutable()1624 private void ensureIdTokenSigningAlgValuesSupportedIsMutable() { 1625 if (!((bitField0_ & 0x00000010) != 0)) { 1626 idTokenSigningAlgValuesSupported_ = 1627 new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); 1628 bitField0_ |= 0x00000010; 1629 } 1630 } 1631 /** 1632 * 1633 * 1634 * <pre> 1635 * supported ID Token signing Algorithms. 1636 * </pre> 1637 * 1638 * <code>repeated string id_token_signing_alg_values_supported = 5;</code> 1639 * 1640 * @return A list containing the idTokenSigningAlgValuesSupported. 1641 */ getIdTokenSigningAlgValuesSupportedList()1642 public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { 1643 return idTokenSigningAlgValuesSupported_.getUnmodifiableView(); 1644 } 1645 /** 1646 * 1647 * 1648 * <pre> 1649 * supported ID Token signing Algorithms. 1650 * </pre> 1651 * 1652 * <code>repeated string id_token_signing_alg_values_supported = 5;</code> 1653 * 1654 * @return The count of idTokenSigningAlgValuesSupported. 1655 */ getIdTokenSigningAlgValuesSupportedCount()1656 public int getIdTokenSigningAlgValuesSupportedCount() { 1657 return idTokenSigningAlgValuesSupported_.size(); 1658 } 1659 /** 1660 * 1661 * 1662 * <pre> 1663 * supported ID Token signing Algorithms. 1664 * </pre> 1665 * 1666 * <code>repeated string id_token_signing_alg_values_supported = 5;</code> 1667 * 1668 * @param index The index of the element to return. 1669 * @return The idTokenSigningAlgValuesSupported at the given index. 1670 */ getIdTokenSigningAlgValuesSupported(int index)1671 public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { 1672 return idTokenSigningAlgValuesSupported_.get(index); 1673 } 1674 /** 1675 * 1676 * 1677 * <pre> 1678 * supported ID Token signing Algorithms. 1679 * </pre> 1680 * 1681 * <code>repeated string id_token_signing_alg_values_supported = 5;</code> 1682 * 1683 * @param index The index of the value to return. 1684 * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. 1685 */ getIdTokenSigningAlgValuesSupportedBytes(int index)1686 public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { 1687 return idTokenSigningAlgValuesSupported_.getByteString(index); 1688 } 1689 /** 1690 * 1691 * 1692 * <pre> 1693 * supported ID Token signing Algorithms. 1694 * </pre> 1695 * 1696 * <code>repeated string id_token_signing_alg_values_supported = 5;</code> 1697 * 1698 * @param index The index to set the value at. 1699 * @param value The idTokenSigningAlgValuesSupported to set. 1700 * @return This builder for chaining. 1701 */ setIdTokenSigningAlgValuesSupported(int index, java.lang.String value)1702 public Builder setIdTokenSigningAlgValuesSupported(int index, java.lang.String value) { 1703 if (value == null) { 1704 throw new NullPointerException(); 1705 } 1706 ensureIdTokenSigningAlgValuesSupportedIsMutable(); 1707 idTokenSigningAlgValuesSupported_.set(index, value); 1708 onChanged(); 1709 return this; 1710 } 1711 /** 1712 * 1713 * 1714 * <pre> 1715 * supported ID Token signing Algorithms. 1716 * </pre> 1717 * 1718 * <code>repeated string id_token_signing_alg_values_supported = 5;</code> 1719 * 1720 * @param value The idTokenSigningAlgValuesSupported to add. 1721 * @return This builder for chaining. 1722 */ addIdTokenSigningAlgValuesSupported(java.lang.String value)1723 public Builder addIdTokenSigningAlgValuesSupported(java.lang.String value) { 1724 if (value == null) { 1725 throw new NullPointerException(); 1726 } 1727 ensureIdTokenSigningAlgValuesSupportedIsMutable(); 1728 idTokenSigningAlgValuesSupported_.add(value); 1729 onChanged(); 1730 return this; 1731 } 1732 /** 1733 * 1734 * 1735 * <pre> 1736 * supported ID Token signing Algorithms. 1737 * </pre> 1738 * 1739 * <code>repeated string id_token_signing_alg_values_supported = 5;</code> 1740 * 1741 * @param values The idTokenSigningAlgValuesSupported to add. 1742 * @return This builder for chaining. 1743 */ addAllIdTokenSigningAlgValuesSupported( java.lang.Iterable<java.lang.String> values)1744 public Builder addAllIdTokenSigningAlgValuesSupported( 1745 java.lang.Iterable<java.lang.String> values) { 1746 ensureIdTokenSigningAlgValuesSupportedIsMutable(); 1747 com.google.protobuf.AbstractMessageLite.Builder.addAll( 1748 values, idTokenSigningAlgValuesSupported_); 1749 onChanged(); 1750 return this; 1751 } 1752 /** 1753 * 1754 * 1755 * <pre> 1756 * supported ID Token signing Algorithms. 1757 * </pre> 1758 * 1759 * <code>repeated string id_token_signing_alg_values_supported = 5;</code> 1760 * 1761 * @return This builder for chaining. 1762 */ clearIdTokenSigningAlgValuesSupported()1763 public Builder clearIdTokenSigningAlgValuesSupported() { 1764 idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; 1765 bitField0_ = (bitField0_ & ~0x00000010); 1766 onChanged(); 1767 return this; 1768 } 1769 /** 1770 * 1771 * 1772 * <pre> 1773 * supported ID Token signing Algorithms. 1774 * </pre> 1775 * 1776 * <code>repeated string id_token_signing_alg_values_supported = 5;</code> 1777 * 1778 * @param value The bytes of the idTokenSigningAlgValuesSupported to add. 1779 * @return This builder for chaining. 1780 */ addIdTokenSigningAlgValuesSupportedBytes(com.google.protobuf.ByteString value)1781 public Builder addIdTokenSigningAlgValuesSupportedBytes(com.google.protobuf.ByteString value) { 1782 if (value == null) { 1783 throw new NullPointerException(); 1784 } 1785 checkByteStringIsUtf8(value); 1786 ensureIdTokenSigningAlgValuesSupportedIsMutable(); 1787 idTokenSigningAlgValuesSupported_.add(value); 1788 onChanged(); 1789 return this; 1790 } 1791 1792 private com.google.protobuf.LazyStringList claimsSupported_ = 1793 com.google.protobuf.LazyStringArrayList.EMPTY; 1794 ensureClaimsSupportedIsMutable()1795 private void ensureClaimsSupportedIsMutable() { 1796 if (!((bitField0_ & 0x00000020) != 0)) { 1797 claimsSupported_ = new com.google.protobuf.LazyStringArrayList(claimsSupported_); 1798 bitField0_ |= 0x00000020; 1799 } 1800 } 1801 /** 1802 * 1803 * 1804 * <pre> 1805 * Supported claims. 1806 * </pre> 1807 * 1808 * <code>repeated string claims_supported = 6;</code> 1809 * 1810 * @return A list containing the claimsSupported. 1811 */ getClaimsSupportedList()1812 public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { 1813 return claimsSupported_.getUnmodifiableView(); 1814 } 1815 /** 1816 * 1817 * 1818 * <pre> 1819 * Supported claims. 1820 * </pre> 1821 * 1822 * <code>repeated string claims_supported = 6;</code> 1823 * 1824 * @return The count of claimsSupported. 1825 */ getClaimsSupportedCount()1826 public int getClaimsSupportedCount() { 1827 return claimsSupported_.size(); 1828 } 1829 /** 1830 * 1831 * 1832 * <pre> 1833 * Supported claims. 1834 * </pre> 1835 * 1836 * <code>repeated string claims_supported = 6;</code> 1837 * 1838 * @param index The index of the element to return. 1839 * @return The claimsSupported at the given index. 1840 */ getClaimsSupported(int index)1841 public java.lang.String getClaimsSupported(int index) { 1842 return claimsSupported_.get(index); 1843 } 1844 /** 1845 * 1846 * 1847 * <pre> 1848 * Supported claims. 1849 * </pre> 1850 * 1851 * <code>repeated string claims_supported = 6;</code> 1852 * 1853 * @param index The index of the value to return. 1854 * @return The bytes of the claimsSupported at the given index. 1855 */ getClaimsSupportedBytes(int index)1856 public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { 1857 return claimsSupported_.getByteString(index); 1858 } 1859 /** 1860 * 1861 * 1862 * <pre> 1863 * Supported claims. 1864 * </pre> 1865 * 1866 * <code>repeated string claims_supported = 6;</code> 1867 * 1868 * @param index The index to set the value at. 1869 * @param value The claimsSupported to set. 1870 * @return This builder for chaining. 1871 */ setClaimsSupported(int index, java.lang.String value)1872 public Builder setClaimsSupported(int index, java.lang.String value) { 1873 if (value == null) { 1874 throw new NullPointerException(); 1875 } 1876 ensureClaimsSupportedIsMutable(); 1877 claimsSupported_.set(index, value); 1878 onChanged(); 1879 return this; 1880 } 1881 /** 1882 * 1883 * 1884 * <pre> 1885 * Supported claims. 1886 * </pre> 1887 * 1888 * <code>repeated string claims_supported = 6;</code> 1889 * 1890 * @param value The claimsSupported to add. 1891 * @return This builder for chaining. 1892 */ addClaimsSupported(java.lang.String value)1893 public Builder addClaimsSupported(java.lang.String value) { 1894 if (value == null) { 1895 throw new NullPointerException(); 1896 } 1897 ensureClaimsSupportedIsMutable(); 1898 claimsSupported_.add(value); 1899 onChanged(); 1900 return this; 1901 } 1902 /** 1903 * 1904 * 1905 * <pre> 1906 * Supported claims. 1907 * </pre> 1908 * 1909 * <code>repeated string claims_supported = 6;</code> 1910 * 1911 * @param values The claimsSupported to add. 1912 * @return This builder for chaining. 1913 */ addAllClaimsSupported(java.lang.Iterable<java.lang.String> values)1914 public Builder addAllClaimsSupported(java.lang.Iterable<java.lang.String> values) { 1915 ensureClaimsSupportedIsMutable(); 1916 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, claimsSupported_); 1917 onChanged(); 1918 return this; 1919 } 1920 /** 1921 * 1922 * 1923 * <pre> 1924 * Supported claims. 1925 * </pre> 1926 * 1927 * <code>repeated string claims_supported = 6;</code> 1928 * 1929 * @return This builder for chaining. 1930 */ clearClaimsSupported()1931 public Builder clearClaimsSupported() { 1932 claimsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; 1933 bitField0_ = (bitField0_ & ~0x00000020); 1934 onChanged(); 1935 return this; 1936 } 1937 /** 1938 * 1939 * 1940 * <pre> 1941 * Supported claims. 1942 * </pre> 1943 * 1944 * <code>repeated string claims_supported = 6;</code> 1945 * 1946 * @param value The bytes of the claimsSupported to add. 1947 * @return This builder for chaining. 1948 */ addClaimsSupportedBytes(com.google.protobuf.ByteString value)1949 public Builder addClaimsSupportedBytes(com.google.protobuf.ByteString value) { 1950 if (value == null) { 1951 throw new NullPointerException(); 1952 } 1953 checkByteStringIsUtf8(value); 1954 ensureClaimsSupportedIsMutable(); 1955 claimsSupported_.add(value); 1956 onChanged(); 1957 return this; 1958 } 1959 1960 private com.google.protobuf.LazyStringList grantTypes_ = 1961 com.google.protobuf.LazyStringArrayList.EMPTY; 1962 ensureGrantTypesIsMutable()1963 private void ensureGrantTypesIsMutable() { 1964 if (!((bitField0_ & 0x00000040) != 0)) { 1965 grantTypes_ = new com.google.protobuf.LazyStringArrayList(grantTypes_); 1966 bitField0_ |= 0x00000040; 1967 } 1968 } 1969 /** 1970 * 1971 * 1972 * <pre> 1973 * Supported grant types. 1974 * </pre> 1975 * 1976 * <code>repeated string grant_types = 7;</code> 1977 * 1978 * @return A list containing the grantTypes. 1979 */ getGrantTypesList()1980 public com.google.protobuf.ProtocolStringList getGrantTypesList() { 1981 return grantTypes_.getUnmodifiableView(); 1982 } 1983 /** 1984 * 1985 * 1986 * <pre> 1987 * Supported grant types. 1988 * </pre> 1989 * 1990 * <code>repeated string grant_types = 7;</code> 1991 * 1992 * @return The count of grantTypes. 1993 */ getGrantTypesCount()1994 public int getGrantTypesCount() { 1995 return grantTypes_.size(); 1996 } 1997 /** 1998 * 1999 * 2000 * <pre> 2001 * Supported grant types. 2002 * </pre> 2003 * 2004 * <code>repeated string grant_types = 7;</code> 2005 * 2006 * @param index The index of the element to return. 2007 * @return The grantTypes at the given index. 2008 */ getGrantTypes(int index)2009 public java.lang.String getGrantTypes(int index) { 2010 return grantTypes_.get(index); 2011 } 2012 /** 2013 * 2014 * 2015 * <pre> 2016 * Supported grant types. 2017 * </pre> 2018 * 2019 * <code>repeated string grant_types = 7;</code> 2020 * 2021 * @param index The index of the value to return. 2022 * @return The bytes of the grantTypes at the given index. 2023 */ getGrantTypesBytes(int index)2024 public com.google.protobuf.ByteString getGrantTypesBytes(int index) { 2025 return grantTypes_.getByteString(index); 2026 } 2027 /** 2028 * 2029 * 2030 * <pre> 2031 * Supported grant types. 2032 * </pre> 2033 * 2034 * <code>repeated string grant_types = 7;</code> 2035 * 2036 * @param index The index to set the value at. 2037 * @param value The grantTypes to set. 2038 * @return This builder for chaining. 2039 */ setGrantTypes(int index, java.lang.String value)2040 public Builder setGrantTypes(int index, java.lang.String value) { 2041 if (value == null) { 2042 throw new NullPointerException(); 2043 } 2044 ensureGrantTypesIsMutable(); 2045 grantTypes_.set(index, value); 2046 onChanged(); 2047 return this; 2048 } 2049 /** 2050 * 2051 * 2052 * <pre> 2053 * Supported grant types. 2054 * </pre> 2055 * 2056 * <code>repeated string grant_types = 7;</code> 2057 * 2058 * @param value The grantTypes to add. 2059 * @return This builder for chaining. 2060 */ addGrantTypes(java.lang.String value)2061 public Builder addGrantTypes(java.lang.String value) { 2062 if (value == null) { 2063 throw new NullPointerException(); 2064 } 2065 ensureGrantTypesIsMutable(); 2066 grantTypes_.add(value); 2067 onChanged(); 2068 return this; 2069 } 2070 /** 2071 * 2072 * 2073 * <pre> 2074 * Supported grant types. 2075 * </pre> 2076 * 2077 * <code>repeated string grant_types = 7;</code> 2078 * 2079 * @param values The grantTypes to add. 2080 * @return This builder for chaining. 2081 */ addAllGrantTypes(java.lang.Iterable<java.lang.String> values)2082 public Builder addAllGrantTypes(java.lang.Iterable<java.lang.String> values) { 2083 ensureGrantTypesIsMutable(); 2084 com.google.protobuf.AbstractMessageLite.Builder.addAll(values, grantTypes_); 2085 onChanged(); 2086 return this; 2087 } 2088 /** 2089 * 2090 * 2091 * <pre> 2092 * Supported grant types. 2093 * </pre> 2094 * 2095 * <code>repeated string grant_types = 7;</code> 2096 * 2097 * @return This builder for chaining. 2098 */ clearGrantTypes()2099 public Builder clearGrantTypes() { 2100 grantTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; 2101 bitField0_ = (bitField0_ & ~0x00000040); 2102 onChanged(); 2103 return this; 2104 } 2105 /** 2106 * 2107 * 2108 * <pre> 2109 * Supported grant types. 2110 * </pre> 2111 * 2112 * <code>repeated string grant_types = 7;</code> 2113 * 2114 * @param value The bytes of the grantTypes to add. 2115 * @return This builder for chaining. 2116 */ addGrantTypesBytes(com.google.protobuf.ByteString value)2117 public Builder addGrantTypesBytes(com.google.protobuf.ByteString value) { 2118 if (value == null) { 2119 throw new NullPointerException(); 2120 } 2121 checkByteStringIsUtf8(value); 2122 ensureGrantTypesIsMutable(); 2123 grantTypes_.add(value); 2124 onChanged(); 2125 return this; 2126 } 2127 2128 @java.lang.Override setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields)2129 public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { 2130 return super.setUnknownFields(unknownFields); 2131 } 2132 2133 @java.lang.Override mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)2134 public final Builder mergeUnknownFields( 2135 final com.google.protobuf.UnknownFieldSet unknownFields) { 2136 return super.mergeUnknownFields(unknownFields); 2137 } 2138 2139 // @@protoc_insertion_point(builder_scope:google.container.v1.GetOpenIDConfigResponse) 2140 } 2141 2142 // @@protoc_insertion_point(class_scope:google.container.v1.GetOpenIDConfigResponse) 2143 private static final com.google.container.v1.GetOpenIDConfigResponse DEFAULT_INSTANCE; 2144 2145 static { 2146 DEFAULT_INSTANCE = new com.google.container.v1.GetOpenIDConfigResponse(); 2147 } 2148 getDefaultInstance()2149 public static com.google.container.v1.GetOpenIDConfigResponse getDefaultInstance() { 2150 return DEFAULT_INSTANCE; 2151 } 2152 2153 private static final com.google.protobuf.Parser<GetOpenIDConfigResponse> PARSER = 2154 new com.google.protobuf.AbstractParser<GetOpenIDConfigResponse>() { 2155 @java.lang.Override 2156 public GetOpenIDConfigResponse parsePartialFrom( 2157 com.google.protobuf.CodedInputStream input, 2158 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2159 throws com.google.protobuf.InvalidProtocolBufferException { 2160 Builder builder = newBuilder(); 2161 try { 2162 builder.mergeFrom(input, extensionRegistry); 2163 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2164 throw e.setUnfinishedMessage(builder.buildPartial()); 2165 } catch (com.google.protobuf.UninitializedMessageException e) { 2166 throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); 2167 } catch (java.io.IOException e) { 2168 throw new com.google.protobuf.InvalidProtocolBufferException(e) 2169 .setUnfinishedMessage(builder.buildPartial()); 2170 } 2171 return builder.buildPartial(); 2172 } 2173 }; 2174 parser()2175 public static com.google.protobuf.Parser<GetOpenIDConfigResponse> parser() { 2176 return PARSER; 2177 } 2178 2179 @java.lang.Override getParserForType()2180 public com.google.protobuf.Parser<GetOpenIDConfigResponse> getParserForType() { 2181 return PARSER; 2182 } 2183 2184 @java.lang.Override getDefaultInstanceForType()2185 public com.google.container.v1.GetOpenIDConfigResponse getDefaultInstanceForType() { 2186 return DEFAULT_INSTANCE; 2187 } 2188 } 2189