Interface HardwareOrBuilder (0.6.0)

public interface HardwareOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Optional. Labels associated with this hardware as key value pairs. For more information about labels, see Create and manage labels.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getActualInstallationDate()

public abstract 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
Type Description
com.google.type.Date

The actualInstallationDate.

getActualInstallationDateOrBuilder()

public abstract 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];

Returns
Type Description
com.google.type.DateOrBuilder

getCiqUri()

public abstract 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
Type Description
String

The ciqUri.

getCiqUriBytes()

public abstract 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
Type Description
ByteString

The bytes for ciqUri.

getConfig()

public abstract HardwareConfig getConfig()

Required. Configuration for this hardware.

.google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HardwareConfig

The config.

getConfigOrBuilder()

public abstract HardwareConfigOrBuilder getConfigOrBuilder()

Required. Configuration for this hardware.

.google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HardwareConfigOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Time when this hardware was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when this hardware was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDisplayName()

public abstract String getDisplayName()

Optional. Display name for this hardware.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Optional. Display name for this hardware.

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

Returns
Type Description
ByteString

The bytes for displayName.

getEstimatedInstallationDate()

public abstract Date getEstimatedInstallationDate()

Output only. Estimated installation date for this hardware.

.google.type.Date estimated_installation_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Date

The estimatedInstallationDate.

getEstimatedInstallationDateOrBuilder()

public abstract DateOrBuilder getEstimatedInstallationDateOrBuilder()

Output only. Estimated installation date for this hardware.

.google.type.Date estimated_installation_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.DateOrBuilder

getHardwareGroup()

public abstract 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
Type Description
String

The hardwareGroup.

getHardwareGroupBytes()

public abstract 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
Type Description
ByteString

The bytes for hardwareGroup.

getInstallationInfo()

public abstract HardwareInstallationInfo getInstallationInfo()

Optional. Information for installation of this hardware.

.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo installation_info = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HardwareInstallationInfo

The installationInfo.

getInstallationInfoOrBuilder()

public abstract HardwareInstallationInfoOrBuilder getInstallationInfoOrBuilder()

Optional. Information for installation of this hardware.

.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo installation_info = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HardwareInstallationInfoOrBuilder

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. Labels associated with this hardware as key value pairs. For more information about labels, see Create and manage labels.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Optional. Labels associated with this hardware as key value pairs. For more information about labels, see Create and manage labels.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels associated with this hardware as key value pairs. For more information about labels, see Create and manage labels.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Optional. Labels associated with this hardware as key value pairs. For more information about labels, see Create and manage labels.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Identifier. Name of this hardware. Format: projects/{project}/locations/{location}/hardware/{hardware}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Name of this hardware. Format: projects/{project}/locations/{location}/hardware/{hardware}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getOrder()

public abstract 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
Type Description
String

The order.

getOrderBytes()

public abstract 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
Type Description
ByteString

The bytes for order.

getPhysicalInfo()

public abstract HardwarePhysicalInfo getPhysicalInfo()

Optional. Physical properties of this hardware.

.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo physical_info = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HardwarePhysicalInfo

The physicalInfo.

getPhysicalInfoOrBuilder()

public abstract HardwarePhysicalInfoOrBuilder getPhysicalInfoOrBuilder()

Optional. Physical properties of this hardware.

.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo physical_info = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HardwarePhysicalInfoOrBuilder

getRequestedInstallationDate()

public abstract Date getRequestedInstallationDate()

Optional. Requested installation date for this hardware. This is auto-populated when the order is accepted, if the hardware's HardwareGroup specifies this. It can also be filled in by the customer.

.google.type.Date requested_installation_date = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Date

The requestedInstallationDate.

getRequestedInstallationDateOrBuilder()

public abstract DateOrBuilder getRequestedInstallationDateOrBuilder()

Optional. Requested installation date for this hardware. This is auto-populated when the order is accepted, if the hardware's HardwareGroup specifies this. It can also be filled in by the customer.

.google.type.Date requested_installation_date = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.DateOrBuilder

getSite()

public abstract 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
Type Description
String

The site.

getSiteBytes()

public abstract 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
Type Description
ByteString

The bytes for site.

getState()

public abstract 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
Type Description
Hardware.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. Current state for this hardware.

.google.cloud.gdchardwaremanagement.v1alpha.Hardware.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Time when this hardware was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when this hardware was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getZone()

public abstract 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
Type Description
String

The zone.

getZoneBytes()

public abstract 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
Type Description
ByteString

The bytes for zone.

hasActualInstallationDate()

public abstract 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
Type Description
boolean

Whether the actualInstallationDate field is set.

hasConfig()

public abstract boolean hasConfig()

Required. Configuration for this hardware.

.google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the config field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Time when this hardware was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasEstimatedInstallationDate()

public abstract boolean hasEstimatedInstallationDate()

Output only. Estimated installation date for this hardware.

.google.type.Date estimated_installation_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the estimatedInstallationDate field is set.

hasInstallationInfo()

public abstract boolean hasInstallationInfo()

Optional. Information for installation of this hardware.

.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo installation_info = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the installationInfo field is set.

hasPhysicalInfo()

public abstract boolean hasPhysicalInfo()

Optional. Physical properties of this hardware.

.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo physical_info = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the physicalInfo field is set.

hasRequestedInstallationDate()

public abstract boolean hasRequestedInstallationDate()

Optional. Requested installation date for this hardware. This is auto-populated when the order is accepted, if the hardware's HardwareGroup specifies this. It can also be filled in by the customer.

.google.type.Date requested_installation_date = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the requestedInstallationDate field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Time when this hardware was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.