Class HardwarePhysicalInfo (0.3.0)

public final class HardwarePhysicalInfo extends GeneratedMessageV3 implements HardwarePhysicalInfoOrBuilder

Physical properties of a hardware.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo

Static Fields

AMPERES_FIELD_NUMBER

public static final int AMPERES_FIELD_NUMBER
Field Value
Type Description
int
public static final int NETWORK_UPLINK_FIELD_NUMBER
Field Value
Type Description
int

POWER_RECEPTACLE_FIELD_NUMBER

public static final int POWER_RECEPTACLE_FIELD_NUMBER
Field Value
Type Description
int

VOLTAGE_FIELD_NUMBER

public static final int VOLTAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HardwarePhysicalInfo getDefaultInstance()
Returns
Type Description
HardwarePhysicalInfo

getDescriptor()

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

newBuilder()

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

newBuilder(HardwarePhysicalInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAmperes()

public HardwarePhysicalInfo.Amperes getAmperes()

Required. Amperes of the power supply.

.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.Amperes amperes = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HardwarePhysicalInfo.Amperes

The amperes.

getAmperesValue()

public int getAmperesValue()

Required. Amperes of the power supply.

.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.Amperes amperes = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for amperes.

getDefaultInstanceForType()

public HardwarePhysicalInfo getDefaultInstanceForType()
Returns
Type Description
HardwarePhysicalInfo
public HardwarePhysicalInfo.NetworkUplinkType getNetworkUplink()

Required. Type of the uplink network connection.

.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.NetworkUplinkType network_uplink = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HardwarePhysicalInfo.NetworkUplinkType

The networkUplink.

getNetworkUplinkValue()

public int getNetworkUplinkValue()

Required. Type of the uplink network connection.

.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.NetworkUplinkType network_uplink = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for networkUplink.

getParserForType()

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

getPowerReceptacle()

public HardwarePhysicalInfo.PowerReceptacleType getPowerReceptacle()

Required. The power receptacle type.

.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.PowerReceptacleType power_receptacle = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HardwarePhysicalInfo.PowerReceptacleType

The powerReceptacle.

getPowerReceptacleValue()

public int getPowerReceptacleValue()

Required. The power receptacle type.

.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.PowerReceptacleType power_receptacle = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for powerReceptacle.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVoltage()

public HardwarePhysicalInfo.Voltage getVoltage()

Required. Voltage of the power supply.

.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.Voltage voltage = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HardwarePhysicalInfo.Voltage

The voltage.

getVoltageValue()

public int getVoltageValue()

Required. Voltage of the power supply.

.google.cloud.gdchardwaremanagement.v1alpha.HardwarePhysicalInfo.Voltage voltage = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for voltage.

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 HardwarePhysicalInfo.Builder newBuilderForType()
Returns
Type Description
HardwarePhysicalInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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