public static final class ListOrdersResponse.Builder extends GeneratedMessageV3.Builder<ListOrdersResponse.Builder> implements ListOrdersResponseOrBuilder
Response message for ConsumerProcurementService.ListOrders.
Protobuf type google.cloud.commerce.consumer.procurement.v1alpha1.ListOrdersResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllOrders(Iterable<? extends Order> values)
public ListOrdersResponse.Builder addAllOrders(Iterable<? extends Order> values)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.Order>
|
Returns
addOrders(Order value)
public ListOrdersResponse.Builder addOrders(Order value)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Parameter
Name | Description |
value | Order
|
Returns
addOrders(Order.Builder builderForValue)
public ListOrdersResponse.Builder addOrders(Order.Builder builderForValue)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Parameter
Returns
addOrders(int index, Order value)
public ListOrdersResponse.Builder addOrders(int index, Order value)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Parameters
Returns
addOrders(int index, Order.Builder builderForValue)
public ListOrdersResponse.Builder addOrders(int index, Order.Builder builderForValue)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Parameters
Returns
addOrdersBuilder()
public Order.Builder addOrdersBuilder()
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Returns
addOrdersBuilder(int index)
public Order.Builder addOrdersBuilder(int index)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListOrdersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListOrdersResponse build()
Returns
buildPartial()
public ListOrdersResponse buildPartial()
Returns
clear()
public ListOrdersResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListOrdersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListOrdersResponse.Builder clearNextPageToken()
The token for fetching the next page.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListOrdersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOrders()
public ListOrdersResponse.Builder clearOrders()
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Returns
clone()
public ListOrdersResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListOrdersResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
The token for fetching the next page.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The token for fetching the next page.
string next_page_token = 2;
Returns
Type | Description |
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
Returns
getOrdersBuilder(int index)
public Order.Builder getOrdersBuilder(int index)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Parameter
Returns
getOrdersBuilderList()
public List<Order.Builder> getOrdersBuilderList()
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Returns
getOrdersCount()
public int getOrdersCount()
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Returns
getOrdersList()
public List<Order> getOrdersList()
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Returns
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
Returns
getOrdersOrBuilderList()
public List<? extends OrderOrBuilder> getOrdersOrBuilderList()
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Returns
Type | Description |
List<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.OrderOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListOrdersResponse other)
public ListOrdersResponse.Builder mergeFrom(ListOrdersResponse other)
Parameter
Returns
public ListOrdersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListOrdersResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListOrdersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeOrders(int index)
public ListOrdersResponse.Builder removeOrders(int index)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListOrdersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListOrdersResponse.Builder setNextPageToken(String value)
The token for fetching the next page.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListOrdersResponse.Builder setNextPageTokenBytes(ByteString value)
The token for fetching the next page.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setOrders(int index, Order value)
public ListOrdersResponse.Builder setOrders(int index, Order value)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Parameters
Returns
setOrders(int index, Order.Builder builderForValue)
public ListOrdersResponse.Builder setOrders(int index, Order.Builder builderForValue)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.Order orders = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListOrdersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListOrdersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides