Interface UpdateConsumerOverrideRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getForce()
      Whether to force the update of the quota override.
      QuotaSafetyCheck getForceOnly​(int index)
      The list of quota safety checks to ignore before the override mutation.
      int getForceOnlyCount()
      The list of quota safety checks to ignore before the override mutation.
      List<QuotaSafetyCheck> getForceOnlyList()
      The list of quota safety checks to ignore before the override mutation.
      int getForceOnlyValue​(int index)
      The list of quota safety checks to ignore before the override mutation.
      List<Integer> getForceOnlyValueList()
      The list of quota safety checks to ignore before the override mutation.
      String getName()
      The resource name of the override to update.
      com.google.protobuf.ByteString getNameBytes()
      The resource name of the override to update.
      QuotaOverride getOverride()
      The new override.
      QuotaOverrideOrBuilder getOverrideOrBuilder()
      The new override.
      com.google.protobuf.FieldMask getUpdateMask()
      Update only the specified fields of the override.
      com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
      Update only the specified fields of the override.
      boolean hasOverride()
      The new override.
      boolean hasUpdateMask()
      Update only the specified fields of the override.
      • 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 Detail

      • getName

        String getName()
         The resource name of the override to update.
        
         An example name would be:
         `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The resource name of the override to update.
        
         An example name would be:
         `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
         
        string name = 1;
        Returns:
        The bytes for name.
      • hasOverride

        boolean hasOverride()
         The new override.
         Only the override_value is updated; all other fields are ignored.
         
        .google.api.serviceusage.v1beta1.QuotaOverride override = 2;
        Returns:
        Whether the override field is set.
      • getOverride

        QuotaOverride getOverride()
         The new override.
         Only the override_value is updated; all other fields are ignored.
         
        .google.api.serviceusage.v1beta1.QuotaOverride override = 2;
        Returns:
        The override.
      • getOverrideOrBuilder

        QuotaOverrideOrBuilder getOverrideOrBuilder()
         The new override.
         Only the override_value is updated; all other fields are ignored.
         
        .google.api.serviceusage.v1beta1.QuotaOverride override = 2;
      • getForce

        boolean getForce()
         Whether to force the update of the quota override.
         Setting the force parameter to 'true' ignores all quota safety checks that
         would fail the request. QuotaSafetyCheck lists all such validations.
         
        bool force = 3;
        Returns:
        The force.
      • hasUpdateMask

        boolean hasUpdateMask()
         Update only the specified fields of the override.
         If unset, all fields will be updated.
         
        .google.protobuf.FieldMask update_mask = 4;
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        com.google.protobuf.FieldMask getUpdateMask()
         Update only the specified fields of the override.
         If unset, all fields will be updated.
         
        .google.protobuf.FieldMask update_mask = 4;
        Returns:
        The updateMask.
      • getUpdateMaskOrBuilder

        com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Update only the specified fields of the override.
         If unset, all fields will be updated.
         
        .google.protobuf.FieldMask update_mask = 4;
      • getForceOnlyList

        List<QuotaSafetyCheck> getForceOnlyList()
         The list of quota safety checks to ignore before the override mutation.
         Unlike 'force' field that ignores all the quota safety checks, the
         'force_only' field ignores only the specified checks; other checks are
         still enforced. The 'force' and 'force_only' fields cannot both be set.
         
        repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;
        Returns:
        A list containing the forceOnly.
      • getForceOnlyCount

        int getForceOnlyCount()
         The list of quota safety checks to ignore before the override mutation.
         Unlike 'force' field that ignores all the quota safety checks, the
         'force_only' field ignores only the specified checks; other checks are
         still enforced. The 'force' and 'force_only' fields cannot both be set.
         
        repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;
        Returns:
        The count of forceOnly.
      • getForceOnly

        QuotaSafetyCheck getForceOnly​(int index)
         The list of quota safety checks to ignore before the override mutation.
         Unlike 'force' field that ignores all the quota safety checks, the
         'force_only' field ignores only the specified checks; other checks are
         still enforced. The 'force' and 'force_only' fields cannot both be set.
         
        repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;
        Parameters:
        index - The index of the element to return.
        Returns:
        The forceOnly at the given index.
      • getForceOnlyValueList

        List<Integer> getForceOnlyValueList()
         The list of quota safety checks to ignore before the override mutation.
         Unlike 'force' field that ignores all the quota safety checks, the
         'force_only' field ignores only the specified checks; other checks are
         still enforced. The 'force' and 'force_only' fields cannot both be set.
         
        repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;
        Returns:
        A list containing the enum numeric values on the wire for forceOnly.
      • getForceOnlyValue

        int getForceOnlyValue​(int index)
         The list of quota safety checks to ignore before the override mutation.
         Unlike 'force' field that ignores all the quota safety checks, the
         'force_only' field ignores only the specified checks; other checks are
         still enforced. The 'force' and 'force_only' fields cannot both be set.
         
        repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of forceOnly at the given index.