Interface AdvancedMachineFeaturesOrBuilder (1.64.0)

public interface AdvancedMachineFeaturesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnableNestedVirtualization()

public abstract boolean getEnableNestedVirtualization()

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

optional bool enable_nested_virtualization = 16639365;

Returns
Type Description
boolean

The enableNestedVirtualization.

getEnableUefiNetworking()

public abstract boolean getEnableUefiNetworking()

Whether to enable UEFI networking for instance creation.

optional bool enable_uefi_networking = 334485668;

Returns
Type Description
boolean

The enableUefiNetworking.

getPerformanceMonitoringUnit()

public abstract 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;

Returns
Type Description
String

The performanceMonitoringUnit.

getPerformanceMonitoringUnitBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for performanceMonitoringUnit.

getThreadsPerCore()

public abstract 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;

Returns
Type Description
int

The threadsPerCore.

getTurboMode()

public abstract 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;

Returns
Type Description
String

The turboMode.

getTurboModeBytes()

public abstract 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;

Returns
Type Description
ByteString

The bytes for turboMode.

getVisibleCoreCount()

public abstract 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;

Returns
Type Description
int

The visibleCoreCount.

hasEnableNestedVirtualization()

public abstract boolean hasEnableNestedVirtualization()

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

optional bool enable_nested_virtualization = 16639365;

Returns
Type Description
boolean

Whether the enableNestedVirtualization field is set.

hasEnableUefiNetworking()

public abstract boolean hasEnableUefiNetworking()

Whether to enable UEFI networking for instance creation.

optional bool enable_uefi_networking = 334485668;

Returns
Type Description
boolean

Whether the enableUefiNetworking field is set.

hasPerformanceMonitoringUnit()

public abstract 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;

Returns
Type Description
boolean

Whether the performanceMonitoringUnit field is set.

hasThreadsPerCore()

public abstract 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;

Returns
Type Description
boolean

Whether the threadsPerCore field is set.

hasTurboMode()

public abstract 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;

Returns
Type Description
boolean

Whether the turboMode field is set.

hasVisibleCoreCount()

public abstract 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;

Returns
Type Description
boolean

Whether the visibleCoreCount field is set.