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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdateRegionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateRegionRequest build()
public UpdateRegionRequest buildPartial()
public UpdateRegionRequest.Builder clear()
Overrides
public UpdateRegionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateRegionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UpdateRegionRequest.Builder clearRegion()
Required. The updated region.
.google.shopping.merchant.accounts.v1beta.Region region = 1 [(.google.api.field_behavior) = REQUIRED];
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];
public UpdateRegionRequest.Builder clone()
Overrides
public UpdateRegionRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
public Region.Builder getRegionBuilder()
Required. The updated region.
.google.shopping.merchant.accounts.v1beta.Region region = 1 [(.google.api.field_behavior) = REQUIRED];
public RegionOrBuilder getRegionOrBuilder()
Required. The updated region.
.google.shopping.merchant.accounts.v1beta.Region region = 1 [(.google.api.field_behavior) = REQUIRED];
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.
|
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];
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];
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpdateRegionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateRegionRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public UpdateRegionRequest.Builder mergeFrom(UpdateRegionRequest other)
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
|
public final UpdateRegionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
public UpdateRegionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
public UpdateRegionRequest.Builder setRegion(Region.Builder builderForValue)
Required. The updated region.
.google.shopping.merchant.accounts.v1beta.Region region = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateRegionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdateRegionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|