Package org.mlflow.api.proto
Interface Service.CreateGatewayEndpointOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.CreateGatewayEndpoint,Service.CreateGatewayEndpoint.Builder
- Enclosing class:
- Service
public static interface Service.CreateGatewayEndpointOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCreatedBy()Username of the creatorcom.google.protobuf.ByteStringgetCreatedByBytes()Username of the creatorjava.lang.StringgetExperimentId()Optional experiment ID for tracing.com.google.protobuf.ByteStringgetExperimentIdBytes()Optional experiment ID for tracing.Service.FallbackConfiggetFallbackConfig()Optional fallback configuration (includes strategy, max_attempts)Service.FallbackConfigOrBuildergetFallbackConfigOrBuilder()Optional fallback configuration (includes strategy, max_attempts)Service.GatewayEndpointModelConfiggetModelConfigs(int index)List of model configurationsintgetModelConfigsCount()List of model configurationsjava.util.List<Service.GatewayEndpointModelConfig>getModelConfigsList()List of model configurationsService.GatewayEndpointModelConfigOrBuildergetModelConfigsOrBuilder(int index)List of model configurationsjava.util.List<? extends Service.GatewayEndpointModelConfigOrBuilder>getModelConfigsOrBuilderList()List of model configurationsjava.lang.StringgetName()Optional user-friendly name for the endpointcom.google.protobuf.ByteStringgetNameBytes()Optional user-friendly name for the endpointService.RoutingStrategygetRoutingStrategy()Optional routing strategy for the endpointbooleangetUsageTracking()Whether to enable usage tracking for this endpoint.booleanhasCreatedBy()Username of the creatorbooleanhasExperimentId()Optional experiment ID for tracing.booleanhasFallbackConfig()Optional fallback configuration (includes strategy, max_attempts)booleanhasName()Optional user-friendly name for the endpointbooleanhasRoutingStrategy()Optional routing strategy for the endpointbooleanhasUsageTracking()Whether to enable usage tracking for this endpoint.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
Optional user-friendly name for the endpoint
optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
Optional user-friendly name for the endpoint
optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Optional user-friendly name for the endpoint
optional string name = 1;- Returns:
- The bytes for name.
-
getModelConfigsList
java.util.List<Service.GatewayEndpointModelConfig> getModelConfigsList()
List of model configurations
repeated .mlflow.GatewayEndpointModelConfig model_configs = 2;
-
getModelConfigs
Service.GatewayEndpointModelConfig getModelConfigs(int index)
List of model configurations
repeated .mlflow.GatewayEndpointModelConfig model_configs = 2;
-
getModelConfigsCount
int getModelConfigsCount()
List of model configurations
repeated .mlflow.GatewayEndpointModelConfig model_configs = 2;
-
getModelConfigsOrBuilderList
java.util.List<? extends Service.GatewayEndpointModelConfigOrBuilder> getModelConfigsOrBuilderList()
List of model configurations
repeated .mlflow.GatewayEndpointModelConfig model_configs = 2;
-
getModelConfigsOrBuilder
Service.GatewayEndpointModelConfigOrBuilder getModelConfigsOrBuilder(int index)
List of model configurations
repeated .mlflow.GatewayEndpointModelConfig model_configs = 2;
-
hasCreatedBy
boolean hasCreatedBy()
Username of the creator
optional string created_by = 3;- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
java.lang.String getCreatedBy()
Username of the creator
optional string created_by = 3;- Returns:
- The createdBy.
-
getCreatedByBytes
com.google.protobuf.ByteString getCreatedByBytes()
Username of the creator
optional string created_by = 3;- Returns:
- The bytes for createdBy.
-
hasRoutingStrategy
boolean hasRoutingStrategy()
Optional routing strategy for the endpoint
optional .mlflow.RoutingStrategy routing_strategy = 4;- Returns:
- Whether the routingStrategy field is set.
-
getRoutingStrategy
Service.RoutingStrategy getRoutingStrategy()
Optional routing strategy for the endpoint
optional .mlflow.RoutingStrategy routing_strategy = 4;- Returns:
- The routingStrategy.
-
hasFallbackConfig
boolean hasFallbackConfig()
Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 5;- Returns:
- Whether the fallbackConfig field is set.
-
getFallbackConfig
Service.FallbackConfig getFallbackConfig()
Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 5;- Returns:
- The fallbackConfig.
-
getFallbackConfigOrBuilder
Service.FallbackConfigOrBuilder getFallbackConfigOrBuilder()
Optional fallback configuration (includes strategy, max_attempts)
optional .mlflow.FallbackConfig fallback_config = 5;
-
hasExperimentId
boolean hasExperimentId()
Optional experiment ID for tracing. Only used when usage_tracking is true. If not provided and usage_tracking is true, an experiment will be auto-created.
optional string experiment_id = 6;- Returns:
- Whether the experimentId field is set.
-
getExperimentId
java.lang.String getExperimentId()
Optional experiment ID for tracing. Only used when usage_tracking is true. If not provided and usage_tracking is true, an experiment will be auto-created.
optional string experiment_id = 6;- Returns:
- The experimentId.
-
getExperimentIdBytes
com.google.protobuf.ByteString getExperimentIdBytes()
Optional experiment ID for tracing. Only used when usage_tracking is true. If not provided and usage_tracking is true, an experiment will be auto-created.
optional string experiment_id = 6;- Returns:
- The bytes for experimentId.
-
hasUsageTracking
boolean hasUsageTracking()
Whether to enable usage tracking for this endpoint. Defaults to false. When true, traces will be logged for endpoint invocations.
optional bool usage_tracking = 7;- Returns:
- Whether the usageTracking field is set.
-
getUsageTracking
boolean getUsageTracking()
Whether to enable usage tracking for this endpoint. Defaults to false. When true, traces will be logged for endpoint invocations.
optional bool usage_tracking = 7;- Returns:
- The usageTracking.
-
-