Class NodeManagement.Builder (2.51.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.v1beta1.NodeManagement

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodeManagement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NodeManagement.Builder
Overrides

build()

public NodeManagement build()
Returns
Type Description
NodeManagement

buildPartial()

public NodeManagement buildPartial()
Returns
Type Description
NodeManagement

clear()

public NodeManagement.Builder clear()
Returns
Type Description
NodeManagement.Builder
Overrides

clearAutoRepair()

public NodeManagement.Builder clearAutoRepair()

Whether the nodes will be automatically repaired.

bool auto_repair = 2;

Returns
Type Description
NodeManagement.Builder

This builder for chaining.

clearAutoUpgrade()

public NodeManagement.Builder clearAutoUpgrade()

Whether the nodes will be automatically upgraded.

bool auto_upgrade = 1;

Returns
Type Description
NodeManagement.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NodeManagement.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NodeManagement.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeManagement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NodeManagement.Builder
Overrides

clearUpgradeOptions()

public NodeManagement.Builder clearUpgradeOptions()

Specifies the Auto Upgrade knobs for the node pool.

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

Returns
Type Description
NodeManagement.Builder

clone()

public NodeManagement.Builder clone()
Returns
Type Description
NodeManagement.Builder
Overrides

getAutoRepair()

public boolean getAutoRepair()

Whether the nodes will be automatically repaired.

bool auto_repair = 2;

Returns
Type Description
boolean

The autoRepair.

getAutoUpgrade()

public boolean getAutoUpgrade()

Whether the nodes will be automatically upgraded.

bool auto_upgrade = 1;

Returns
Type Description
boolean

The autoUpgrade.

getDefaultInstanceForType()

public NodeManagement getDefaultInstanceForType()
Returns
Type Description
NodeManagement

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpgradeOptions()

public AutoUpgradeOptions getUpgradeOptions()

Specifies the Auto Upgrade knobs for the node pool.

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

Returns
Type Description
AutoUpgradeOptions

The upgradeOptions.

getUpgradeOptionsBuilder()

public AutoUpgradeOptions.Builder getUpgradeOptionsBuilder()

Specifies the Auto Upgrade knobs for the node pool.

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

Returns
Type Description
AutoUpgradeOptions.Builder

getUpgradeOptionsOrBuilder()

public AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBuilder()

Specifies the Auto Upgrade knobs for the node pool.

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

Returns
Type Description
AutoUpgradeOptionsOrBuilder

hasUpgradeOptions()

public boolean hasUpgradeOptions()

Specifies the Auto Upgrade knobs for the node pool.

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

Returns
Type Description
boolean

Whether the upgradeOptions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodeManagement other)

public NodeManagement.Builder mergeFrom(NodeManagement other)
Parameter
Name Description
other NodeManagement
Returns
Type Description
NodeManagement.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodeManagement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeManagement.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NodeManagement.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NodeManagement.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeManagement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodeManagement.Builder
Overrides

mergeUpgradeOptions(AutoUpgradeOptions value)

public NodeManagement.Builder mergeUpgradeOptions(AutoUpgradeOptions value)

Specifies the Auto Upgrade knobs for the node pool.

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

Parameter
Name Description
value AutoUpgradeOptions
Returns
Type Description
NodeManagement.Builder

setAutoRepair(boolean value)

public NodeManagement.Builder setAutoRepair(boolean value)

Whether the nodes will be automatically repaired.

bool auto_repair = 2;

Parameter
Name Description
value boolean

The autoRepair to set.

Returns
Type Description
NodeManagement.Builder

This builder for chaining.

setAutoUpgrade(boolean value)

public NodeManagement.Builder setAutoUpgrade(boolean value)

Whether the nodes will be automatically upgraded.

bool auto_upgrade = 1;

Parameter
Name Description
value boolean

The autoUpgrade to set.

Returns
Type Description
NodeManagement.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NodeManagement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NodeManagement.Builder
Overrides

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

public NodeManagement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NodeManagement.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeManagement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodeManagement.Builder
Overrides

setUpgradeOptions(AutoUpgradeOptions value)

public NodeManagement.Builder setUpgradeOptions(AutoUpgradeOptions value)

Specifies the Auto Upgrade knobs for the node pool.

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

Parameter
Name Description
value AutoUpgradeOptions
Returns
Type Description
NodeManagement.Builder

setUpgradeOptions(AutoUpgradeOptions.Builder builderForValue)

public NodeManagement.Builder setUpgradeOptions(AutoUpgradeOptions.Builder builderForValue)

Specifies the Auto Upgrade knobs for the node pool.

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

Parameter
Name Description
builderForValue AutoUpgradeOptions.Builder
Returns
Type Description
NodeManagement.Builder