Package com.google.container.v1
Interface AdvancedMachineFeaturesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdvancedMachineFeatures
,AdvancedMachineFeatures.Builder
public interface AdvancedMachineFeaturesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getThreadsPerCore()
The number of threads per physical core.boolean
hasThreadsPerCore()
The number of threads per physical core.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 int64 threads_per_core = 1;
- Returns:
- Whether the threadsPerCore field is set.
-
getThreadsPerCore
long 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 int64 threads_per_core = 1;
- Returns:
- The threadsPerCore.
-
-