Class AdvancedMachineFeatures (0.39.0)

publicfinalclass AdvancedMachineFeaturesextendsGeneratedMessageV3implementsAdvancedMachineFeaturesOrBuilder

Specifies options for controlling advanced machine features.

Protobuf type google.cloud.backupdr.v1.AdvancedMachineFeatures

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

ENABLE_NESTED_VIRTUALIZATION_FIELD_NUMBER

publicstaticfinalintENABLE_NESTED_VIRTUALIZATION_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_UEFI_NETWORKING_FIELD_NUMBER

publicstaticfinalintENABLE_UEFI_NETWORKING_FIELD_NUMBER
Field Value
Type Description
int

THREADS_PER_CORE_FIELD_NUMBER

publicstaticfinalintTHREADS_PER_CORE_FIELD_NUMBER
Field Value
Type Description
int

VISIBLE_CORE_COUNT_FIELD_NUMBER

publicstaticfinalintVISIBLE_CORE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticAdvancedMachineFeaturesgetDefaultInstance()
Returns
Type Description
AdvancedMachineFeatures

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticAdvancedMachineFeatures.BuildernewBuilder()
Returns
Type Description
AdvancedMachineFeatures.Builder

newBuilder(AdvancedMachineFeatures prototype)

publicstaticAdvancedMachineFeatures.BuildernewBuilder(AdvancedMachineFeaturesprototype)
Parameter
Name Description
prototype AdvancedMachineFeatures
Returns
Type Description
AdvancedMachineFeatures.Builder

parseDelimitedFrom(InputStream input)

publicstaticAdvancedMachineFeaturesparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
AdvancedMachineFeatures
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticAdvancedMachineFeaturesparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdvancedMachineFeatures
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticAdvancedMachineFeaturesparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
AdvancedMachineFeatures
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticAdvancedMachineFeaturesparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdvancedMachineFeatures
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticAdvancedMachineFeaturesparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
AdvancedMachineFeatures
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticAdvancedMachineFeaturesparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdvancedMachineFeatures
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticAdvancedMachineFeaturesparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AdvancedMachineFeatures
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticAdvancedMachineFeaturesparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdvancedMachineFeatures
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticAdvancedMachineFeaturesparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
AdvancedMachineFeatures
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticAdvancedMachineFeaturesparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdvancedMachineFeatures
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticAdvancedMachineFeaturesparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AdvancedMachineFeatures
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticAdvancedMachineFeaturesparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdvancedMachineFeatures
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<AdvancedMachineFeatures>parser()
Returns
Type Description
Parser<AdvancedMachineFeatures>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicAdvancedMachineFeaturesgetDefaultInstanceForType()
Returns
Type Description
AdvancedMachineFeatures

getEnableNestedVirtualization()

publicbooleangetEnableNestedVirtualization()

Optional. Whether to enable nested virtualization or not (default is false).

optional bool enable_nested_virtualization = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableNestedVirtualization.

getEnableUefiNetworking()

publicbooleangetEnableUefiNetworking()

Optional. Whether to enable UEFI networking for instance creation.

optional bool enable_uefi_networking = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableUefiNetworking.

getParserForType()

publicParser<AdvancedMachineFeatures>getParserForType()
Returns
Type Description
Parser<AdvancedMachineFeatures>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getThreadsPerCore()

publicintgetThreadsPerCore()

Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The threadsPerCore.

getVisibleCoreCount()

publicintgetVisibleCoreCount()

Optional. 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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The visibleCoreCount.

hasEnableNestedVirtualization()

publicbooleanhasEnableNestedVirtualization()

Optional. Whether to enable nested virtualization or not (default is false).

optional bool enable_nested_virtualization = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the enableNestedVirtualization field is set.

hasEnableUefiNetworking()

publicbooleanhasEnableUefiNetworking()

Optional. Whether to enable UEFI networking for instance creation.

optional bool enable_uefi_networking = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the enableUefiNetworking field is set.

hasThreadsPerCore()

publicbooleanhasThreadsPerCore()

Optional. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the threadsPerCore field is set.

hasVisibleCoreCount()

publicbooleanhasVisibleCoreCount()

Optional. 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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the visibleCoreCount field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicAdvancedMachineFeatures.BuildernewBuilderForType()
Returns
Type Description
AdvancedMachineFeatures.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedAdvancedMachineFeatures.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AdvancedMachineFeatures.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicAdvancedMachineFeatures.BuildertoBuilder()
Returns
Type Description
AdvancedMachineFeatures.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.