Class MachineArchitectureDetails (0.21.0)

public final class MachineArchitectureDetails extends GeneratedMessageV3 implements MachineArchitectureDetailsOrBuilder

Details of the machine architecture.

Protobuf type google.cloud.migrationcenter.v1.MachineArchitectureDetails

Static Fields

BIOS_FIELD_NUMBER

public static final int BIOS_FIELD_NUMBER
Field Value
TypeDescription
int

CPU_ARCHITECTURE_FIELD_NUMBER

public static final int CPU_ARCHITECTURE_FIELD_NUMBER
Field Value
TypeDescription
int

CPU_NAME_FIELD_NUMBER

public static final int CPU_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

CPU_SOCKET_COUNT_FIELD_NUMBER

public static final int CPU_SOCKET_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

CPU_THREAD_COUNT_FIELD_NUMBER

public static final int CPU_THREAD_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

FIRMWARE_TYPE_FIELD_NUMBER

public static final int FIRMWARE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

HYPERTHREADING_FIELD_NUMBER

public static final int HYPERTHREADING_FIELD_NUMBER
Field Value
TypeDescription
int

VENDOR_FIELD_NUMBER

public static final int VENDOR_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MachineArchitectureDetails getDefaultInstance()
Returns
TypeDescription
MachineArchitectureDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MachineArchitectureDetails.Builder newBuilder()
Returns
TypeDescription
MachineArchitectureDetails.Builder

newBuilder(MachineArchitectureDetails prototype)

public static MachineArchitectureDetails.Builder newBuilder(MachineArchitectureDetails prototype)
Parameter
NameDescription
prototypeMachineArchitectureDetails
Returns
TypeDescription
MachineArchitectureDetails.Builder

parseDelimitedFrom(InputStream input)

public static MachineArchitectureDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MachineArchitectureDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MachineArchitectureDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MachineArchitectureDetails
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MachineArchitectureDetails parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MachineArchitectureDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MachineArchitectureDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MachineArchitectureDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MachineArchitectureDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MachineArchitectureDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MachineArchitectureDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MachineArchitectureDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MachineArchitectureDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MachineArchitectureDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MachineArchitectureDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MachineArchitectureDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MachineArchitectureDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MachineArchitectureDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MachineArchitectureDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MachineArchitectureDetails
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MachineArchitectureDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MachineArchitectureDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MachineArchitectureDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MachineArchitectureDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MachineArchitectureDetails> parser()
Returns
TypeDescription
Parser<MachineArchitectureDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBios()

public BiosDetails getBios()

BIOS Details.

.google.cloud.migrationcenter.v1.BiosDetails bios = 6;

Returns
TypeDescription
BiosDetails

The bios.

getBiosOrBuilder()

public BiosDetailsOrBuilder getBiosOrBuilder()

BIOS Details.

.google.cloud.migrationcenter.v1.BiosDetails bios = 6;

Returns
TypeDescription
BiosDetailsOrBuilder

getCpuArchitecture()

public String getCpuArchitecture()

CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.

string cpu_architecture = 1;

Returns
TypeDescription
String

The cpuArchitecture.

getCpuArchitectureBytes()

public ByteString getCpuArchitectureBytes()

CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.

string cpu_architecture = 1;

Returns
TypeDescription
ByteString

The bytes for cpuArchitecture.

getCpuName()

public String getCpuName()

CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.

string cpu_name = 2;

Returns
TypeDescription
String

The cpuName.

getCpuNameBytes()

public ByteString getCpuNameBytes()

CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.

string cpu_name = 2;

Returns
TypeDescription
ByteString

The bytes for cpuName.

getCpuSocketCount()

public int getCpuSocketCount()

Number of processor sockets allocated to the machine.

int32 cpu_socket_count = 5;

Returns
TypeDescription
int

The cpuSocketCount.

getCpuThreadCount()

public int getCpuThreadCount()

Number of CPU threads allocated to the machine.

int32 cpu_thread_count = 4;

Returns
TypeDescription
int

The cpuThreadCount.

getDefaultInstanceForType()

public MachineArchitectureDetails getDefaultInstanceForType()
Returns
TypeDescription
MachineArchitectureDetails

getFirmwareType()

public MachineArchitectureDetails.FirmwareType getFirmwareType()

Firmware type.

.google.cloud.migrationcenter.v1.MachineArchitectureDetails.FirmwareType firmware_type = 7;

Returns
TypeDescription
MachineArchitectureDetails.FirmwareType

The firmwareType.

getFirmwareTypeValue()

public int getFirmwareTypeValue()

Firmware type.

.google.cloud.migrationcenter.v1.MachineArchitectureDetails.FirmwareType firmware_type = 7;

Returns
TypeDescription
int

The enum numeric value on the wire for firmwareType.

getHyperthreading()

public MachineArchitectureDetails.CpuHyperThreading getHyperthreading()

CPU hyper-threading support.

.google.cloud.migrationcenter.v1.MachineArchitectureDetails.CpuHyperThreading hyperthreading = 8;

Returns
TypeDescription
MachineArchitectureDetails.CpuHyperThreading

The hyperthreading.

getHyperthreadingValue()

public int getHyperthreadingValue()

CPU hyper-threading support.

.google.cloud.migrationcenter.v1.MachineArchitectureDetails.CpuHyperThreading hyperthreading = 8;

Returns
TypeDescription
int

The enum numeric value on the wire for hyperthreading.

getParserForType()

public Parser<MachineArchitectureDetails> getParserForType()
Returns
TypeDescription
Parser<MachineArchitectureDetails>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVendor()

public String getVendor()

Hardware vendor.

string vendor = 3;

Returns
TypeDescription
String

The vendor.

getVendorBytes()

public ByteString getVendorBytes()

Hardware vendor.

string vendor = 3;

Returns
TypeDescription
ByteString

The bytes for vendor.

hasBios()

public boolean hasBios()

BIOS Details.

.google.cloud.migrationcenter.v1.BiosDetails bios = 6;

Returns
TypeDescription
boolean

Whether the bios field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MachineArchitectureDetails.Builder newBuilderForType()
Returns
TypeDescription
MachineArchitectureDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MachineArchitectureDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MachineArchitectureDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MachineArchitectureDetails.Builder toBuilder()
Returns
TypeDescription
MachineArchitectureDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException