public static final class UpdateQuotaPreferenceRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder> implements UpdateQuotaPreferenceRequestOrBuilder
Message for updating a QuotaPreferenceProtobuf type
google.api.cloudquotas.v1beta.UpdateQuotaPreferenceRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder>public UpdateQuotaPreferenceRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder>public UpdateQuotaPreferenceRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UpdateQuotaPreferenceRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UpdateQuotaPreferenceRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UpdateQuotaPreferenceRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder>public UpdateQuotaPreferenceRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder>public UpdateQuotaPreferenceRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder>public UpdateQuotaPreferenceRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder>public UpdateQuotaPreferenceRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder>public UpdateQuotaPreferenceRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder>public UpdateQuotaPreferenceRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateQuotaPreferenceRequest.Builder>public UpdateQuotaPreferenceRequest.Builder mergeFrom(UpdateQuotaPreferenceRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder>public UpdateQuotaPreferenceRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateQuotaPreferenceRequest.Builder>IOExceptionpublic 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];
hasUpdateMask in interface UpdateQuotaPreferenceRequestOrBuilderpublic 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];
getUpdateMask in interface UpdateQuotaPreferenceRequestOrBuilderpublic UpdateQuotaPreferenceRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
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];
public UpdateQuotaPreferenceRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
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];
public UpdateQuotaPreferenceRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
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];
public UpdateQuotaPreferenceRequest.Builder clearUpdateMask()
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];
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
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];
public 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];
getUpdateMaskOrBuilder in interface UpdateQuotaPreferenceRequestOrBuilderpublic boolean hasQuotaPreference()
Required. The resource being updated
.google.api.cloudquotas.v1beta.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
hasQuotaPreference in interface UpdateQuotaPreferenceRequestOrBuilderpublic QuotaPreference getQuotaPreference()
Required. The resource being updated
.google.api.cloudquotas.v1beta.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
getQuotaPreference in interface UpdateQuotaPreferenceRequestOrBuilderpublic UpdateQuotaPreferenceRequest.Builder setQuotaPreference(QuotaPreference value)
Required. The resource being updated
.google.api.cloudquotas.v1beta.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateQuotaPreferenceRequest.Builder setQuotaPreference(QuotaPreference.Builder builderForValue)
Required. The resource being updated
.google.api.cloudquotas.v1beta.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateQuotaPreferenceRequest.Builder mergeQuotaPreference(QuotaPreference value)
Required. The resource being updated
.google.api.cloudquotas.v1beta.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateQuotaPreferenceRequest.Builder clearQuotaPreference()
Required. The resource being updated
.google.api.cloudquotas.v1beta.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
public QuotaPreference.Builder getQuotaPreferenceBuilder()
Required. The resource being updated
.google.api.cloudquotas.v1beta.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
public QuotaPreferenceOrBuilder getQuotaPreferenceOrBuilder()
Required. The resource being updated
.google.api.cloudquotas.v1beta.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
getQuotaPreferenceOrBuilder in interface UpdateQuotaPreferenceRequestOrBuilderpublic 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];getAllowMissing in interface UpdateQuotaPreferenceRequestOrBuilderpublic UpdateQuotaPreferenceRequest.Builder setAllowMissing(boolean value)
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];value - The allowMissing to set.public UpdateQuotaPreferenceRequest.Builder clearAllowMissing()
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];public 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];getValidateOnly in interface UpdateQuotaPreferenceRequestOrBuilderpublic UpdateQuotaPreferenceRequest.Builder setValidateOnly(boolean value)
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];value - The validateOnly to set.public UpdateQuotaPreferenceRequest.Builder clearValidateOnly()
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];public List<QuotaSafetyCheck> getIgnoreSafetyChecksList()
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;
getIgnoreSafetyChecksList in interface UpdateQuotaPreferenceRequestOrBuilderpublic int getIgnoreSafetyChecksCount()
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;
getIgnoreSafetyChecksCount in interface UpdateQuotaPreferenceRequestOrBuilderpublic QuotaSafetyCheck getIgnoreSafetyChecks(int index)
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;
getIgnoreSafetyChecks in interface UpdateQuotaPreferenceRequestOrBuilderindex - The index of the element to return.public UpdateQuotaPreferenceRequest.Builder setIgnoreSafetyChecks(int index, QuotaSafetyCheck value)
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;
index - The index to set the value at.value - The ignoreSafetyChecks to set.public UpdateQuotaPreferenceRequest.Builder addIgnoreSafetyChecks(QuotaSafetyCheck value)
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;
value - The ignoreSafetyChecks to add.public UpdateQuotaPreferenceRequest.Builder addAllIgnoreSafetyChecks(Iterable<? extends QuotaSafetyCheck> values)
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;
values - The ignoreSafetyChecks to add.public UpdateQuotaPreferenceRequest.Builder clearIgnoreSafetyChecks()
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;
public List<Integer> getIgnoreSafetyChecksValueList()
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;
getIgnoreSafetyChecksValueList in interface UpdateQuotaPreferenceRequestOrBuilderpublic int getIgnoreSafetyChecksValue(int index)
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;
getIgnoreSafetyChecksValue in interface UpdateQuotaPreferenceRequestOrBuilderindex - The index of the value to return.public UpdateQuotaPreferenceRequest.Builder setIgnoreSafetyChecksValue(int index, int value)
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;
index - The index to set the value at.value - The enum numeric value on the wire for ignoreSafetyChecks to set.public UpdateQuotaPreferenceRequest.Builder addIgnoreSafetyChecksValue(int value)
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;
value - The enum numeric value on the wire for ignoreSafetyChecks to add.public UpdateQuotaPreferenceRequest.Builder addAllIgnoreSafetyChecksValue(Iterable<Integer> values)
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;
values - The enum numeric values on the wire for ignoreSafetyChecks to add.public final UpdateQuotaPreferenceRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder>public final UpdateQuotaPreferenceRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.