Class UpdateQuotaRuleRequest.Builder (0.37.0)

public static final class UpdateQuotaRuleRequest.Builder extends GeneratedMessageV3.Builder<UpdateQuotaRuleRequest.Builder> implements UpdateQuotaRuleRequestOrBuilder

UpdateQuotaRuleRequest for updating a quota rule.

Protobuf type google.cloud.netapp.v1.UpdateQuotaRuleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateQuotaRuleRequest build()
Returns
Type Description
UpdateQuotaRuleRequest

buildPartial()

public UpdateQuotaRuleRequest buildPartial()
Returns
Type Description
UpdateQuotaRuleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQuotaRule()

public UpdateQuotaRuleRequest.Builder clearQuotaRule()

Required. The quota rule being updated

.google.cloud.netapp.v1.QuotaRule quota_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateQuotaRuleRequest.Builder

clearUpdateMask()

public UpdateQuotaRuleRequest.Builder clearUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the Quota Rule 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
UpdateQuotaRuleRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateQuotaRuleRequest getDefaultInstanceForType()
Returns
Type Description
UpdateQuotaRuleRequest

getDescriptorForType()

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

getQuotaRule()

public QuotaRule getQuotaRule()

Required. The quota rule being updated

.google.cloud.netapp.v1.QuotaRule quota_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QuotaRule

The quotaRule.

getQuotaRuleBuilder()

public QuotaRule.Builder getQuotaRuleBuilder()

Required. The quota rule being updated

.google.cloud.netapp.v1.QuotaRule quota_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QuotaRule.Builder

getQuotaRuleOrBuilder()

public QuotaRuleOrBuilder getQuotaRuleOrBuilder()

Required. The quota rule being updated

.google.cloud.netapp.v1.QuotaRule quota_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
QuotaRuleOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the Quota Rule 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 Quota Rule 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 Quota Rule 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

hasQuotaRule()

public boolean hasQuotaRule()

Required. The quota rule being updated

.google.cloud.netapp.v1.QuotaRule quota_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the quotaRule field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the Quota Rule 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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateQuotaRuleRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeQuotaRule(QuotaRule value)

public UpdateQuotaRuleRequest.Builder mergeQuotaRule(QuotaRule value)

Required. The quota rule being updated

.google.cloud.netapp.v1.QuotaRule quota_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value QuotaRule
Returns
Type Description
UpdateQuotaRuleRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateQuotaRuleRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the Quota Rule 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
UpdateQuotaRuleRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setQuotaRule(QuotaRule value)

public UpdateQuotaRuleRequest.Builder setQuotaRule(QuotaRule value)

Required. The quota rule being updated

.google.cloud.netapp.v1.QuotaRule quota_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value QuotaRule
Returns
Type Description
UpdateQuotaRuleRequest.Builder

setQuotaRule(QuotaRule.Builder builderForValue)

public UpdateQuotaRuleRequest.Builder setQuotaRule(QuotaRule.Builder builderForValue)

Required. The quota rule being updated

.google.cloud.netapp.v1.QuotaRule quota_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue QuotaRule.Builder
Returns
Type Description
UpdateQuotaRuleRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateQuotaRuleRequest.Builder setUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the Quota Rule 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
UpdateQuotaRuleRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateQuotaRuleRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Field mask is used to specify the fields to be overwritten in the Quota Rule 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
UpdateQuotaRuleRequest.Builder