Package com.google.cloud.compute.v1
Interface AdvancedMachineFeaturesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdvancedMachineFeatures,AdvancedMachineFeatures.Builder
@Generated
public interface AdvancedMachineFeaturesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether to enable nested virtualization or not (default is false).booleanWhether to enable UEFI networking for instance creation.Type of Performance Monitoring Unit requested on instance.com.google.protobuf.ByteStringType of Performance Monitoring Unit requested on instance.intThe number of threads per physical core.Turbo frequency mode to use for the instance.com.google.protobuf.ByteStringTurbo frequency mode to use for the instance.intThe number of physical cores to expose to an instance.booleanWhether to enable nested virtualization or not (default is false).booleanWhether to enable UEFI networking for instance creation.booleanType of Performance Monitoring Unit requested on instance.booleanThe number of threads per physical core.booleanTurbo frequency mode to use for the instance.booleanThe number of physical cores to expose to an instance.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasEnableNestedVirtualization
boolean hasEnableNestedVirtualization()Whether to enable nested virtualization or not (default is false).
optional bool enable_nested_virtualization = 16639365;- Returns:
- Whether the enableNestedVirtualization field is set.
-
getEnableNestedVirtualization
boolean getEnableNestedVirtualization()Whether to enable nested virtualization or not (default is false).
optional bool enable_nested_virtualization = 16639365;- Returns:
- The enableNestedVirtualization.
-
hasEnableUefiNetworking
boolean hasEnableUefiNetworking()Whether to enable UEFI networking for instance creation.
optional bool enable_uefi_networking = 334485668;- Returns:
- Whether the enableUefiNetworking field is set.
-
getEnableUefiNetworking
boolean getEnableUefiNetworking()Whether to enable UEFI networking for instance creation.
optional bool enable_uefi_networking = 334485668;- Returns:
- The enableUefiNetworking.
-
hasPerformanceMonitoringUnit
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:
- Whether the performanceMonitoringUnit field is set.
-
getPerformanceMonitoringUnit
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:
- The performanceMonitoringUnit.
-
getPerformanceMonitoringUnitBytes
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;- Returns:
- The bytes for performanceMonitoringUnit.
-
hasThreadsPerCore
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:
- Whether the threadsPerCore field is set.
-
getThreadsPerCore
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:
- The threadsPerCore.
-
hasTurboMode
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:
- Whether the turboMode field is set.
-
getTurboMode
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:
- The turboMode.
-
getTurboModeBytes
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;- Returns:
- The bytes for turboMode.
-
hasVisibleCoreCount
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:
- Whether the visibleCoreCount field is set.
-
getVisibleCoreCount
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:
- The visibleCoreCount.
-