Class Service.GatewayEndpoint

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.mlflow.api.proto.Service.GatewayEndpoint
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Service.GatewayEndpointOrBuilder
Enclosing class:
Service

public static final class Service.GatewayEndpoint extends com.google.protobuf.GeneratedMessageV3 implements Service.GatewayEndpointOrBuilder
 Endpoint entity representing an LLM gateway endpoint
 
Protobuf type mlflow.GatewayEndpoint
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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 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.
    • 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 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.
    • 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.
    • 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.
    • getModelMappingsList

      public List<Service.GatewayEndpointModelMapping> getModelMappingsList()
       List of model mappings bound to this endpoint
       
      repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;
      Specified by:
      getModelMappingsList in interface Service.GatewayEndpointOrBuilder
    • getModelMappingsOrBuilderList

      public List<? extends Service.GatewayEndpointModelMappingOrBuilder> getModelMappingsOrBuilderList()
       List of model mappings bound to this endpoint
       
      repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;
      Specified by:
      getModelMappingsOrBuilderList in interface Service.GatewayEndpointOrBuilder
    • getModelMappingsCount

      public int getModelMappingsCount()
       List of model mappings bound to this endpoint
       
      repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;
      Specified by:
      getModelMappingsCount in interface Service.GatewayEndpointOrBuilder
    • getModelMappings

      public Service.GatewayEndpointModelMapping getModelMappings(int index)
       List of model mappings bound to this endpoint
       
      repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;
      Specified by:
      getModelMappings in interface Service.GatewayEndpointOrBuilder
    • getModelMappingsOrBuilder

      public Service.GatewayEndpointModelMappingOrBuilder getModelMappingsOrBuilder(int index)
       List of model mappings bound to this endpoint
       
      repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;
      Specified by:
      getModelMappingsOrBuilder in interface Service.GatewayEndpointOrBuilder
    • 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.
    • getCreatedBy

      public String getCreatedBy()
       User ID who created the endpoint
       
      optional string created_by = 6;
      Specified by:
      getCreatedBy in interface Service.GatewayEndpointOrBuilder
      Returns:
      The createdBy.
    • 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.
    • 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 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.
    • getTagsList

      public List<Service.GatewayEndpointTag> getTagsList()
       Tags associated with the endpoint
       
      repeated .mlflow.GatewayEndpointTag tags = 8;
      Specified by:
      getTagsList in interface Service.GatewayEndpointOrBuilder
    • getTagsOrBuilderList

      public List<? extends Service.GatewayEndpointTagOrBuilder> getTagsOrBuilderList()
       Tags associated with the endpoint
       
      repeated .mlflow.GatewayEndpointTag tags = 8;
      Specified by:
      getTagsOrBuilderList in interface Service.GatewayEndpointOrBuilder
    • getTagsCount

      public int getTagsCount()
       Tags associated with the endpoint
       
      repeated .mlflow.GatewayEndpointTag tags = 8;
      Specified by:
      getTagsCount in interface Service.GatewayEndpointOrBuilder
    • getTags

      public Service.GatewayEndpointTag getTags(int index)
       Tags associated with the endpoint
       
      repeated .mlflow.GatewayEndpointTag tags = 8;
      Specified by:
      getTags in interface Service.GatewayEndpointOrBuilder
    • getTagsOrBuilder

      public Service.GatewayEndpointTagOrBuilder getTagsOrBuilder(int index)
       Tags associated with the endpoint
       
      repeated .mlflow.GatewayEndpointTag tags = 8;
      Specified by:
      getTagsOrBuilder in interface Service.GatewayEndpointOrBuilder
    • 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.
    • getRoutingStrategy

      public Service.RoutingStrategy getRoutingStrategy()
       Routing strategy for the endpoint
       
      optional .mlflow.RoutingStrategy routing_strategy = 9;
      Specified by:
      getRoutingStrategy in interface Service.GatewayEndpointOrBuilder
      Returns:
      The routingStrategy.
    • 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.
    • getFallbackConfig

      public Service.FallbackConfig getFallbackConfig()
       Fallback configuration (populated if routing_strategy is FALLBACK)
       
      optional .mlflow.FallbackConfig fallback_config = 10;
      Specified by:
      getFallbackConfig in interface Service.GatewayEndpointOrBuilder
      Returns:
      The fallbackConfig.
    • getFallbackConfigOrBuilder

      public Service.FallbackConfigOrBuilder getFallbackConfigOrBuilder()
       Fallback configuration (populated if routing_strategy is FALLBACK)
       
      optional .mlflow.FallbackConfig fallback_config = 10;
      Specified by:
      getFallbackConfigOrBuilder in interface Service.GatewayEndpointOrBuilder
    • 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 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Service.GatewayEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.GatewayEndpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.GatewayEndpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.GatewayEndpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.GatewayEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.GatewayEndpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.GatewayEndpoint parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Service.GatewayEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Service.GatewayEndpoint parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Service.GatewayEndpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Service.GatewayEndpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Service.GatewayEndpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Service.GatewayEndpoint.Builder newBuilder()
    • newBuilder

      public static Service.GatewayEndpoint.Builder newBuilder(Service.GatewayEndpoint prototype)
    • toBuilder

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

      protected Service.GatewayEndpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Service.GatewayEndpoint getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Service.GatewayEndpoint> parser()
    • getParserForType

      public com.google.protobuf.Parser<Service.GatewayEndpoint> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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