Class ListLocalInventoriesResponse (0.17.0)

public final class ListLocalInventoriesResponse extends GeneratedMessageV3 implements ListLocalInventoriesResponseOrBuilder

Response message for the ListLocalInventories method.

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

Static Fields

LOCAL_INVENTORIES_FIELD_NUMBER

public static final int LOCAL_INVENTORIES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListLocalInventoriesResponse getDefaultInstance()
Returns
TypeDescription
ListLocalInventoriesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListLocalInventoriesResponse prototype)

public static ListLocalInventoriesResponse.Builder newBuilder(ListLocalInventoriesResponse prototype)
Parameter
NameDescription
prototypeListLocalInventoriesResponse
Returns
TypeDescription
ListLocalInventoriesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListLocalInventoriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListLocalInventoriesResponse

getLocalInventories(int index)

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
NameDescription
indexint
Returns
TypeDescription
LocalInventory

getLocalInventoriesCount()

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
TypeDescription
int

getLocalInventoriesList()

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;

Returns
TypeDescription
List<LocalInventory>

getLocalInventoriesOrBuilder(int index)

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
NameDescription
indexint
Returns
TypeDescription
LocalInventoryOrBuilder

getLocalInventoriesOrBuilderList()

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
TypeDescription
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
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<ListLocalInventoriesResponse> getParserForType()
Returns
TypeDescription
Parser<ListLocalInventoriesResponse>
Overrides

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 ListLocalInventoriesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListLocalInventoriesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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