Class Service.GatewayEndpoint.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.GatewayEndpoint.Builder>
      • clear

        public Service.GatewayEndpoint.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<Service.GatewayEndpoint.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.GatewayEndpoint.Builder>
      • getDefaultInstanceForType

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

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

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

        public Service.GatewayEndpoint.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<Service.GatewayEndpoint.Builder>
      • setField

        public Service.GatewayEndpoint.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.GatewayEndpoint.Builder>
      • clearField

        public Service.GatewayEndpoint.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<Service.GatewayEndpoint.Builder>
      • clearOneof

        public Service.GatewayEndpoint.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<Service.GatewayEndpoint.Builder>
      • setRepeatedField

        public Service.GatewayEndpoint.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.GatewayEndpoint.Builder>
      • addRepeatedField

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

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

        public boolean hasEndpointId()
         Unique identifier for the endpoint
         
        optional string endpoint_id = 1;
        Specified by:
        hasEndpointId in interface Service.GatewayEndpointOrBuilder
        Returns:
        Whether the endpointId field is set.
      • getEndpointId

        public java.lang.String getEndpointId()
         Unique identifier for the endpoint
         
        optional string endpoint_id = 1;
        Specified by:
        getEndpointId in interface Service.GatewayEndpointOrBuilder
        Returns:
        The endpointId.
      • getEndpointIdBytes

        public com.google.protobuf.ByteString getEndpointIdBytes()
         Unique identifier for the endpoint
         
        optional string endpoint_id = 1;
        Specified by:
        getEndpointIdBytes in interface Service.GatewayEndpointOrBuilder
        Returns:
        The bytes for endpointId.
      • setEndpointId

        public Service.GatewayEndpoint.Builder setEndpointId​(java.lang.String value)
         Unique identifier for the endpoint
         
        optional string endpoint_id = 1;
        Parameters:
        value - The endpointId to set.
        Returns:
        This builder for chaining.
      • clearEndpointId

        public Service.GatewayEndpoint.Builder clearEndpointId()
         Unique identifier for the endpoint
         
        optional string endpoint_id = 1;
        Returns:
        This builder for chaining.
      • setEndpointIdBytes

        public Service.GatewayEndpoint.Builder setEndpointIdBytes​(com.google.protobuf.ByteString value)
         Unique identifier for the endpoint
         
        optional string endpoint_id = 1;
        Parameters:
        value - The bytes for endpointId to set.
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
         User-friendly name for the endpoint
         
        optional string name = 2;
        Specified by:
        hasName in interface Service.GatewayEndpointOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public java.lang.String getName()
         User-friendly name for the endpoint
         
        optional string name = 2;
        Specified by:
        getName in interface Service.GatewayEndpointOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         User-friendly name for the endpoint
         
        optional string name = 2;
        Specified by:
        getNameBytes in interface Service.GatewayEndpointOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Service.GatewayEndpoint.Builder setName​(java.lang.String value)
         User-friendly name for the endpoint
         
        optional string name = 2;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Service.GatewayEndpoint.Builder clearName()
         User-friendly name for the endpoint
         
        optional string name = 2;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Service.GatewayEndpoint.Builder setNameBytes​(com.google.protobuf.ByteString value)
         User-friendly name for the endpoint
         
        optional string name = 2;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasCreatedAt

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

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

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

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

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

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

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

        public Service.GatewayEndpoint.Builder clearLastUpdatedAt()
         Timestamp (milliseconds since epoch) when the endpoint was last updated
         
        optional int64 last_updated_at = 4;
        Returns:
        This builder for chaining.
      • clearModelMappings

        public Service.GatewayEndpoint.Builder clearModelMappings()
         List of model mappings bound to this endpoint
         
        repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;
      • removeModelMappings

        public Service.GatewayEndpoint.Builder removeModelMappings​(int index)
         List of model mappings bound to this endpoint
         
        repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;
      • getModelMappingsBuilder

        public Service.GatewayEndpointModelMapping.Builder getModelMappingsBuilder​(int index)
         List of model mappings bound to this endpoint
         
        repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;
      • addModelMappingsBuilder

        public Service.GatewayEndpointModelMapping.Builder addModelMappingsBuilder()
         List of model mappings bound to this endpoint
         
        repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;
      • addModelMappingsBuilder

        public Service.GatewayEndpointModelMapping.Builder addModelMappingsBuilder​(int index)
         List of model mappings bound to this endpoint
         
        repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;
      • getModelMappingsBuilderList

        public java.util.List<Service.GatewayEndpointModelMapping.Builder> getModelMappingsBuilderList()
         List of model mappings bound to this endpoint
         
        repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;
      • hasCreatedBy

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

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

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

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

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

        public boolean hasLastUpdatedBy()
         User ID who last updated the endpoint
         
        optional string last_updated_by = 7;
        Specified by:
        hasLastUpdatedBy in interface Service.GatewayEndpointOrBuilder
        Returns:
        Whether the lastUpdatedBy field is set.
      • getLastUpdatedBy

        public java.lang.String getLastUpdatedBy()
         User ID who last updated the endpoint
         
        optional string last_updated_by = 7;
        Specified by:
        getLastUpdatedBy in interface Service.GatewayEndpointOrBuilder
        Returns:
        The lastUpdatedBy.
      • getLastUpdatedByBytes

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

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

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

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

        public Service.GatewayEndpoint.Builder removeTags​(int index)
         Tags associated with the endpoint
         
        repeated .mlflow.GatewayEndpointTag tags = 8;
      • getTagsBuilder

        public Service.GatewayEndpointTag.Builder getTagsBuilder​(int index)
         Tags associated with the endpoint
         
        repeated .mlflow.GatewayEndpointTag tags = 8;
      • addTagsBuilder

        public Service.GatewayEndpointTag.Builder addTagsBuilder​(int index)
         Tags associated with the endpoint
         
        repeated .mlflow.GatewayEndpointTag tags = 8;
      • getTagsBuilderList

        public java.util.List<Service.GatewayEndpointTag.Builder> getTagsBuilderList()
         Tags associated with the endpoint
         
        repeated .mlflow.GatewayEndpointTag tags = 8;
      • hasRoutingStrategy

        public boolean hasRoutingStrategy()
         Routing strategy for the endpoint
         
        optional .mlflow.RoutingStrategy routing_strategy = 9;
        Specified by:
        hasRoutingStrategy in interface Service.GatewayEndpointOrBuilder
        Returns:
        Whether the routingStrategy field is set.
      • setRoutingStrategy

        public Service.GatewayEndpoint.Builder setRoutingStrategy​(Service.RoutingStrategy value)
         Routing strategy for the endpoint
         
        optional .mlflow.RoutingStrategy routing_strategy = 9;
        Parameters:
        value - The routingStrategy to set.
        Returns:
        This builder for chaining.
      • clearRoutingStrategy

        public Service.GatewayEndpoint.Builder clearRoutingStrategy()
         Routing strategy for the endpoint
         
        optional .mlflow.RoutingStrategy routing_strategy = 9;
        Returns:
        This builder for chaining.
      • hasFallbackConfig

        public boolean hasFallbackConfig()
         Fallback configuration (populated if routing_strategy is FALLBACK)
         
        optional .mlflow.FallbackConfig fallback_config = 10;
        Specified by:
        hasFallbackConfig in interface Service.GatewayEndpointOrBuilder
        Returns:
        Whether the fallbackConfig field is set.
      • clearFallbackConfig

        public Service.GatewayEndpoint.Builder clearFallbackConfig()
         Fallback configuration (populated if routing_strategy is FALLBACK)
         
        optional .mlflow.FallbackConfig fallback_config = 10;
      • getFallbackConfigBuilder

        public Service.FallbackConfig.Builder getFallbackConfigBuilder()
         Fallback configuration (populated if routing_strategy is FALLBACK)
         
        optional .mlflow.FallbackConfig fallback_config = 10;
      • hasExperimentId

        public boolean hasExperimentId()
         ID of the MLflow experiment where traces for this endpoint are logged
         
        optional string experiment_id = 11;
        Specified by:
        hasExperimentId in interface Service.GatewayEndpointOrBuilder
        Returns:
        Whether the experimentId field is set.
      • getExperimentId

        public java.lang.String getExperimentId()
         ID of the MLflow experiment where traces for this endpoint are logged
         
        optional string experiment_id = 11;
        Specified by:
        getExperimentId in interface Service.GatewayEndpointOrBuilder
        Returns:
        The experimentId.
      • getExperimentIdBytes

        public com.google.protobuf.ByteString getExperimentIdBytes()
         ID of the MLflow experiment where traces for this endpoint are logged
         
        optional string experiment_id = 11;
        Specified by:
        getExperimentIdBytes in interface Service.GatewayEndpointOrBuilder
        Returns:
        The bytes for experimentId.
      • setExperimentId

        public Service.GatewayEndpoint.Builder setExperimentId​(java.lang.String value)
         ID of the MLflow experiment where traces for this endpoint are logged
         
        optional string experiment_id = 11;
        Parameters:
        value - The experimentId to set.
        Returns:
        This builder for chaining.
      • clearExperimentId

        public Service.GatewayEndpoint.Builder clearExperimentId()
         ID of the MLflow experiment where traces for this endpoint are logged
         
        optional string experiment_id = 11;
        Returns:
        This builder for chaining.
      • setExperimentIdBytes

        public Service.GatewayEndpoint.Builder setExperimentIdBytes​(com.google.protobuf.ByteString value)
         ID of the MLflow experiment where traces for this endpoint are logged
         
        optional string experiment_id = 11;
        Parameters:
        value - The bytes for experimentId to set.
        Returns:
        This builder for chaining.
      • hasUsageTracking

        public boolean hasUsageTracking()
         Whether usage tracking is enabled for this endpoint.
         When true, an experiment will be auto-created if not provided,
         and traces will be logged for endpoint invocations.
         
        optional bool usage_tracking = 12;
        Specified by:
        hasUsageTracking in interface Service.GatewayEndpointOrBuilder
        Returns:
        Whether the usageTracking field is set.
      • getUsageTracking

        public boolean getUsageTracking()
         Whether usage tracking is enabled for this endpoint.
         When true, an experiment will be auto-created if not provided,
         and traces will be logged for endpoint invocations.
         
        optional bool usage_tracking = 12;
        Specified by:
        getUsageTracking in interface Service.GatewayEndpointOrBuilder
        Returns:
        The usageTracking.
      • setUsageTracking

        public Service.GatewayEndpoint.Builder setUsageTracking​(boolean value)
         Whether usage tracking is enabled for this endpoint.
         When true, an experiment will be auto-created if not provided,
         and traces will be logged for endpoint invocations.
         
        optional bool usage_tracking = 12;
        Parameters:
        value - The usageTracking to set.
        Returns:
        This builder for chaining.
      • clearUsageTracking

        public Service.GatewayEndpoint.Builder clearUsageTracking()
         Whether usage tracking is enabled for this endpoint.
         When true, an experiment will be auto-created if not provided,
         and traces will be logged for endpoint invocations.
         
        optional bool usage_tracking = 12;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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