Package org.mlflow.api.proto
Interface Service.FallbackConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.FallbackConfig,Service.FallbackConfig.Builder
- Enclosing class:
- Service
public static interface Service.FallbackConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe max attempts for fallback routing (cannot exceed number of destinations).The fallback strategy.booleanThe max attempts for fallback routing (cannot exceed number of destinations).booleanThe fallback strategy.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
-
hasStrategy
boolean hasStrategy()The fallback strategy.
optional .mlflow.FallbackStrategy strategy = 1;- Returns:
- Whether the strategy field is set.
-
getStrategy
Service.FallbackStrategy getStrategy()The fallback strategy.
optional .mlflow.FallbackStrategy strategy = 1;- Returns:
- The strategy.
-
hasMaxAttempts
boolean hasMaxAttempts()The max attempts for fallback routing (cannot exceed number of destinations).
optional int32 max_attempts = 2;- Returns:
- Whether the maxAttempts field is set.
-
getMaxAttempts
int getMaxAttempts()The max attempts for fallback routing (cannot exceed number of destinations).
optional int32 max_attempts = 2;- Returns:
- The maxAttempts.
-