Class MachineArchitectureDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MachineArchitectureDetails.Builder>
com.google.cloud.migrationcenter.v1.MachineArchitectureDetails.Builder
- All Implemented Interfaces:
MachineArchitectureDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MachineArchitectureDetails
public static final class MachineArchitectureDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MachineArchitectureDetails.Builder>
implements MachineArchitectureDetailsOrBuilder
Details of the machine architecture.Protobuf type
google.cloud.migrationcenter.v1.MachineArchitectureDetails-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()BIOS Details.CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.Number of processor sockets allocated to the machine.Number of CPU threads allocated to the machine.Firmware type.CPU hyper-threading support.Hardware vendor.getBios()BIOS Details.BIOS Details.BIOS Details.CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.com.google.protobuf.ByteStringCPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.com.google.protobuf.ByteStringCPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.intNumber of processor sockets allocated to the machine.intNumber of CPU threads allocated to the machine.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFirmware type.intFirmware type.CPU hyper-threading support.intCPU hyper-threading support.Hardware vendor.com.google.protobuf.ByteStringHardware vendor.booleanhasBios()BIOS Details.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeBios(BiosDetails value) BIOS Details.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setBios(BiosDetails value) BIOS Details.setBios(BiosDetails.Builder builderForValue) BIOS Details.setCpuArchitecture(String value) CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.setCpuArchitectureBytes(com.google.protobuf.ByteString value) CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.setCpuName(String value) CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.setCpuNameBytes(com.google.protobuf.ByteString value) CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.setCpuSocketCount(int value) Number of processor sockets allocated to the machine.setCpuThreadCount(int value) Number of CPU threads allocated to the machine.Firmware type.setFirmwareTypeValue(int value) Firmware type.CPU hyper-threading support.setHyperthreadingValue(int value) CPU hyper-threading support.Hardware vendor.setVendorBytes(com.google.protobuf.ByteString value) Hardware vendor.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MachineArchitectureDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MachineArchitectureDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<MachineArchitectureDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MachineArchitectureDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<MachineArchitectureDetails.Builder>
-
mergeFrom
public MachineArchitectureDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MachineArchitectureDetails.Builder>- Throws:
IOException
-
getCpuArchitecture
CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
string cpu_architecture = 1;- Specified by:
getCpuArchitecturein interfaceMachineArchitectureDetailsOrBuilder- Returns:
- The cpuArchitecture.
-
getCpuArchitectureBytes
public com.google.protobuf.ByteString getCpuArchitectureBytes()CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
string cpu_architecture = 1;- Specified by:
getCpuArchitectureBytesin interfaceMachineArchitectureDetailsOrBuilder- Returns:
- The bytes for cpuArchitecture.
-
setCpuArchitecture
CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
string cpu_architecture = 1;- Parameters:
value- The cpuArchitecture to set.- Returns:
- This builder for chaining.
-
clearCpuArchitecture
CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
string cpu_architecture = 1;- Returns:
- This builder for chaining.
-
setCpuArchitectureBytes
public MachineArchitectureDetails.Builder setCpuArchitectureBytes(com.google.protobuf.ByteString value) CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc.
string cpu_architecture = 1;- Parameters:
value- The bytes for cpuArchitecture to set.- Returns:
- This builder for chaining.
-
getCpuName
CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
string cpu_name = 2;- Specified by:
getCpuNamein interfaceMachineArchitectureDetailsOrBuilder- Returns:
- The cpuName.
-
getCpuNameBytes
public com.google.protobuf.ByteString getCpuNameBytes()CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
string cpu_name = 2;- Specified by:
getCpuNameBytesin interfaceMachineArchitectureDetailsOrBuilder- Returns:
- The bytes for cpuName.
-
setCpuName
CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
string cpu_name = 2;- Parameters:
value- The cpuName to set.- Returns:
- This builder for chaining.
-
clearCpuName
CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
string cpu_name = 2;- Returns:
- This builder for chaining.
-
setCpuNameBytes
CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc.
string cpu_name = 2;- Parameters:
value- The bytes for cpuName to set.- Returns:
- This builder for chaining.
-
getVendor
Hardware vendor.
string vendor = 3;- Specified by:
getVendorin interfaceMachineArchitectureDetailsOrBuilder- Returns:
- The vendor.
-
getVendorBytes
public com.google.protobuf.ByteString getVendorBytes()Hardware vendor.
string vendor = 3;- Specified by:
getVendorBytesin interfaceMachineArchitectureDetailsOrBuilder- Returns:
- The bytes for vendor.
-
setVendor
Hardware vendor.
string vendor = 3;- Parameters:
value- The vendor to set.- Returns:
- This builder for chaining.
-
clearVendor
Hardware vendor.
string vendor = 3;- Returns:
- This builder for chaining.
-
setVendorBytes
Hardware vendor.
string vendor = 3;- Parameters:
value- The bytes for vendor to set.- Returns:
- This builder for chaining.
-
getCpuThreadCount
public int getCpuThreadCount()Number of CPU threads allocated to the machine.
int32 cpu_thread_count = 4;- Specified by:
getCpuThreadCountin interfaceMachineArchitectureDetailsOrBuilder- Returns:
- The cpuThreadCount.
-
setCpuThreadCount
Number of CPU threads allocated to the machine.
int32 cpu_thread_count = 4;- Parameters:
value- The cpuThreadCount to set.- Returns:
- This builder for chaining.
-
clearCpuThreadCount
Number of CPU threads allocated to the machine.
int32 cpu_thread_count = 4;- Returns:
- This builder for chaining.
-
getCpuSocketCount
public int getCpuSocketCount()Number of processor sockets allocated to the machine.
int32 cpu_socket_count = 5;- Specified by:
getCpuSocketCountin interfaceMachineArchitectureDetailsOrBuilder- Returns:
- The cpuSocketCount.
-
setCpuSocketCount
Number of processor sockets allocated to the machine.
int32 cpu_socket_count = 5;- Parameters:
value- The cpuSocketCount to set.- Returns:
- This builder for chaining.
-
clearCpuSocketCount
Number of processor sockets allocated to the machine.
int32 cpu_socket_count = 5;- Returns:
- This builder for chaining.
-
hasBios
public boolean hasBios()BIOS Details.
.google.cloud.migrationcenter.v1.BiosDetails bios = 6;- Specified by:
hasBiosin interfaceMachineArchitectureDetailsOrBuilder- Returns:
- Whether the bios field is set.
-
getBios
BIOS Details.
.google.cloud.migrationcenter.v1.BiosDetails bios = 6;- Specified by:
getBiosin interfaceMachineArchitectureDetailsOrBuilder- Returns:
- The bios.
-
setBios
BIOS Details.
.google.cloud.migrationcenter.v1.BiosDetails bios = 6; -
setBios
BIOS Details.
.google.cloud.migrationcenter.v1.BiosDetails bios = 6; -
mergeBios
BIOS Details.
.google.cloud.migrationcenter.v1.BiosDetails bios = 6; -
clearBios
BIOS Details.
.google.cloud.migrationcenter.v1.BiosDetails bios = 6; -
getBiosBuilder
BIOS Details.
.google.cloud.migrationcenter.v1.BiosDetails bios = 6; -
getBiosOrBuilder
BIOS Details.
.google.cloud.migrationcenter.v1.BiosDetails bios = 6;- Specified by:
getBiosOrBuilderin interfaceMachineArchitectureDetailsOrBuilder
-
getFirmwareTypeValue
public int getFirmwareTypeValue()Firmware type.
.google.cloud.migrationcenter.v1.MachineArchitectureDetails.FirmwareType firmware_type = 7;- Specified by:
getFirmwareTypeValuein interfaceMachineArchitectureDetailsOrBuilder- Returns:
- The enum numeric value on the wire for firmwareType.
-
setFirmwareTypeValue
Firmware type.
.google.cloud.migrationcenter.v1.MachineArchitectureDetails.FirmwareType firmware_type = 7;- Parameters:
value- The enum numeric value on the wire for firmwareType to set.- Returns:
- This builder for chaining.
-
getFirmwareType
Firmware type.
.google.cloud.migrationcenter.v1.MachineArchitectureDetails.FirmwareType firmware_type = 7;- Specified by:
getFirmwareTypein interfaceMachineArchitectureDetailsOrBuilder- Returns:
- The firmwareType.
-
setFirmwareType
public MachineArchitectureDetails.Builder setFirmwareType(MachineArchitectureDetails.FirmwareType value) Firmware type.
.google.cloud.migrationcenter.v1.MachineArchitectureDetails.FirmwareType firmware_type = 7;- Parameters:
value- The firmwareType to set.- Returns:
- This builder for chaining.
-
clearFirmwareType
Firmware type.
.google.cloud.migrationcenter.v1.MachineArchitectureDetails.FirmwareType firmware_type = 7;- Returns:
- This builder for chaining.
-
getHyperthreadingValue
public int getHyperthreadingValue()CPU hyper-threading support.
.google.cloud.migrationcenter.v1.MachineArchitectureDetails.CpuHyperThreading hyperthreading = 8;- Specified by:
getHyperthreadingValuein interfaceMachineArchitectureDetailsOrBuilder- Returns:
- The enum numeric value on the wire for hyperthreading.
-
setHyperthreadingValue
CPU hyper-threading support.
.google.cloud.migrationcenter.v1.MachineArchitectureDetails.CpuHyperThreading hyperthreading = 8;- Parameters:
value- The enum numeric value on the wire for hyperthreading to set.- Returns:
- This builder for chaining.
-
getHyperthreading
CPU hyper-threading support.
.google.cloud.migrationcenter.v1.MachineArchitectureDetails.CpuHyperThreading hyperthreading = 8;- Specified by:
getHyperthreadingin interfaceMachineArchitectureDetailsOrBuilder- Returns:
- The hyperthreading.
-
setHyperthreading
public MachineArchitectureDetails.Builder setHyperthreading(MachineArchitectureDetails.CpuHyperThreading value) CPU hyper-threading support.
.google.cloud.migrationcenter.v1.MachineArchitectureDetails.CpuHyperThreading hyperthreading = 8;- Parameters:
value- The hyperthreading to set.- Returns:
- This builder for chaining.
-
clearHyperthreading
CPU hyper-threading support.
.google.cloud.migrationcenter.v1.MachineArchitectureDetails.CpuHyperThreading hyperthreading = 8;- Returns:
- This builder for chaining.
-