Class Application.IdentityAwareProxy.Builder

    • 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<Application.IdentityAwareProxy.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<Application.IdentityAwareProxy.Builder>
      • getDefaultInstanceForType

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

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

        public Application.IdentityAwareProxy 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<Application.IdentityAwareProxy.Builder>
      • getEnabled

        public boolean getEnabled()
         Whether the serving infrastructure will authenticate and
         authorize all incoming requests.
        
         If true, the `oauth2_client_id` and `oauth2_client_secret`
         fields must be non-empty.
         
        bool enabled = 1;
        Specified by:
        getEnabled in interface Application.IdentityAwareProxyOrBuilder
        Returns:
        The enabled.
      • setEnabled

        public Application.IdentityAwareProxy.Builder setEnabled​(boolean value)
         Whether the serving infrastructure will authenticate and
         authorize all incoming requests.
        
         If true, the `oauth2_client_id` and `oauth2_client_secret`
         fields must be non-empty.
         
        bool enabled = 1;
        Parameters:
        value - The enabled to set.
        Returns:
        This builder for chaining.
      • clearEnabled

        public Application.IdentityAwareProxy.Builder clearEnabled()
         Whether the serving infrastructure will authenticate and
         authorize all incoming requests.
        
         If true, the `oauth2_client_id` and `oauth2_client_secret`
         fields must be non-empty.
         
        bool enabled = 1;
        Returns:
        This builder for chaining.
      • setOauth2ClientId

        public Application.IdentityAwareProxy.Builder setOauth2ClientId​(String value)
         OAuth2 client ID to use for the authentication flow.
         
        string oauth2_client_id = 2;
        Parameters:
        value - The oauth2ClientId to set.
        Returns:
        This builder for chaining.
      • clearOauth2ClientId

        public Application.IdentityAwareProxy.Builder clearOauth2ClientId()
         OAuth2 client ID to use for the authentication flow.
         
        string oauth2_client_id = 2;
        Returns:
        This builder for chaining.
      • setOauth2ClientIdBytes

        public Application.IdentityAwareProxy.Builder setOauth2ClientIdBytes​(com.google.protobuf.ByteString value)
         OAuth2 client ID to use for the authentication flow.
         
        string oauth2_client_id = 2;
        Parameters:
        value - The bytes for oauth2ClientId to set.
        Returns:
        This builder for chaining.
      • getOauth2ClientSecret

        public String getOauth2ClientSecret()
         OAuth2 client secret to use for the authentication flow.
        
         For security reasons, this value cannot be retrieved via the API.
         Instead, the SHA-256 hash of the value is returned in the
         `oauth2_client_secret_sha256` field.
        
         @InputOnly
         
        string oauth2_client_secret = 3;
        Specified by:
        getOauth2ClientSecret in interface Application.IdentityAwareProxyOrBuilder
        Returns:
        The oauth2ClientSecret.
      • getOauth2ClientSecretBytes

        public com.google.protobuf.ByteString getOauth2ClientSecretBytes()
         OAuth2 client secret to use for the authentication flow.
        
         For security reasons, this value cannot be retrieved via the API.
         Instead, the SHA-256 hash of the value is returned in the
         `oauth2_client_secret_sha256` field.
        
         @InputOnly
         
        string oauth2_client_secret = 3;
        Specified by:
        getOauth2ClientSecretBytes in interface Application.IdentityAwareProxyOrBuilder
        Returns:
        The bytes for oauth2ClientSecret.
      • setOauth2ClientSecret

        public Application.IdentityAwareProxy.Builder setOauth2ClientSecret​(String value)
         OAuth2 client secret to use for the authentication flow.
        
         For security reasons, this value cannot be retrieved via the API.
         Instead, the SHA-256 hash of the value is returned in the
         `oauth2_client_secret_sha256` field.
        
         @InputOnly
         
        string oauth2_client_secret = 3;
        Parameters:
        value - The oauth2ClientSecret to set.
        Returns:
        This builder for chaining.
      • clearOauth2ClientSecret

        public Application.IdentityAwareProxy.Builder clearOauth2ClientSecret()
         OAuth2 client secret to use for the authentication flow.
        
         For security reasons, this value cannot be retrieved via the API.
         Instead, the SHA-256 hash of the value is returned in the
         `oauth2_client_secret_sha256` field.
        
         @InputOnly
         
        string oauth2_client_secret = 3;
        Returns:
        This builder for chaining.
      • setOauth2ClientSecretBytes

        public Application.IdentityAwareProxy.Builder setOauth2ClientSecretBytes​(com.google.protobuf.ByteString value)
         OAuth2 client secret to use for the authentication flow.
        
         For security reasons, this value cannot be retrieved via the API.
         Instead, the SHA-256 hash of the value is returned in the
         `oauth2_client_secret_sha256` field.
        
         @InputOnly
         
        string oauth2_client_secret = 3;
        Parameters:
        value - The bytes for oauth2ClientSecret to set.
        Returns:
        This builder for chaining.
      • getOauth2ClientSecretSha256Bytes

        public com.google.protobuf.ByteString getOauth2ClientSecretSha256Bytes()
         Hex-encoded SHA-256 hash of the client secret.
        
         @OutputOnly
         
        string oauth2_client_secret_sha256 = 4;
        Specified by:
        getOauth2ClientSecretSha256Bytes in interface Application.IdentityAwareProxyOrBuilder
        Returns:
        The bytes for oauth2ClientSecretSha256.
      • setOauth2ClientSecretSha256

        public Application.IdentityAwareProxy.Builder setOauth2ClientSecretSha256​(String value)
         Hex-encoded SHA-256 hash of the client secret.
        
         @OutputOnly
         
        string oauth2_client_secret_sha256 = 4;
        Parameters:
        value - The oauth2ClientSecretSha256 to set.
        Returns:
        This builder for chaining.
      • clearOauth2ClientSecretSha256

        public Application.IdentityAwareProxy.Builder clearOauth2ClientSecretSha256()
         Hex-encoded SHA-256 hash of the client secret.
        
         @OutputOnly
         
        string oauth2_client_secret_sha256 = 4;
        Returns:
        This builder for chaining.
      • setOauth2ClientSecretSha256Bytes

        public Application.IdentityAwareProxy.Builder setOauth2ClientSecretSha256Bytes​(com.google.protobuf.ByteString value)
         Hex-encoded SHA-256 hash of the client secret.
        
         @OutputOnly
         
        string oauth2_client_secret_sha256 = 4;
        Parameters:
        value - The bytes for oauth2ClientSecretSha256 to set.
        Returns:
        This builder for chaining.