Package org.mlflow.api.proto
Interface Service.GatewayBudgetPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.GatewayBudgetPolicy,Service.GatewayBudgetPolicy.Builder
- Enclosing class:
- Service
public static interface Service.GatewayBudgetPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAction when budget is exceededdoubleBudget limit amountUnique identifier for this budget policycom.google.protobuf.ByteStringUnique identifier for this budget policyBudget measurement unit (e.g.longCreation timestamp in millisecondsUser ID who created the policycom.google.protobuf.ByteStringUser ID who created the policyFixed time window (unit + length pair)Fixed time window (unit + length pair)longLast update timestamp in millisecondsUser ID who last updated the policycom.google.protobuf.ByteStringUser ID who last updated the policyScope of the budget (GLOBAL or WORKSPACE)booleanAction when budget is exceededbooleanBudget limit amountbooleanUnique identifier for this budget policybooleanBudget measurement unit (e.g.booleanCreation timestamp in millisecondsbooleanUser ID who created the policybooleanFixed time window (unit + length pair)booleanLast update timestamp in millisecondsbooleanUser ID who last updated the policybooleanScope of the budget (GLOBAL or WORKSPACE)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
-
hasBudgetPolicyId
boolean hasBudgetPolicyId()Unique identifier for this budget policy
optional string budget_policy_id = 1;- Returns:
- Whether the budgetPolicyId field is set.
-
getBudgetPolicyId
String getBudgetPolicyId()Unique identifier for this budget policy
optional string budget_policy_id = 1;- Returns:
- The budgetPolicyId.
-
getBudgetPolicyIdBytes
com.google.protobuf.ByteString getBudgetPolicyIdBytes()Unique identifier for this budget policy
optional string budget_policy_id = 1;- Returns:
- The bytes for budgetPolicyId.
-
hasBudgetUnit
boolean hasBudgetUnit()Budget measurement unit (e.g. USD)
optional .mlflow.BudgetUnit budget_unit = 2;- Returns:
- Whether the budgetUnit field is set.
-
getBudgetUnit
Service.BudgetUnit getBudgetUnit()Budget measurement unit (e.g. USD)
optional .mlflow.BudgetUnit budget_unit = 2;- Returns:
- The budgetUnit.
-
hasBudgetAmount
boolean hasBudgetAmount()Budget limit amount
optional double budget_amount = 3;- Returns:
- Whether the budgetAmount field is set.
-
getBudgetAmount
double getBudgetAmount()Budget limit amount
optional double budget_amount = 3;- Returns:
- The budgetAmount.
-
hasDuration
boolean hasDuration()Fixed time window (unit + length pair)
optional .mlflow.BudgetDuration duration = 4;- Returns:
- Whether the duration field is set.
-
getDuration
Service.BudgetDuration getDuration()Fixed time window (unit + length pair)
optional .mlflow.BudgetDuration duration = 4;- Returns:
- The duration.
-
getDurationOrBuilder
Service.BudgetDurationOrBuilder getDurationOrBuilder()Fixed time window (unit + length pair)
optional .mlflow.BudgetDuration duration = 4; -
hasTargetScope
boolean hasTargetScope()Scope of the budget (GLOBAL or WORKSPACE)
optional .mlflow.BudgetTargetScope target_scope = 5;- Returns:
- Whether the targetScope field is set.
-
getTargetScope
Service.BudgetTargetScope getTargetScope()Scope of the budget (GLOBAL or WORKSPACE)
optional .mlflow.BudgetTargetScope target_scope = 5;- Returns:
- The targetScope.
-
hasBudgetAction
boolean hasBudgetAction()Action when budget is exceeded
optional .mlflow.BudgetAction budget_action = 6;- Returns:
- Whether the budgetAction field is set.
-
getBudgetAction
Service.BudgetAction getBudgetAction()Action when budget is exceeded
optional .mlflow.BudgetAction budget_action = 6;- Returns:
- The budgetAction.
-
hasCreatedBy
boolean hasCreatedBy()User ID who created the policy
optional string created_by = 7;- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
String getCreatedBy()User ID who created the policy
optional string created_by = 7;- Returns:
- The createdBy.
-
getCreatedByBytes
com.google.protobuf.ByteString getCreatedByBytes()User ID who created the policy
optional string created_by = 7;- Returns:
- The bytes for createdBy.
-
hasCreatedAt
boolean hasCreatedAt()Creation timestamp in milliseconds
optional int64 created_at = 8;- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
long getCreatedAt()Creation timestamp in milliseconds
optional int64 created_at = 8;- Returns:
- The createdAt.
-
hasLastUpdatedBy
boolean hasLastUpdatedBy()User ID who last updated the policy
optional string last_updated_by = 9;- Returns:
- Whether the lastUpdatedBy field is set.
-
getLastUpdatedBy
String getLastUpdatedBy()User ID who last updated the policy
optional string last_updated_by = 9;- Returns:
- The lastUpdatedBy.
-
getLastUpdatedByBytes
com.google.protobuf.ByteString getLastUpdatedByBytes()User ID who last updated the policy
optional string last_updated_by = 9;- Returns:
- The bytes for lastUpdatedBy.
-
hasLastUpdatedAt
boolean hasLastUpdatedAt()Last update timestamp in milliseconds
optional int64 last_updated_at = 10;- Returns:
- Whether the lastUpdatedAt field is set.
-
getLastUpdatedAt
long getLastUpdatedAt()Last update timestamp in milliseconds
optional int64 last_updated_at = 10;- Returns:
- The lastUpdatedAt.
-