public static final class UpdateQuotaPreferenceRequest.Builder extends GeneratedMessageV3.Builder<UpdateQuotaPreferenceRequest.Builder> implements UpdateQuotaPreferenceRequestOrBuilderMessage for updating a QuotaPreference
 Protobuf type google.api.cloudquotas.v1.UpdateQuotaPreferenceRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateQuotaPreferenceRequest.BuilderImplements
UpdateQuotaPreferenceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllIgnoreSafetyChecks(Iterable<? extends QuotaSafetyCheck> values)
public UpdateQuotaPreferenceRequest.Builder addAllIgnoreSafetyChecks(Iterable<? extends QuotaSafetyCheck> values)The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.api.cloudquotas.v1.QuotaSafetyCheck>The ignoreSafetyChecks to add. | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | This builder for chaining. | 
addAllIgnoreSafetyChecksValue(Iterable<Integer> values)
public UpdateQuotaPreferenceRequest.Builder addAllIgnoreSafetyChecksValue(Iterable<Integer> values)The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<Integer>The enum numeric values on the wire for ignoreSafetyChecks to add. | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | This builder for chaining. | 
addIgnoreSafetyChecks(QuotaSafetyCheck value)
public UpdateQuotaPreferenceRequest.Builder addIgnoreSafetyChecks(QuotaSafetyCheck value)The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | QuotaSafetyCheckThe ignoreSafetyChecks to add. | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | This builder for chaining. | 
addIgnoreSafetyChecksValue(int value)
public UpdateQuotaPreferenceRequest.Builder addIgnoreSafetyChecksValue(int value)The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for ignoreSafetyChecks to add. | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | This builder for chaining. | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateQuotaPreferenceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
build()
public UpdateQuotaPreferenceRequest build()| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest | |
buildPartial()
public UpdateQuotaPreferenceRequest buildPartial()| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest | |
clear()
public UpdateQuotaPreferenceRequest.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
clearAllowMissing()
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];
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public UpdateQuotaPreferenceRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
clearIgnoreSafetyChecks()
public UpdateQuotaPreferenceRequest.Builder clearIgnoreSafetyChecks()The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateQuotaPreferenceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
clearQuotaPreference()
public UpdateQuotaPreferenceRequest.Builder clearQuotaPreference()Required. The resource being updated
 
 .google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
clearUpdateMask()
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];
 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
clearValidateOnly()
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];
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | This builder for chaining. | 
clone()
public UpdateQuotaPreferenceRequest.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
getAllowMissing()
public 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 | |
|---|---|
| Type | Description | 
| boolean | The allowMissing. | 
getDefaultInstanceForType()
public UpdateQuotaPreferenceRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getIgnoreSafetyChecks(int index)
public QuotaSafetyCheck getIgnoreSafetyChecks(int index)The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| QuotaSafetyCheck | The ignoreSafetyChecks at the given index. | 
getIgnoreSafetyChecksCount()
public int getIgnoreSafetyChecksCount()The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
| Returns | |
|---|---|
| Type | Description | 
| int | The count of ignoreSafetyChecks. | 
getIgnoreSafetyChecksList()
public List<QuotaSafetyCheck> getIgnoreSafetyChecksList()The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
| Returns | |
|---|---|
| Type | Description | 
| List<QuotaSafetyCheck> | A list containing the ignoreSafetyChecks. | 
getIgnoreSafetyChecksValue(int index)
public int getIgnoreSafetyChecksValue(int index)The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the value to return. | 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire of ignoreSafetyChecks at the given index. | 
getIgnoreSafetyChecksValueList()
public List<Integer> getIgnoreSafetyChecksValueList()The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
| Returns | |
|---|---|
| Type | Description | 
| List<Integer> | A list containing the enum numeric values on the wire for ignoreSafetyChecks. | 
getQuotaPreference()
public QuotaPreference getQuotaPreference()Required. The resource being updated
 
 .google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| QuotaPreference | The quotaPreference. | 
getQuotaPreferenceBuilder()
public QuotaPreference.Builder getQuotaPreferenceBuilder()Required. The resource being updated
 
 .google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| QuotaPreference.Builder | |
getQuotaPreferenceOrBuilder()
public QuotaPreferenceOrBuilder getQuotaPreferenceOrBuilder()Required. The resource being updated
 
 .google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| QuotaPreferenceOrBuilder | |
getUpdateMask()
public 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 | |
|---|---|
| Type | Description | 
| FieldMask | The updateMask. | 
getUpdateMaskBuilder()
public 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];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getUpdateMaskOrBuilder()
public 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];
 
| Returns | |
|---|---|
| Type | Description | 
| FieldMaskOrBuilder | |
getValidateOnly()
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];
| Returns | |
|---|---|
| Type | Description | 
| boolean | The validateOnly. | 
hasQuotaPreference()
public boolean hasQuotaPreference()Required. The resource being updated
 
 .google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the quotaPreference field is set. | 
hasUpdateMask()
public 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 | |
|---|---|
| Type | Description | 
| boolean | Whether the updateMask field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(UpdateQuotaPreferenceRequest other)
public UpdateQuotaPreferenceRequest.Builder mergeFrom(UpdateQuotaPreferenceRequest other)| Parameter | |
|---|---|
| Name | Description | 
| other | UpdateQuotaPreferenceRequest | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateQuotaPreferenceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public UpdateQuotaPreferenceRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
mergeQuotaPreference(QuotaPreference value)
public UpdateQuotaPreferenceRequest.Builder mergeQuotaPreference(QuotaPreference value)Required. The resource being updated
 
 .google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | QuotaPreference | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateQuotaPreferenceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
mergeUpdateMask(FieldMask value)
public UpdateQuotaPreferenceRequest.Builder mergeUpdateMask(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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | FieldMask | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
setAllowMissing(boolean value)
public 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];
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe allowMissing to set. | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateQuotaPreferenceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
setIgnoreSafetyChecks(int index, QuotaSafetyCheck value)
public UpdateQuotaPreferenceRequest.Builder setIgnoreSafetyChecks(int index, QuotaSafetyCheck value)The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | QuotaSafetyCheckThe ignoreSafetyChecks to set. | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | This builder for chaining. | 
setIgnoreSafetyChecksValue(int index, int value)
public UpdateQuotaPreferenceRequest.Builder setIgnoreSafetyChecksValue(int index, int value)The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | intThe enum numeric value on the wire for ignoreSafetyChecks to set. | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | This builder for chaining. | 
setQuotaPreference(QuotaPreference value)
public UpdateQuotaPreferenceRequest.Builder setQuotaPreference(QuotaPreference value)Required. The resource being updated
 
 .google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | QuotaPreference | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
setQuotaPreference(QuotaPreference.Builder builderForValue)
public UpdateQuotaPreferenceRequest.Builder setQuotaPreference(QuotaPreference.Builder builderForValue)Required. The resource being updated
 
 .google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | QuotaPreference.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateQuotaPreferenceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateQuotaPreferenceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
setUpdateMask(FieldMask value)
public UpdateQuotaPreferenceRequest.Builder setUpdateMask(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];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | FieldMask | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateQuotaPreferenceRequest.Builder setUpdateMask(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];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | |
setValidateOnly(boolean value)
public 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];
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe validateOnly to set. | 
| Returns | |
|---|---|
| Type | Description | 
| UpdateQuotaPreferenceRequest.Builder | This builder for chaining. |