Class Auth.PublicClientAuthConfigResponse.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • clientId_

        private Object clientId_
      • redirectUri_

        private Object redirectUri_
      • scopes_

        private com.google.protobuf.LazyStringList scopes_
      • authorizationMetadataKey_

        private Object authorizationMetadataKey_
      • serviceHttpEndpoint_

        private Object serviceHttpEndpoint_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
    • 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<Auth.PublicClientAuthConfigResponse.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<Auth.PublicClientAuthConfigResponse.Builder>
      • getDefaultInstanceForType

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

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

        public Auth.PublicClientAuthConfigResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Auth.PublicClientAuthConfigResponse.Builder>
      • setClientId

        public Auth.PublicClientAuthConfigResponse.Builder setClientId​(String value)
         client_id to use when initiating OAuth2 authorization requests.
         
        string client_id = 1;
        Parameters:
        value - The clientId to set.
        Returns:
        This builder for chaining.
      • setClientIdBytes

        public Auth.PublicClientAuthConfigResponse.Builder setClientIdBytes​(com.google.protobuf.ByteString value)
         client_id to use when initiating OAuth2 authorization requests.
         
        string client_id = 1;
        Parameters:
        value - The bytes for clientId to set.
        Returns:
        This builder for chaining.
      • setRedirectUri

        public Auth.PublicClientAuthConfigResponse.Builder setRedirectUri​(String value)
         redirect uri to use when initiating OAuth2 authorization requests.
         
        string redirect_uri = 2;
        Parameters:
        value - The redirectUri to set.
        Returns:
        This builder for chaining.
      • clearRedirectUri

        public Auth.PublicClientAuthConfigResponse.Builder clearRedirectUri()
         redirect uri to use when initiating OAuth2 authorization requests.
         
        string redirect_uri = 2;
        Returns:
        This builder for chaining.
      • setRedirectUriBytes

        public Auth.PublicClientAuthConfigResponse.Builder setRedirectUriBytes​(com.google.protobuf.ByteString value)
         redirect uri to use when initiating OAuth2 authorization requests.
         
        string redirect_uri = 2;
        Parameters:
        value - The bytes for redirectUri to set.
        Returns:
        This builder for chaining.
      • ensureScopesIsMutable

        private void ensureScopesIsMutable()
      • getScopesList

        public com.google.protobuf.ProtocolStringList getScopesList()
         scopes to request when initiating OAuth2 authorization requests.
         
        repeated string scopes = 3;
        Specified by:
        getScopesList in interface Auth.PublicClientAuthConfigResponseOrBuilder
        Returns:
        A list containing the scopes.
      • getScopes

        public String getScopes​(int index)
         scopes to request when initiating OAuth2 authorization requests.
         
        repeated string scopes = 3;
        Specified by:
        getScopes in interface Auth.PublicClientAuthConfigResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The scopes at the given index.
      • getScopesBytes

        public com.google.protobuf.ByteString getScopesBytes​(int index)
         scopes to request when initiating OAuth2 authorization requests.
         
        repeated string scopes = 3;
        Specified by:
        getScopesBytes in interface Auth.PublicClientAuthConfigResponseOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the scopes at the given index.
      • setScopes

        public Auth.PublicClientAuthConfigResponse.Builder setScopes​(int index,
                                                                     String value)
         scopes to request when initiating OAuth2 authorization requests.
         
        repeated string scopes = 3;
        Parameters:
        index - The index to set the value at.
        value - The scopes to set.
        Returns:
        This builder for chaining.
      • addScopes

        public Auth.PublicClientAuthConfigResponse.Builder addScopes​(String value)
         scopes to request when initiating OAuth2 authorization requests.
         
        repeated string scopes = 3;
        Parameters:
        value - The scopes to add.
        Returns:
        This builder for chaining.
      • addScopesBytes

        public Auth.PublicClientAuthConfigResponse.Builder addScopesBytes​(com.google.protobuf.ByteString value)
         scopes to request when initiating OAuth2 authorization requests.
         
        repeated string scopes = 3;
        Parameters:
        value - The bytes of the scopes to add.
        Returns:
        This builder for chaining.
      • getAuthorizationMetadataKey

        public String getAuthorizationMetadataKey()
         Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
         default http `Authorization` header.
         
        string authorization_metadata_key = 4;
        Specified by:
        getAuthorizationMetadataKey in interface Auth.PublicClientAuthConfigResponseOrBuilder
        Returns:
        The authorizationMetadataKey.
      • getAuthorizationMetadataKeyBytes

        public com.google.protobuf.ByteString getAuthorizationMetadataKeyBytes()
         Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
         default http `Authorization` header.
         
        string authorization_metadata_key = 4;
        Specified by:
        getAuthorizationMetadataKeyBytes in interface Auth.PublicClientAuthConfigResponseOrBuilder
        Returns:
        The bytes for authorizationMetadataKey.
      • setAuthorizationMetadataKey

        public Auth.PublicClientAuthConfigResponse.Builder setAuthorizationMetadataKey​(String value)
         Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
         default http `Authorization` header.
         
        string authorization_metadata_key = 4;
        Parameters:
        value - The authorizationMetadataKey to set.
        Returns:
        This builder for chaining.
      • clearAuthorizationMetadataKey

        public Auth.PublicClientAuthConfigResponse.Builder clearAuthorizationMetadataKey()
         Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
         default http `Authorization` header.
         
        string authorization_metadata_key = 4;
        Returns:
        This builder for chaining.
      • setAuthorizationMetadataKeyBytes

        public Auth.PublicClientAuthConfigResponse.Builder setAuthorizationMetadataKeyBytes​(com.google.protobuf.ByteString value)
         Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
         default http `Authorization` header.
         
        string authorization_metadata_key = 4;
        Parameters:
        value - The bytes for authorizationMetadataKey to set.
        Returns:
        This builder for chaining.
      • getServiceHttpEndpoint

        public String getServiceHttpEndpoint()
         ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
         to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
         SSL or no SSL connections.
         
        string service_http_endpoint = 5;
        Specified by:
        getServiceHttpEndpoint in interface Auth.PublicClientAuthConfigResponseOrBuilder
        Returns:
        The serviceHttpEndpoint.
      • getServiceHttpEndpointBytes

        public com.google.protobuf.ByteString getServiceHttpEndpointBytes()
         ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
         to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
         SSL or no SSL connections.
         
        string service_http_endpoint = 5;
        Specified by:
        getServiceHttpEndpointBytes in interface Auth.PublicClientAuthConfigResponseOrBuilder
        Returns:
        The bytes for serviceHttpEndpoint.
      • setServiceHttpEndpoint

        public Auth.PublicClientAuthConfigResponse.Builder setServiceHttpEndpoint​(String value)
         ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
         to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
         SSL or no SSL connections.
         
        string service_http_endpoint = 5;
        Parameters:
        value - The serviceHttpEndpoint to set.
        Returns:
        This builder for chaining.
      • clearServiceHttpEndpoint

        public Auth.PublicClientAuthConfigResponse.Builder clearServiceHttpEndpoint()
         ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
         to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
         SSL or no SSL connections.
         
        string service_http_endpoint = 5;
        Returns:
        This builder for chaining.
      • setServiceHttpEndpointBytes

        public Auth.PublicClientAuthConfigResponse.Builder setServiceHttpEndpointBytes​(com.google.protobuf.ByteString value)
         ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
         to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
         SSL or no SSL connections.
         
        string service_http_endpoint = 5;
        Parameters:
        value - The bytes for serviceHttpEndpoint to set.
        Returns:
        This builder for chaining.