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