Class Order.Builder (0.45.0)

public static final class Order.Builder extends GeneratedMessageV3.Builder<Order.Builder> implements OrderOrBuilder

Represents a purchase made by a customer on Cloud Marketplace. Creating an order makes sure that both the Google backend systems as well as external service provider's systems (if needed) allow use of purchased products and ensures the appropriate billing events occur.

An Order can be made against one Product with multiple add-ons (optional) or one Quote which might reference multiple products.

Customers typically choose a price plan for each Product purchased when they create an order and can change their plan later, if the product allows.

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

Implements

OrderOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllCancelledLineItems(Iterable<? extends LineItem> values)

public Order.Builder addAllCancelledLineItems(Iterable<? extends LineItem> values)

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.LineItem>
Returns
Type Description
Order.Builder

addAllLineItems(Iterable<? extends LineItem> values)

public Order.Builder addAllLineItems(Iterable<? extends LineItem> values)

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.LineItem>
Returns
Type Description
Order.Builder

addCancelledLineItems(LineItem value)

public Order.Builder addCancelledLineItems(LineItem value)

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value LineItem
Returns
Type Description
Order.Builder

addCancelledLineItems(LineItem.Builder builderForValue)

public Order.Builder addCancelledLineItems(LineItem.Builder builderForValue)

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue LineItem.Builder
Returns
Type Description
Order.Builder

addCancelledLineItems(int index, LineItem value)

public Order.Builder addCancelledLineItems(int index, LineItem value)

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value LineItem
Returns
Type Description
Order.Builder

addCancelledLineItems(int index, LineItem.Builder builderForValue)

public Order.Builder addCancelledLineItems(int index, LineItem.Builder builderForValue)

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue LineItem.Builder
Returns
Type Description
Order.Builder

addCancelledLineItemsBuilder()

public LineItem.Builder addCancelledLineItemsBuilder()

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LineItem.Builder

addCancelledLineItemsBuilder(int index)

public LineItem.Builder addCancelledLineItemsBuilder(int index)

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
LineItem.Builder

addLineItems(LineItem value)

public Order.Builder addLineItems(LineItem value)

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value LineItem
Returns
Type Description
Order.Builder

addLineItems(LineItem.Builder builderForValue)

public Order.Builder addLineItems(LineItem.Builder builderForValue)

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue LineItem.Builder
Returns
Type Description
Order.Builder

addLineItems(int index, LineItem value)

public Order.Builder addLineItems(int index, LineItem value)

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value LineItem
Returns
Type Description
Order.Builder

addLineItems(int index, LineItem.Builder builderForValue)

public Order.Builder addLineItems(int index, LineItem.Builder builderForValue)

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue LineItem.Builder
Returns
Type Description
Order.Builder

addLineItemsBuilder()

public LineItem.Builder addLineItemsBuilder()

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LineItem.Builder

addLineItemsBuilder(int index)

public LineItem.Builder addLineItemsBuilder(int index)

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
LineItem.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Order.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Order.Builder
Overrides

build()

public Order build()
Returns
Type Description
Order

buildPartial()

public Order buildPartial()
Returns
Type Description
Order

clear()

public Order.Builder clear()
Returns
Type Description
Order.Builder
Overrides

clearCancelledLineItems()

public Order.Builder clearCancelledLineItems()

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Order.Builder

clearCreateTime()

public Order.Builder clearCreateTime()

Output only. The creation timestamp.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Order.Builder

clearDisplayName()

public Order.Builder clearDisplayName()

Required. The user-specified name of the order.

string display_name = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Order.Builder

This builder for chaining.

clearEtag()

public Order.Builder clearEtag()

The weak etag of the order.

string etag = 11;

Returns
Type Description
Order.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Order.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Order.Builder
Overrides

clearLineItems()

public Order.Builder clearLineItems()

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Order.Builder

clearName()

public Order.Builder clearName()

Output only. The resource name of the order. Has the form billingAccounts/{billing_account}/orders/{order}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Order.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Order.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Order.Builder
Overrides

clearUpdateTime()

public Order.Builder clearUpdateTime()

Output only. The last update timestamp.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Order.Builder

clone()

public Order.Builder clone()
Returns
Type Description
Order.Builder
Overrides

getCancelledLineItems(int index)

public LineItem getCancelledLineItems(int index)

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
LineItem

getCancelledLineItemsBuilder(int index)

public LineItem.Builder getCancelledLineItemsBuilder(int index)

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
LineItem.Builder

getCancelledLineItemsBuilderList()

public List<LineItem.Builder> getCancelledLineItemsBuilderList()

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getCancelledLineItemsCount()

public int getCancelledLineItemsCount()

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getCancelledLineItemsList()

public List<LineItem> getCancelledLineItemsList()

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<LineItem>

getCancelledLineItemsOrBuilder(int index)

public LineItemOrBuilder getCancelledLineItemsOrBuilder(int index)

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
LineItemOrBuilder

getCancelledLineItemsOrBuilderList()

public List<? extends LineItemOrBuilder> getCancelledLineItemsOrBuilderList()

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.LineItemOrBuilder>

getCreateTime()

public Timestamp getCreateTime()

Output only. The creation timestamp.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The creation timestamp.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation timestamp.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Order getDefaultInstanceForType()
Returns
Type Description
Order

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. The user-specified name of the order.

string display_name = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The user-specified name of the order.

string display_name = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getEtag()

public String getEtag()

The weak etag of the order.

string etag = 11;

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

The weak etag of the order.

string etag = 11;

Returns
Type Description
ByteString

The bytes for etag.

getLineItems(int index)

public LineItem getLineItems(int index)

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
LineItem

getLineItemsBuilder(int index)

public LineItem.Builder getLineItemsBuilder(int index)

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
LineItem.Builder

getLineItemsBuilderList()

public List<LineItem.Builder> getLineItemsBuilderList()

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getLineItemsCount()

public int getLineItemsCount()

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getLineItemsList()

public List<LineItem> getLineItemsList()

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<LineItem>

getLineItemsOrBuilder(int index)

public LineItemOrBuilder getLineItemsOrBuilder(int index)

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
LineItemOrBuilder

getLineItemsOrBuilderList()

public List<? extends LineItemOrBuilder> getLineItemsOrBuilderList()

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.LineItemOrBuilder>

getName()

public String getName()

Output only. The resource name of the order. Has the form billingAccounts/{billing_account}/orders/{order}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the order. Has the form billingAccounts/{billing_account}/orders/{order}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The last update timestamp.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The last update timestamp.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last update timestamp.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The creation timestamp.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The last update timestamp.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Order.Builder mergeCreateTime(Timestamp value)

Output only. The creation timestamp.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Order.Builder

mergeFrom(Order other)

public Order.Builder mergeFrom(Order other)
Parameter
Name Description
other Order
Returns
Type Description
Order.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Order.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Order.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Order.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Order.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Order.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Order.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Order.Builder mergeUpdateTime(Timestamp value)

Output only. The last update timestamp.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Order.Builder

removeCancelledLineItems(int index)

public Order.Builder removeCancelledLineItems(int index)

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Order.Builder

removeLineItems(int index)

public Order.Builder removeLineItems(int index)

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Order.Builder

setCancelledLineItems(int index, LineItem value)

public Order.Builder setCancelledLineItems(int index, LineItem value)

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value LineItem
Returns
Type Description
Order.Builder

setCancelledLineItems(int index, LineItem.Builder builderForValue)

public Order.Builder setCancelledLineItems(int index, LineItem.Builder builderForValue)

Output only. Line items that were cancelled.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem cancelled_line_items = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue LineItem.Builder
Returns
Type Description
Order.Builder

setCreateTime(Timestamp value)

public Order.Builder setCreateTime(Timestamp value)

Output only. The creation timestamp.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Order.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Order.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The creation timestamp.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Order.Builder

setDisplayName(String value)

public Order.Builder setDisplayName(String value)

Required. The user-specified name of the order.

string display_name = 10 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Order.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Order.Builder setDisplayNameBytes(ByteString value)

Required. The user-specified name of the order.

string display_name = 10 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Order.Builder

This builder for chaining.

setEtag(String value)

public Order.Builder setEtag(String value)

The weak etag of the order.

string etag = 11;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
Order.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public Order.Builder setEtagBytes(ByteString value)

The weak etag of the order.

string etag = 11;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
Order.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Order.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Order.Builder
Overrides

setLineItems(int index, LineItem value)

public Order.Builder setLineItems(int index, LineItem value)

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value LineItem
Returns
Type Description
Order.Builder

setLineItems(int index, LineItem.Builder builderForValue)

public Order.Builder setLineItems(int index, LineItem.Builder builderForValue)

Output only. The items being purchased.

repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItem line_items = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue LineItem.Builder
Returns
Type Description
Order.Builder

setName(String value)

public Order.Builder setName(String value)

Output only. The resource name of the order. Has the form billingAccounts/{billing_account}/orders/{order}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Order.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Order.Builder setNameBytes(ByteString value)

Output only. The resource name of the order. Has the form billingAccounts/{billing_account}/orders/{order}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Order.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Order.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Order.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Order.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Order.Builder
Overrides

setUpdateTime(Timestamp value)

public Order.Builder setUpdateTime(Timestamp value)

Output only. The last update timestamp.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Order.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Order.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The last update timestamp.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Order.Builder