Class ListRegionalInventoriesResponse.Builder (0.23.0)

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

Static 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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRegionalInventoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRegionalInventoriesResponse.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListRegionalInventoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListRegionalInventoriesResponse.Builder
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;

Returns
Type Description
ListRegionalInventoriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRegionalInventoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListRegionalInventoriesResponse.Builder
Overrides

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

clone()

public ListRegionalInventoriesResponse.Builder clone()
Returns
Type Description
ListRegionalInventoriesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRegionalInventoriesResponse getDefaultInstanceForType()
Returns
Type Description
ListRegionalInventoriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListRegionalInventoriesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListRegionalInventoriesResponse.Builder
Overrides

mergeFrom(ListRegionalInventoriesResponse other)

public ListRegionalInventoriesResponse.Builder mergeFrom(ListRegionalInventoriesResponse other)
Parameter
Name Description
other ListRegionalInventoriesResponse
Returns
Type Description
ListRegionalInventoriesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRegionalInventoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRegionalInventoriesResponse.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListRegionalInventoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRegionalInventoriesResponse.Builder
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.

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 ByteString

The 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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListRegionalInventoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListRegionalInventoriesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRegionalInventoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRegionalInventoriesResponse.Builder
Overrides