public static final class NodeManagement.Builder extends GeneratedMessageV3.Builder<NodeManagement.Builder> implements NodeManagementOrBuilder
NodeManagement defines the set of node management services turned on for the
node pool.
Protobuf type google.container.v1.NodeManagement
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeManagement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NodeManagement build()
buildPartial()
public NodeManagement buildPartial()
clear()
public NodeManagement.Builder clear()
Overrides
clearAutoRepair()
public NodeManagement.Builder clearAutoRepair()
A flag that specifies whether the node auto-repair is enabled for the node
pool. If enabled, the nodes in this node pool will be monitored and, if
they fail health checks too many times, an automatic repair action will be
triggered.
bool auto_repair = 2;
clearAutoUpgrade()
public NodeManagement.Builder clearAutoUpgrade()
A flag that specifies whether node auto-upgrade is enabled for the node
pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
up to date with the latest release version of Kubernetes.
bool auto_upgrade = 1;
clearField(Descriptors.FieldDescriptor field)
public NodeManagement.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeManagement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpgradeOptions()
public NodeManagement.Builder clearUpgradeOptions()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1.AutoUpgradeOptions upgrade_options = 10;
clone()
public NodeManagement.Builder clone()
Overrides
getAutoRepair()
public boolean getAutoRepair()
A flag that specifies whether the node auto-repair is enabled for the node
pool. If enabled, the nodes in this node pool will be monitored and, if
they fail health checks too many times, an automatic repair action will be
triggered.
bool auto_repair = 2;
Returns |
---|
Type | Description |
boolean | The autoRepair.
|
getAutoUpgrade()
public boolean getAutoUpgrade()
A flag that specifies whether node auto-upgrade is enabled for the node
pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
up to date with the latest release version of Kubernetes.
bool auto_upgrade = 1;
Returns |
---|
Type | Description |
boolean | The autoUpgrade.
|
getDefaultInstanceForType()
public NodeManagement getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpgradeOptions()
public AutoUpgradeOptions getUpgradeOptions()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1.AutoUpgradeOptions upgrade_options = 10;
getUpgradeOptionsBuilder()
public AutoUpgradeOptions.Builder getUpgradeOptionsBuilder()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1.AutoUpgradeOptions upgrade_options = 10;
getUpgradeOptionsOrBuilder()
public AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBuilder()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1.AutoUpgradeOptions upgrade_options = 10;
hasUpgradeOptions()
public boolean hasUpgradeOptions()
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1.AutoUpgradeOptions upgrade_options = 10;
Returns |
---|
Type | Description |
boolean | Whether the upgradeOptions field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NodeManagement other)
public NodeManagement.Builder mergeFrom(NodeManagement other)
public NodeManagement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NodeManagement.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeManagement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpgradeOptions(AutoUpgradeOptions value)
public NodeManagement.Builder mergeUpgradeOptions(AutoUpgradeOptions value)
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1.AutoUpgradeOptions upgrade_options = 10;
setAutoRepair(boolean value)
public NodeManagement.Builder setAutoRepair(boolean value)
A flag that specifies whether the node auto-repair is enabled for the node
pool. If enabled, the nodes in this node pool will be monitored and, if
they fail health checks too many times, an automatic repair action will be
triggered.
bool auto_repair = 2;
Parameter |
---|
Name | Description |
value | boolean
The autoRepair to set.
|
setAutoUpgrade(boolean value)
public NodeManagement.Builder setAutoUpgrade(boolean value)
A flag that specifies whether node auto-upgrade is enabled for the node
pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
up to date with the latest release version of Kubernetes.
bool auto_upgrade = 1;
Parameter |
---|
Name | Description |
value | boolean
The autoUpgrade to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public NodeManagement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeManagement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeManagement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpgradeOptions(AutoUpgradeOptions value)
public NodeManagement.Builder setUpgradeOptions(AutoUpgradeOptions value)
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1.AutoUpgradeOptions upgrade_options = 10;
setUpgradeOptions(AutoUpgradeOptions.Builder builderForValue)
public NodeManagement.Builder setUpgradeOptions(AutoUpgradeOptions.Builder builderForValue)
Specifies the Auto Upgrade knobs for the node pool.
.google.container.v1.AutoUpgradeOptions upgrade_options = 10;