Class ListRegionalInventoriesResponse.Builder (0.6.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.shopping.merchant.inventories.v1beta.RegionalInventory>
Returns
TypeDescription
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
NameDescription
valueRegionalInventory
Returns
TypeDescription
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
NameDescription
builderForValueRegionalInventory.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueRegionalInventory
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRegionalInventory.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RegionalInventory.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRegionalInventoriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder
Overrides

build()

public ListRegionalInventoriesResponse build()
Returns
TypeDescription
ListRegionalInventoriesResponse

buildPartial()

public ListRegionalInventoriesResponse buildPartial()
Returns
TypeDescription
ListRegionalInventoriesResponse

clear()

public ListRegionalInventoriesResponse.Builder clear()
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListRegionalInventoriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListRegionalInventoriesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRegionalInventoriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListRegionalInventoriesResponse.Builder

clone()

public ListRegionalInventoriesResponse.Builder clone()
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRegionalInventoriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRegionalInventoriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.shopping.merchant.inventories.v1beta.RegionalInventoryOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListRegionalInventoriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListRegionalInventoriesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder
Overrides

mergeFrom(ListRegionalInventoriesResponse other)

public ListRegionalInventoriesResponse.Builder mergeFrom(ListRegionalInventoriesResponse other)
Parameter
NameDescription
otherListRegionalInventoriesResponse
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRegionalInventoriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRegionalInventoriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueRegionalInventory
Returns
TypeDescription
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
NameDescription
indexint
builderForValueRegionalInventory.Builder
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder

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

public ListRegionalInventoriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRegionalInventoriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder
Overrides