Package org.mlflow.api.proto
Interface Service.UpdateGatewayEndpointOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.UpdateGatewayEndpoint,Service.UpdateGatewayEndpoint.Builder
- Enclosing class:
- Service
public static interface Service.UpdateGatewayEndpointOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionID of the endpoint to updatecom.google.protobuf.ByteStringID of the endpoint to updateOptional experiment ID for tracing.com.google.protobuf.ByteStringOptional experiment ID for tracing.Optional fallback configuration (includes strategy, max_attempts)Optional fallback configuration (includes strategy, max_attempts)getModelConfigs(int index) Optional new list of model configurations (replaces all existing model linkages)intOptional new list of model configurations (replaces all existing model linkages)Optional new list of model configurations (replaces all existing model linkages)getModelConfigsOrBuilder(int index) Optional new list of model configurations (replaces all existing model linkages)List<? extends Service.GatewayEndpointModelConfigOrBuilder>Optional new list of model configurations (replaces all existing model linkages)getName()Optional new name for the endpointcom.google.protobuf.ByteStringOptional new name for the endpointOptional new routing strategy for the endpointUsername of the updatercom.google.protobuf.ByteStringUsername of the updaterbooleanWhether to enable usage tracking for this endpoint.booleanID of the endpoint to updatebooleanOptional experiment ID for tracing.booleanOptional fallback configuration (includes strategy, max_attempts)booleanhasName()Optional new name for the endpointbooleanOptional new routing strategy for the endpointbooleanUsername of the updaterbooleanWhether to enable usage tracking for this endpoint.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasEndpointId
boolean hasEndpointId()ID of the endpoint to update
optional string endpoint_id = 1;- Returns:
- Whether the endpointId field is set.
-
getEndpointId
String getEndpointId()ID of the endpoint to update
optional string endpoint_id = 1;- Returns:
- The endpointId.
-
getEndpointIdBytes
com.google.protobuf.ByteString getEndpointIdBytes()ID of the endpoint to update
optional string endpoint_id = 1;- Returns:
- The bytes for endpointId.
-
hasName
boolean hasName()Optional new name for the endpoint
optional string name = 2;- Returns:
- Whether the name field is set.
-
getName
String getName()Optional new name for the endpoint
optional string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Optional new name for the endpoint
optional string name = 2;- Returns:
- The bytes for name.
-
hasUpdatedBy
boolean hasUpdatedBy()Username of the updater
optional string updated_by = 3;- Returns:
- Whether the updatedBy field is set.
-
getUpdatedBy
String getUpdatedBy()Username of the updater
optional string updated_by = 3;- Returns:
- The updatedBy.
-
getUpdatedByBytes
com.google.protobuf.ByteString getUpdatedByBytes()Username of the updater
optional string updated_by = 3;- Returns:
- The bytes for updatedBy.
-
getModelConfigsList
List<Service.GatewayEndpointModelConfig> getModelConfigsList()Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
getModelConfigs
Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
getModelConfigsCount
int getModelConfigsCount()Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
getModelConfigsOrBuilderList
List<? extends Service.GatewayEndpointModelConfigOrBuilder> getModelConfigsOrBuilderList()Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
getModelConfigsOrBuilder
Optional new list of model configurations (replaces all existing model linkages)
repeated .mlflow.GatewayEndpointModelConfig model_configs = 4; -
hasRoutingStrategy
boolean hasRoutingStrategy()Optional new routing strategy for the endpoint
optional .mlflow.RoutingStrategy routing_strategy = 5;- Returns:
- Whether the routingStrategy field is set.
-
getRoutingStrategy
Service.RoutingStrategy getRoutingStrategy()Optional new routing strategy for the endpoint
optional .mlflow.RoutingStrategy routing_strategy = 5;- Returns:
- The routingStrategy.
-
hasFallbackConfig
boolean hasFallbackConfig()Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 6;- Returns:
- Whether the fallbackConfig field is set.
-
getFallbackConfig
Service.FallbackConfig getFallbackConfig()Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 6;- Returns:
- The fallbackConfig.
-
getFallbackConfigOrBuilder
Service.FallbackConfigOrBuilder getFallbackConfigOrBuilder()Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 6; -
hasExperimentId
boolean hasExperimentId()Optional experiment ID for tracing. Only used when usage_tracking is true.
optional string experiment_id = 7;- Returns:
- Whether the experimentId field is set.
-
getExperimentId
String getExperimentId()Optional experiment ID for tracing. Only used when usage_tracking is true.
optional string experiment_id = 7;- Returns:
- The experimentId.
-
getExperimentIdBytes
com.google.protobuf.ByteString getExperimentIdBytes()Optional experiment ID for tracing. Only used when usage_tracking is true.
optional string experiment_id = 7;- Returns:
- The bytes for experimentId.
-
hasUsageTracking
boolean hasUsageTracking()Whether to enable usage tracking for this endpoint. When set to true, traces will be logged for endpoint invocations. When set to false, usage tracking is disabled and experiment_id is cleared.
optional bool usage_tracking = 8;- Returns:
- Whether the usageTracking field is set.
-
getUsageTracking
boolean getUsageTracking()Whether to enable usage tracking for this endpoint. When set to true, traces will be logged for endpoint invocations. When set to false, usage tracking is disabled and experiment_id is cleared.
optional bool usage_tracking = 8;- Returns:
- The usageTracking.
-