Interface Service.BudgetDurationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Service.BudgetDuration, Service.BudgetDuration.Builder
Enclosing class:
Service

public static interface Service.BudgetDurationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Unit of time (MINUTES, HOURS, DAYS, WEEKS, MONTHS)
    int
    Number of units per window
    boolean
    Unit of time (MINUTES, HOURS, DAYS, WEEKS, MONTHS)
    boolean
    Number of units per window

    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

    • hasUnit

      boolean hasUnit()
       Unit of time (MINUTES, HOURS, DAYS, WEEKS, MONTHS)
       
      optional .mlflow.BudgetDurationUnit unit = 1;
      Returns:
      Whether the unit field is set.
    • getUnit

       Unit of time (MINUTES, HOURS, DAYS, WEEKS, MONTHS)
       
      optional .mlflow.BudgetDurationUnit unit = 1;
      Returns:
      The unit.
    • hasValue

      boolean hasValue()
       Number of units per window
       
      optional int32 value = 2;
      Returns:
      Whether the value field is set.
    • getValue

      int getValue()
       Number of units per window
       
      optional int32 value = 2;
      Returns:
      The value.