Class HardwareInstallationInfo (0.3.0)

public final class HardwareInstallationInfo extends GeneratedMessageV3 implements HardwareInstallationInfoOrBuilder

Information for installation of a Hardware.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo

Static Fields

POWER_DISTANCE_METERS_FIELD_NUMBER

public static final int POWER_DISTANCE_METERS_FIELD_NUMBER
Field Value
Type Description
int

RACK_LOCATION_FIELD_NUMBER

public static final int RACK_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

RACK_SPACE_FIELD_NUMBER

public static final int RACK_SPACE_FIELD_NUMBER
Field Value
Type Description
int

RACK_TYPE_FIELD_NUMBER

public static final int RACK_TYPE_FIELD_NUMBER
Field Value
Type Description
int

RACK_UNIT_DIMENSIONS_FIELD_NUMBER

public static final int RACK_UNIT_DIMENSIONS_FIELD_NUMBER
Field Value
Type Description
int

SWITCH_DISTANCE_METERS_FIELD_NUMBER

public static final int SWITCH_DISTANCE_METERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HardwareInstallationInfo getDefaultInstance()
Returns
Type Description
HardwareInstallationInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static HardwareInstallationInfo.Builder newBuilder()
Returns
Type Description
HardwareInstallationInfo.Builder

newBuilder(HardwareInstallationInfo prototype)

public static HardwareInstallationInfo.Builder newBuilder(HardwareInstallationInfo prototype)
Parameter
Name Description
prototype HardwareInstallationInfo
Returns
Type Description
HardwareInstallationInfo.Builder

parseDelimitedFrom(InputStream input)

public static HardwareInstallationInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HardwareInstallationInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HardwareInstallationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HardwareInstallationInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HardwareInstallationInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HardwareInstallationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HardwareInstallationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HardwareInstallationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HardwareInstallationInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HardwareInstallationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HardwareInstallationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HardwareInstallationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HardwareInstallationInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HardwareInstallationInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HardwareInstallationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HardwareInstallationInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HardwareInstallationInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HardwareInstallationInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HardwareInstallationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HardwareInstallationInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HardwareInstallationInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HardwareInstallationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HardwareInstallationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HardwareInstallationInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HardwareInstallationInfo> parser()
Returns
Type Description
Parser<HardwareInstallationInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public HardwareInstallationInfo getDefaultInstanceForType()
Returns
Type Description
HardwareInstallationInfo

getParserForType()

public Parser<HardwareInstallationInfo> getParserForType()
Returns
Type Description
Parser<HardwareInstallationInfo>
Overrides

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()

Optional. 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) = OPTIONAL];

Returns
Type Description
String

The rackLocation.

getRackLocationBytes()

public ByteString getRackLocationBytes()

Optional. 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) = OPTIONAL];

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.

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HardwareInstallationInfo.Builder newBuilderForType()
Returns
Type Description
HardwareInstallationInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HardwareInstallationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HardwareInstallationInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HardwareInstallationInfo.Builder toBuilder()
Returns
Type Description
HardwareInstallationInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException