Interface CreateOrderRequestOrBuilder (0.8.0)

public interface CreateOrderRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOrder()

public abstract Order getOrder()

Required. The order to create.

.google.cloud.gdchardwaremanagement.v1alpha.Order order = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Order

The order.

getOrderId()

public abstract String getOrderId()

Optional. ID used to uniquely identify the Order within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and - are accepted. The - character cannot be the first or the last one. A system generated ID will be used if the field is not set.

The order.name field in the request will be ignored.

string order_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The orderId.

getOrderIdBytes()

public abstract ByteString getOrderIdBytes()

Optional. ID used to uniquely identify the Order within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and - are accepted. The - character cannot be the first or the last one. A system generated ID will be used if the field is not set.

The order.name field in the request will be ignored.

string order_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for orderId.

getOrderOrBuilder()

public abstract OrderOrBuilder getOrderOrBuilder()

Required. The order to create.

.google.cloud.gdchardwaremanagement.v1alpha.Order order = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OrderOrBuilder

getParent()

public abstract String getParent()

Required. The project and location to create the order in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The project and location to create the order in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public abstract String getRequestId()

Optional. An optional unique identifier for this request. See AIP-155.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

Optional. An optional unique identifier for this request. See AIP-155.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requestId.

hasOrder()

public abstract boolean hasOrder()

Required. The order to create.

.google.cloud.gdchardwaremanagement.v1alpha.Order order = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the order field is set.