public final class AdvancedMachineFeatures extends com.google.protobuf.GeneratedMessageV3 implements AdvancedMachineFeaturesOrBuilder
Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled).Protobuf type
google.cloud.compute.v1.AdvancedMachineFeatures| Modifier and Type | Class and Description |
|---|---|
static class |
AdvancedMachineFeatures.Builder
Specifies options for controlling advanced machine features.
|
static class |
AdvancedMachineFeatures.PerformanceMonitoringUnit
Type of Performance Monitoring Unit requested on instance.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENABLE_NESTED_VIRTUALIZATION_FIELD_NUMBER |
static int |
ENABLE_UEFI_NETWORKING_FIELD_NUMBER |
static int |
PERFORMANCE_MONITORING_UNIT_FIELD_NUMBER |
static int |
THREADS_PER_CORE_FIELD_NUMBER |
static int |
TURBO_MODE_FIELD_NUMBER |
static int |
VISIBLE_CORE_COUNT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AdvancedMachineFeatures |
getDefaultInstance() |
AdvancedMachineFeatures |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnableNestedVirtualization()
Whether to enable nested virtualization or not (default is false).
|
boolean |
getEnableUefiNetworking()
Whether to enable UEFI networking for instance creation.
|
com.google.protobuf.Parser<AdvancedMachineFeatures> |
getParserForType() |
String |
getPerformanceMonitoringUnit()
Type of Performance Monitoring Unit requested on instance.
|
com.google.protobuf.ByteString |
getPerformanceMonitoringUnitBytes()
Type of Performance Monitoring Unit requested on instance.
|
int |
getSerializedSize() |
int |
getThreadsPerCore()
The number of threads per physical core.
|
String |
getTurboMode()
Turbo frequency mode to use for the instance.
|
com.google.protobuf.ByteString |
getTurboModeBytes()
Turbo frequency mode to use for the instance.
|
int |
getVisibleCoreCount()
The number of physical cores to expose to an instance.
|
boolean |
hasEnableNestedVirtualization()
Whether to enable nested virtualization or not (default is false).
|
boolean |
hasEnableUefiNetworking()
Whether to enable UEFI networking for instance creation.
|
int |
hashCode() |
boolean |
hasPerformanceMonitoringUnit()
Type of Performance Monitoring Unit requested on instance.
|
boolean |
hasThreadsPerCore()
The number of threads per physical core.
|
boolean |
hasTurboMode()
Turbo frequency mode to use for the instance.
|
boolean |
hasVisibleCoreCount()
The number of physical cores to expose to an instance.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AdvancedMachineFeatures.Builder |
newBuilder() |
static AdvancedMachineFeatures.Builder |
newBuilder(AdvancedMachineFeatures prototype) |
AdvancedMachineFeatures.Builder |
newBuilderForType() |
protected AdvancedMachineFeatures.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AdvancedMachineFeatures |
parseDelimitedFrom(InputStream input) |
static AdvancedMachineFeatures |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdvancedMachineFeatures |
parseFrom(byte[] data) |
static AdvancedMachineFeatures |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdvancedMachineFeatures |
parseFrom(ByteBuffer data) |
static AdvancedMachineFeatures |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdvancedMachineFeatures |
parseFrom(com.google.protobuf.ByteString data) |
static AdvancedMachineFeatures |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdvancedMachineFeatures |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AdvancedMachineFeatures |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdvancedMachineFeatures |
parseFrom(InputStream input) |
static AdvancedMachineFeatures |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AdvancedMachineFeatures> |
parser() |
AdvancedMachineFeatures.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENABLE_NESTED_VIRTUALIZATION_FIELD_NUMBER
public static final int ENABLE_UEFI_NETWORKING_FIELD_NUMBER
public static final int PERFORMANCE_MONITORING_UNIT_FIELD_NUMBER
public static final int THREADS_PER_CORE_FIELD_NUMBER
public static final int TURBO_MODE_FIELD_NUMBER
public static final int VISIBLE_CORE_COUNT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasEnableNestedVirtualization()
Whether to enable nested virtualization or not (default is false).
optional bool enable_nested_virtualization = 16639365;hasEnableNestedVirtualization in interface AdvancedMachineFeaturesOrBuilderpublic boolean getEnableNestedVirtualization()
Whether to enable nested virtualization or not (default is false).
optional bool enable_nested_virtualization = 16639365;getEnableNestedVirtualization in interface AdvancedMachineFeaturesOrBuilderpublic boolean hasEnableUefiNetworking()
Whether to enable UEFI networking for instance creation.
optional bool enable_uefi_networking = 334485668;hasEnableUefiNetworking in interface AdvancedMachineFeaturesOrBuilderpublic boolean getEnableUefiNetworking()
Whether to enable UEFI networking for instance creation.
optional bool enable_uefi_networking = 334485668;getEnableUefiNetworking in interface AdvancedMachineFeaturesOrBuilderpublic boolean hasPerformanceMonitoringUnit()
Type of Performance Monitoring Unit requested on instance. Check the PerformanceMonitoringUnit enum for the list of possible values.
optional string performance_monitoring_unit = 533618956;hasPerformanceMonitoringUnit in interface AdvancedMachineFeaturesOrBuilderpublic String getPerformanceMonitoringUnit()
Type of Performance Monitoring Unit requested on instance. Check the PerformanceMonitoringUnit enum for the list of possible values.
optional string performance_monitoring_unit = 533618956;getPerformanceMonitoringUnit in interface AdvancedMachineFeaturesOrBuilderpublic com.google.protobuf.ByteString getPerformanceMonitoringUnitBytes()
Type of Performance Monitoring Unit requested on instance. Check the PerformanceMonitoringUnit enum for the list of possible values.
optional string performance_monitoring_unit = 533618956;getPerformanceMonitoringUnitBytes in interface AdvancedMachineFeaturesOrBuilderpublic boolean hasThreadsPerCore()
The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
optional int32 threads_per_core = 352611671;hasThreadsPerCore in interface AdvancedMachineFeaturesOrBuilderpublic int getThreadsPerCore()
The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
optional int32 threads_per_core = 352611671;getThreadsPerCore in interface AdvancedMachineFeaturesOrBuilderpublic boolean hasTurboMode()
Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using empty string or not setting this field will use the platform-specific default turbo mode.
optional string turbo_mode = 432965412;hasTurboMode in interface AdvancedMachineFeaturesOrBuilderpublic String getTurboMode()
Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using empty string or not setting this field will use the platform-specific default turbo mode.
optional string turbo_mode = 432965412;getTurboMode in interface AdvancedMachineFeaturesOrBuilderpublic com.google.protobuf.ByteString getTurboModeBytes()
Turbo frequency mode to use for the instance. Supported modes include: * ALL_CORE_MAX Using empty string or not setting this field will use the platform-specific default turbo mode.
optional string turbo_mode = 432965412;getTurboModeBytes in interface AdvancedMachineFeaturesOrBuilderpublic boolean hasVisibleCoreCount()
The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
optional int32 visible_core_count = 193198684;hasVisibleCoreCount in interface AdvancedMachineFeaturesOrBuilderpublic int getVisibleCoreCount()
The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
optional int32 visible_core_count = 193198684;getVisibleCoreCount in interface AdvancedMachineFeaturesOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AdvancedMachineFeatures parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedMachineFeatures parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedMachineFeatures parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedMachineFeatures parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedMachineFeatures parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedMachineFeatures parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedMachineFeatures parseFrom(InputStream input) throws IOException
IOExceptionpublic static AdvancedMachineFeatures parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdvancedMachineFeatures parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AdvancedMachineFeatures parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdvancedMachineFeatures parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AdvancedMachineFeatures parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AdvancedMachineFeatures.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AdvancedMachineFeatures.Builder newBuilder()
public static AdvancedMachineFeatures.Builder newBuilder(AdvancedMachineFeatures prototype)
public AdvancedMachineFeatures.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AdvancedMachineFeatures.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AdvancedMachineFeatures getDefaultInstance()
public static com.google.protobuf.Parser<AdvancedMachineFeatures> parser()
public com.google.protobuf.Parser<AdvancedMachineFeatures> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AdvancedMachineFeatures getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.