public final class Order extends GeneratedMessageV3 implements OrderOrBuilder
An order for GDC hardware.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.Order
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BILLING_ID_FIELD_NUMBER
public static final int BILLING_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CUSTOMER_MOTIVATION_FIELD_NUMBER
public static final int CUSTOMER_MOTIVATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EXISTING_HARDWARE_FIELD_NUMBER
public static final int EXISTING_HARDWARE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FULFILLMENT_TIME_FIELD_NUMBER
public static final int FULFILLMENT_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ORDER_FORM_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ORGANIZATION_CONTACT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REGION_CODE_FIELD_NUMBER
public static final int REGION_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUBMIT_TIME_FIELD_NUMBER
public static final int SUBMIT_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TARGET_WORKLOADS_FIELD_NUMBER
public static final int TARGET_WORKLOADS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Order getDefaultInstance()
Returns |
Type |
Description |
Order |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Order.Builder newBuilder()
newBuilder(Order prototype)
public static Order.Builder newBuilder(Order prototype)
Parameter |
Name |
Description |
prototype |
Order
|
public static Order parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Order |
|
public static Order parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Order |
|
parseFrom(byte[] data)
public static Order parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Order |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Order parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Order |
|
parseFrom(ByteString data)
public static Order parseFrom(ByteString data)
Returns |
Type |
Description |
Order |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Order parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Order |
|
public static Order parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Order |
|
public static Order parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Order |
|
public static Order parseFrom(InputStream input)
Returns |
Type |
Description |
Order |
|
public static Order parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Order |
|
parseFrom(ByteBuffer data)
public static Order parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Order |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Order parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Order |
|
parser()
public static Parser<Order> parser()
Methods
containsLabels(String key)
public boolean containsLabels(String key)
Optional. Labels associated with this order as key value pairs.
For more information about labels, see Create and manage
labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBillingId()
public String getBillingId()
Required. The Google Cloud Billing ID to be charged for this order.
string billing_id = 15 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The billingId.
|
getBillingIdBytes()
public ByteString getBillingIdBytes()
Required. The Google Cloud Billing ID to be charged for this order.
string billing_id = 15 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for billingId.
|
getCreateTime()
public Timestamp getCreateTime()
Output only. Time when this order was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when this order was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCustomerMotivation()
public String getCustomerMotivation()
Required. Information about the customer's motivation for this order. The
length of this field must be <= 1000 characters.
string customer_motivation = 8 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The customerMotivation.
|
getCustomerMotivationBytes()
public ByteString getCustomerMotivationBytes()
Required. Information about the customer's motivation for this order. The
length of this field must be <= 1000 characters.
string customer_motivation = 8 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for customerMotivation.
|
getDefaultInstanceForType()
public Order getDefaultInstanceForType()
Returns |
Type |
Description |
Order |
|
getDisplayName()
public String getDisplayName()
Optional. Display name of this order.
string display_name = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. Display name of this order.
string display_name = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getExistingHardware(int index)
public HardwareLocation getExistingHardware(int index)
Optional. Existing hardware to be removed as part of this order.
Note: any hardware removed will be recycled unless otherwise agreed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareLocation existing_hardware = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getExistingHardwareCount()
public int getExistingHardwareCount()
Optional. Existing hardware to be removed as part of this order.
Note: any hardware removed will be recycled unless otherwise agreed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareLocation existing_hardware = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getExistingHardwareList()
public List<HardwareLocation> getExistingHardwareList()
Optional. Existing hardware to be removed as part of this order.
Note: any hardware removed will be recycled unless otherwise agreed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareLocation existing_hardware = 16 [(.google.api.field_behavior) = OPTIONAL];
getExistingHardwareOrBuilder(int index)
public HardwareLocationOrBuilder getExistingHardwareOrBuilder(int index)
Optional. Existing hardware to be removed as part of this order.
Note: any hardware removed will be recycled unless otherwise agreed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareLocation existing_hardware = 16 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getExistingHardwareOrBuilderList()
public List<? extends HardwareLocationOrBuilder> getExistingHardwareOrBuilderList()
Optional. Existing hardware to be removed as part of this order.
Note: any hardware removed will be recycled unless otherwise agreed.
repeated .google.cloud.gdchardwaremanagement.v1alpha.HardwareLocation existing_hardware = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.HardwareLocationOrBuilder> |
|
getFulfillmentTime()
public Timestamp getFulfillmentTime()
Required. Customer specified deadline by when this order should be
fulfilled.
.google.protobuf.Timestamp fulfillment_time = 9 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Timestamp |
The fulfillmentTime.
|
getFulfillmentTimeOrBuilder()
public TimestampOrBuilder getFulfillmentTimeOrBuilder()
Required. Customer specified deadline by when this order should be
fulfilled.
.google.protobuf.Timestamp fulfillment_time = 9 [(.google.api.field_behavior) = REQUIRED];
getLabels() (deprecated)
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Optional. Labels associated with this order as key value pairs.
For more information about labels, see Create and manage
labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. Labels associated with this order as key value pairs.
For more information about labels, see Create and manage
labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels associated with this order as key value pairs.
For more information about labels, see Create and manage
labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. Labels associated with this order as key value pairs.
For more information about labels, see Create and manage
labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getName()
Identifier. Name of this order.
Format: projects/{project}/locations/{location}/orders/{order}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. Name of this order.
Format: projects/{project}/locations/{location}/orders/{order}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public String getOrderFormUri()
Output only. Link to the order form.
string order_form_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The orderFormUri.
|
public ByteString getOrderFormUriBytes()
Output only. Link to the order form.
string order_form_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for orderFormUri.
|
public OrganizationContact getOrganizationContact()
Required. Customer contact information.
.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 6 [(.google.api.field_behavior) = REQUIRED];
public OrganizationContactOrBuilder getOrganizationContactOrBuilder()
Required. Customer contact information.
.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 6 [(.google.api.field_behavior) = REQUIRED];
getParserForType()
public Parser<Order> getParserForType()
Overrides
getRegionCode()
public String getRegionCode()
Required. Unicode CLDR region code where this
order will be deployed. For a list of valid CLDR region codes, see the
Language Subtag
Registry.
string region_code = 10 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The regionCode.
|
getRegionCodeBytes()
public ByteString getRegionCodeBytes()
Required. Unicode CLDR region code where this
order will be deployed. For a list of valid CLDR region codes, see the
Language Subtag
Registry.
string region_code = 10 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for regionCode.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getState()
public Order.State getState()
Output only. State of this order. On order creation, state will be set to
DRAFT.
.google.cloud.gdchardwaremanagement.v1alpha.Order.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. State of this order. On order creation, state will be set to
DRAFT.
.google.cloud.gdchardwaremanagement.v1alpha.Order.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getSubmitTime()
public Timestamp getSubmitTime()
Output only. Time when the order was submitted. Is auto-populated to the
current time when an order is submitted.
.google.protobuf.Timestamp submit_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The submitTime.
|
getSubmitTimeOrBuilder()
public TimestampOrBuilder getSubmitTimeOrBuilder()
Output only. Time when the order was submitted. Is auto-populated to the
current time when an order is submitted.
.google.protobuf.Timestamp submit_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTargetWorkloads(int index)
public String getTargetWorkloads(int index)
Optional. Customer specified workloads of interest targeted by this order.
This must contain <= 20 elements and the length of each element must be <=
50 characters.
repeated string target_workloads = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The targetWorkloads at the given index.
|
getTargetWorkloadsBytes(int index)
public ByteString getTargetWorkloadsBytes(int index)
Optional. Customer specified workloads of interest targeted by this order.
This must contain <= 20 elements and the length of each element must be <=
50 characters.
repeated string target_workloads = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the targetWorkloads at the given index.
|
getTargetWorkloadsCount()
public int getTargetWorkloadsCount()
Optional. Customer specified workloads of interest targeted by this order.
This must contain <= 20 elements and the length of each element must be <=
50 characters.
repeated string target_workloads = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of targetWorkloads.
|
getTargetWorkloadsList()
public ProtocolStringList getTargetWorkloadsList()
Optional. Customer specified workloads of interest targeted by this order.
This must contain <= 20 elements and the length of each element must be <=
50 characters.
repeated string target_workloads = 7 [(.google.api.field_behavior) = OPTIONAL];
getType()
public Order.Type getType()
Output only. Type of this Order.
.google.cloud.gdchardwaremanagement.v1alpha.Order.Type type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTypeValue()
public int getTypeValue()
Output only. Type of this Order.
.google.cloud.gdchardwaremanagement.v1alpha.Order.Type type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for type.
|
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Time when this order was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when this order was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public boolean hasCreateTime()
Output only. Time when this order was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasFulfillmentTime()
public boolean hasFulfillmentTime()
Required. Customer specified deadline by when this order should be
fulfilled.
.google.protobuf.Timestamp fulfillment_time = 9 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the fulfillmentTime field is set.
|
public boolean hasOrganizationContact()
Required. Customer contact information.
.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 6 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the organizationContact field is set.
|
hasSubmitTime()
public boolean hasSubmitTime()
Output only. Time when the order was submitted. Is auto-populated to the
current time when an order is submitted.
.google.protobuf.Timestamp submit_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the submitTime field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Time when this order was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Order.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Order.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Order.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides