Class Order.Builder (0.18.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.LineItem>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.LineItem>
Returns
TypeDescription
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
NameDescription
valueLineItem
Returns
TypeDescription
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
NameDescription
builderForValueLineItem.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLineItem
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLineItem.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueLineItem
Returns
TypeDescription
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
NameDescription
builderForValueLineItem.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLineItem
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLineItem.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LineItem.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Order.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Order.Builder
Overrides

build()

public Order build()
Returns
TypeDescription
Order

buildPartial()

public Order buildPartial()
Returns
TypeDescription
Order

clear()

public Order.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Order.Builder

clearDisplayName()

public Order.Builder clearDisplayName()

Required. The user-specified name of the order. Must be unique within a billing account.

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

Returns
TypeDescription
Order.Builder

This builder for chaining.

clearEtag()

public Order.Builder clearEtag()

The weak etag of the order.

string etag = 11;

Returns
TypeDescription
Order.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Order.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Order.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Order.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Order.Builder

clone()

public Order.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation timestamp.

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

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Order getDefaultInstanceForType()
Returns
TypeDescription
Order

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. The user-specified name of the order. Must be unique within a billing account.

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

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The user-specified name of the order. Must be unique within a billing account.

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

Returns
TypeDescription
ByteString

The bytes for displayName.

getEtag()

public String getEtag()

The weak etag of the order.

string etag = 11;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

The weak etag of the order.

string etag = 11;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last update timestamp.

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

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The creation timestamp.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Order.Builder

mergeFrom(Order other)

public Order.Builder mergeFrom(Order other)
Parameter
NameDescription
otherOrder
Returns
TypeDescription
Order.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Order.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Order.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Order.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Order.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Order.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueLineItem
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLineItem.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Order.Builder

setDisplayName(String value)

public Order.Builder setDisplayName(String value)

Required. The user-specified name of the order. Must be unique within a billing account.

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

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Order.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Order.Builder setDisplayNameBytes(ByteString value)

Required. The user-specified name of the order. Must be unique within a billing account.

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

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
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
NameDescription
valueString

The etag to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
Order.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Order.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueLineItem
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLineItem.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Order.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Order.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Order.Builder