public static final class SubmitOrderRequest.Builder extends GeneratedMessage.Builder<SubmitOrderRequest.Builder> implements SubmitOrderRequestOrBuilderA request to submit an order.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.SubmitOrderRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SubmitOrderRequest.BuilderImplements
SubmitOrderRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SubmitOrderRequest build()| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest |
|
buildPartial()
public SubmitOrderRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest |
|
clear()
public SubmitOrderRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Builder |
|
clearName()
public SubmitOrderRequest.Builder clearName() Required. The name of the order.
Format: projects/{project}/locations/{location}/orders/{order}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Builder |
This builder for chaining. |
clearRequestId()
public SubmitOrderRequest.Builder clearRequestId()Optional. An optional unique identifier for this request. See AIP-155.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Builder |
This builder for chaining. |
clearType()
public SubmitOrderRequest.Builder clearType() Optional. Type of this request. If unset, the request type is assumed to be
INFO_PENDING.
.google.cloud.gdchardwaremanagement.v1alpha.SubmitOrderRequest.Type type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SubmitOrderRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. The name of the order.
Format: projects/{project}/locations/{location}/orders/{order}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The name of the order.
Format: projects/{project}/locations/{location}/orders/{order}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRequestId()
public String getRequestId()Optional. An optional unique identifier for this request. See AIP-155.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()Optional. An optional unique identifier for this request. See AIP-155.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
getType()
public SubmitOrderRequest.Type getType() Optional. Type of this request. If unset, the request type is assumed to be
INFO_PENDING.
.google.cloud.gdchardwaremanagement.v1alpha.SubmitOrderRequest.Type type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Type |
The type. |
getTypeValue()
public int getTypeValue() Optional. Type of this request. If unset, the request type is assumed to be
INFO_PENDING.
.google.cloud.gdchardwaremanagement.v1alpha.SubmitOrderRequest.Type type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SubmitOrderRequest other)
public SubmitOrderRequest.Builder mergeFrom(SubmitOrderRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SubmitOrderRequest |
| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SubmitOrderRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SubmitOrderRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Builder |
|
setName(String value)
public SubmitOrderRequest.Builder setName(String value) Required. The name of the order.
Format: projects/{project}/locations/{location}/orders/{order}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public SubmitOrderRequest.Builder setNameBytes(ByteString value) Required. The name of the order.
Format: projects/{project}/locations/{location}/orders/{order}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public SubmitOrderRequest.Builder setRequestId(String value)Optional. An optional unique identifier for this request. See AIP-155.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public SubmitOrderRequest.Builder setRequestIdBytes(ByteString value)Optional. An optional unique identifier for this request. See AIP-155.
string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Builder |
This builder for chaining. |
setType(SubmitOrderRequest.Type value)
public SubmitOrderRequest.Builder setType(SubmitOrderRequest.Type value) Optional. Type of this request. If unset, the request type is assumed to be
INFO_PENDING.
.google.cloud.gdchardwaremanagement.v1alpha.SubmitOrderRequest.Type type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SubmitOrderRequest.TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Builder |
This builder for chaining. |
setTypeValue(int value)
public SubmitOrderRequest.Builder setTypeValue(int value) Optional. Type of this request. If unset, the request type is assumed to be
INFO_PENDING.
.google.cloud.gdchardwaremanagement.v1alpha.SubmitOrderRequest.Type type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
SubmitOrderRequest.Builder |
This builder for chaining. |