Class UpdateRegionRequest.Builder (0.11.0)

public static final class UpdateRegionRequest.Builder extends GeneratedMessageV3.Builder<UpdateRegionRequest.Builder> implements UpdateRegionRequestOrBuilder

Request message for the UpdateRegion method.

Protobuf type google.shopping.merchant.accounts.v1beta.UpdateRegionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateRegionRequest build()
Returns
Type Description
UpdateRegionRequest

buildPartial()

public UpdateRegionRequest buildPartial()
Returns
Type Description
UpdateRegionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRegion()

public UpdateRegionRequest.Builder clearRegion()

Required. The updated region.

.google.shopping.merchant.accounts.v1beta.Region region = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateRegionRequest.Builder

clearUpdateMask()

public UpdateRegionRequest.Builder clearUpdateMask()

Optional. The comma-separated field mask indicating the fields to update. Example: "displayName,postalCodeArea.regionCode".

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

Returns
Type Description
UpdateRegionRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateRegionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateRegionRequest

getDescriptorForType()

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

getRegion()

public Region getRegion()

Required. The updated region.

.google.shopping.merchant.accounts.v1beta.Region region = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Region

The region.

getRegionBuilder()

public Region.Builder getRegionBuilder()

Required. The updated region.

.google.shopping.merchant.accounts.v1beta.Region region = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Region.Builder

getRegionOrBuilder()

public RegionOrBuilder getRegionOrBuilder()

Required. The updated region.

.google.shopping.merchant.accounts.v1beta.Region region = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RegionOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The comma-separated field mask indicating the fields to update. Example: "displayName,postalCodeArea.regionCode".

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The comma-separated field mask indicating the fields to update. Example: "displayName,postalCodeArea.regionCode".

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The comma-separated field mask indicating the fields to update. Example: "displayName,postalCodeArea.regionCode".

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

Returns
Type Description
FieldMaskOrBuilder

hasRegion()

public boolean hasRegion()

Required. The updated region.

.google.shopping.merchant.accounts.v1beta.Region region = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the region field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The comma-separated field mask indicating the fields to update. Example: "displayName,postalCodeArea.regionCode".

.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(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(UpdateRegionRequest other)

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

mergeRegion(Region value)

public UpdateRegionRequest.Builder mergeRegion(Region value)

Required. The updated region.

.google.shopping.merchant.accounts.v1beta.Region region = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Region
Returns
Type Description
UpdateRegionRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateRegionRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The comma-separated field mask indicating the fields to update. Example: "displayName,postalCodeArea.regionCode".

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateRegionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setRegion(Region value)

public UpdateRegionRequest.Builder setRegion(Region value)

Required. The updated region.

.google.shopping.merchant.accounts.v1beta.Region region = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Region
Returns
Type Description
UpdateRegionRequest.Builder

setRegion(Region.Builder builderForValue)

public UpdateRegionRequest.Builder setRegion(Region.Builder builderForValue)

Required. The updated region.

.google.shopping.merchant.accounts.v1beta.Region region = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Region.Builder
Returns
Type Description
UpdateRegionRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateRegionRequest.Builder setUpdateMask(FieldMask value)

Optional. The comma-separated field mask indicating the fields to update. Example: "displayName,postalCodeArea.regionCode".

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateRegionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateRegionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The comma-separated field mask indicating the fields to update. Example: "displayName,postalCodeArea.regionCode".

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateRegionRequest.Builder