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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Service.BudgetActiongetBudgetAction()Action when budget is exceededdoublegetBudgetAmount()Budget limit amountjava.lang.StringgetBudgetPolicyId()Unique identifier for this budget policycom.google.protobuf.ByteStringgetBudgetPolicyIdBytes()Unique identifier for this budget policyService.BudgetUnitgetBudgetUnit()Budget measurement unit (e.g.longgetCreatedAt()Creation timestamp in millisecondsjava.lang.StringgetCreatedBy()User ID who created the policycom.google.protobuf.ByteStringgetCreatedByBytes()User ID who created the policyService.BudgetDurationgetDuration()Fixed time window (unit + length pair)Service.BudgetDurationOrBuildergetDurationOrBuilder()Fixed time window (unit + length pair)longgetLastUpdatedAt()Last update timestamp in millisecondsjava.lang.StringgetLastUpdatedBy()User ID who last updated the policycom.google.protobuf.ByteStringgetLastUpdatedByBytes()User ID who last updated the policyService.BudgetTargetScopegetTargetScope()Scope of the budget (GLOBAL or WORKSPACE)booleanhasBudgetAction()Action when budget is exceededbooleanhasBudgetAmount()Budget limit amountbooleanhasBudgetPolicyId()Unique identifier for this budget policybooleanhasBudgetUnit()Budget measurement unit (e.g.booleanhasCreatedAt()Creation timestamp in millisecondsbooleanhasCreatedBy()User ID who created the policybooleanhasDuration()Fixed time window (unit + length pair)booleanhasLastUpdatedAt()Last update timestamp in millisecondsbooleanhasLastUpdatedBy()User ID who last updated the policybooleanhasTargetScope()Scope of the budget (GLOBAL or WORKSPACE)-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBudgetPolicyId
boolean hasBudgetPolicyId()
Unique identifier for this budget policy
optional string budget_policy_id = 1;- Returns:
- Whether the budgetPolicyId field is set.
-
getBudgetPolicyId
java.lang.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
java.lang.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
java.lang.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.
-
-