Class 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.GeneratedMessageV3.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 Detail

      • getDescriptor

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

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

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public GetOpenIDConfigResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<GetOpenIDConfigResponse.Builder>
      • clearField

        public GetOpenIDConfigResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetOpenIDConfigResponse.Builder>
      • clearOneof

        public GetOpenIDConfigResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetOpenIDConfigResponse.Builder>
      • setRepeatedField

        public GetOpenIDConfigResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetOpenIDConfigResponse.Builder>
      • addRepeatedField

        public GetOpenIDConfigResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetOpenIDConfigResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • setIssuer

        public GetOpenIDConfigResponse.Builder setIssuer​(String value)
         OIDC Issuer.
         
        string issuer = 1;
        Parameters:
        value - The issuer to set.
        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.
      • setJwksUri

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

        public GetOpenIDConfigResponse.Builder setJwksUriBytes​(com.google.protobuf.ByteString value)
         JSON Web Key uri.
         
        string jwks_uri = 2;
        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;
        Specified by:
        getResponseTypesSupportedList in interface GetOpenIDConfigResponseOrBuilder
        Returns:
        A list containing the responseTypesSupported.
      • getResponseTypesSupported

        public String getResponseTypesSupported​(int index)
         Supported response types.
         
        repeated string response_types_supported = 3;
        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;
        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;
        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;
        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;
        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;
        Returns:
        This builder for chaining.
      • addResponseTypesSupportedBytes

        public GetOpenIDConfigResponse.Builder addResponseTypesSupportedBytes​(com.google.protobuf.ByteString value)
         Supported response types.
         
        repeated string response_types_supported = 3;
        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;
        Specified by:
        getSubjectTypesSupportedList in interface GetOpenIDConfigResponseOrBuilder
        Returns:
        A list containing the subjectTypesSupported.
      • getSubjectTypesSupported

        public String getSubjectTypesSupported​(int index)
         Supported subject types.
         
        repeated string subject_types_supported = 4;
        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;
        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;
        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;
        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;
        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;
        Returns:
        This builder for chaining.
      • addSubjectTypesSupportedBytes

        public GetOpenIDConfigResponse.Builder addSubjectTypesSupportedBytes​(com.google.protobuf.ByteString value)
         Supported subject types.
         
        repeated string subject_types_supported = 4;
        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;
        Specified by:
        getIdTokenSigningAlgValuesSupportedList in interface GetOpenIDConfigResponseOrBuilder
        Returns:
        A list containing the idTokenSigningAlgValuesSupported.
      • getIdTokenSigningAlgValuesSupported

        public String getIdTokenSigningAlgValuesSupported​(int index)
         supported ID Token signing Algorithms.
         
        repeated string id_token_signing_alg_values_supported = 5;
        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;
        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;
        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;
        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;
        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;
        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;
        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;
        Specified by:
        getClaimsSupportedList in interface GetOpenIDConfigResponseOrBuilder
        Returns:
        A list containing the claimsSupported.
      • getClaimsSupported

        public String getClaimsSupported​(int index)
         Supported claims.
         
        repeated string claims_supported = 6;
        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;
        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;
        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;
        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;
        Parameters:
        values - The claimsSupported to add.
        Returns:
        This builder for chaining.
      • clearClaimsSupported

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

        public GetOpenIDConfigResponse.Builder addClaimsSupportedBytes​(com.google.protobuf.ByteString value)
         Supported claims.
         
        repeated string claims_supported = 6;
        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;
        Specified by:
        getGrantTypesList in interface GetOpenIDConfigResponseOrBuilder
        Returns:
        A list containing the grantTypes.
      • getGrantTypes

        public String getGrantTypes​(int index)
         Supported grant types.
         
        repeated string grant_types = 7;
        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;
        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;
        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;
        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;
        Parameters:
        values - The grantTypes to add.
        Returns:
        This builder for chaining.
      • clearGrantTypes

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

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

        public final GetOpenIDConfigResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetOpenIDConfigResponse.Builder>
      • mergeUnknownFields

        public final GetOpenIDConfigResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetOpenIDConfigResponse.Builder>