public static final class ListRegionalInventoriesResponse.Builder extends GeneratedMessageV3.Builder<ListRegionalInventoriesResponse.Builder> implements ListRegionalInventoriesResponseOrBuilder
Response message for the ListRegionalInventories
method.
Protobuf type
google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse
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 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>
|
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;
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;
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;
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;
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;
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
|
public ListRegionalInventoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListRegionalInventoriesResponse build()
public ListRegionalInventoriesResponse buildPartial()
public ListRegionalInventoriesResponse.Builder clear()
Overrides
public ListRegionalInventoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
public ListRegionalInventoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
public ListRegionalInventoriesResponse.Builder clone()
Overrides
public ListRegionalInventoriesResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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
|
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
|
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;
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 |
|
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;
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
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListRegionalInventoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListRegionalInventoriesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ListRegionalInventoriesResponse.Builder mergeFrom(ListRegionalInventoriesResponse other)
public final ListRegionalInventoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListRegionalInventoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
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;
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;
public ListRegionalInventoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListRegionalInventoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides