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.v1.ListOrdersResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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.v1.Order orders = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.commerce.consumer.procurement.v1.Order>
|
addOrders(Order value)
public ListOrdersResponse.Builder addOrders(Order value)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1;
Parameter |
---|
Name | Description |
value | Order
|
addOrders(Order.Builder builderForValue)
public ListOrdersResponse.Builder addOrders(Order.Builder builderForValue)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1;
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.v1.Order orders = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Order
|
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.v1.Order orders = 1;
addOrdersBuilder()
public Order.Builder addOrdersBuilder()
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1;
addOrdersBuilder(int index)
public Order.Builder addOrdersBuilder(int index)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListOrdersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListOrdersResponse build()
buildPartial()
public ListOrdersResponse buildPartial()
clear()
public ListOrdersResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListOrdersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListOrdersResponse.Builder clearNextPageToken()
The token for fetching the next page.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListOrdersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOrders()
public ListOrdersResponse.Builder clearOrders()
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1;
clone()
public ListOrdersResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListOrdersResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v1.Order orders = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Order | |
getOrdersBuilder(int index)
public Order.Builder getOrdersBuilder(int index)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1;
Parameter |
---|
Name | Description |
index | int
|
getOrdersBuilderList()
public List<Order.Builder> getOrdersBuilderList()
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1;
getOrdersCount()
public int getOrdersCount()
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1;
Returns |
---|
Type | Description |
int | |
getOrdersList()
public List<Order> getOrdersList()
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1;
getOrdersOrBuilder(int index)
public OrderOrBuilder getOrdersOrBuilder(int index)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1;
Parameter |
---|
Name | Description |
index | int
|
getOrdersOrBuilderList()
public List<? extends OrderOrBuilder> getOrdersOrBuilderList()
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.commerce.consumer.procurement.v1.OrderOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListOrdersResponse other)
public ListOrdersResponse.Builder mergeFrom(ListOrdersResponse other)
public ListOrdersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListOrdersResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListOrdersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeOrders(int index)
public ListOrdersResponse.Builder removeOrders(int index)
The list of orders in this response.
repeated .google.cloud.commerce.consumer.procurement.v1.Order orders = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListOrdersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.v1.Order orders = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Order
|
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.v1.Order orders = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListOrdersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListOrdersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides