public static final class ListOrdersResponse.Builder extends GeneratedMessageV3.Builder<ListOrdersResponse.Builder> implements ListOrdersResponseOrBuilder
A list of orders.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.ListOrdersResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListOrdersResponse.BuilderImplements
ListOrdersResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllOrders(Iterable<? extends Order> values)
public ListOrdersResponse.Builder addAllOrders(Iterable<? extends Order> values)
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.gdchardwaremanagement.v1alpha.Order> |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListOrdersResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
This builder for chaining. |
addOrders(Order value)
public ListOrdersResponse.Builder addOrders(Order value)
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Parameter | |
---|---|
Name | Description |
value |
Order |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
addOrders(Order.Builder builderForValue)
public ListOrdersResponse.Builder addOrders(Order.Builder builderForValue)
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Order.Builder |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
addOrders(int index, Order value)
public ListOrdersResponse.Builder addOrders(int index, Order value)
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Order |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
addOrders(int index, Order.Builder builderForValue)
public ListOrdersResponse.Builder addOrders(int index, Order.Builder builderForValue)
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Order.Builder |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
addOrdersBuilder()
public Order.Builder addOrdersBuilder()
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Returns | |
---|---|
Type | Description |
Order.Builder |
addOrdersBuilder(int index)
public Order.Builder addOrdersBuilder(int index)
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Order.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListOrdersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
addUnreachable(String value)
public ListOrdersResponse.Builder addUnreachable(String value)
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value |
String The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListOrdersResponse.Builder addUnreachableBytes(ByteString value)
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
This builder for chaining. |
build()
public ListOrdersResponse build()
Returns | |
---|---|
Type | Description |
ListOrdersResponse |
buildPartial()
public ListOrdersResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListOrdersResponse |
clear()
public ListOrdersResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListOrdersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
clearNextPageToken()
public ListOrdersResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListOrdersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
clearOrders()
public ListOrdersResponse.Builder clearOrders()
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
clearUnreachable()
public ListOrdersResponse.Builder clearUnreachable()
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
This builder for chaining. |
clone()
public ListOrdersResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
getDefaultInstanceForType()
public ListOrdersResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListOrdersResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token identifying a page of results the server should return.
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.
repeated .google.cloud.gdchardwaremanagement.v1alpha.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.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Order.Builder |
getOrdersBuilderList()
public List<Order.Builder> getOrdersBuilderList()
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getOrdersCount()
public int getOrdersCount()
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Returns | |
---|---|
Type | Description |
int |
getOrdersList()
public List<Order> getOrdersList()
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Returns | |
---|---|
Type | Description |
List<Order> |
getOrdersOrBuilder(int index)
public OrderOrBuilder getOrdersOrBuilder(int index)
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
OrderOrBuilder |
getOrdersOrBuilderList()
public List<? extends OrderOrBuilder> getOrdersOrBuilderList()
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.OrderOrBuilder> |
getUnreachable(int index)
public String getUnreachable(int index)
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListOrdersResponse other)
public ListOrdersResponse.Builder mergeFrom(ListOrdersResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListOrdersResponse |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListOrdersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListOrdersResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListOrdersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
removeOrders(int index)
public ListOrdersResponse.Builder removeOrders(int index)
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListOrdersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
setNextPageToken(String value)
public ListOrdersResponse.Builder setNextPageToken(String value)
A token identifying a page of results the server should return.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListOrdersResponse.Builder setNextPageTokenBytes(ByteString value)
A token identifying a page of results the server should return.
string next_page_token = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
This builder for chaining. |
setOrders(int index, Order value)
public ListOrdersResponse.Builder setOrders(int index, Order value)
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Order |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
setOrders(int index, Order.Builder builderForValue)
public ListOrdersResponse.Builder setOrders(int index, Order.Builder builderForValue)
The list of orders.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Order orders = 1;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Order.Builder |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListOrdersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListOrdersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
setUnreachable(int index, String value)
public ListOrdersResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached. Only used for queries to the wildcard
location -
. If non-empty, it indicates that the results are incomplete.
repeated string unreachable = 3;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The unreachable to set. |
Returns | |
---|---|
Type | Description |
ListOrdersResponse.Builder |
This builder for chaining. |