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