Package org.mlflow.api.proto
Interface Service.CreateGatewayBudgetPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.CreateGatewayBudgetPolicy,Service.CreateGatewayBudgetPolicy.Builder
- Enclosing class:
- Service
public static interface Service.CreateGatewayBudgetPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional .mlflow.BudgetAction budget_action = 5;doubleoptional double budget_amount = 2;optional .mlflow.BudgetUnit budget_unit = 1;optional string created_by = 6;com.google.protobuf.ByteStringoptional string created_by = 6;optional .mlflow.BudgetDuration duration = 3;optional .mlflow.BudgetDuration duration = 3;optional .mlflow.BudgetTargetScope target_scope = 4;Target the policy applies to (endpoint ID for ENDPOINT scope).com.google.protobuf.ByteStringTarget the policy applies to (endpoint ID for ENDPOINT scope).booleanoptional .mlflow.BudgetAction budget_action = 5;booleanoptional double budget_amount = 2;booleanoptional .mlflow.BudgetUnit budget_unit = 1;booleanoptional string created_by = 6;booleanoptional .mlflow.BudgetDuration duration = 3;booleanoptional .mlflow.BudgetTargetScope target_scope = 4;booleanTarget the policy applies to (endpoint ID for ENDPOINT scope).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
-
hasBudgetUnit
boolean hasBudgetUnit()optional .mlflow.BudgetUnit budget_unit = 1;- Returns:
- Whether the budgetUnit field is set.
-
getBudgetUnit
Service.BudgetUnit getBudgetUnit()optional .mlflow.BudgetUnit budget_unit = 1;- Returns:
- The budgetUnit.
-
hasBudgetAmount
boolean hasBudgetAmount()optional double budget_amount = 2;- Returns:
- Whether the budgetAmount field is set.
-
getBudgetAmount
double getBudgetAmount()optional double budget_amount = 2;- Returns:
- The budgetAmount.
-
hasDuration
boolean hasDuration()optional .mlflow.BudgetDuration duration = 3;- Returns:
- Whether the duration field is set.
-
getDuration
Service.BudgetDuration getDuration()optional .mlflow.BudgetDuration duration = 3;- Returns:
- The duration.
-
getDurationOrBuilder
Service.BudgetDurationOrBuilder getDurationOrBuilder()optional .mlflow.BudgetDuration duration = 3; -
hasTargetScope
boolean hasTargetScope()optional .mlflow.BudgetTargetScope target_scope = 4;- Returns:
- Whether the targetScope field is set.
-
getTargetScope
Service.BudgetTargetScope getTargetScope()optional .mlflow.BudgetTargetScope target_scope = 4;- Returns:
- The targetScope.
-
hasBudgetAction
boolean hasBudgetAction()optional .mlflow.BudgetAction budget_action = 5;- Returns:
- Whether the budgetAction field is set.
-
getBudgetAction
Service.BudgetAction getBudgetAction()optional .mlflow.BudgetAction budget_action = 5;- Returns:
- The budgetAction.
-
hasCreatedBy
boolean hasCreatedBy()optional string created_by = 6;- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
String getCreatedBy()optional string created_by = 6;- Returns:
- The createdBy.
-
getCreatedByBytes
com.google.protobuf.ByteString getCreatedByBytes()optional string created_by = 6;- Returns:
- The bytes for createdBy.
-
hasTargetValue
boolean hasTargetValue()Target the policy applies to (endpoint ID for ENDPOINT scope). Required for that scope.
optional string target_value = 7;- Returns:
- Whether the targetValue field is set.
-
getTargetValue
String getTargetValue()Target the policy applies to (endpoint ID for ENDPOINT scope). Required for that scope.
optional string target_value = 7;- Returns:
- The targetValue.
-
getTargetValueBytes
com.google.protobuf.ByteString getTargetValueBytes()Target the policy applies to (endpoint ID for ENDPOINT scope). Required for that scope.
optional string target_value = 7;- Returns:
- The bytes for targetValue.
-