public static final class ListLocalInventoriesResponse.Builder extends GeneratedMessageV3.Builder<ListLocalInventoriesResponse.Builder> implements ListLocalInventoriesResponseOrBuilder
Response message for the ListLocalInventories
method.
Protobuf type google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse
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 ListLocalInventoriesResponse.Builder addAllLocalInventories(Iterable<? extends LocalInventory> values)
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.shopping.merchant.inventories.v1beta.LocalInventory>
|
public ListLocalInventoriesResponse.Builder addLocalInventories(LocalInventory value)
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
public ListLocalInventoriesResponse.Builder addLocalInventories(LocalInventory.Builder builderForValue)
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
public ListLocalInventoriesResponse.Builder addLocalInventories(int index, LocalInventory value)
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
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.v1beta.LocalInventory local_inventories = 1;
public LocalInventory.Builder addLocalInventoriesBuilder()
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
public LocalInventory.Builder addLocalInventoriesBuilder(int index)
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
Parameter |
Name |
Description |
index |
int
|
public ListLocalInventoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListLocalInventoriesResponse build()
public ListLocalInventoriesResponse buildPartial()
public ListLocalInventoriesResponse.Builder clear()
Overrides
public ListLocalInventoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ListLocalInventoriesResponse.Builder clearLocalInventories()
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
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;
public ListLocalInventoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListLocalInventoriesResponse.Builder clone()
Overrides
public ListLocalInventoriesResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public LocalInventory getLocalInventories(int index)
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
Parameter |
Name |
Description |
index |
int
|
public LocalInventory.Builder getLocalInventoriesBuilder(int index)
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
Parameter |
Name |
Description |
index |
int
|
public List<LocalInventory.Builder> getLocalInventoriesBuilderList()
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
public int getLocalInventoriesCount()
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
Returns |
Type |
Description |
int |
|
public List<LocalInventory> getLocalInventoriesList()
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
public LocalInventoryOrBuilder getLocalInventoriesOrBuilder(int index)
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends LocalInventoryOrBuilder> getLocalInventoriesOrBuilderList()
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
Returns |
Type |
Description |
List<? extends com.google.shopping.merchant.inventories.v1beta.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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListLocalInventoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListLocalInventoriesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ListLocalInventoriesResponse.Builder mergeFrom(ListLocalInventoriesResponse other)
public final ListLocalInventoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListLocalInventoriesResponse.Builder removeLocalInventories(int index)
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
Parameter |
Name |
Description |
index |
int
|
public ListLocalInventoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListLocalInventoriesResponse.Builder setLocalInventories(int index, LocalInventory value)
The LocalInventory
resources for the given product from the specified
account.
repeated .google.shopping.merchant.inventories.v1beta.LocalInventory local_inventories = 1;
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.v1beta.LocalInventory local_inventories = 1;
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
public ListLocalInventoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListLocalInventoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides