public static final class ListLocalInventoriesResponse.Builder extends GeneratedMessage.Builder<ListLocalInventoriesResponse.Builder> implements ListLocalInventoriesResponseOrBuilder Response message for the ListLocalInventories method.
Protobuf type google.shopping.merchant.inventories.v1.ListLocalInventoriesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListLocalInventoriesResponse.BuilderImplements
ListLocalInventoriesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllLocalInventories(Iterable<? extends LocalInventory> values)
public ListLocalInventoriesResponse.Builder addAllLocalInventories(Iterable<? extends LocalInventory> values) The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.inventories.v1.LocalInventory> |
| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse.Builder |
|
addLocalInventories(LocalInventory value)
public ListLocalInventoriesResponse.Builder addLocalInventories(LocalInventory value) The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
LocalInventory |
| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse.Builder |
|
addLocalInventories(LocalInventory.Builder builderForValue)
public ListLocalInventoriesResponse.Builder addLocalInventories(LocalInventory.Builder builderForValue) The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LocalInventory.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse.Builder |
|
addLocalInventories(int index, LocalInventory value)
public ListLocalInventoriesResponse.Builder addLocalInventories(int index, LocalInventory value) The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
LocalInventory |
| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse.Builder |
|
addLocalInventories(int index, LocalInventory.Builder builderForValue)
public ListLocalInventoriesResponse.Builder addLocalInventories(int index, LocalInventory.Builder builderForValue) The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
LocalInventory.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse.Builder |
|
addLocalInventoriesBuilder()
public LocalInventory.Builder addLocalInventoriesBuilder() The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Returns | |
|---|---|
| Type | Description |
LocalInventory.Builder |
|
addLocalInventoriesBuilder(int index)
public LocalInventory.Builder addLocalInventoriesBuilder(int index) The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LocalInventory.Builder |
|
build()
public ListLocalInventoriesResponse build()| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse |
|
buildPartial()
public ListLocalInventoriesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse |
|
clear()
public ListLocalInventoriesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse.Builder |
|
clearLocalInventories()
public ListLocalInventoriesResponse.Builder clearLocalInventories() The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse.Builder |
|
clearNextPageToken()
public ListLocalInventoriesResponse.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 |
ListLocalInventoriesResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListLocalInventoriesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocalInventories(int index)
public LocalInventory getLocalInventories(int index) The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LocalInventory |
|
getLocalInventoriesBuilder(int index)
public LocalInventory.Builder getLocalInventoriesBuilder(int index) The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LocalInventory.Builder |
|
getLocalInventoriesBuilderList()
public List<LocalInventory.Builder> getLocalInventoriesBuilderList() The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getLocalInventoriesCount()
public int getLocalInventoriesCount() The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLocalInventoriesList()
public List<LocalInventory> getLocalInventoriesList() The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Returns | |
|---|---|
| Type | Description |
List<LocalInventory> |
|
getLocalInventoriesOrBuilder(int index)
public LocalInventoryOrBuilder getLocalInventoriesOrBuilder(int index) The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LocalInventoryOrBuilder |
|
getLocalInventoriesOrBuilderList()
public List<? extends LocalInventoryOrBuilder> getLocalInventoriesOrBuilderList() The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.merchant.inventories.v1.LocalInventoryOrBuilder> |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListLocalInventoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListLocalInventoriesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse.Builder |
|
mergeFrom(ListLocalInventoriesResponse other)
public ListLocalInventoriesResponse.Builder mergeFrom(ListLocalInventoriesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListLocalInventoriesResponse |
| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse.Builder |
|
removeLocalInventories(int index)
public ListLocalInventoriesResponse.Builder removeLocalInventories(int index) The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse.Builder |
|
setLocalInventories(int index, LocalInventory value)
public ListLocalInventoriesResponse.Builder setLocalInventories(int index, LocalInventory value) The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
LocalInventory |
| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse.Builder |
|
setLocalInventories(int index, LocalInventory.Builder builderForValue)
public ListLocalInventoriesResponse.Builder setLocalInventories(int index, LocalInventory.Builder builderForValue) The LocalInventory resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1.LocalInventory local_inventories = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
LocalInventory.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLocalInventoriesResponse.Builder |
|
setNextPageToken(String value)
public ListLocalInventoriesResponse.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 |
ListLocalInventoriesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListLocalInventoriesResponse.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 |
ListLocalInventoriesResponse.Builder |
This builder for chaining. |