public final class HardwareInstallationInfo extends GeneratedMessageV3 implements HardwareInstallationInfoOrBuilder
Information for installation of a Hardware.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static HardwareInstallationInfo.Builder newBuilder()
newBuilder(HardwareInstallationInfo prototype)
public static HardwareInstallationInfo.Builder newBuilder(HardwareInstallationInfo prototype)
public static HardwareInstallationInfo parseDelimitedFrom(InputStream input)
public static HardwareInstallationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static HardwareInstallationInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HardwareInstallationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static HardwareInstallationInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HardwareInstallationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HardwareInstallationInfo parseFrom(CodedInputStream input)
public static HardwareInstallationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HardwareInstallationInfo parseFrom(InputStream input)
public static HardwareInstallationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static HardwareInstallationInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HardwareInstallationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<HardwareInstallationInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public HardwareInstallationInfo getDefaultInstanceForType()
getParserForType()
public Parser<HardwareInstallationInfo> getParserForType()
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()
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.
|
getRackSpaceOrBuilder()
public RackSpaceOrBuilder getRackSpaceOrBuilder()
Required. Rack space allocated for the hardware.
.google.cloud.gdchardwaremanagement.v1alpha.RackSpace rack_space = 5 [(.google.api.field_behavior) = REQUIRED];
getRackType()
public HardwareInstallationInfo.RackType getRackType()
Required. Type of the rack.
.google.cloud.gdchardwaremanagement.v1alpha.HardwareInstallationInfo.RackType rack_type = 6 [(.google.api.field_behavior) = REQUIRED];
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];
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public HardwareInstallationInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HardwareInstallationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public HardwareInstallationInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides