Class NodeManagement.Builder (2.39.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodeManagement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodeManagement.Builder
Overrides

build()

public NodeManagement build()
Returns
TypeDescription
NodeManagement

buildPartial()

public NodeManagement buildPartial()
Returns
TypeDescription
NodeManagement

clear()

public NodeManagement.Builder clear()
Returns
TypeDescription
NodeManagement.Builder
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;

Returns
TypeDescription
NodeManagement.Builder

This builder for chaining.

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;

Returns
TypeDescription
NodeManagement.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NodeManagement.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NodeManagement.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeManagement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NodeManagement.Builder
Overrides

clearUpgradeOptions()

public NodeManagement.Builder clearUpgradeOptions()

Specifies the Auto Upgrade knobs for the node pool.

.google.container.v1.AutoUpgradeOptions upgrade_options = 10;

Returns
TypeDescription
NodeManagement.Builder

clone()

public NodeManagement.Builder clone()
Returns
TypeDescription
NodeManagement.Builder
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
TypeDescription
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
TypeDescription
boolean

The autoUpgrade.

getDefaultInstanceForType()

public NodeManagement getDefaultInstanceForType()
Returns
TypeDescription
NodeManagement

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpgradeOptions()

public AutoUpgradeOptions getUpgradeOptions()

Specifies the Auto Upgrade knobs for the node pool.

.google.container.v1.AutoUpgradeOptions upgrade_options = 10;

Returns
TypeDescription
AutoUpgradeOptions

The upgradeOptions.

getUpgradeOptionsBuilder()

public AutoUpgradeOptions.Builder getUpgradeOptionsBuilder()

Specifies the Auto Upgrade knobs for the node pool.

.google.container.v1.AutoUpgradeOptions upgrade_options = 10;

Returns
TypeDescription
AutoUpgradeOptions.Builder

getUpgradeOptionsOrBuilder()

public AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBuilder()

Specifies the Auto Upgrade knobs for the node pool.

.google.container.v1.AutoUpgradeOptions upgrade_options = 10;

Returns
TypeDescription
AutoUpgradeOptionsOrBuilder

hasUpgradeOptions()

public boolean hasUpgradeOptions()

Specifies the Auto Upgrade knobs for the node pool.

.google.container.v1.AutoUpgradeOptions upgrade_options = 10;

Returns
TypeDescription
boolean

Whether the upgradeOptions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodeManagement other)

public NodeManagement.Builder mergeFrom(NodeManagement other)
Parameter
NameDescription
otherNodeManagement
Returns
TypeDescription
NodeManagement.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodeManagement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeManagement.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NodeManagement.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NodeManagement.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeManagement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeManagement.Builder
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;

Parameter
NameDescription
valueAutoUpgradeOptions
Returns
TypeDescription
NodeManagement.Builder

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
NameDescription
valueboolean

The autoRepair to set.

Returns
TypeDescription
NodeManagement.Builder

This builder for chaining.

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
NameDescription
valueboolean

The autoUpgrade to set.

Returns
TypeDescription
NodeManagement.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NodeManagement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodeManagement.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NodeManagement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NodeManagement.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeManagement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeManagement.Builder
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;

Parameter
NameDescription
valueAutoUpgradeOptions
Returns
TypeDescription
NodeManagement.Builder

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;

Parameter
NameDescription
builderForValueAutoUpgradeOptions.Builder
Returns
TypeDescription
NodeManagement.Builder