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 Type
    Method
    Description
    int
    The max attempts for fallback routing (cannot exceed number of destinations).
    The fallback strategy.
    boolean
    The max attempts for fallback routing (cannot exceed number of destinations).
    boolean
    The fallback strategy.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       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.