Class Service.GatewaySecretInfo.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<Service.GatewaySecretInfo.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<Service.GatewaySecretInfo.Builder>
      • getDefaultInstanceForType

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

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

        public Service.GatewaySecretInfo buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setField

        public Service.GatewaySecretInfo.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.GatewaySecretInfo.Builder>
      • setRepeatedField

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

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

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

        public Service.GatewaySecretInfo.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.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<Service.GatewaySecretInfo.Builder>
        Throws:
        java.io.IOException
      • hasSecretId

        public boolean hasSecretId()
         Unique identifier for the secret (UUID)
         
        optional string secret_id = 1;
        Specified by:
        hasSecretId in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        Whether the secretId field is set.
      • getSecretIdBytes

        public com.google.protobuf.ByteString getSecretIdBytes()
         Unique identifier for the secret (UUID)
         
        optional string secret_id = 1;
        Specified by:
        getSecretIdBytes in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        The bytes for secretId.
      • setSecretId

        public Service.GatewaySecretInfo.Builder setSecretId​(java.lang.String value)
         Unique identifier for the secret (UUID)
         
        optional string secret_id = 1;
        Parameters:
        value - The secretId to set.
        Returns:
        This builder for chaining.
      • clearSecretId

        public Service.GatewaySecretInfo.Builder clearSecretId()
         Unique identifier for the secret (UUID)
         
        optional string secret_id = 1;
        Returns:
        This builder for chaining.
      • setSecretIdBytes

        public Service.GatewaySecretInfo.Builder setSecretIdBytes​(com.google.protobuf.ByteString value)
         Unique identifier for the secret (UUID)
         
        optional string secret_id = 1;
        Parameters:
        value - The bytes for secretId to set.
        Returns:
        This builder for chaining.
      • hasSecretName

        public boolean hasSecretName()
         User-friendly name for the secret (must be unique)
         
        optional string secret_name = 2;
        Specified by:
        hasSecretName in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        Whether the secretName field is set.
      • getSecretName

        public java.lang.String getSecretName()
         User-friendly name for the secret (must be unique)
         
        optional string secret_name = 2;
        Specified by:
        getSecretName in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        The secretName.
      • getSecretNameBytes

        public com.google.protobuf.ByteString getSecretNameBytes()
         User-friendly name for the secret (must be unique)
         
        optional string secret_name = 2;
        Specified by:
        getSecretNameBytes in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        The bytes for secretName.
      • setSecretName

        public Service.GatewaySecretInfo.Builder setSecretName​(java.lang.String value)
         User-friendly name for the secret (must be unique)
         
        optional string secret_name = 2;
        Parameters:
        value - The secretName to set.
        Returns:
        This builder for chaining.
      • clearSecretName

        public Service.GatewaySecretInfo.Builder clearSecretName()
         User-friendly name for the secret (must be unique)
         
        optional string secret_name = 2;
        Returns:
        This builder for chaining.
      • setSecretNameBytes

        public Service.GatewaySecretInfo.Builder setSecretNameBytes​(com.google.protobuf.ByteString value)
         User-friendly name for the secret (must be unique)
         
        optional string secret_name = 2;
        Parameters:
        value - The bytes for secretName to set.
        Returns:
        This builder for chaining.
      • hasMaskedValue

        public boolean hasMaskedValue()
         Masked version of the secret for display (e.g., "sk-...xyz123")
         
        optional string masked_value = 3;
        Specified by:
        hasMaskedValue in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        Whether the maskedValue field is set.
      • getMaskedValue

        public java.lang.String getMaskedValue()
         Masked version of the secret for display (e.g., "sk-...xyz123")
         
        optional string masked_value = 3;
        Specified by:
        getMaskedValue in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        The maskedValue.
      • getMaskedValueBytes

        public com.google.protobuf.ByteString getMaskedValueBytes()
         Masked version of the secret for display (e.g., "sk-...xyz123")
         
        optional string masked_value = 3;
        Specified by:
        getMaskedValueBytes in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        The bytes for maskedValue.
      • setMaskedValue

        public Service.GatewaySecretInfo.Builder setMaskedValue​(java.lang.String value)
         Masked version of the secret for display (e.g., "sk-...xyz123")
         
        optional string masked_value = 3;
        Parameters:
        value - The maskedValue to set.
        Returns:
        This builder for chaining.
      • clearMaskedValue

        public Service.GatewaySecretInfo.Builder clearMaskedValue()
         Masked version of the secret for display (e.g., "sk-...xyz123")
         
        optional string masked_value = 3;
        Returns:
        This builder for chaining.
      • setMaskedValueBytes

        public Service.GatewaySecretInfo.Builder setMaskedValueBytes​(com.google.protobuf.ByteString value)
         Masked version of the secret for display (e.g., "sk-...xyz123")
         
        optional string masked_value = 3;
        Parameters:
        value - The bytes for maskedValue to set.
        Returns:
        This builder for chaining.
      • hasCreatedAt

        public boolean hasCreatedAt()
         Timestamp (milliseconds since epoch) when the secret was created
         
        optional int64 created_at = 4;
        Specified by:
        hasCreatedAt in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        Whether the createdAt field is set.
      • getCreatedAt

        public long getCreatedAt()
         Timestamp (milliseconds since epoch) when the secret was created
         
        optional int64 created_at = 4;
        Specified by:
        getCreatedAt in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        The createdAt.
      • setCreatedAt

        public Service.GatewaySecretInfo.Builder setCreatedAt​(long value)
         Timestamp (milliseconds since epoch) when the secret was created
         
        optional int64 created_at = 4;
        Parameters:
        value - The createdAt to set.
        Returns:
        This builder for chaining.
      • clearCreatedAt

        public Service.GatewaySecretInfo.Builder clearCreatedAt()
         Timestamp (milliseconds since epoch) when the secret was created
         
        optional int64 created_at = 4;
        Returns:
        This builder for chaining.
      • hasLastUpdatedAt

        public boolean hasLastUpdatedAt()
         Timestamp (milliseconds since epoch) when the secret was last updated
         
        optional int64 last_updated_at = 5;
        Specified by:
        hasLastUpdatedAt in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        Whether the lastUpdatedAt field is set.
      • getLastUpdatedAt

        public long getLastUpdatedAt()
         Timestamp (milliseconds since epoch) when the secret was last updated
         
        optional int64 last_updated_at = 5;
        Specified by:
        getLastUpdatedAt in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        The lastUpdatedAt.
      • setLastUpdatedAt

        public Service.GatewaySecretInfo.Builder setLastUpdatedAt​(long value)
         Timestamp (milliseconds since epoch) when the secret was last updated
         
        optional int64 last_updated_at = 5;
        Parameters:
        value - The lastUpdatedAt to set.
        Returns:
        This builder for chaining.
      • clearLastUpdatedAt

        public Service.GatewaySecretInfo.Builder clearLastUpdatedAt()
         Timestamp (milliseconds since epoch) when the secret was last updated
         
        optional int64 last_updated_at = 5;
        Returns:
        This builder for chaining.
      • hasProvider

        public boolean hasProvider()
         LLM provider identifier (e.g., "openai", "anthropic", "cohere")
         
        optional string provider = 6;
        Specified by:
        hasProvider in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        Whether the provider field is set.
      • getProvider

        public java.lang.String getProvider()
         LLM provider identifier (e.g., "openai", "anthropic", "cohere")
         
        optional string provider = 6;
        Specified by:
        getProvider in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        The provider.
      • getProviderBytes

        public com.google.protobuf.ByteString getProviderBytes()
         LLM provider identifier (e.g., "openai", "anthropic", "cohere")
         
        optional string provider = 6;
        Specified by:
        getProviderBytes in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        The bytes for provider.
      • setProvider

        public Service.GatewaySecretInfo.Builder setProvider​(java.lang.String value)
         LLM provider identifier (e.g., "openai", "anthropic", "cohere")
         
        optional string provider = 6;
        Parameters:
        value - The provider to set.
        Returns:
        This builder for chaining.
      • clearProvider

        public Service.GatewaySecretInfo.Builder clearProvider()
         LLM provider identifier (e.g., "openai", "anthropic", "cohere")
         
        optional string provider = 6;
        Returns:
        This builder for chaining.
      • setProviderBytes

        public Service.GatewaySecretInfo.Builder setProviderBytes​(com.google.protobuf.ByteString value)
         LLM provider identifier (e.g., "openai", "anthropic", "cohere")
         
        optional string provider = 6;
        Parameters:
        value - The bytes for provider to set.
        Returns:
        This builder for chaining.
      • hasCreatedBy

        public boolean hasCreatedBy()
         User ID who created the secret
         
        optional string created_by = 7;
        Specified by:
        hasCreatedBy in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        Whether the createdBy field is set.
      • getCreatedByBytes

        public com.google.protobuf.ByteString getCreatedByBytes()
         User ID who created the secret
         
        optional string created_by = 7;
        Specified by:
        getCreatedByBytes in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        The bytes for createdBy.
      • setCreatedBy

        public Service.GatewaySecretInfo.Builder setCreatedBy​(java.lang.String value)
         User ID who created the secret
         
        optional string created_by = 7;
        Parameters:
        value - The createdBy to set.
        Returns:
        This builder for chaining.
      • clearCreatedBy

        public Service.GatewaySecretInfo.Builder clearCreatedBy()
         User ID who created the secret
         
        optional string created_by = 7;
        Returns:
        This builder for chaining.
      • setCreatedByBytes

        public Service.GatewaySecretInfo.Builder setCreatedByBytes​(com.google.protobuf.ByteString value)
         User ID who created the secret
         
        optional string created_by = 7;
        Parameters:
        value - The bytes for createdBy to set.
        Returns:
        This builder for chaining.
      • hasLastUpdatedBy

        public boolean hasLastUpdatedBy()
         User ID who last updated the secret
         
        optional string last_updated_by = 8;
        Specified by:
        hasLastUpdatedBy in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        Whether the lastUpdatedBy field is set.
      • getLastUpdatedByBytes

        public com.google.protobuf.ByteString getLastUpdatedByBytes()
         User ID who last updated the secret
         
        optional string last_updated_by = 8;
        Specified by:
        getLastUpdatedByBytes in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        The bytes for lastUpdatedBy.
      • setLastUpdatedBy

        public Service.GatewaySecretInfo.Builder setLastUpdatedBy​(java.lang.String value)
         User ID who last updated the secret
         
        optional string last_updated_by = 8;
        Parameters:
        value - The lastUpdatedBy to set.
        Returns:
        This builder for chaining.
      • clearLastUpdatedBy

        public Service.GatewaySecretInfo.Builder clearLastUpdatedBy()
         User ID who last updated the secret
         
        optional string last_updated_by = 8;
        Returns:
        This builder for chaining.
      • setLastUpdatedByBytes

        public Service.GatewaySecretInfo.Builder setLastUpdatedByBytes​(com.google.protobuf.ByteString value)
         User ID who last updated the secret
         
        optional string last_updated_by = 8;
        Parameters:
        value - The bytes for lastUpdatedBy to set.
        Returns:
        This builder for chaining.
      • hasAuthConfigJson

        public boolean hasAuthConfigJson()
         Provider-specific auth configuration as JSON (e.g., region, project_id)
         
        optional string auth_config_json = 9;
        Specified by:
        hasAuthConfigJson in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        Whether the authConfigJson field is set.
      • getAuthConfigJson

        public java.lang.String getAuthConfigJson()
         Provider-specific auth configuration as JSON (e.g., region, project_id)
         
        optional string auth_config_json = 9;
        Specified by:
        getAuthConfigJson in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        The authConfigJson.
      • getAuthConfigJsonBytes

        public com.google.protobuf.ByteString getAuthConfigJsonBytes()
         Provider-specific auth configuration as JSON (e.g., region, project_id)
         
        optional string auth_config_json = 9;
        Specified by:
        getAuthConfigJsonBytes in interface Service.GatewaySecretInfoOrBuilder
        Returns:
        The bytes for authConfigJson.
      • setAuthConfigJson

        public Service.GatewaySecretInfo.Builder setAuthConfigJson​(java.lang.String value)
         Provider-specific auth configuration as JSON (e.g., region, project_id)
         
        optional string auth_config_json = 9;
        Parameters:
        value - The authConfigJson to set.
        Returns:
        This builder for chaining.
      • clearAuthConfigJson

        public Service.GatewaySecretInfo.Builder clearAuthConfigJson()
         Provider-specific auth configuration as JSON (e.g., region, project_id)
         
        optional string auth_config_json = 9;
        Returns:
        This builder for chaining.
      • setAuthConfigJsonBytes

        public Service.GatewaySecretInfo.Builder setAuthConfigJsonBytes​(com.google.protobuf.ByteString value)
         Provider-specific auth configuration as JSON (e.g., region, project_id)
         
        optional string auth_config_json = 9;
        Parameters:
        value - The bytes for authConfigJson to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Service.GatewaySecretInfo.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<Service.GatewaySecretInfo.Builder>
      • mergeUnknownFields

        public final Service.GatewaySecretInfo.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<Service.GatewaySecretInfo.Builder>