Package org.mlflow.api.proto
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Service.BudgetDurationUnitgetUnit()Unit of time (MINUTES, HOURS, DAYS, WEEKS, MONTHS)intgetValue()Number of units per windowbooleanhasUnit()Unit of time (MINUTES, HOURS, DAYS, WEEKS, MONTHS)booleanhasValue()Number of units per window-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasUnit
boolean hasUnit()
Unit of time (MINUTES, HOURS, DAYS, WEEKS, MONTHS)
optional .mlflow.BudgetDurationUnit unit = 1;- Returns:
- Whether the unit field is set.
-
getUnit
Service.BudgetDurationUnit 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.
-
-