Package com.google.container.v1
Class AdvancedMachineFeatures.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AdvancedMachineFeatures.Builder>
com.google.container.v1.AdvancedMachineFeatures.Builder
- All Implemented Interfaces:
AdvancedMachineFeaturesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AdvancedMachineFeatures
public static final class AdvancedMachineFeatures.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AdvancedMachineFeatures.Builder>
implements AdvancedMachineFeaturesOrBuilder
Specifies options for controlling advanced machine features.Protobuf type
google.container.v1.AdvancedMachineFeatures-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Whether or not to enable nested virtualization (defaults to false).Type of Performance Monitoring Unit (PMU) requested on node pool instances.The number of threads per physical core.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether or not to enable nested virtualization (defaults to false).Type of Performance Monitoring Unit (PMU) requested on node pool instances.intType of Performance Monitoring Unit (PMU) requested on node pool instances.longThe number of threads per physical core.booleanWhether or not to enable nested virtualization (defaults to false).booleanType of Performance Monitoring Unit (PMU) requested on node pool instances.booleanThe number of threads per physical core.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AdvancedMachineFeatures other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setEnableNestedVirtualization(boolean value) Whether or not to enable nested virtualization (defaults to false).Type of Performance Monitoring Unit (PMU) requested on node pool instances.setPerformanceMonitoringUnitValue(int value) Type of Performance Monitoring Unit (PMU) requested on node pool instances.setThreadsPerCore(long value) The number of threads per physical core.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AdvancedMachineFeatures.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AdvancedMachineFeatures.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AdvancedMachineFeatures.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdvancedMachineFeatures.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AdvancedMachineFeatures.Builder>
-
mergeFrom
public AdvancedMachineFeatures.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdvancedMachineFeatures.Builder>- Throws:
IOException
-
hasThreadsPerCore
public 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;- Specified by:
hasThreadsPerCorein interfaceAdvancedMachineFeaturesOrBuilder- Returns:
- Whether the threadsPerCore field is set.
-
getThreadsPerCore
public 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;- Specified by:
getThreadsPerCorein interfaceAdvancedMachineFeaturesOrBuilder- Returns:
- The threadsPerCore.
-
setThreadsPerCore
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;- Parameters:
value- The threadsPerCore to set.- Returns:
- This builder for chaining.
-
clearThreadsPerCore
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:
- This builder for chaining.
-
hasEnableNestedVirtualization
public boolean hasEnableNestedVirtualization()Whether or not to enable nested virtualization (defaults to false).
optional bool enable_nested_virtualization = 2;- Specified by:
hasEnableNestedVirtualizationin interfaceAdvancedMachineFeaturesOrBuilder- Returns:
- Whether the enableNestedVirtualization field is set.
-
getEnableNestedVirtualization
public boolean getEnableNestedVirtualization()Whether or not to enable nested virtualization (defaults to false).
optional bool enable_nested_virtualization = 2;- Specified by:
getEnableNestedVirtualizationin interfaceAdvancedMachineFeaturesOrBuilder- Returns:
- The enableNestedVirtualization.
-
setEnableNestedVirtualization
Whether or not to enable nested virtualization (defaults to false).
optional bool enable_nested_virtualization = 2;- Parameters:
value- The enableNestedVirtualization to set.- Returns:
- This builder for chaining.
-
clearEnableNestedVirtualization
Whether or not to enable nested virtualization (defaults to false).
optional bool enable_nested_virtualization = 2;- Returns:
- This builder for chaining.
-
hasPerformanceMonitoringUnit
public boolean hasPerformanceMonitoringUnit()Type of Performance Monitoring Unit (PMU) requested on node pool instances. If unset, PMU will not be available to the node.
optional .google.container.v1.AdvancedMachineFeatures.PerformanceMonitoringUnit performance_monitoring_unit = 3;- Specified by:
hasPerformanceMonitoringUnitin interfaceAdvancedMachineFeaturesOrBuilder- Returns:
- Whether the performanceMonitoringUnit field is set.
-
getPerformanceMonitoringUnitValue
public int getPerformanceMonitoringUnitValue()Type of Performance Monitoring Unit (PMU) requested on node pool instances. If unset, PMU will not be available to the node.
optional .google.container.v1.AdvancedMachineFeatures.PerformanceMonitoringUnit performance_monitoring_unit = 3;- Specified by:
getPerformanceMonitoringUnitValuein interfaceAdvancedMachineFeaturesOrBuilder- Returns:
- The enum numeric value on the wire for performanceMonitoringUnit.
-
setPerformanceMonitoringUnitValue
Type of Performance Monitoring Unit (PMU) requested on node pool instances. If unset, PMU will not be available to the node.
optional .google.container.v1.AdvancedMachineFeatures.PerformanceMonitoringUnit performance_monitoring_unit = 3;- Parameters:
value- The enum numeric value on the wire for performanceMonitoringUnit to set.- Returns:
- This builder for chaining.
-
getPerformanceMonitoringUnit
Type of Performance Monitoring Unit (PMU) requested on node pool instances. If unset, PMU will not be available to the node.
optional .google.container.v1.AdvancedMachineFeatures.PerformanceMonitoringUnit performance_monitoring_unit = 3;- Specified by:
getPerformanceMonitoringUnitin interfaceAdvancedMachineFeaturesOrBuilder- Returns:
- The performanceMonitoringUnit.
-
setPerformanceMonitoringUnit
public AdvancedMachineFeatures.Builder setPerformanceMonitoringUnit(AdvancedMachineFeatures.PerformanceMonitoringUnit value) Type of Performance Monitoring Unit (PMU) requested on node pool instances. If unset, PMU will not be available to the node.
optional .google.container.v1.AdvancedMachineFeatures.PerformanceMonitoringUnit performance_monitoring_unit = 3;- Parameters:
value- The performanceMonitoringUnit to set.- Returns:
- This builder for chaining.
-
clearPerformanceMonitoringUnit
Type of Performance Monitoring Unit (PMU) requested on node pool instances. If unset, PMU will not be available to the node.
optional .google.container.v1.AdvancedMachineFeatures.PerformanceMonitoringUnit performance_monitoring_unit = 3;- Returns:
- This builder for chaining.
-