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

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

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

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

        public Service.GatewayModelDefinition.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.GatewayModelDefinition.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.GatewayModelDefinition.Builder>
      • mergeFrom

        public Service.GatewayModelDefinition.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.GatewayModelDefinition.Builder>
        Throws:
        java.io.IOException
      • setModelDefinitionId

        public Service.GatewayModelDefinition.Builder setModelDefinitionId​(java.lang.String value)
         Unique identifier for this model definition
         
        optional string model_definition_id = 1;
        Parameters:
        value - The modelDefinitionId to set.
        Returns:
        This builder for chaining.
      • clearModelDefinitionId

        public Service.GatewayModelDefinition.Builder clearModelDefinitionId()
         Unique identifier for this model definition
         
        optional string model_definition_id = 1;
        Returns:
        This builder for chaining.
      • setModelDefinitionIdBytes

        public Service.GatewayModelDefinition.Builder setModelDefinitionIdBytes​(com.google.protobuf.ByteString value)
         Unique identifier for this model definition
         
        optional string model_definition_id = 1;
        Parameters:
        value - The bytes for modelDefinitionId to set.
        Returns:
        This builder for chaining.
      • setName

        public Service.GatewayModelDefinition.Builder setName​(java.lang.String value)
         User-friendly name for identification and reuse
         
        optional string name = 2;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public Service.GatewayModelDefinition.Builder setNameBytes​(com.google.protobuf.ByteString value)
         User-friendly name for identification and reuse
         
        optional string name = 2;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasSecretId

        public boolean hasSecretId()
         ID of the secret containing authentication credentials
         
        optional string secret_id = 3;
        Specified by:
        hasSecretId in interface Service.GatewayModelDefinitionOrBuilder
        Returns:
        Whether the secretId field is set.
      • getSecretIdBytes

        public com.google.protobuf.ByteString getSecretIdBytes()
         ID of the secret containing authentication credentials
         
        optional string secret_id = 3;
        Specified by:
        getSecretIdBytes in interface Service.GatewayModelDefinitionOrBuilder
        Returns:
        The bytes for secretId.
      • setSecretId

        public Service.GatewayModelDefinition.Builder setSecretId​(java.lang.String value)
         ID of the secret containing authentication credentials
         
        optional string secret_id = 3;
        Parameters:
        value - The secretId to set.
        Returns:
        This builder for chaining.
      • clearSecretId

        public Service.GatewayModelDefinition.Builder clearSecretId()
         ID of the secret containing authentication credentials
         
        optional string secret_id = 3;
        Returns:
        This builder for chaining.
      • setSecretIdBytes

        public Service.GatewayModelDefinition.Builder setSecretIdBytes​(com.google.protobuf.ByteString value)
         ID of the secret containing authentication credentials
         
        optional string secret_id = 3;
        Parameters:
        value - The bytes for secretId to set.
        Returns:
        This builder for chaining.
      • setSecretName

        public Service.GatewayModelDefinition.Builder setSecretName​(java.lang.String value)
         Name of the secret for display purposes
         
        optional string secret_name = 4;
        Parameters:
        value - The secretName to set.
        Returns:
        This builder for chaining.
      • clearSecretName

        public Service.GatewayModelDefinition.Builder clearSecretName()
         Name of the secret for display purposes
         
        optional string secret_name = 4;
        Returns:
        This builder for chaining.
      • setSecretNameBytes

        public Service.GatewayModelDefinition.Builder setSecretNameBytes​(com.google.protobuf.ByteString value)
         Name of the secret for display purposes
         
        optional string secret_name = 4;
        Parameters:
        value - The bytes for secretName to set.
        Returns:
        This builder for chaining.
      • hasProvider

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

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

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

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

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

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

        public boolean hasModelName()
         Provider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")
         
        optional string model_name = 6;
        Specified by:
        hasModelName in interface Service.GatewayModelDefinitionOrBuilder
        Returns:
        Whether the modelName field is set.
      • getModelName

        public java.lang.String getModelName()
         Provider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")
         
        optional string model_name = 6;
        Specified by:
        getModelName in interface Service.GatewayModelDefinitionOrBuilder
        Returns:
        The modelName.
      • getModelNameBytes

        public com.google.protobuf.ByteString getModelNameBytes()
         Provider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")
         
        optional string model_name = 6;
        Specified by:
        getModelNameBytes in interface Service.GatewayModelDefinitionOrBuilder
        Returns:
        The bytes for modelName.
      • setModelName

        public Service.GatewayModelDefinition.Builder setModelName​(java.lang.String value)
         Provider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")
         
        optional string model_name = 6;
        Parameters:
        value - The modelName to set.
        Returns:
        This builder for chaining.
      • clearModelName

        public Service.GatewayModelDefinition.Builder clearModelName()
         Provider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")
         
        optional string model_name = 6;
        Returns:
        This builder for chaining.
      • setModelNameBytes

        public Service.GatewayModelDefinition.Builder setModelNameBytes​(com.google.protobuf.ByteString value)
         Provider-specific model identifier (e.g., "gpt-4o", "claude-3-5-sonnet")
         
        optional string model_name = 6;
        Parameters:
        value - The bytes for modelName to set.
        Returns:
        This builder for chaining.
      • hasCreatedAt

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

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

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

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

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

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

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

        public Service.GatewayModelDefinition.Builder clearLastUpdatedAt()
         Timestamp (milliseconds since epoch) when the model definition was last updated
         
        optional int64 last_updated_at = 8;
        Returns:
        This builder for chaining.
      • setCreatedBy

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

        public Service.GatewayModelDefinition.Builder clearCreatedBy()
         User ID who created the model definition
         
        optional string created_by = 9;
        Returns:
        This builder for chaining.
      • setCreatedByBytes

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

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

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

        public Service.GatewayModelDefinition.Builder clearLastUpdatedBy()
         User ID who last updated the model definition
         
        optional string last_updated_by = 10;
        Returns:
        This builder for chaining.
      • setLastUpdatedByBytes

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