public static final class BatchUpdateRegionsRequest.Builder extends GeneratedMessage.Builder<BatchUpdateRegionsRequest.Builder> implements BatchUpdateRegionsRequestOrBuilder Request message for the BatchUpdateRegions method.
Protobuf type google.shopping.merchant.accounts.v1.BatchUpdateRegionsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchUpdateRegionsRequest.BuilderImplements
BatchUpdateRegionsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRequests(Iterable<? extends UpdateRegionRequest> values)
public BatchUpdateRegionsRequest.Builder addAllRequests(Iterable<? extends UpdateRegionRequest> values)Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.accounts.v1.UpdateRegionRequest> |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
|
addRequests(UpdateRegionRequest value)
public BatchUpdateRegionsRequest.Builder addRequests(UpdateRegionRequest value)Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
UpdateRegionRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
|
addRequests(UpdateRegionRequest.Builder builderForValue)
public BatchUpdateRegionsRequest.Builder addRequests(UpdateRegionRequest.Builder builderForValue)Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UpdateRegionRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
|
addRequests(int index, UpdateRegionRequest value)
public BatchUpdateRegionsRequest.Builder addRequests(int index, UpdateRegionRequest value)Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UpdateRegionRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
|
addRequests(int index, UpdateRegionRequest.Builder builderForValue)
public BatchUpdateRegionsRequest.Builder addRequests(int index, UpdateRegionRequest.Builder builderForValue)Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UpdateRegionRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
|
addRequestsBuilder()
public UpdateRegionRequest.Builder addRequestsBuilder()Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateRegionRequest.Builder |
|
addRequestsBuilder(int index)
public UpdateRegionRequest.Builder addRequestsBuilder(int index)Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateRegionRequest.Builder |
|
build()
public BatchUpdateRegionsRequest build()| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest |
|
buildPartial()
public BatchUpdateRegionsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest |
|
clear()
public BatchUpdateRegionsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
|
clearParent()
public BatchUpdateRegionsRequest.Builder clearParent() Required. The account to update one or more regions for.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
This builder for chaining. |
clearRequests()
public BatchUpdateRegionsRequest.Builder clearRequests()Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
|
getDefaultInstanceForType()
public BatchUpdateRegionsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The account to update one or more regions for.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The account to update one or more regions for.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getRequests(int index)
public UpdateRegionRequest getRequests(int index)Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateRegionRequest |
|
getRequestsBuilder(int index)
public UpdateRegionRequest.Builder getRequestsBuilder(int index)Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateRegionRequest.Builder |
|
getRequestsBuilderList()
public List<UpdateRegionRequest.Builder> getRequestsBuilderList()Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRequestsCount()
public int getRequestsCount()Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getRequestsList()
public List<UpdateRegionRequest> getRequestsList()Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<UpdateRegionRequest> |
|
getRequestsOrBuilder(int index)
public UpdateRegionRequestOrBuilder getRequestsOrBuilder(int index)Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UpdateRegionRequestOrBuilder |
|
getRequestsOrBuilderList()
public List<? extends UpdateRegionRequestOrBuilder> getRequestsOrBuilderList()Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.merchant.accounts.v1.UpdateRegionRequestOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchUpdateRegionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchUpdateRegionsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
|
mergeFrom(BatchUpdateRegionsRequest other)
public BatchUpdateRegionsRequest.Builder mergeFrom(BatchUpdateRegionsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchUpdateRegionsRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
|
removeRequests(int index)
public BatchUpdateRegionsRequest.Builder removeRequests(int index)Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
|
setParent(String value)
public BatchUpdateRegionsRequest.Builder setParent(String value) Required. The account to update one or more regions for.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public BatchUpdateRegionsRequest.Builder setParentBytes(ByteString value) Required. The account to update one or more regions for.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
This builder for chaining. |
setRequests(int index, UpdateRegionRequest value)
public BatchUpdateRegionsRequest.Builder setRequests(int index, UpdateRegionRequest value)Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UpdateRegionRequest |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
|
setRequests(int index, UpdateRegionRequest.Builder builderForValue)
public BatchUpdateRegionsRequest.Builder setRequests(int index, UpdateRegionRequest.Builder builderForValue)Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
repeated .google.shopping.merchant.accounts.v1.UpdateRegionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UpdateRegionRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchUpdateRegionsRequest.Builder |
|