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 Type
    Method
    Description
    optional .mlflow.BudgetAction budget_action = 5;
    double
    optional double budget_amount = 2;
    optional .mlflow.BudgetUnit budget_unit = 1;
    optional string created_by = 6;
    com.google.protobuf.ByteString
    optional 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, username for USER scope).
    com.google.protobuf.ByteString
    Target the policy applies to (endpoint ID for ENDPOINT scope, username for USER scope).
    boolean
    optional .mlflow.BudgetAction budget_action = 5;
    boolean
    optional double budget_amount = 2;
    boolean
    optional .mlflow.BudgetUnit budget_unit = 1;
    boolean
    optional string created_by = 6;
    boolean
    optional .mlflow.BudgetDuration duration = 3;
    boolean
    optional .mlflow.BudgetTargetScope target_scope = 4;
    boolean
    Target the policy applies to (endpoint ID for ENDPOINT scope, username for USER scope).

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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, username for USER
       scope). Required for those scopes.
       
      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, username for USER
       scope). Required for those scopes.
       
      optional string target_value = 7;
      Returns:
      The targetValue.
    • getTargetValueBytes

      com.google.protobuf.ByteString getTargetValueBytes()
       Target the policy applies to (endpoint ID for ENDPOINT scope, username for USER
       scope). Required for those scopes.
       
      optional string target_value = 7;
      Returns:
      The bytes for targetValue.