Class ListOrdersResponse (0.13.0)

public final class ListOrdersResponse extends GeneratedMessageV3 implements ListOrdersResponseOrBuilder

Response message for ConsumerProcurementService.ListOrders.

Protobuf type google.cloud.commerce.consumer.procurement.v1alpha1.ListOrdersResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

ORDERS_FIELD_NUMBER

public static final int ORDERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListOrdersResponse getDefaultInstance()
Returns
TypeDescription
ListOrdersResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListOrdersResponse prototype)

public static ListOrdersResponse.Builder newBuilder(ListOrdersResponse prototype)
Parameter
NameDescription
prototypeListOrdersResponse
Returns
TypeDescription
ListOrdersResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListOrdersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListOrdersResponse

getNextPageToken()

public String getNextPageToken()

The token for fetching the next page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The token for fetching the next page.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getOrders(int index)

public Order getOrders(int index)

The list of orders in this response.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Order

getOrdersCount()

public int getOrdersCount()

The list of orders in this response.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;

Returns
TypeDescription
int

getOrdersList()

public List<Order> getOrdersList()

The list of orders in this response.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;

Returns
TypeDescription
List<Order>

getOrdersOrBuilder(int index)

public OrderOrBuilder getOrdersOrBuilder(int index)

The list of orders in this response.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OrderOrBuilder

getOrdersOrBuilderList()

public List<? extends OrderOrBuilder> getOrdersOrBuilderList()

The list of orders in this response.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;

Returns
TypeDescription
List<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.OrderOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ListOrdersResponse.Builder newBuilderForType()
Returns
TypeDescription
ListOrdersResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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