Interface PlaceOrderRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PlaceOrderRequest,PlaceOrderRequest.Builder
public interface PlaceOrderRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.LineItemInfogetLineItemInfo(int index)Optional.intgetLineItemInfoCount()Optional.List<LineItemInfo>getLineItemInfoList()Optional.LineItemInfoOrBuildergetLineItemInfoOrBuilder(int index)Optional.List<? extends LineItemInfoOrBuilder>getLineItemInfoOrBuilderList()Optional.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.StringgetRequestId()Optional.com.google.protobuf.ByteStringgetRequestIdBytes()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.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) = { ... }- Returns:
- The bytes for parent.
-
getDisplayName
String getDisplayName()
Required. The user-specified name of the order being placed.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Required. The user-specified name of the order being placed.
string display_name = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for displayName.
-
getLineItemInfoList
List<LineItemInfo> getLineItemInfoList()
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getLineItemInfo
LineItemInfo getLineItemInfo(int index)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getLineItemInfoCount
int getLineItemInfoCount()
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getLineItemInfoOrBuilderList
List<? extends LineItemInfoOrBuilder> getLineItemInfoOrBuilderList()
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getLineItemInfoOrBuilder
LineItemInfoOrBuilder getLineItemInfoOrBuilder(int index)
Optional. Places order for offer. Required when an offer-based order is being placed.
repeated .google.cloud.commerce.consumer.procurement.v1.LineItemInfo line_item_info = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getRequestId
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](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).
string request_id = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.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](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).
string request_id = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for requestId.
-
-