Class ListRegionalInventoriesResponse (0.15.0)

public final class ListRegionalInventoriesResponse extends GeneratedMessageV3 implements ListRegionalInventoriesResponseOrBuilder

Response message for the ListRegionalInventories method.

Protobuf type google.shopping.merchant.inventories.v1beta.ListRegionalInventoriesResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListRegionalInventoriesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

REGIONAL_INVENTORIES_FIELD_NUMBER

public static final int REGIONAL_INVENTORIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListRegionalInventoriesResponse getDefaultInstance()
Returns
TypeDescription
ListRegionalInventoriesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListRegionalInventoriesResponse.Builder newBuilder()
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder

newBuilder(ListRegionalInventoriesResponse prototype)

public static ListRegionalInventoriesResponse.Builder newBuilder(ListRegionalInventoriesResponse prototype)
Parameter
NameDescription
prototypeListRegionalInventoriesResponse
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListRegionalInventoriesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListRegionalInventoriesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListRegionalInventoriesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRegionalInventoriesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListRegionalInventoriesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListRegionalInventoriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListRegionalInventoriesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRegionalInventoriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListRegionalInventoriesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListRegionalInventoriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListRegionalInventoriesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRegionalInventoriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListRegionalInventoriesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListRegionalInventoriesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListRegionalInventoriesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRegionalInventoriesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListRegionalInventoriesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListRegionalInventoriesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListRegionalInventoriesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRegionalInventoriesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListRegionalInventoriesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListRegionalInventoriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListRegionalInventoriesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRegionalInventoriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListRegionalInventoriesResponse> parser()
Returns
TypeDescription
Parser<ListRegionalInventoriesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListRegionalInventoriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRegionalInventoriesResponse

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.

getParserForType()

public Parser<ListRegionalInventoriesResponse> getParserForType()
Returns
TypeDescription
Parser<ListRegionalInventoriesResponse>
Overrides

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListRegionalInventoriesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListRegionalInventoriesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListRegionalInventoriesResponse.Builder toBuilder()
Returns
TypeDescription
ListRegionalInventoriesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException