Package org.mlflow.api.proto
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 endpointProtobuf type
mlflow.GatewayEndpoint- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEndpoint entity representing an LLM gateway endpointNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<Service.GatewayEndpoint>Deprecated.static final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongTimestamp (milliseconds since epoch) when the endpoint was createdUser ID who created the endpointcom.google.protobuf.ByteStringUser ID who created the endpointstatic Service.GatewayEndpointstatic final com.google.protobuf.Descriptors.DescriptorUnique identifier for the endpointcom.google.protobuf.ByteStringUnique identifier for the endpointID of the MLflow experiment where traces for this endpoint are loggedcom.google.protobuf.ByteStringID of the MLflow experiment where traces for this endpoint are loggedFallback configuration (populated if routing_strategy is FALLBACK)Fallback configuration (populated if routing_strategy is FALLBACK)longTimestamp (milliseconds since epoch) when the endpoint was last updatedUser ID who last updated the endpointcom.google.protobuf.ByteStringUser ID who last updated the endpointgetModelMappings(int index) List of model mappings bound to this endpointintList of model mappings bound to this endpointList of model mappings bound to this endpointgetModelMappingsOrBuilder(int index) List of model mappings bound to this endpointList<? extends Service.GatewayEndpointModelMappingOrBuilder>List of model mappings bound to this endpointgetName()User-friendly name for the endpointcom.google.protobuf.ByteStringUser-friendly name for the endpointcom.google.protobuf.Parser<Service.GatewayEndpoint>Routing strategy for the endpointintgetTags(int index) Tags associated with the endpointintTags associated with the endpointTags associated with the endpointgetTagsOrBuilder(int index) Tags associated with the endpointList<? extends Service.GatewayEndpointTagOrBuilder>Tags associated with the endpointfinal com.google.protobuf.UnknownFieldSetbooleanWhether usage tracking is enabled for this endpoint.booleanTimestamp (milliseconds since epoch) when the endpoint was createdbooleanUser ID who created the endpointbooleanUnique identifier for the endpointbooleanID of the MLflow experiment where traces for this endpoint are loggedbooleanFallback configuration (populated if routing_strategy is FALLBACK)inthashCode()booleanTimestamp (milliseconds since epoch) when the endpoint was last updatedbooleanUser ID who last updated the endpointbooleanhasName()User-friendly name for the endpointbooleanRouting strategy for the endpointbooleanWhether usage tracking is enabled for this endpoint.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Service.GatewayEndpoint prototype) protected Service.GatewayEndpoint.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Service.GatewayEndpointparseDelimitedFrom(InputStream input) static Service.GatewayEndpointparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewayEndpointparseFrom(byte[] data) static Service.GatewayEndpointparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewayEndpointparseFrom(com.google.protobuf.ByteString data) static Service.GatewayEndpointparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewayEndpointparseFrom(com.google.protobuf.CodedInputStream input) static Service.GatewayEndpointparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewayEndpointparseFrom(InputStream input) static Service.GatewayEndpointparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewayEndpointparseFrom(ByteBuffer data) static Service.GatewayEndpointparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Service.GatewayEndpoint>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
ENDPOINT_ID_FIELD_NUMBER
public static final int ENDPOINT_ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CREATED_AT_FIELD_NUMBER
public static final int CREATED_AT_FIELD_NUMBER- See Also:
-
LAST_UPDATED_AT_FIELD_NUMBER
public static final int LAST_UPDATED_AT_FIELD_NUMBER- See Also:
-
MODEL_MAPPINGS_FIELD_NUMBER
public static final int MODEL_MAPPINGS_FIELD_NUMBER- See Also:
-
CREATED_BY_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER- See Also:
-
LAST_UPDATED_BY_FIELD_NUMBER
public static final int LAST_UPDATED_BY_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
ROUTING_STRATEGY_FIELD_NUMBER
public static final int ROUTING_STRATEGY_FIELD_NUMBER- See Also:
-
FALLBACK_CONFIG_FIELD_NUMBER
public static final int FALLBACK_CONFIG_FIELD_NUMBER- See Also:
-
EXPERIMENT_ID_FIELD_NUMBER
public static final int EXPERIMENT_ID_FIELD_NUMBER- See Also:
-
USAGE_TRACKING_FIELD_NUMBER
public static final int USAGE_TRACKING_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasEndpointId
public boolean hasEndpointId()Unique identifier for the endpoint
optional string endpoint_id = 1;- Specified by:
hasEndpointIdin interfaceService.GatewayEndpointOrBuilder- Returns:
- Whether the endpointId field is set.
-
getEndpointId
Unique identifier for the endpoint
optional string endpoint_id = 1;- Specified by:
getEndpointIdin interfaceService.GatewayEndpointOrBuilder- Returns:
- The endpointId.
-
getEndpointIdBytes
public com.google.protobuf.ByteString getEndpointIdBytes()Unique identifier for the endpoint
optional string endpoint_id = 1;- Specified by:
getEndpointIdBytesin interfaceService.GatewayEndpointOrBuilder- Returns:
- The bytes for endpointId.
-
hasName
public boolean hasName()User-friendly name for the endpoint
optional string name = 2;- Specified by:
hasNamein interfaceService.GatewayEndpointOrBuilder- Returns:
- Whether the name field is set.
-
getName
User-friendly name for the endpoint
optional string name = 2;- Specified by:
getNamein interfaceService.GatewayEndpointOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()User-friendly name for the endpoint
optional string name = 2;- Specified by:
getNameBytesin interfaceService.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:
hasCreatedAtin interfaceService.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:
getCreatedAtin interfaceService.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:
hasLastUpdatedAtin interfaceService.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:
getLastUpdatedAtin interfaceService.GatewayEndpointOrBuilder- Returns:
- The lastUpdatedAt.
-
getModelMappingsList
List of model mappings bound to this endpoint
repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;- Specified by:
getModelMappingsListin interfaceService.GatewayEndpointOrBuilder
-
getModelMappingsOrBuilderList
List of model mappings bound to this endpoint
repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;- Specified by:
getModelMappingsOrBuilderListin interfaceService.GatewayEndpointOrBuilder
-
getModelMappingsCount
public int getModelMappingsCount()List of model mappings bound to this endpoint
repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;- Specified by:
getModelMappingsCountin interfaceService.GatewayEndpointOrBuilder
-
getModelMappings
List of model mappings bound to this endpoint
repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;- Specified by:
getModelMappingsin interfaceService.GatewayEndpointOrBuilder
-
getModelMappingsOrBuilder
List of model mappings bound to this endpoint
repeated .mlflow.GatewayEndpointModelMapping model_mappings = 5;- Specified by:
getModelMappingsOrBuilderin interfaceService.GatewayEndpointOrBuilder
-
hasCreatedBy
public boolean hasCreatedBy()User ID who created the endpoint
optional string created_by = 6;- Specified by:
hasCreatedByin interfaceService.GatewayEndpointOrBuilder- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
User ID who created the endpoint
optional string created_by = 6;- Specified by:
getCreatedByin interfaceService.GatewayEndpointOrBuilder- Returns:
- The createdBy.
-
getCreatedByBytes
public com.google.protobuf.ByteString getCreatedByBytes()User ID who created the endpoint
optional string created_by = 6;- Specified by:
getCreatedByBytesin interfaceService.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:
hasLastUpdatedByin interfaceService.GatewayEndpointOrBuilder- Returns:
- Whether the lastUpdatedBy field is set.
-
getLastUpdatedBy
User ID who last updated the endpoint
optional string last_updated_by = 7;- Specified by:
getLastUpdatedByin interfaceService.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:
getLastUpdatedByBytesin interfaceService.GatewayEndpointOrBuilder- Returns:
- The bytes for lastUpdatedBy.
-
getTagsList
Tags associated with the endpoint
repeated .mlflow.GatewayEndpointTag tags = 8;- Specified by:
getTagsListin interfaceService.GatewayEndpointOrBuilder
-
getTagsOrBuilderList
Tags associated with the endpoint
repeated .mlflow.GatewayEndpointTag tags = 8;- Specified by:
getTagsOrBuilderListin interfaceService.GatewayEndpointOrBuilder
-
getTagsCount
public int getTagsCount()Tags associated with the endpoint
repeated .mlflow.GatewayEndpointTag tags = 8;- Specified by:
getTagsCountin interfaceService.GatewayEndpointOrBuilder
-
getTags
Tags associated with the endpoint
repeated .mlflow.GatewayEndpointTag tags = 8;- Specified by:
getTagsin interfaceService.GatewayEndpointOrBuilder
-
getTagsOrBuilder
Tags associated with the endpoint
repeated .mlflow.GatewayEndpointTag tags = 8;- Specified by:
getTagsOrBuilderin interfaceService.GatewayEndpointOrBuilder
-
hasRoutingStrategy
public boolean hasRoutingStrategy()Routing strategy for the endpoint
optional .mlflow.RoutingStrategy routing_strategy = 9;- Specified by:
hasRoutingStrategyin interfaceService.GatewayEndpointOrBuilder- Returns:
- Whether the routingStrategy field is set.
-
getRoutingStrategy
Routing strategy for the endpoint
optional .mlflow.RoutingStrategy routing_strategy = 9;- Specified by:
getRoutingStrategyin interfaceService.GatewayEndpointOrBuilder- Returns:
- The routingStrategy.
-
hasFallbackConfig
public boolean hasFallbackConfig()Fallback configuration (populated if routing_strategy is FALLBACK)
optional .mlflow.FallbackConfig fallback_config = 10;- Specified by:
hasFallbackConfigin interfaceService.GatewayEndpointOrBuilder- Returns:
- Whether the fallbackConfig field is set.
-
getFallbackConfig
Fallback configuration (populated if routing_strategy is FALLBACK)
optional .mlflow.FallbackConfig fallback_config = 10;- Specified by:
getFallbackConfigin interfaceService.GatewayEndpointOrBuilder- Returns:
- The fallbackConfig.
-
getFallbackConfigOrBuilder
Fallback configuration (populated if routing_strategy is FALLBACK)
optional .mlflow.FallbackConfig fallback_config = 10;- Specified by:
getFallbackConfigOrBuilderin interfaceService.GatewayEndpointOrBuilder
-
hasExperimentId
public boolean hasExperimentId()ID of the MLflow experiment where traces for this endpoint are logged
optional string experiment_id = 11;- Specified by:
hasExperimentIdin interfaceService.GatewayEndpointOrBuilder- Returns:
- Whether the experimentId field is set.
-
getExperimentId
ID of the MLflow experiment where traces for this endpoint are logged
optional string experiment_id = 11;- Specified by:
getExperimentIdin interfaceService.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:
getExperimentIdBytesin interfaceService.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:
hasUsageTrackingin interfaceService.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:
getUsageTrackingin interfaceService.GatewayEndpointOrBuilder- Returns:
- The usageTracking.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Service.GatewayEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Service.GatewayEndpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-