Interface HardwareOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Hardware,Hardware.Builder
@Generated
public interface HardwareOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.Output only.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Optional.Optional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getMachineInfos(int index) Output only.intOutput only.Output only.getMachineInfosOrBuilder(int index) Output only.List<? extends Hardware.MachineInfoOrBuilder>Output only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.getOrder()Required.com.google.protobuf.ByteStringRequired.Optional.Optional.Optional.Optional.getSite()Required.com.google.protobuf.ByteStringRequired.getState()Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getZone()Required.com.google.protobuf.ByteStringRequired.booleanOutput only.booleanRequired.booleanOutput only.booleanOutput only.booleanOutput only.booleanOptional.booleanOptional.booleanOptional.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 hardware. Format: `projects/{project}/locations/{location}/hardware/{hardware}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. Name of this hardware. Format: `projects/{project}/locations/{location}/hardware/{hardware}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()Optional. Display name for this hardware.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Optional. Display name for this hardware.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for displayName.
-
hasCreateTime
boolean hasCreateTime()Output only. Time when this hardware was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Time when this hardware was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time when this hardware was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Time when this hardware was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Time when this hardware was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time when this hardware was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Optional. Labels associated with this hardware 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 = 5 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. Labels associated with this hardware 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 = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. Labels associated with this hardware 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 = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. Labels associated with this hardware 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 = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. Labels associated with this hardware 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 = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getOrder
String getOrder()Required. Name of the order that this hardware belongs to. Format: `projects/{project}/locations/{location}/orders/{order}`string order = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The order.
-
getOrderBytes
com.google.protobuf.ByteString getOrderBytes()Required. Name of the order that this hardware belongs to. Format: `projects/{project}/locations/{location}/orders/{order}`string order = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for order.
-
getHardwareGroup
String getHardwareGroup()Output only. Name for the hardware group that this hardware belongs to. Format: `projects/{project}/locations/{location}/orders/{order}/hardwareGroups/{hardware_group}`string hardware_group = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The hardwareGroup.
-
getHardwareGroupBytes
com.google.protobuf.ByteString getHardwareGroupBytes()Output only. Name for the hardware group that this hardware belongs to. Format: `projects/{project}/locations/{location}/orders/{order}/hardwareGroups/{hardware_group}`string hardware_group = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for hardwareGroup.
-
getSite
String getSite()Required. Name for the site that this hardware belongs to. Format: `projects/{project}/locations/{location}/sites/{site}`string site = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The site.
-
getSiteBytes
com.google.protobuf.ByteString getSiteBytes()Required. Name for the site that this hardware belongs to. Format: `projects/{project}/locations/{location}/sites/{site}`string site = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for site.
-
getStateValue
int getStateValue()Output only. Current state for this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.Hardware.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
Hardware.State getState()Output only. Current state for this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.Hardware.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getCiqUri
String getCiqUri()Output only. Link to the Customer Intake Questionnaire (CIQ) sheet for this Hardware.
string ciq_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The ciqUri.
-
getCiqUriBytes
com.google.protobuf.ByteString getCiqUriBytes()Output only. Link to the Customer Intake Questionnaire (CIQ) sheet for this Hardware.
string ciq_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for ciqUri.
-
hasConfig
boolean hasConfig()Required. Configuration for this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 11 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the config field is set.
-
getConfig
HardwareConfig getConfig()Required. Configuration for this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 11 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The config.
-
getConfigOrBuilder
HardwareConfigOrBuilder getConfigOrBuilder()Required. Configuration for this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 11 [(.google.api.field_behavior) = REQUIRED]; -
hasEstimatedInstallationDate
boolean hasEstimatedInstallationDate()Output only. Estimated installation date for this hardware.
.google.type.Date estimated_installation_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the estimatedInstallationDate field is set.
-
getEstimatedInstallationDate
Date getEstimatedInstallationDate()Output only. Estimated installation date for this hardware.
.google.type.Date estimated_installation_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The estimatedInstallationDate.
-
getEstimatedInstallationDateOrBuilder
DateOrBuilder getEstimatedInstallationDateOrBuilder()Output only. Estimated installation date for this hardware.
.google.type.Date estimated_installation_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasPhysicalInfo
boolean hasPhysicalInfo()Optional. Physical properties of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo physical_info = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the physicalInfo field is set.
-
getPhysicalInfo
HardwarePhysicalInfo getPhysicalInfo()Optional. Physical properties of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo physical_info = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The physicalInfo.
-
getPhysicalInfoOrBuilder
HardwarePhysicalInfoOrBuilder getPhysicalInfoOrBuilder()Optional. Physical properties of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo physical_info = 13 [(.google.api.field_behavior) = OPTIONAL]; -
hasInstallationInfo
boolean hasInstallationInfo()Optional. Information for installation of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo installation_info = 14 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the installationInfo field is set.
-
getInstallationInfo
HardwareInstallationInfo getInstallationInfo()Optional. Information for installation of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo installation_info = 14 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The installationInfo.
-
getInstallationInfoOrBuilder
HardwareInstallationInfoOrBuilder getInstallationInfoOrBuilder()Optional. Information for installation of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo installation_info = 14 [(.google.api.field_behavior) = OPTIONAL]; -
getZone
String getZone()Required. Name for the zone that this hardware belongs to. Format: `projects/{project}/locations/{location}/zones/{zone}`string zone = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()Required. Name for the zone that this hardware belongs to. Format: `projects/{project}/locations/{location}/zones/{zone}`string zone = 15 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for zone.
-
hasRequestedInstallationDate
boolean hasRequestedInstallationDate()Optional. Requested installation date for this hardware. If not specified, this is auto-populated from the order's fulfillment_time upon submission or from the HardwareGroup's requested_installation_date upon order acceptance.
.google.type.Date requested_installation_date = 16 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the requestedInstallationDate field is set.
-
getRequestedInstallationDate
Date getRequestedInstallationDate()Optional. Requested installation date for this hardware. If not specified, this is auto-populated from the order's fulfillment_time upon submission or from the HardwareGroup's requested_installation_date upon order acceptance.
.google.type.Date requested_installation_date = 16 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The requestedInstallationDate.
-
getRequestedInstallationDateOrBuilder
DateOrBuilder getRequestedInstallationDateOrBuilder()Optional. Requested installation date for this hardware. If not specified, this is auto-populated from the order's fulfillment_time upon submission or from the HardwareGroup's requested_installation_date upon order acceptance.
.google.type.Date requested_installation_date = 16 [(.google.api.field_behavior) = OPTIONAL]; -
hasActualInstallationDate
boolean hasActualInstallationDate()Output only. Actual installation date for this hardware. Filled in by Google.
.google.type.Date actual_installation_date = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the actualInstallationDate field is set.
-
getActualInstallationDate
Date getActualInstallationDate()Output only. Actual installation date for this hardware. Filled in by Google.
.google.type.Date actual_installation_date = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The actualInstallationDate.
-
getActualInstallationDateOrBuilder
DateOrBuilder getActualInstallationDateOrBuilder()Output only. Actual installation date for this hardware. Filled in by Google.
.google.type.Date actual_installation_date = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMachineInfosList
List<Hardware.MachineInfo> getMachineInfosList()Output only. Per machine asset information needed for turnup.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MachineInfo machine_infos = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMachineInfos
Output only. Per machine asset information needed for turnup.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MachineInfo machine_infos = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMachineInfosCount
int getMachineInfosCount()Output only. Per machine asset information needed for turnup.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MachineInfo machine_infos = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMachineInfosOrBuilderList
List<? extends Hardware.MachineInfoOrBuilder> getMachineInfosOrBuilderList()Output only. Per machine asset information needed for turnup.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MachineInfo machine_infos = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMachineInfosOrBuilder
Output only. Per machine asset information needed for turnup.
repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MachineInfo machine_infos = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasEstimatedDeliveryDate
boolean hasEstimatedDeliveryDate()Output only. The estimated delivery date of the hardware.
.google.type.Date estimated_delivery_date = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the estimatedDeliveryDate field is set.
-
getEstimatedDeliveryDate
Date getEstimatedDeliveryDate()Output only. The estimated delivery date of the hardware.
.google.type.Date estimated_delivery_date = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The estimatedDeliveryDate.
-
getEstimatedDeliveryDateOrBuilder
DateOrBuilder getEstimatedDeliveryDateOrBuilder()Output only. The estimated delivery date of the hardware.
.google.type.Date estimated_delivery_date = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-