Class UpdateQuotaAdjusterSettingsRequest.Builder (0.24.0)

public static final class UpdateQuotaAdjusterSettingsRequest.Builder extends GeneratedMessageV3.Builder<UpdateQuotaAdjusterSettingsRequest.Builder> implements UpdateQuotaAdjusterSettingsRequestOrBuilder

Request for updating QuotaAdjusterSettings

Protobuf type google.api.cloudquotas.v1beta.UpdateQuotaAdjusterSettingsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateQuotaAdjusterSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder
Overrides

build()

public UpdateQuotaAdjusterSettingsRequest build()
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest

buildPartial()

public UpdateQuotaAdjusterSettingsRequest buildPartial()
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest

clear()

public UpdateQuotaAdjusterSettingsRequest.Builder clear()
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateQuotaAdjusterSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateQuotaAdjusterSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder
Overrides

clearQuotaAdjusterSettings()

public UpdateQuotaAdjusterSettingsRequest.Builder clearQuotaAdjusterSettings()

Required. The QuotaAdjusterSettings to update.

.google.api.cloudquotas.v1beta.QuotaAdjusterSettings quota_adjuster_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder

clearUpdateMask()

public UpdateQuotaAdjusterSettingsRequest.Builder clearUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder

clearValidateOnly()

public UpdateQuotaAdjusterSettingsRequest.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder

This builder for chaining.

clone()

public UpdateQuotaAdjusterSettingsRequest.Builder clone()
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateQuotaAdjusterSettingsRequest getDefaultInstanceForType()
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getQuotaAdjusterSettings()

public QuotaAdjusterSettings getQuotaAdjusterSettings()

Required. The QuotaAdjusterSettings to update.

.google.api.cloudquotas.v1beta.QuotaAdjusterSettings quota_adjuster_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QuotaAdjusterSettings

The quotaAdjusterSettings.

getQuotaAdjusterSettingsBuilder()

public QuotaAdjusterSettings.Builder getQuotaAdjusterSettingsBuilder()

Required. The QuotaAdjusterSettings to update.

.google.api.cloudquotas.v1beta.QuotaAdjusterSettings quota_adjuster_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QuotaAdjusterSettings.Builder

getQuotaAdjusterSettingsOrBuilder()

public QuotaAdjusterSettingsOrBuilder getQuotaAdjusterSettingsOrBuilder()

Required. The QuotaAdjusterSettings to update.

.google.api.cloudquotas.v1beta.QuotaAdjusterSettings quota_adjuster_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QuotaAdjusterSettingsOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasQuotaAdjusterSettings()

public boolean hasQuotaAdjusterSettings()

Required. The QuotaAdjusterSettings to update.

.google.api.cloudquotas.v1beta.QuotaAdjusterSettings quota_adjuster_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the quotaAdjusterSettings field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateQuotaAdjusterSettingsRequest other)

public UpdateQuotaAdjusterSettingsRequest.Builder mergeFrom(UpdateQuotaAdjusterSettingsRequest other)
Parameter
Name Description
other UpdateQuotaAdjusterSettingsRequest
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateQuotaAdjusterSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateQuotaAdjusterSettingsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder
Overrides

mergeQuotaAdjusterSettings(QuotaAdjusterSettings value)

public UpdateQuotaAdjusterSettingsRequest.Builder mergeQuotaAdjusterSettings(QuotaAdjusterSettings value)

Required. The QuotaAdjusterSettings to update.

.google.api.cloudquotas.v1beta.QuotaAdjusterSettings quota_adjuster_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value QuotaAdjusterSettings
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateQuotaAdjusterSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateQuotaAdjusterSettingsRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateQuotaAdjusterSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder
Overrides

setQuotaAdjusterSettings(QuotaAdjusterSettings value)

public UpdateQuotaAdjusterSettingsRequest.Builder setQuotaAdjusterSettings(QuotaAdjusterSettings value)

Required. The QuotaAdjusterSettings to update.

.google.api.cloudquotas.v1beta.QuotaAdjusterSettings quota_adjuster_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value QuotaAdjusterSettings
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder

setQuotaAdjusterSettings(QuotaAdjusterSettings.Builder builderForValue)

public UpdateQuotaAdjusterSettingsRequest.Builder setQuotaAdjusterSettings(QuotaAdjusterSettings.Builder builderForValue)

Required. The QuotaAdjusterSettings to update.

.google.api.cloudquotas.v1beta.QuotaAdjusterSettings quota_adjuster_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue QuotaAdjusterSettings.Builder
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateQuotaAdjusterSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateQuotaAdjusterSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateQuotaAdjusterSettingsRequest.Builder setUpdateMask(FieldMask value)

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateQuotaAdjusterSettingsRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder

setValidateOnly(boolean value)

public UpdateQuotaAdjusterSettingsRequest.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
UpdateQuotaAdjusterSettingsRequest.Builder

This builder for chaining.