Interface OrderOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Order,Order.Builder
@Generated
public interface OrderOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required.com.google.protobuf.ByteStringRequired.Optional.Optional.Output only.intOutput only.Optional.com.google.protobuf.ByteStringOptional.Output only.Output only.Output only.Output only.getExistingHardware(int index) Optional.intOptional.Optional.getExistingHardwareOrBuilder(int index) Optional.List<? extends HardwareLocationOrBuilder>Optional.com.google.protobuf.TimestampDeprecated.google.cloud.gdchardwaremanagement.v1alpha.Order.fulfillment_time is deprecated.com.google.protobuf.TimestampOrBuilderDeprecated.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.booleanOptional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Output only.com.google.protobuf.ByteStringOutput only.Required.Required.Required.com.google.protobuf.ByteStringRequired.Output only.Output only.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getTargetWorkloads(int index) Optional.com.google.protobuf.ByteStringgetTargetWorkloadsBytes(int index) Optional.intOptional.Optional.getType()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOptional.booleanOutput only.booleanOutput only.booleanDeprecated.google.cloud.gdchardwaremanagement.v1alpha.Order.fulfillment_time is deprecated.booleanRequired.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Identifier. Name of this order. Format: `projects/{project}/locations/{location}/orders/{order}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. Name of this order. Format: `projects/{project}/locations/{location}/orders/{order}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()Optional. Display name of this order.
string display_name = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Optional. Display name of this order.
string display_name = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for displayName.
-
hasCreateTime
boolean hasCreateTime()Output only. Time when this order was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Time when this order was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time when this order was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Time when this order was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Time when this order was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time when this order was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Optional. Labels associated with this order as key value pairs. For more information about labels, see [Create and manage labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. Labels associated with this order as key value pairs. For more information about labels, see [Create and manage labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. Labels associated with this order as key value pairs. For more information about labels, see [Create and manage labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. Labels associated with this order as key value pairs. For more information about labels, see [Create and manage labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. Labels associated with this order as key value pairs. For more information about labels, see [Create and manage labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getStateValue
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:
- The enum numeric value on the wire for state.
-
getState
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];- Returns:
- The state.
-
hasOrganizationContact
boolean hasOrganizationContact()Required. Customer contact information.
.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the organizationContact field is set.
-
getOrganizationContact
OrganizationContact getOrganizationContact()Required. Customer contact information.
.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The organizationContact.
-
getOrganizationContactOrBuilder
OrganizationContactOrBuilder getOrganizationContactOrBuilder()Required. Customer contact information.
.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 6 [(.google.api.field_behavior) = REQUIRED]; -
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];- Returns:
- A list containing the targetWorkloads.
-
getTargetWorkloadsCount
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:
- The count of targetWorkloads.
-
getTargetWorkloads
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];- Parameters:
index- The index of the element to return.- Returns:
- The targetWorkloads at the given index.
-
getTargetWorkloadsBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetWorkloads at the given index.
-
getCustomerMotivation
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:
- The customerMotivation.
-
getCustomerMotivationBytes
com.google.protobuf.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:
- The bytes for customerMotivation.
-
hasFulfillmentTime
Deprecated.google.cloud.gdchardwaremanagement.v1alpha.Order.fulfillment_time is deprecated. See google/cloud/gdchardwaremanagement/v1alpha/resources.proto;l=190Deprecated: Please use customer_requested_installation_date instead.
.google.protobuf.Timestamp fulfillment_time = 9 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the fulfillmentTime field is set.
-
getFulfillmentTime
Deprecated.google.cloud.gdchardwaremanagement.v1alpha.Order.fulfillment_time is deprecated. See google/cloud/gdchardwaremanagement/v1alpha/resources.proto;l=190Deprecated: Please use customer_requested_installation_date instead.
.google.protobuf.Timestamp fulfillment_time = 9 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Returns:
- The fulfillmentTime.
-
getFulfillmentTimeOrBuilder
Deprecated.Deprecated: Please use customer_requested_installation_date instead.
.google.protobuf.Timestamp fulfillment_time = 9 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; -
hasCustomerRequestedInstallationDate
boolean hasCustomerRequestedInstallationDate()Optional. Customer requested installation date for this order.
.google.type.Date customer_requested_installation_date = 21 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the customerRequestedInstallationDate field is set.
-
getCustomerRequestedInstallationDate
Date getCustomerRequestedInstallationDate()Optional. Customer requested installation date for this order.
.google.type.Date customer_requested_installation_date = 21 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The customerRequestedInstallationDate.
-
getCustomerRequestedInstallationDateOrBuilder
DateOrBuilder getCustomerRequestedInstallationDateOrBuilder()Optional. Customer requested installation date for this order.
.google.type.Date customer_requested_installation_date = 21 [(.google.api.field_behavior) = OPTIONAL]; -
getRegionCode
String getRegionCode()Required. [Unicode CLDR](http://cldr.unicode.org/) region code where this order will be deployed. For a list of valid CLDR region codes, see the [Language Subtag Registry](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry).
string region_code = 10 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The regionCode.
-
getRegionCodeBytes
com.google.protobuf.ByteString getRegionCodeBytes()Required. [Unicode CLDR](http://cldr.unicode.org/) region code where this order will be deployed. For a list of valid CLDR region codes, see the [Language Subtag Registry](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry).
string region_code = 10 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for regionCode.
-
getOrderFormUri
String getOrderFormUri()Output only. Link to the order form.
string order_form_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The orderFormUri.
-
getOrderFormUriBytes
com.google.protobuf.ByteString getOrderFormUriBytes()Output only. Link to the order form.
string order_form_uri = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for orderFormUri.
-
getTypeValue
int getTypeValue()Output only. Type of this Order.
.google.cloud.gdchardwaremanagement.v1alpha.Order.Type type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for type.
-
getType
Order.Type getType()Output only. Type of this Order.
.google.cloud.gdchardwaremanagement.v1alpha.Order.Type type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The type.
-
hasSubmitTime
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:
- Whether the submitTime field is set.
-
getSubmitTime
com.google.protobuf.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:
- The submitTime.
-
getSubmitTimeOrBuilder
com.google.protobuf.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]; -
getBillingId
String getBillingId()Output only. The Google Cloud Billing ID to be charged for this order.
string billing_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The billingId.
-
getBillingIdBytes
com.google.protobuf.ByteString getBillingIdBytes()Output only. The Google Cloud Billing ID to be charged for this order.
string billing_id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for billingId.
-
getExistingHardwareList
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]; -
getExistingHardware
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]; -
getExistingHardwareCount
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]; -
getExistingHardwareOrBuilderList
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]; -
getExistingHardwareOrBuilder
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]; -
getDeploymentTypeValue
int getDeploymentTypeValue()Output only. The deployment type of this order.
.google.cloud.gdchardwaremanagement.v1alpha.Order.DeploymentType deployment_type = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for deploymentType.
-
getDeploymentType
Order.DeploymentType getDeploymentType()Output only. The deployment type of this order.
.google.cloud.gdchardwaremanagement.v1alpha.Order.DeploymentType deployment_type = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The deploymentType.
-
hasActualInstallationDate
boolean hasActualInstallationDate()Output only. Actual installation date for this order.
.google.type.Date actual_installation_date = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the actualInstallationDate field is set.
-
getActualInstallationDate
Date getActualInstallationDate()Output only. Actual installation date for this order.
.google.type.Date actual_installation_date = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The actualInstallationDate.
-
getActualInstallationDateOrBuilder
DateOrBuilder getActualInstallationDateOrBuilder()Output only. Actual installation date for this order.
.google.type.Date actual_installation_date = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasEstimatedInstallationDate
boolean hasEstimatedInstallationDate()Output only. Estimated installation date for this order.
.google.type.Date estimated_installation_date = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the estimatedInstallationDate field is set.
-
getEstimatedInstallationDate
Date getEstimatedInstallationDate()Output only. Estimated installation date for this order.
.google.type.Date estimated_installation_date = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The estimatedInstallationDate.
-
getEstimatedInstallationDateOrBuilder
DateOrBuilder getEstimatedInstallationDateOrBuilder()Output only. Estimated installation date for this order.
.google.type.Date estimated_installation_date = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasEstimatedDeliveryDate
boolean hasEstimatedDeliveryDate()Output only. Estimated delivery date for this order.
.google.type.Date estimated_delivery_date = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the estimatedDeliveryDate field is set.
-
getEstimatedDeliveryDate
Date getEstimatedDeliveryDate()Output only. Estimated delivery date for this order.
.google.type.Date estimated_delivery_date = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The estimatedDeliveryDate.
-
getEstimatedDeliveryDateOrBuilder
DateOrBuilder getEstimatedDeliveryDateOrBuilder()Output only. Estimated delivery date for this order.
.google.type.Date estimated_delivery_date = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMigration
boolean getMigration()Optional. Whether this order is a migration from customer's existing infrastructure.
bool migration = 23 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The migration.
-
hasAcceptedTime
boolean hasAcceptedTime()Output only. The time when the order was moved to ACCEPTED state.
.google.protobuf.Timestamp accepted_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the acceptedTime field is set.
-
getAcceptedTime
com.google.protobuf.Timestamp getAcceptedTime()Output only. The time when the order was moved to ACCEPTED state.
.google.protobuf.Timestamp accepted_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The acceptedTime.
-
getAcceptedTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getAcceptedTimeOrBuilder()Output only. The time when the order was moved to ACCEPTED state.
.google.protobuf.Timestamp accepted_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasRequestedDateChange
boolean hasRequestedDateChange()Output only. The date to which the customer or Google wants to set the scheduled installation date.
.google.type.Date requested_date_change = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the requestedDateChange field is set.
-
getRequestedDateChange
Date getRequestedDateChange()Output only. The date to which the customer or Google wants to set the scheduled installation date.
.google.type.Date requested_date_change = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The requestedDateChange.
-
getRequestedDateChangeOrBuilder
DateOrBuilder getRequestedDateChangeOrBuilder()Output only. The date to which the customer or Google wants to set the scheduled installation date.
.google.type.Date requested_date_change = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getVendorNotes
String getVendorNotes()Output only. Notes for this order, provided by the vendor.
string vendor_notes = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The vendorNotes.
-
getVendorNotesBytes
com.google.protobuf.ByteString getVendorNotesBytes()Output only. Notes for this order, provided by the vendor.
string vendor_notes = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for vendorNotes.
-
hasVendorContact
boolean hasVendorContact()Output only. Contact information of the SI assigned to this order.
.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact vendor_contact = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the vendorContact field is set.
-
getVendorContact
OrganizationContact getVendorContact()Output only. Contact information of the SI assigned to this order.
.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact vendor_contact = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The vendorContact.
-
getVendorContactOrBuilder
OrganizationContactOrBuilder getVendorContactOrBuilder()Output only. Contact information of the SI assigned to this order.
.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact vendor_contact = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
-