Interface AdvancedMachineFeaturesOrBuilder (0.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface AdvancedMachineFeaturesOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getEnableNestedVirtualization()
publicabstractbooleangetEnableNestedVirtualization()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()
publicabstractbooleangetEnableUefiNetworking()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. |
getThreadsPerCore()
publicabstractintgetThreadsPerCore()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()
publicabstractintgetVisibleCoreCount()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()
publicabstractbooleanhasEnableNestedVirtualization()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()
publicabstractbooleanhasEnableUefiNetworking()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()
publicabstractbooleanhasThreadsPerCore()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()
publicabstractbooleanhasVisibleCoreCount()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. |