# Interface AdvancedMachineFeaturesOrBuilder (0.50.0)

0.50.0 (latest) 0.47.0 0.46.0 0.44.0 0.42.0 0.41.0 0.40.0 0.39.0 0.37.0 0.35.0 0.34.0 0.33.0 0.32.0 0.31.0 0.29.0 0.27.0 0.26.0 0.23.0 0.22.0 0.21.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface AdvancedMachineFeaturesOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getEnableNestedVirtualization()

    public abstract boolean getEnableNestedVirtualization()

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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enableNestedVirtualization. |

### getEnableUefiNetworking()

    public abstract boolean getEnableUefiNetworking()

Optional. Whether to enable UEFI networking for instance creation.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enableUefiNetworking. |

### getThreadsPerCore()

    public abstract int getThreadsPerCore()

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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The threadsPerCore. |

### getVisibleCoreCount()

    public abstract int getVisibleCoreCount()

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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The visibleCoreCount. |

### hasEnableNestedVirtualization()

    public abstract boolean hasEnableNestedVirtualization()

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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the enableNestedVirtualization field is set. |

### hasEnableUefiNetworking()

    public abstract boolean hasEnableUefiNetworking()

Optional. Whether to enable UEFI networking for instance creation.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the enableUefiNetworking field is set. |

### hasThreadsPerCore()

    public abstract boolean hasThreadsPerCore()

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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the threadsPerCore field is set. |

### hasVisibleCoreCount()

    public abstract boolean hasVisibleCoreCount()

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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the visibleCoreCount field is set. |