Class GetOpenIDConfigResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetOpenIDConfigResponse.Builder>
com.google.container.v1.GetOpenIDConfigResponse.Builder
All Implemented Interfaces:
GetOpenIDConfigResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetOpenIDConfigResponse

public static final class GetOpenIDConfigResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetOpenIDConfigResponse.Builder> implements GetOpenIDConfigResponseOrBuilder
 GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
 See the OpenID Connect Discovery 1.0 specification for details.
 
Protobuf type google.container.v1.GetOpenIDConfigResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GetOpenIDConfigResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<GetOpenIDConfigResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GetOpenIDConfigResponse.Builder>
    • getDefaultInstanceForType

      public GetOpenIDConfigResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public GetOpenIDConfigResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GetOpenIDConfigResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public GetOpenIDConfigResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetOpenIDConfigResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GetOpenIDConfigResponse.Builder>
    • mergeFrom

      public GetOpenIDConfigResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetOpenIDConfigResponse.Builder>
      Throws:
      IOException
    • getIssuer

      public String getIssuer()
       OIDC Issuer.
       
      string issuer = 1;
      Specified by:
      getIssuer in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      The issuer.
    • getIssuerBytes

      public com.google.protobuf.ByteString getIssuerBytes()
       OIDC Issuer.
       
      string issuer = 1;
      Specified by:
      getIssuerBytes in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      The bytes for issuer.
    • setIssuer

      public GetOpenIDConfigResponse.Builder setIssuer(String value)
       OIDC Issuer.
       
      string issuer = 1;
      Parameters:
      value - The issuer to set.
      Returns:
      This builder for chaining.
    • clearIssuer

      public GetOpenIDConfigResponse.Builder clearIssuer()
       OIDC Issuer.
       
      string issuer = 1;
      Returns:
      This builder for chaining.
    • setIssuerBytes

      public GetOpenIDConfigResponse.Builder setIssuerBytes(com.google.protobuf.ByteString value)
       OIDC Issuer.
       
      string issuer = 1;
      Parameters:
      value - The bytes for issuer to set.
      Returns:
      This builder for chaining.
    • getJwksUri

      public String getJwksUri()
       JSON Web Key uri.
       
      string jwks_uri = 2 [json_name = "jwks_uri"];
      Specified by:
      getJwksUri in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      The jwksUri.
    • getJwksUriBytes

      public com.google.protobuf.ByteString getJwksUriBytes()
       JSON Web Key uri.
       
      string jwks_uri = 2 [json_name = "jwks_uri"];
      Specified by:
      getJwksUriBytes in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      The bytes for jwksUri.
    • setJwksUri

      public GetOpenIDConfigResponse.Builder setJwksUri(String value)
       JSON Web Key uri.
       
      string jwks_uri = 2 [json_name = "jwks_uri"];
      Parameters:
      value - The jwksUri to set.
      Returns:
      This builder for chaining.
    • clearJwksUri

      public GetOpenIDConfigResponse.Builder clearJwksUri()
       JSON Web Key uri.
       
      string jwks_uri = 2 [json_name = "jwks_uri"];
      Returns:
      This builder for chaining.
    • setJwksUriBytes

      public GetOpenIDConfigResponse.Builder setJwksUriBytes(com.google.protobuf.ByteString value)
       JSON Web Key uri.
       
      string jwks_uri = 2 [json_name = "jwks_uri"];
      Parameters:
      value - The bytes for jwksUri to set.
      Returns:
      This builder for chaining.
    • getResponseTypesSupportedList

      public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList()
       Supported response types.
       
      repeated string response_types_supported = 3 [json_name = "response_types_supported"];
      Specified by:
      getResponseTypesSupportedList in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      A list containing the responseTypesSupported.
    • getResponseTypesSupportedCount

      public int getResponseTypesSupportedCount()
       Supported response types.
       
      repeated string response_types_supported = 3 [json_name = "response_types_supported"];
      Specified by:
      getResponseTypesSupportedCount in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      The count of responseTypesSupported.
    • getResponseTypesSupported

      public String getResponseTypesSupported(int index)
       Supported response types.
       
      repeated string response_types_supported = 3 [json_name = "response_types_supported"];
      Specified by:
      getResponseTypesSupported in interface GetOpenIDConfigResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The responseTypesSupported at the given index.
    • getResponseTypesSupportedBytes

      public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index)
       Supported response types.
       
      repeated string response_types_supported = 3 [json_name = "response_types_supported"];
      Specified by:
      getResponseTypesSupportedBytes in interface GetOpenIDConfigResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the responseTypesSupported at the given index.
    • setResponseTypesSupported

      public GetOpenIDConfigResponse.Builder setResponseTypesSupported(int index, String value)
       Supported response types.
       
      repeated string response_types_supported = 3 [json_name = "response_types_supported"];
      Parameters:
      index - The index to set the value at.
      value - The responseTypesSupported to set.
      Returns:
      This builder for chaining.
    • addResponseTypesSupported

      public GetOpenIDConfigResponse.Builder addResponseTypesSupported(String value)
       Supported response types.
       
      repeated string response_types_supported = 3 [json_name = "response_types_supported"];
      Parameters:
      value - The responseTypesSupported to add.
      Returns:
      This builder for chaining.
    • addAllResponseTypesSupported

      public GetOpenIDConfigResponse.Builder addAllResponseTypesSupported(Iterable<String> values)
       Supported response types.
       
      repeated string response_types_supported = 3 [json_name = "response_types_supported"];
      Parameters:
      values - The responseTypesSupported to add.
      Returns:
      This builder for chaining.
    • clearResponseTypesSupported

      public GetOpenIDConfigResponse.Builder clearResponseTypesSupported()
       Supported response types.
       
      repeated string response_types_supported = 3 [json_name = "response_types_supported"];
      Returns:
      This builder for chaining.
    • addResponseTypesSupportedBytes

      public GetOpenIDConfigResponse.Builder addResponseTypesSupportedBytes(com.google.protobuf.ByteString value)
       Supported response types.
       
      repeated string response_types_supported = 3 [json_name = "response_types_supported"];
      Parameters:
      value - The bytes of the responseTypesSupported to add.
      Returns:
      This builder for chaining.
    • getSubjectTypesSupportedList

      public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList()
       Supported subject types.
       
      repeated string subject_types_supported = 4 [json_name = "subject_types_supported"];
      Specified by:
      getSubjectTypesSupportedList in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      A list containing the subjectTypesSupported.
    • getSubjectTypesSupportedCount

      public int getSubjectTypesSupportedCount()
       Supported subject types.
       
      repeated string subject_types_supported = 4 [json_name = "subject_types_supported"];
      Specified by:
      getSubjectTypesSupportedCount in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      The count of subjectTypesSupported.
    • getSubjectTypesSupported

      public String getSubjectTypesSupported(int index)
       Supported subject types.
       
      repeated string subject_types_supported = 4 [json_name = "subject_types_supported"];
      Specified by:
      getSubjectTypesSupported in interface GetOpenIDConfigResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The subjectTypesSupported at the given index.
    • getSubjectTypesSupportedBytes

      public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index)
       Supported subject types.
       
      repeated string subject_types_supported = 4 [json_name = "subject_types_supported"];
      Specified by:
      getSubjectTypesSupportedBytes in interface GetOpenIDConfigResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the subjectTypesSupported at the given index.
    • setSubjectTypesSupported

      public GetOpenIDConfigResponse.Builder setSubjectTypesSupported(int index, String value)
       Supported subject types.
       
      repeated string subject_types_supported = 4 [json_name = "subject_types_supported"];
      Parameters:
      index - The index to set the value at.
      value - The subjectTypesSupported to set.
      Returns:
      This builder for chaining.
    • addSubjectTypesSupported

      public GetOpenIDConfigResponse.Builder addSubjectTypesSupported(String value)
       Supported subject types.
       
      repeated string subject_types_supported = 4 [json_name = "subject_types_supported"];
      Parameters:
      value - The subjectTypesSupported to add.
      Returns:
      This builder for chaining.
    • addAllSubjectTypesSupported

      public GetOpenIDConfigResponse.Builder addAllSubjectTypesSupported(Iterable<String> values)
       Supported subject types.
       
      repeated string subject_types_supported = 4 [json_name = "subject_types_supported"];
      Parameters:
      values - The subjectTypesSupported to add.
      Returns:
      This builder for chaining.
    • clearSubjectTypesSupported

      public GetOpenIDConfigResponse.Builder clearSubjectTypesSupported()
       Supported subject types.
       
      repeated string subject_types_supported = 4 [json_name = "subject_types_supported"];
      Returns:
      This builder for chaining.
    • addSubjectTypesSupportedBytes

      public GetOpenIDConfigResponse.Builder addSubjectTypesSupportedBytes(com.google.protobuf.ByteString value)
       Supported subject types.
       
      repeated string subject_types_supported = 4 [json_name = "subject_types_supported"];
      Parameters:
      value - The bytes of the subjectTypesSupported to add.
      Returns:
      This builder for chaining.
    • getIdTokenSigningAlgValuesSupportedList

      public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList()
       supported ID Token signing Algorithms.
       
      repeated string id_token_signing_alg_values_supported = 5 [json_name = "id_token_signing_alg_values_supported"];
      Specified by:
      getIdTokenSigningAlgValuesSupportedList in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      A list containing the idTokenSigningAlgValuesSupported.
    • getIdTokenSigningAlgValuesSupportedCount

      public int getIdTokenSigningAlgValuesSupportedCount()
       supported ID Token signing Algorithms.
       
      repeated string id_token_signing_alg_values_supported = 5 [json_name = "id_token_signing_alg_values_supported"];
      Specified by:
      getIdTokenSigningAlgValuesSupportedCount in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      The count of idTokenSigningAlgValuesSupported.
    • getIdTokenSigningAlgValuesSupported

      public String getIdTokenSigningAlgValuesSupported(int index)
       supported ID Token signing Algorithms.
       
      repeated string id_token_signing_alg_values_supported = 5 [json_name = "id_token_signing_alg_values_supported"];
      Specified by:
      getIdTokenSigningAlgValuesSupported in interface GetOpenIDConfigResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The idTokenSigningAlgValuesSupported at the given index.
    • getIdTokenSigningAlgValuesSupportedBytes

      public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index)
       supported ID Token signing Algorithms.
       
      repeated string id_token_signing_alg_values_supported = 5 [json_name = "id_token_signing_alg_values_supported"];
      Specified by:
      getIdTokenSigningAlgValuesSupportedBytes in interface GetOpenIDConfigResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the idTokenSigningAlgValuesSupported at the given index.
    • setIdTokenSigningAlgValuesSupported

      public GetOpenIDConfigResponse.Builder setIdTokenSigningAlgValuesSupported(int index, String value)
       supported ID Token signing Algorithms.
       
      repeated string id_token_signing_alg_values_supported = 5 [json_name = "id_token_signing_alg_values_supported"];
      Parameters:
      index - The index to set the value at.
      value - The idTokenSigningAlgValuesSupported to set.
      Returns:
      This builder for chaining.
    • addIdTokenSigningAlgValuesSupported

      public GetOpenIDConfigResponse.Builder addIdTokenSigningAlgValuesSupported(String value)
       supported ID Token signing Algorithms.
       
      repeated string id_token_signing_alg_values_supported = 5 [json_name = "id_token_signing_alg_values_supported"];
      Parameters:
      value - The idTokenSigningAlgValuesSupported to add.
      Returns:
      This builder for chaining.
    • addAllIdTokenSigningAlgValuesSupported

      public GetOpenIDConfigResponse.Builder addAllIdTokenSigningAlgValuesSupported(Iterable<String> values)
       supported ID Token signing Algorithms.
       
      repeated string id_token_signing_alg_values_supported = 5 [json_name = "id_token_signing_alg_values_supported"];
      Parameters:
      values - The idTokenSigningAlgValuesSupported to add.
      Returns:
      This builder for chaining.
    • clearIdTokenSigningAlgValuesSupported

      public GetOpenIDConfigResponse.Builder clearIdTokenSigningAlgValuesSupported()
       supported ID Token signing Algorithms.
       
      repeated string id_token_signing_alg_values_supported = 5 [json_name = "id_token_signing_alg_values_supported"];
      Returns:
      This builder for chaining.
    • addIdTokenSigningAlgValuesSupportedBytes

      public GetOpenIDConfigResponse.Builder addIdTokenSigningAlgValuesSupportedBytes(com.google.protobuf.ByteString value)
       supported ID Token signing Algorithms.
       
      repeated string id_token_signing_alg_values_supported = 5 [json_name = "id_token_signing_alg_values_supported"];
      Parameters:
      value - The bytes of the idTokenSigningAlgValuesSupported to add.
      Returns:
      This builder for chaining.
    • getClaimsSupportedList

      public com.google.protobuf.ProtocolStringList getClaimsSupportedList()
       Supported claims.
       
      repeated string claims_supported = 6 [json_name = "claims_supported"];
      Specified by:
      getClaimsSupportedList in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      A list containing the claimsSupported.
    • getClaimsSupportedCount

      public int getClaimsSupportedCount()
       Supported claims.
       
      repeated string claims_supported = 6 [json_name = "claims_supported"];
      Specified by:
      getClaimsSupportedCount in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      The count of claimsSupported.
    • getClaimsSupported

      public String getClaimsSupported(int index)
       Supported claims.
       
      repeated string claims_supported = 6 [json_name = "claims_supported"];
      Specified by:
      getClaimsSupported in interface GetOpenIDConfigResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The claimsSupported at the given index.
    • getClaimsSupportedBytes

      public com.google.protobuf.ByteString getClaimsSupportedBytes(int index)
       Supported claims.
       
      repeated string claims_supported = 6 [json_name = "claims_supported"];
      Specified by:
      getClaimsSupportedBytes in interface GetOpenIDConfigResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the claimsSupported at the given index.
    • setClaimsSupported

      public GetOpenIDConfigResponse.Builder setClaimsSupported(int index, String value)
       Supported claims.
       
      repeated string claims_supported = 6 [json_name = "claims_supported"];
      Parameters:
      index - The index to set the value at.
      value - The claimsSupported to set.
      Returns:
      This builder for chaining.
    • addClaimsSupported

      public GetOpenIDConfigResponse.Builder addClaimsSupported(String value)
       Supported claims.
       
      repeated string claims_supported = 6 [json_name = "claims_supported"];
      Parameters:
      value - The claimsSupported to add.
      Returns:
      This builder for chaining.
    • addAllClaimsSupported

      public GetOpenIDConfigResponse.Builder addAllClaimsSupported(Iterable<String> values)
       Supported claims.
       
      repeated string claims_supported = 6 [json_name = "claims_supported"];
      Parameters:
      values - The claimsSupported to add.
      Returns:
      This builder for chaining.
    • clearClaimsSupported

      public GetOpenIDConfigResponse.Builder clearClaimsSupported()
       Supported claims.
       
      repeated string claims_supported = 6 [json_name = "claims_supported"];
      Returns:
      This builder for chaining.
    • addClaimsSupportedBytes

      public GetOpenIDConfigResponse.Builder addClaimsSupportedBytes(com.google.protobuf.ByteString value)
       Supported claims.
       
      repeated string claims_supported = 6 [json_name = "claims_supported"];
      Parameters:
      value - The bytes of the claimsSupported to add.
      Returns:
      This builder for chaining.
    • getGrantTypesList

      public com.google.protobuf.ProtocolStringList getGrantTypesList()
       Supported grant types.
       
      repeated string grant_types = 7 [json_name = "grant_types"];
      Specified by:
      getGrantTypesList in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      A list containing the grantTypes.
    • getGrantTypesCount

      public int getGrantTypesCount()
       Supported grant types.
       
      repeated string grant_types = 7 [json_name = "grant_types"];
      Specified by:
      getGrantTypesCount in interface GetOpenIDConfigResponseOrBuilder
      Returns:
      The count of grantTypes.
    • getGrantTypes

      public String getGrantTypes(int index)
       Supported grant types.
       
      repeated string grant_types = 7 [json_name = "grant_types"];
      Specified by:
      getGrantTypes in interface GetOpenIDConfigResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The grantTypes at the given index.
    • getGrantTypesBytes

      public com.google.protobuf.ByteString getGrantTypesBytes(int index)
       Supported grant types.
       
      repeated string grant_types = 7 [json_name = "grant_types"];
      Specified by:
      getGrantTypesBytes in interface GetOpenIDConfigResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the grantTypes at the given index.
    • setGrantTypes

      public GetOpenIDConfigResponse.Builder setGrantTypes(int index, String value)
       Supported grant types.
       
      repeated string grant_types = 7 [json_name = "grant_types"];
      Parameters:
      index - The index to set the value at.
      value - The grantTypes to set.
      Returns:
      This builder for chaining.
    • addGrantTypes

      public GetOpenIDConfigResponse.Builder addGrantTypes(String value)
       Supported grant types.
       
      repeated string grant_types = 7 [json_name = "grant_types"];
      Parameters:
      value - The grantTypes to add.
      Returns:
      This builder for chaining.
    • addAllGrantTypes

      public GetOpenIDConfigResponse.Builder addAllGrantTypes(Iterable<String> values)
       Supported grant types.
       
      repeated string grant_types = 7 [json_name = "grant_types"];
      Parameters:
      values - The grantTypes to add.
      Returns:
      This builder for chaining.
    • clearGrantTypes

      public GetOpenIDConfigResponse.Builder clearGrantTypes()
       Supported grant types.
       
      repeated string grant_types = 7 [json_name = "grant_types"];
      Returns:
      This builder for chaining.
    • addGrantTypesBytes

      public GetOpenIDConfigResponse.Builder addGrantTypesBytes(com.google.protobuf.ByteString value)
       Supported grant types.
       
      repeated string grant_types = 7 [json_name = "grant_types"];
      Parameters:
      value - The bytes of the grantTypes to add.
      Returns:
      This builder for chaining.