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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getMaxAttempts()
      The max attempts for fallback routing (cannot exceed number of destinations).
      Service.FallbackStrategy getStrategy()
      The fallback strategy.
      boolean hasMaxAttempts()
      The max attempts for fallback routing (cannot exceed number of destinations).
      boolean hasStrategy()
      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 Detail

      • 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.