Class MachineArchitectureDetails.Builder (0.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MachineArchitectureDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MachineArchitectureDetails.Builder
Overrides

build()

public MachineArchitectureDetails build()
Returns
TypeDescription
MachineArchitectureDetails

buildPartial()

public MachineArchitectureDetails buildPartial()
Returns
TypeDescription
MachineArchitectureDetails

clear()

public MachineArchitectureDetails.Builder clear()
Returns
TypeDescription
MachineArchitectureDetails.Builder
Overrides

clearBios()

public MachineArchitectureDetails.Builder clearBios()

BIOS Details.

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

Returns
TypeDescription
MachineArchitectureDetails.Builder

clearCpuArchitecture()

public MachineArchitectureDetails.Builder clearCpuArchitecture()

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

string cpu_architecture = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
MachineArchitectureDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MachineArchitectureDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MachineArchitectureDetails.Builder
Overrides

clearFirmwareType()

public MachineArchitectureDetails.Builder clearFirmwareType()

Firmware type.

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

Returns
TypeDescription
MachineArchitectureDetails.Builder

This builder for chaining.

clearHyperthreading()

public MachineArchitectureDetails.Builder clearHyperthreading()

CPU hyper-threading support.

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

Returns
TypeDescription
MachineArchitectureDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MachineArchitectureDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MachineArchitectureDetails.Builder
Overrides

clearVendor()

public MachineArchitectureDetails.Builder clearVendor()

Hardware vendor.

string vendor = 3;

Returns
TypeDescription
MachineArchitectureDetails.Builder

This builder for chaining.

clone()

public MachineArchitectureDetails.Builder clone()
Returns
TypeDescription
MachineArchitectureDetails.Builder
Overrides

getBios()

public BiosDetails getBios()

BIOS Details.

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

Returns
TypeDescription
BiosDetails

The bios.

getBiosBuilder()

public BiosDetails.Builder getBiosBuilder()

BIOS Details.

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

Returns
TypeDescription
BiosDetails.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBios(BiosDetails value)

public MachineArchitectureDetails.Builder mergeBios(BiosDetails value)

BIOS Details.

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

Parameter
NameDescription
valueBiosDetails
Returns
TypeDescription
MachineArchitectureDetails.Builder

mergeFrom(MachineArchitectureDetails other)

public MachineArchitectureDetails.Builder mergeFrom(MachineArchitectureDetails other)
Parameter
NameDescription
otherMachineArchitectureDetails
Returns
TypeDescription
MachineArchitectureDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MachineArchitectureDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MachineArchitectureDetails.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MachineArchitectureDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MachineArchitectureDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MachineArchitectureDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MachineArchitectureDetails.Builder
Overrides

setBios(BiosDetails value)

public MachineArchitectureDetails.Builder setBios(BiosDetails value)

BIOS Details.

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

Parameter
NameDescription
valueBiosDetails
Returns
TypeDescription
MachineArchitectureDetails.Builder

setBios(BiosDetails.Builder builderForValue)

public MachineArchitectureDetails.Builder setBios(BiosDetails.Builder builderForValue)

BIOS Details.

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

Parameter
NameDescription
builderForValueBiosDetails.Builder
Returns
TypeDescription
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
NameDescription
valueString

The cpuArchitecture to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for cpuArchitecture to set.

Returns
TypeDescription
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
NameDescription
valueString

The cpuName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for cpuName to set.

Returns
TypeDescription
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
NameDescription
valueint

The cpuSocketCount to set.

Returns
TypeDescription
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
NameDescription
valueint

The cpuThreadCount to set.

Returns
TypeDescription
MachineArchitectureDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MachineArchitectureDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueMachineArchitectureDetails.FirmwareType

The firmwareType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueMachineArchitectureDetails.CpuHyperThreading

The hyperthreading to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MachineArchitectureDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MachineArchitectureDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MachineArchitectureDetails.Builder
Overrides

setVendor(String value)

public MachineArchitectureDetails.Builder setVendor(String value)

Hardware vendor.

string vendor = 3;

Parameter
NameDescription
valueString

The vendor to set.

Returns
TypeDescription
MachineArchitectureDetails.Builder

This builder for chaining.

setVendorBytes(ByteString value)

public MachineArchitectureDetails.Builder setVendorBytes(ByteString value)

Hardware vendor.

string vendor = 3;

Parameter
NameDescription
valueByteString

The bytes for vendor to set.

Returns
TypeDescription
MachineArchitectureDetails.Builder

This builder for chaining.