- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.5
public static final class PlaceOrderRequest.Builder extends GeneratedMessageV3.Builder<PlaceOrderRequest.Builder> implements PlaceOrderRequestOrBuilder
Request message for ConsumerProcurementService.PlaceOrder.
Protobuf type google.cloud.commerce.consumer.procurement.v1alpha1.PlaceOrderRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PlaceOrderRequest.BuilderImplements
PlaceOrderRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllLineItemInfo(Iterable<? extends LineItemInfo> values)
public PlaceOrderRequest.Builder addAllLineItemInfo(Iterable<? extends LineItemInfo> values)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Iterable<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo> |
Type | Description |
PlaceOrderRequest.Builder |
addLineItemInfo(LineItemInfo value)
public PlaceOrderRequest.Builder addLineItemInfo(LineItemInfo value)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | LineItemInfo |
Type | Description |
PlaceOrderRequest.Builder |
addLineItemInfo(LineItemInfo.Builder builderForValue)
public PlaceOrderRequest.Builder addLineItemInfo(LineItemInfo.Builder builderForValue)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | LineItemInfo.Builder |
Type | Description |
PlaceOrderRequest.Builder |
addLineItemInfo(int index, LineItemInfo value)
public PlaceOrderRequest.Builder addLineItemInfo(int index, LineItemInfo value)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
value | LineItemInfo |
Type | Description |
PlaceOrderRequest.Builder |
addLineItemInfo(int index, LineItemInfo.Builder builderForValue)
public PlaceOrderRequest.Builder addLineItemInfo(int index, LineItemInfo.Builder builderForValue)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
builderForValue | LineItemInfo.Builder |
Type | Description |
PlaceOrderRequest.Builder |
addLineItemInfoBuilder()
public LineItemInfo.Builder addLineItemInfoBuilder()
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
LineItemInfo.Builder |
addLineItemInfoBuilder(int index)
public LineItemInfo.Builder addLineItemInfoBuilder(int index)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
LineItemInfo.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PlaceOrderRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PlaceOrderRequest.Builder |
build()
public PlaceOrderRequest build()
Type | Description |
PlaceOrderRequest |
buildPartial()
public PlaceOrderRequest buildPartial()
Type | Description |
PlaceOrderRequest |
clear()
public PlaceOrderRequest.Builder clear()
Type | Description |
PlaceOrderRequest.Builder |
clearDisplayName()
public PlaceOrderRequest.Builder clearDisplayName()
Required. The user-specified name of the order being placed. Must be unique within a billing account.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
PlaceOrderRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PlaceOrderRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PlaceOrderRequest.Builder |
clearLineItemInfo()
public PlaceOrderRequest.Builder clearLineItemInfo()
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PlaceOrderRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PlaceOrderRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PlaceOrderRequest.Builder |
clearParent()
public PlaceOrderRequest.Builder clearParent()
Required. The resource name of the parent resource.
This field has the form billingAccounts/{billing-account-id}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
PlaceOrderRequest.Builder | This builder for chaining. |
clearRequestId()
public PlaceOrderRequest.Builder clearRequestId()
Optional. A unique identifier for this request. The server will ignore subsequent requests that provide a duplicate request ID for at least 120 minutes after the first request. The request ID must be a valid UUID.
string request_id = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
PlaceOrderRequest.Builder | This builder for chaining. |
clone()
public PlaceOrderRequest.Builder clone()
Type | Description |
PlaceOrderRequest.Builder |
getDefaultInstanceForType()
public PlaceOrderRequest getDefaultInstanceForType()
Type | Description |
PlaceOrderRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. The user-specified name of the order being placed. Must be unique within a billing account.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. The user-specified name of the order being placed. Must be unique within a billing account.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for displayName. |
getLineItemInfo(int index)
public LineItemInfo getLineItemInfo(int index)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
LineItemInfo |
getLineItemInfoBuilder(int index)
public LineItemInfo.Builder getLineItemInfoBuilder(int index)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
LineItemInfo.Builder |
getLineItemInfoBuilderList()
public List<LineItemInfo.Builder> getLineItemInfoBuilderList()
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<Builder> |
getLineItemInfoCount()
public int getLineItemInfoCount()
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getLineItemInfoList()
public List<LineItemInfo> getLineItemInfoList()
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<LineItemInfo> |
getLineItemInfoOrBuilder(int index)
public LineItemInfoOrBuilder getLineItemInfoOrBuilder(int index)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
LineItemInfoOrBuilder |
getLineItemInfoOrBuilderList()
public List<? extends LineItemInfoOrBuilder> getLineItemInfoOrBuilderList()
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<? extends com.google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfoOrBuilder> |
getParent()
public String getParent()
Required. The resource name of the parent resource.
This field has the form billingAccounts/{billing-account-id}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The resource name of the parent resource.
This field has the form billingAccounts/{billing-account-id}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getRequestId()
public String getRequestId()
Optional. A unique identifier for this request. The server will ignore subsequent requests that provide a duplicate request ID for at least 120 minutes after the first request. The request ID must be a valid UUID.
string request_id = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()
Optional. A unique identifier for this request. The server will ignore subsequent requests that provide a duplicate request ID for at least 120 minutes after the first request. The request ID must be a valid UUID.
string request_id = 7 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for requestId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PlaceOrderRequest other)
public PlaceOrderRequest.Builder mergeFrom(PlaceOrderRequest other)
Name | Description |
other | PlaceOrderRequest |
Type | Description |
PlaceOrderRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PlaceOrderRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PlaceOrderRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PlaceOrderRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PlaceOrderRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PlaceOrderRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PlaceOrderRequest.Builder |
removeLineItemInfo(int index)
public PlaceOrderRequest.Builder removeLineItemInfo(int index)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
PlaceOrderRequest.Builder |
setDisplayName(String value)
public PlaceOrderRequest.Builder setDisplayName(String value)
Required. The user-specified name of the order being placed. Must be unique within a billing account.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The displayName to set. |
Type | Description |
PlaceOrderRequest.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public PlaceOrderRequest.Builder setDisplayNameBytes(ByteString value)
Required. The user-specified name of the order being placed. Must be unique within a billing account.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
PlaceOrderRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PlaceOrderRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PlaceOrderRequest.Builder |
setLineItemInfo(int index, LineItemInfo value)
public PlaceOrderRequest.Builder setLineItemInfo(int index, LineItemInfo value)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
value | LineItemInfo |
Type | Description |
PlaceOrderRequest.Builder |
setLineItemInfo(int index, LineItemInfo.Builder builderForValue)
public PlaceOrderRequest.Builder setLineItemInfo(int index, LineItemInfo.Builder builderForValue)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1alpha1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
builderForValue | LineItemInfo.Builder |
Type | Description |
PlaceOrderRequest.Builder |
setParent(String value)
public PlaceOrderRequest.Builder setParent(String value)
Required. The resource name of the parent resource.
This field has the form billingAccounts/{billing-account-id}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
PlaceOrderRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public PlaceOrderRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the parent resource.
This field has the form billingAccounts/{billing-account-id}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
PlaceOrderRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PlaceOrderRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PlaceOrderRequest.Builder |
setRequestId(String value)
public PlaceOrderRequest.Builder setRequestId(String value)
Optional. A unique identifier for this request. The server will ignore subsequent requests that provide a duplicate request ID for at least 120 minutes after the first request. The request ID must be a valid UUID.
string request_id = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The requestId to set. |
Type | Description |
PlaceOrderRequest.Builder | This builder for chaining. |
setRequestIdBytes(ByteString value)
public PlaceOrderRequest.Builder setRequestIdBytes(ByteString value)
Optional. A unique identifier for this request. The server will ignore subsequent requests that provide a duplicate request ID for at least 120 minutes after the first request. The request ID must be a valid UUID.
string request_id = 7 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for requestId to set. |
Type | Description |
PlaceOrderRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PlaceOrderRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PlaceOrderRequest.Builder |