public static final class HardwareInstallationInfo.Builder extends GeneratedMessageV3.Builder<HardwareInstallationInfo.Builder> implements HardwareInstallationInfoOrBuilder
Information for installation of a Hardware.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HardwareInstallationInfo.BuilderImplements
HardwareInstallationInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HardwareInstallationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
build()
public HardwareInstallationInfo build()
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo |
buildPartial()
public HardwareInstallationInfo buildPartial()
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo |
clear()
public HardwareInstallationInfo.Builder clear()
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public HardwareInstallationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public HardwareInstallationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
clearPowerDistanceMeters()
public HardwareInstallationInfo.Builder clearPowerDistanceMeters()
Required. Distance from the power outlet in meters.
int32 power_distance_meters = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
This builder for chaining. |
clearRackLocation()
public HardwareInstallationInfo.Builder clearRackLocation()
Required. Location of the rack in the site e.g. Floor 2, Room 201, Row 7, Rack 3.
string rack_location = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
This builder for chaining. |
clearRackSpace()
public HardwareInstallationInfo.Builder clearRackSpace()
Required. Rack space allocated for the hardware.
.google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
clearRackType()
public HardwareInstallationInfo.Builder clearRackType()
Required. Type of the rack.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo.RackType rack_type = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
This builder for chaining. |
clearRackUnitDimensions()
public HardwareInstallationInfo.Builder clearRackUnitDimensions()
Required. Dimensions of the rack unit.
.google.cloud.gdchardwaremanagement.v1alpha.Dimensions rack_unit_dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
clearSwitchDistanceMeters()
public HardwareInstallationInfo.Builder clearSwitchDistanceMeters()
Required. Distance from the network switch in meters.
int32 switch_distance_meters = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
This builder for chaining. |
clone()
public HardwareInstallationInfo.Builder clone()
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
getDefaultInstanceForType()
public HardwareInstallationInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPowerDistanceMeters()
public int getPowerDistanceMeters()
Required. Distance from the power outlet in meters.
int32 power_distance_meters = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The powerDistanceMeters. |
getRackLocation()
public String getRackLocation()
Required. Location of the rack in the site e.g. Floor 2, Room 201, Row 7, Rack 3.
string rack_location = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The rackLocation. |
getRackLocationBytes()
public ByteString getRackLocationBytes()
Required. Location of the rack in the site e.g. Floor 2, Room 201, Row 7, Rack 3.
string rack_location = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for rackLocation. |
getRackSpace()
public RackSpace getRackSpace()
Required. Rack space allocated for the hardware.
.google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RackSpace |
The rackSpace. |
getRackSpaceBuilder()
public RackSpace.Builder getRackSpaceBuilder()
Required. Rack space allocated for the hardware.
.google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RackSpace.Builder |
getRackSpaceOrBuilder()
public RackSpaceOrBuilder getRackSpaceOrBuilder()
Required. Rack space allocated for the hardware.
.google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RackSpaceOrBuilder |
getRackType()
public HardwareInstallationInfo.RackType getRackType()
Required. Type of the rack.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo.RackType rack_type = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.RackType |
The rackType. |
getRackTypeValue()
public int getRackTypeValue()
Required. Type of the rack.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo.RackType rack_type = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for rackType. |
getRackUnitDimensions()
public Dimensions getRackUnitDimensions()
Required. Dimensions of the rack unit.
.google.cloud.gdchardwaremanagement.v1alpha.Dimensions rack_unit_dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Dimensions |
The rackUnitDimensions. |
getRackUnitDimensionsBuilder()
public Dimensions.Builder getRackUnitDimensionsBuilder()
Required. Dimensions of the rack unit.
.google.cloud.gdchardwaremanagement.v1alpha.Dimensions rack_unit_dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Dimensions.Builder |
getRackUnitDimensionsOrBuilder()
public DimensionsOrBuilder getRackUnitDimensionsOrBuilder()
Required. Dimensions of the rack unit.
.google.cloud.gdchardwaremanagement.v1alpha.Dimensions rack_unit_dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DimensionsOrBuilder |
getSwitchDistanceMeters()
public int getSwitchDistanceMeters()
Required. Distance from the network switch in meters.
int32 switch_distance_meters = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The switchDistanceMeters. |
hasRackSpace()
public boolean hasRackSpace()
Required. Rack space allocated for the hardware.
.google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the rackSpace field is set. |
hasRackUnitDimensions()
public boolean hasRackUnitDimensions()
Required. Dimensions of the rack unit.
.google.cloud.gdchardwaremanagement.v1alpha.Dimensions rack_unit_dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the rackUnitDimensions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(HardwareInstallationInfo other)
public HardwareInstallationInfo.Builder mergeFrom(HardwareInstallationInfo other)
Parameter | |
---|---|
Name | Description |
other |
HardwareInstallationInfo |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HardwareInstallationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public HardwareInstallationInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
mergeRackSpace(RackSpace value)
public HardwareInstallationInfo.Builder mergeRackSpace(RackSpace value)
Required. Rack space allocated for the hardware.
.google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
RackSpace |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
mergeRackUnitDimensions(Dimensions value)
public HardwareInstallationInfo.Builder mergeRackUnitDimensions(Dimensions value)
Required. Dimensions of the rack unit.
.google.cloud.gdchardwaremanagement.v1alpha.Dimensions rack_unit_dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Dimensions |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HardwareInstallationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public HardwareInstallationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
setPowerDistanceMeters(int value)
public HardwareInstallationInfo.Builder setPowerDistanceMeters(int value)
Required. Distance from the power outlet in meters.
int32 power_distance_meters = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The powerDistanceMeters to set. |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
This builder for chaining. |
setRackLocation(String value)
public HardwareInstallationInfo.Builder setRackLocation(String value)
Required. Location of the rack in the site e.g. Floor 2, Room 201, Row 7, Rack 3.
string rack_location = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The rackLocation to set. |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
This builder for chaining. |
setRackLocationBytes(ByteString value)
public HardwareInstallationInfo.Builder setRackLocationBytes(ByteString value)
Required. Location of the rack in the site e.g. Floor 2, Room 201, Row 7, Rack 3.
string rack_location = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for rackLocation to set. |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
This builder for chaining. |
setRackSpace(RackSpace value)
public HardwareInstallationInfo.Builder setRackSpace(RackSpace value)
Required. Rack space allocated for the hardware.
.google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
RackSpace |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
setRackSpace(RackSpace.Builder builderForValue)
public HardwareInstallationInfo.Builder setRackSpace(RackSpace.Builder builderForValue)
Required. Rack space allocated for the hardware.
.google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
RackSpace.Builder |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
setRackType(HardwareInstallationInfo.RackType value)
public HardwareInstallationInfo.Builder setRackType(HardwareInstallationInfo.RackType value)
Required. Type of the rack.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo.RackType rack_type = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
HardwareInstallationInfo.RackType The rackType to set. |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
This builder for chaining. |
setRackTypeValue(int value)
public HardwareInstallationInfo.Builder setRackTypeValue(int value)
Required. Type of the rack.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo.RackType rack_type = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for rackType to set. |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
This builder for chaining. |
setRackUnitDimensions(Dimensions value)
public HardwareInstallationInfo.Builder setRackUnitDimensions(Dimensions value)
Required. Dimensions of the rack unit.
.google.cloud.gdchardwaremanagement.v1alpha.Dimensions rack_unit_dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Dimensions |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
setRackUnitDimensions(Dimensions.Builder builderForValue)
public HardwareInstallationInfo.Builder setRackUnitDimensions(Dimensions.Builder builderForValue)
Required. Dimensions of the rack unit.
.google.cloud.gdchardwaremanagement.v1alpha.Dimensions rack_unit_dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
Dimensions.Builder |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HardwareInstallationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
setSwitchDistanceMeters(int value)
public HardwareInstallationInfo.Builder setSwitchDistanceMeters(int value)
Required. Distance from the network switch in meters.
int32 switch_distance_meters = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The switchDistanceMeters to set. |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final HardwareInstallationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HardwareInstallationInfo.Builder |