public static final class ListRegionalInventoriesResponse.Builder extends GeneratedMessage.Builder<ListRegionalInventoriesResponse.Builder> implements ListRegionalInventoriesResponseOrBuilder Response message for the ListRegionalInventories method.
Protobuf type
google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListRegionalInventoriesResponse.BuilderImplements
ListRegionalInventoriesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRegionalInventories(Iterable<? extends RegionalInventory> values)
public ListRegionalInventoriesResponse.Builder addAllRegionalInventories(Iterable<? extends RegionalInventory> values) The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.inventories.v1beta.RegionalInventory> |
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
|
addRegionalInventories(RegionalInventory value)
public ListRegionalInventoriesResponse.Builder addRegionalInventories(RegionalInventory value) The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
RegionalInventory |
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
|
addRegionalInventories(RegionalInventory.Builder builderForValue)
public ListRegionalInventoriesResponse.Builder addRegionalInventories(RegionalInventory.Builder builderForValue) The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RegionalInventory.Builder |
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
|
addRegionalInventories(int index, RegionalInventory value)
public ListRegionalInventoriesResponse.Builder addRegionalInventories(int index, RegionalInventory value) The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RegionalInventory |
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
|
addRegionalInventories(int index, RegionalInventory.Builder builderForValue)
public ListRegionalInventoriesResponse.Builder addRegionalInventories(int index, RegionalInventory.Builder builderForValue) The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RegionalInventory.Builder |
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
|
addRegionalInventoriesBuilder()
public RegionalInventory.Builder addRegionalInventoriesBuilder() The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Returns | |
|---|---|
| Type | Description |
RegionalInventory.Builder |
|
addRegionalInventoriesBuilder(int index)
public RegionalInventory.Builder addRegionalInventoriesBuilder(int index) The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RegionalInventory.Builder |
|
build()
public ListRegionalInventoriesResponse build()| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse |
|
buildPartial()
public ListRegionalInventoriesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse |
|
clear()
public ListRegionalInventoriesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
|
clearNextPageToken()
public ListRegionalInventoriesResponse.Builder clearNextPageToken() A token, which can be sent as pageToken to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
This builder for chaining. |
clearRegionalInventories()
public ListRegionalInventoriesResponse.Builder clearRegionalInventories() The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
|
getDefaultInstanceForType()
public ListRegionalInventoriesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token, which can be sent as pageToken to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token, which can be sent as pageToken to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getRegionalInventories(int index)
public RegionalInventory getRegionalInventories(int index) The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RegionalInventory |
|
getRegionalInventoriesBuilder(int index)
public RegionalInventory.Builder getRegionalInventoriesBuilder(int index) The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RegionalInventory.Builder |
|
getRegionalInventoriesBuilderList()
public List<RegionalInventory.Builder> getRegionalInventoriesBuilderList() The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getRegionalInventoriesCount()
public int getRegionalInventoriesCount() The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getRegionalInventoriesList()
public List<RegionalInventory> getRegionalInventoriesList() The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Returns | |
|---|---|
| Type | Description |
List<RegionalInventory> |
|
getRegionalInventoriesOrBuilder(int index)
public RegionalInventoryOrBuilder getRegionalInventoriesOrBuilder(int index) The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryOrBuilder |
|
getRegionalInventoriesOrBuilderList()
public List<? extends RegionalInventoryOrBuilder> getRegionalInventoriesOrBuilderList() The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListRegionalInventoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListRegionalInventoriesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
|
mergeFrom(ListRegionalInventoriesResponse other)
public ListRegionalInventoriesResponse.Builder mergeFrom(ListRegionalInventoriesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListRegionalInventoriesResponse |
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
|
removeRegionalInventories(int index)
public ListRegionalInventoriesResponse.Builder removeRegionalInventories(int index) The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
|
setNextPageToken(String value)
public ListRegionalInventoriesResponse.Builder setNextPageToken(String value) A token, which can be sent as pageToken to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListRegionalInventoriesResponse.Builder setNextPageTokenBytes(ByteString value) A token, which can be sent as pageToken to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
This builder for chaining. |
setRegionalInventories(int index, RegionalInventory value)
public ListRegionalInventoriesResponse.Builder setRegionalInventories(int index, RegionalInventory value) The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RegionalInventory |
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
|
setRegionalInventories(int index, RegionalInventory.Builder builderForValue)
public ListRegionalInventoriesResponse.Builder setRegionalInventories(int index, RegionalInventory.Builder builderForValue) The RegionalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.RegionalInventory regional_inventories = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RegionalInventory.Builder |
| Returns | |
|---|---|
| Type | Description |
ListRegionalInventoriesResponse.Builder |
|