Interface UpdateQuotaPreferenceRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UpdateQuotaPreferenceRequest, UpdateQuotaPreferenceRequest.Builder

@Generated public interface UpdateQuotaPreferenceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasUpdateMask

      boolean hasUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       QuotaPreference resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      com.google.protobuf.FieldMask getUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       QuotaPreference resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The updateMask.
    • getUpdateMaskOrBuilder

      com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. Field mask is used to specify the fields to be overwritten in the
       QuotaPreference resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
    • hasQuotaPreference

      boolean hasQuotaPreference()
       Required. The resource being updated
       
      .google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the quotaPreference field is set.
    • getQuotaPreference

      QuotaPreference getQuotaPreference()
       Required. The resource being updated
       
      .google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The quotaPreference.
    • getQuotaPreferenceOrBuilder

      QuotaPreferenceOrBuilder getQuotaPreferenceOrBuilder()
       Required. The resource being updated
       
      .google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
    • getAllowMissing

      boolean getAllowMissing()
       Optional. If set to true, and the quota preference is not found, a new one
       will be created. In this situation, `update_mask` is ignored.
       
      bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The allowMissing.
    • getValidateOnly

      boolean getValidateOnly()
       Optional. If set to true, validate the request, but do not actually update.
       Note that a request being valid does not mean that the request is
       guaranteed to be fulfilled.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The validateOnly.
    • getIgnoreSafetyChecksList

      List<QuotaSafetyCheck> getIgnoreSafetyChecksList()
       The list of quota safety checks to be ignored.
       
      repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
      Returns:
      A list containing the ignoreSafetyChecks.
    • getIgnoreSafetyChecksCount

      int getIgnoreSafetyChecksCount()
       The list of quota safety checks to be ignored.
       
      repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
      Returns:
      The count of ignoreSafetyChecks.
    • getIgnoreSafetyChecks

      QuotaSafetyCheck getIgnoreSafetyChecks(int index)
       The list of quota safety checks to be ignored.
       
      repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
      Parameters:
      index - The index of the element to return.
      Returns:
      The ignoreSafetyChecks at the given index.
    • getIgnoreSafetyChecksValueList

      List<Integer> getIgnoreSafetyChecksValueList()
       The list of quota safety checks to be ignored.
       
      repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
      Returns:
      A list containing the enum numeric values on the wire for ignoreSafetyChecks.
    • getIgnoreSafetyChecksValue

      int getIgnoreSafetyChecksValue(int index)
       The list of quota safety checks to be ignored.
       
      repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of ignoreSafetyChecks at the given index.