Class Hardware.MachineInfo (0.8.0)

public static final class Hardware.MachineInfo extends GeneratedMessageV3 implements Hardware.MachineInfoOrBuilder

Information about individual machines vendors will provide during turnup.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.Hardware.MachineInfo

Static Fields

DISK_INFOS_FIELD_NUMBER

public static final int DISK_INFOS_FIELD_NUMBER
Field Value
Type Description
int

MAC_ADDRESSES_FIELD_NUMBER

public static final int MAC_ADDRESSES_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_TAG_FIELD_NUMBER

public static final int SERVICE_TAG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Hardware.MachineInfo getDefaultInstance()
Returns
Type Description
Hardware.MachineInfo

getDescriptor()

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

newBuilder()

public static Hardware.MachineInfo.Builder newBuilder()
Returns
Type Description
Hardware.MachineInfo.Builder

newBuilder(Hardware.MachineInfo prototype)

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

parseDelimitedFrom(InputStream input)

public static Hardware.MachineInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Hardware.MachineInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Hardware.MachineInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Hardware.MachineInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Hardware.MachineInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Hardware.MachineInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Hardware.MachineInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Hardware.MachineInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Hardware.MachineInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Hardware.MachineInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Hardware.MachineInfo> parser()
Returns
Type Description
Parser<MachineInfo>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Hardware.MachineInfo getDefaultInstanceForType()
Returns
Type Description
Hardware.MachineInfo

getDiskInfos(int index)

public Hardware.DiskInfo getDiskInfos(int index)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Hardware.DiskInfo

getDiskInfosCount()

public int getDiskInfosCount()

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDiskInfosList()

public List<Hardware.DiskInfo> getDiskInfosList()

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DiskInfo>

getDiskInfosOrBuilder(int index)

public Hardware.DiskInfoOrBuilder getDiskInfosOrBuilder(int index)

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Hardware.DiskInfoOrBuilder

getDiskInfosOrBuilderList()

public List<? extends Hardware.DiskInfoOrBuilder> getDiskInfosOrBuilderList()

Output only. Information for each disk installed.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfo disk_infos = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.Hardware.DiskInfoOrBuilder>

getMacAddresses(int index)

public Hardware.MacAddress getMacAddresses(int index)

Output only. Each associated MAC address.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Hardware.MacAddress

getMacAddressesCount()

public int getMacAddressesCount()

Output only. Each associated MAC address.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getMacAddressesList()

public List<Hardware.MacAddress> getMacAddressesList()

Output only. Each associated MAC address.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<MacAddress>

getMacAddressesOrBuilder(int index)

public Hardware.MacAddressOrBuilder getMacAddressesOrBuilder(int index)

Output only. Each associated MAC address.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Hardware.MacAddressOrBuilder

getMacAddressesOrBuilderList()

public List<? extends Hardware.MacAddressOrBuilder> getMacAddressesOrBuilderList()

Output only. Each associated MAC address.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddress mac_addresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.Hardware.MacAddressOrBuilder>

getName()

public String getName()

Output only. Machine name.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Machine name.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<Hardware.MachineInfo> getParserForType()
Returns
Type Description
Parser<MachineInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceTag()

public String getServiceTag()

Output only. Machine service tag.

string service_tag = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceTag.

getServiceTagBytes()

public ByteString getServiceTagBytes()

Output only. Machine service tag.

string service_tag = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceTag.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Hardware.MachineInfo.Builder toBuilder()
Returns
Type Description
Hardware.MachineInfo.Builder

writeTo(CodedOutputStream output)

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