public static final class Hardware.Builder extends GeneratedMessageV3.Builder<Hardware.Builder> implements HardwareOrBuilder
An instance of hardware installed at a site.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.Hardware
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Hardware.BuilderImplements
HardwareOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Hardware.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
build()
public Hardware build()
Returns | |
---|---|
Type | Description |
Hardware |
buildPartial()
public Hardware buildPartial()
Returns | |
---|---|
Type | Description |
Hardware |
clear()
public Hardware.Builder clear()
Returns | |
---|---|
Type | Description |
Hardware.Builder |
clearActualInstallationDate()
public Hardware.Builder clearActualInstallationDate()
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 |
Hardware.Builder |
clearCiqUri()
public Hardware.Builder clearCiqUri()
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 |
Hardware.Builder |
This builder for chaining. |
clearConfig()
public Hardware.Builder clearConfig()
Required. Configuration for this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 11 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Hardware.Builder |
clearCreateTime()
public Hardware.Builder clearCreateTime()
Output only. Time when this hardware was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Hardware.Builder |
clearDisplayName()
public Hardware.Builder clearDisplayName()
Optional. Display name for this hardware.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
clearEstimatedInstallationDate()
public Hardware.Builder clearEstimatedInstallationDate()
Output only. Estimated installation date for this hardware.
.google.type.Date estimated_installation_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Hardware.Builder |
clearField(Descriptors.FieldDescriptor field)
public Hardware.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
clearHardwareGroup()
public Hardware.Builder clearHardwareGroup()
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 |
Hardware.Builder |
This builder for chaining. |
clearInstallationInfo()
public Hardware.Builder clearInstallationInfo()
Optional. Information for installation of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo installation_info = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Hardware.Builder |
clearLabels()
public Hardware.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Hardware.Builder |
clearName()
public Hardware.Builder clearName()
Identifier. Name of this hardware.
Format: projects/{project}/locations/{location}/hardware/{hardware}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Hardware.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
clearOrder()
public Hardware.Builder clearOrder()
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 |
Hardware.Builder |
This builder for chaining. |
clearPhysicalInfo()
public Hardware.Builder clearPhysicalInfo()
Optional. Physical properties of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo physical_info = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Hardware.Builder |
clearRequestedInstallationDate()
public Hardware.Builder clearRequestedInstallationDate()
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 |
Hardware.Builder |
clearSite()
public Hardware.Builder clearSite()
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 |
Hardware.Builder |
This builder for chaining. |
clearState()
public Hardware.Builder clearState()
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.Builder |
This builder for chaining. |
clearUpdateTime()
public Hardware.Builder clearUpdateTime()
Output only. Time when this hardware was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Hardware.Builder |
clearZone()
public Hardware.Builder clearZone()
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 |
Hardware.Builder |
This builder for chaining. |
clone()
public Hardware.Builder clone()
Returns | |
---|---|
Type | Description |
Hardware.Builder |
containsLabels(String key)
public 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 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. |
getActualInstallationDateBuilder()
public Date.Builder getActualInstallationDateBuilder()
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.Builder |
getActualInstallationDateOrBuilder()
public 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 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 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 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. |
getConfigBuilder()
public HardwareConfig.Builder getConfigBuilder()
Required. Configuration for this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 11 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
HardwareConfig.Builder |
getConfigOrBuilder()
public 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 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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time when this hardware was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public 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 |
getDefaultInstanceForType()
public Hardware getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Hardware |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public 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 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 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. |
getEstimatedInstallationDateBuilder()
public Date.Builder getEstimatedInstallationDateBuilder()
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.Builder |
getEstimatedInstallationDateOrBuilder()
public 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 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 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 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. |
getInstallationInfoBuilder()
public HardwareInstallationInfo.Builder getInstallationInfoBuilder()
Optional. Information for installation of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo installation_info = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
getInstallationInfoOrBuilder()
public 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 Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public 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 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 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 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 |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public 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 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 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 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 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. |
getPhysicalInfoBuilder()
public HardwarePhysicalInfo.Builder getPhysicalInfoBuilder()
Optional. Physical properties of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo physical_info = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
HardwarePhysicalInfo.Builder |
getPhysicalInfoOrBuilder()
public 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 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. |
getRequestedInstallationDateBuilder()
public Date.Builder getRequestedInstallationDateBuilder()
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.Builder |
getRequestedInstallationDateOrBuilder()
public 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 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 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 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 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 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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Time when this hardware was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public 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 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 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 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 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeActualInstallationDate(Date value)
public Hardware.Builder mergeActualInstallationDate(Date value)
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];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
mergeConfig(HardwareConfig value)
public Hardware.Builder mergeConfig(HardwareConfig value)
Required. Configuration for this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 11 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
HardwareConfig |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
mergeCreateTime(Timestamp value)
public Hardware.Builder mergeCreateTime(Timestamp value)
Output only. Time when this hardware was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
mergeEstimatedInstallationDate(Date value)
public Hardware.Builder mergeEstimatedInstallationDate(Date value)
Output only. Estimated installation date for this hardware.
.google.type.Date estimated_installation_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
mergeFrom(Hardware other)
public Hardware.Builder mergeFrom(Hardware other)
Parameter | |
---|---|
Name | Description |
other |
Hardware |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Hardware.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Hardware.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
mergeInstallationInfo(HardwareInstallationInfo value)
public Hardware.Builder mergeInstallationInfo(HardwareInstallationInfo value)
Optional. Information for installation of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo installation_info = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
HardwareInstallationInfo |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
mergePhysicalInfo(HardwarePhysicalInfo value)
public Hardware.Builder mergePhysicalInfo(HardwarePhysicalInfo value)
Optional. Physical properties of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo physical_info = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
HardwarePhysicalInfo |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
mergeRequestedInstallationDate(Date value)
public Hardware.Builder mergeRequestedInstallationDate(Date value)
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];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Hardware.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
mergeUpdateTime(Timestamp value)
public Hardware.Builder mergeUpdateTime(Timestamp value)
Output only. Time when this hardware was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
putAllLabels(Map<String,String> values)
public Hardware.Builder putAllLabels(Map<String,String> values)
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 |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
putLabels(String key, String value)
public Hardware.Builder putLabels(String key, String value)
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 |
value |
String |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
removeLabels(String key)
public Hardware.Builder removeLabels(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 |
Hardware.Builder |
setActualInstallationDate(Date value)
public Hardware.Builder setActualInstallationDate(Date value)
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];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setActualInstallationDate(Date.Builder builderForValue)
public Hardware.Builder setActualInstallationDate(Date.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setCiqUri(String value)
public Hardware.Builder setCiqUri(String value)
Output only. Link to the Customer Intake Questionnaire (CIQ) sheet for this Hardware.
string ciq_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The ciqUri to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setCiqUriBytes(ByteString value)
public Hardware.Builder setCiqUriBytes(ByteString value)
Output only. Link to the Customer Intake Questionnaire (CIQ) sheet for this Hardware.
string ciq_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for ciqUri to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setConfig(HardwareConfig value)
public Hardware.Builder setConfig(HardwareConfig value)
Required. Configuration for this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 11 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
HardwareConfig |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setConfig(HardwareConfig.Builder builderForValue)
public Hardware.Builder setConfig(HardwareConfig.Builder builderForValue)
Required. Configuration for this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareConfig config = 11 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
HardwareConfig.Builder |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setCreateTime(Timestamp value)
public Hardware.Builder setCreateTime(Timestamp value)
Output only. Time when this hardware was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Hardware.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time when this hardware was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setDisplayName(String value)
public Hardware.Builder setDisplayName(String value)
Optional. Display name for this hardware.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Hardware.Builder setDisplayNameBytes(ByteString value)
Optional. Display name for this hardware.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setEstimatedInstallationDate(Date value)
public Hardware.Builder setEstimatedInstallationDate(Date value)
Output only. Estimated installation date for this hardware.
.google.type.Date estimated_installation_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setEstimatedInstallationDate(Date.Builder builderForValue)
public Hardware.Builder setEstimatedInstallationDate(Date.Builder builderForValue)
Output only. Estimated installation date for this hardware.
.google.type.Date estimated_installation_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Hardware.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setHardwareGroup(String value)
public Hardware.Builder setHardwareGroup(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The hardwareGroup to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setHardwareGroupBytes(ByteString value)
public Hardware.Builder setHardwareGroupBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for hardwareGroup to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setInstallationInfo(HardwareInstallationInfo value)
public Hardware.Builder setInstallationInfo(HardwareInstallationInfo value)
Optional. Information for installation of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo installation_info = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
HardwareInstallationInfo |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setInstallationInfo(HardwareInstallationInfo.Builder builderForValue)
public Hardware.Builder setInstallationInfo(HardwareInstallationInfo.Builder builderForValue)
Optional. Information for installation of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo installation_info = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
HardwareInstallationInfo.Builder |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setName(String value)
public Hardware.Builder setName(String value)
Identifier. Name of this hardware.
Format: projects/{project}/locations/{location}/hardware/{hardware}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Hardware.Builder setNameBytes(ByteString value)
Identifier. Name of this hardware.
Format: projects/{project}/locations/{location}/hardware/{hardware}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setOrder(String value)
public Hardware.Builder setOrder(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The order to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setOrderBytes(ByteString value)
public Hardware.Builder setOrderBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for order to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setPhysicalInfo(HardwarePhysicalInfo value)
public Hardware.Builder setPhysicalInfo(HardwarePhysicalInfo value)
Optional. Physical properties of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo physical_info = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
HardwarePhysicalInfo |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setPhysicalInfo(HardwarePhysicalInfo.Builder builderForValue)
public Hardware.Builder setPhysicalInfo(HardwarePhysicalInfo.Builder builderForValue)
Optional. Physical properties of this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo physical_info = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
HardwarePhysicalInfo.Builder |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Hardware.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setRequestedInstallationDate(Date value)
public Hardware.Builder setRequestedInstallationDate(Date value)
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];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setRequestedInstallationDate(Date.Builder builderForValue)
public Hardware.Builder setRequestedInstallationDate(Date.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setSite(String value)
public Hardware.Builder setSite(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The site to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setSiteBytes(ByteString value)
public Hardware.Builder setSiteBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for site to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setState(Hardware.State value)
public Hardware.Builder setState(Hardware.State value)
Output only. Current state for this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.Hardware.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Hardware.State The state to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setStateValue(int value)
public Hardware.Builder setStateValue(int value)
Output only. Current state for this hardware.
.google.cloud.gdchardwaremanagement.v1alpha.Hardware.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Hardware.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setUpdateTime(Timestamp value)
public Hardware.Builder setUpdateTime(Timestamp value)
Output only. Time when this hardware was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Hardware.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Time when this hardware was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
setZone(String value)
public Hardware.Builder setZone(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The zone to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public Hardware.Builder setZoneBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for zone to set. |
Returns | |
---|---|
Type | Description |
Hardware.Builder |
This builder for chaining. |