Class MachineArchitectureDetails.Builder (0.37.0)

public static final class MachineArchitectureDetails.Builder extends GeneratedMessageV3.Builder<MachineArchitectureDetails.Builder> implements MachineArchitectureDetailsOrBuilder

Details of the machine architecture.

Protobuf type google.cloud.migrationcenter.v1.MachineArchitectureDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MachineArchitectureDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MachineArchitectureDetails.Builder
Overrides

build()

public MachineArchitectureDetails build()
Returns
Type Description
MachineArchitectureDetails

buildPartial()

public MachineArchitectureDetails buildPartial()
Returns
Type Description
MachineArchitectureDetails

clear()

public MachineArchitectureDetails.Builder clear()
Returns
Type Description
MachineArchitectureDetails.Builder
Overrides

clearBios()

public MachineArchitectureDetails.Builder clearBios()

BIOS Details.

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

Returns
Type Description
MachineArchitectureDetails.Builder

clearCpuArchitecture()

public MachineArchitectureDetails.Builder clearCpuArchitecture()

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

string cpu_architecture = 1;

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

clearCpuName()

public MachineArchitectureDetails.Builder clearCpuName()

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

string cpu_name = 2;

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

clearCpuSocketCount()

public MachineArchitectureDetails.Builder clearCpuSocketCount()

Number of processor sockets allocated to the machine.

int32 cpu_socket_count = 5;

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

clearCpuThreadCount()

public MachineArchitectureDetails.Builder clearCpuThreadCount()

Number of CPU threads allocated to the machine.

int32 cpu_thread_count = 4;

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MachineArchitectureDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MachineArchitectureDetails.Builder
Overrides

clearFirmwareType()

public MachineArchitectureDetails.Builder clearFirmwareType()

Firmware type.

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

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

clearHyperthreading()

public MachineArchitectureDetails.Builder clearHyperthreading()

CPU hyper-threading support.

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

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MachineArchitectureDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MachineArchitectureDetails.Builder
Overrides

clearVendor()

public MachineArchitectureDetails.Builder clearVendor()

Hardware vendor.

string vendor = 3;

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

clone()

public MachineArchitectureDetails.Builder clone()
Returns
Type Description
MachineArchitectureDetails.Builder
Overrides

getBios()

public BiosDetails getBios()

BIOS Details.

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

Returns
Type Description
BiosDetails

The bios.

getBiosBuilder()

public BiosDetails.Builder getBiosBuilder()

BIOS Details.

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

Returns
Type Description
BiosDetails.Builder

getBiosOrBuilder()

public BiosDetailsOrBuilder getBiosOrBuilder()

BIOS Details.

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

Returns
Type Description
BiosDetailsOrBuilder

getCpuArchitecture()

public String getCpuArchitecture()

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

string cpu_architecture = 1;

Returns
Type Description
String

The cpuArchitecture.

getCpuArchitectureBytes()

public ByteString getCpuArchitectureBytes()

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

string cpu_architecture = 1;

Returns
Type Description
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
Type Description
String

The cpuName.

getCpuNameBytes()

public ByteString getCpuNameBytes()

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

string cpu_name = 2;

Returns
Type Description
ByteString

The bytes for cpuName.

getCpuSocketCount()

public int getCpuSocketCount()

Number of processor sockets allocated to the machine.

int32 cpu_socket_count = 5;

Returns
Type Description
int

The cpuSocketCount.

getCpuThreadCount()

public int getCpuThreadCount()

Number of CPU threads allocated to the machine.

int32 cpu_thread_count = 4;

Returns
Type Description
int

The cpuThreadCount.

getDefaultInstanceForType()

public MachineArchitectureDetails getDefaultInstanceForType()
Returns
Type Description
MachineArchitectureDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFirmwareType()

public MachineArchitectureDetails.FirmwareType getFirmwareType()

Firmware type.

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

Returns
Type Description
MachineArchitectureDetails.FirmwareType

The firmwareType.

getFirmwareTypeValue()

public int getFirmwareTypeValue()

Firmware type.

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

Returns
Type Description
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
Type Description
MachineArchitectureDetails.CpuHyperThreading

The hyperthreading.

getHyperthreadingValue()

public int getHyperthreadingValue()

CPU hyper-threading support.

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

Returns
Type Description
int

The enum numeric value on the wire for hyperthreading.

getVendor()

public String getVendor()

Hardware vendor.

string vendor = 3;

Returns
Type Description
String

The vendor.

getVendorBytes()

public ByteString getVendorBytes()

Hardware vendor.

string vendor = 3;

Returns
Type Description
ByteString

The bytes for vendor.

hasBios()

public boolean hasBios()

BIOS Details.

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

Returns
Type Description
boolean

Whether the bios field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBios(BiosDetails value)

public MachineArchitectureDetails.Builder mergeBios(BiosDetails value)

BIOS Details.

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

Parameter
Name Description
value BiosDetails
Returns
Type Description
MachineArchitectureDetails.Builder

mergeFrom(MachineArchitectureDetails other)

public MachineArchitectureDetails.Builder mergeFrom(MachineArchitectureDetails other)
Parameter
Name Description
other MachineArchitectureDetails
Returns
Type Description
MachineArchitectureDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MachineArchitectureDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MachineArchitectureDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MachineArchitectureDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MachineArchitectureDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MachineArchitectureDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MachineArchitectureDetails.Builder
Overrides

setBios(BiosDetails value)

public MachineArchitectureDetails.Builder setBios(BiosDetails value)

BIOS Details.

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

Parameter
Name Description
value BiosDetails
Returns
Type Description
MachineArchitectureDetails.Builder

setBios(BiosDetails.Builder builderForValue)

public MachineArchitectureDetails.Builder setBios(BiosDetails.Builder builderForValue)

BIOS Details.

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

Parameter
Name Description
builderForValue BiosDetails.Builder
Returns
Type Description
MachineArchitectureDetails.Builder

setCpuArchitecture(String value)

public MachineArchitectureDetails.Builder setCpuArchitecture(String value)

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

string cpu_architecture = 1;

Parameter
Name Description
value String

The cpuArchitecture to set.

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

setCpuArchitectureBytes(ByteString value)

public MachineArchitectureDetails.Builder setCpuArchitectureBytes(ByteString value)

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

string cpu_architecture = 1;

Parameter
Name Description
value ByteString

The bytes for cpuArchitecture to set.

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

setCpuName(String value)

public MachineArchitectureDetails.Builder setCpuName(String value)

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

string cpu_name = 2;

Parameter
Name Description
value String

The cpuName to set.

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

setCpuNameBytes(ByteString value)

public MachineArchitectureDetails.Builder setCpuNameBytes(ByteString value)

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

string cpu_name = 2;

Parameter
Name Description
value ByteString

The bytes for cpuName to set.

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

setCpuSocketCount(int value)

public MachineArchitectureDetails.Builder setCpuSocketCount(int value)

Number of processor sockets allocated to the machine.

int32 cpu_socket_count = 5;

Parameter
Name Description
value int

The cpuSocketCount to set.

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

setCpuThreadCount(int value)

public MachineArchitectureDetails.Builder setCpuThreadCount(int value)

Number of CPU threads allocated to the machine.

int32 cpu_thread_count = 4;

Parameter
Name Description
value int

The cpuThreadCount to set.

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MachineArchitectureDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MachineArchitectureDetails.Builder
Overrides

setFirmwareType(MachineArchitectureDetails.FirmwareType value)

public MachineArchitectureDetails.Builder setFirmwareType(MachineArchitectureDetails.FirmwareType value)

Firmware type.

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

Parameter
Name Description
value MachineArchitectureDetails.FirmwareType

The firmwareType to set.

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

setFirmwareTypeValue(int value)

public MachineArchitectureDetails.Builder setFirmwareTypeValue(int value)

Firmware type.

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

Parameter
Name Description
value int

The enum numeric value on the wire for firmwareType to set.

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

setHyperthreading(MachineArchitectureDetails.CpuHyperThreading value)

public MachineArchitectureDetails.Builder setHyperthreading(MachineArchitectureDetails.CpuHyperThreading value)

CPU hyper-threading support.

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

Parameter
Name Description
value MachineArchitectureDetails.CpuHyperThreading

The hyperthreading to set.

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

setHyperthreadingValue(int value)

public MachineArchitectureDetails.Builder setHyperthreadingValue(int value)

CPU hyper-threading support.

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

Parameter
Name Description
value int

The enum numeric value on the wire for hyperthreading to set.

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MachineArchitectureDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MachineArchitectureDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MachineArchitectureDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MachineArchitectureDetails.Builder
Overrides

setVendor(String value)

public MachineArchitectureDetails.Builder setVendor(String value)

Hardware vendor.

string vendor = 3;

Parameter
Name Description
value String

The vendor to set.

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.

setVendorBytes(ByteString value)

public MachineArchitectureDetails.Builder setVendorBytes(ByteString value)

Hardware vendor.

string vendor = 3;

Parameter
Name Description
value ByteString

The bytes for vendor to set.

Returns
Type Description
MachineArchitectureDetails.Builder

This builder for chaining.