Class NodeManagement (2.57.0)

public final class NodeManagement extends GeneratedMessageV3 implements NodeManagementOrBuilder

NodeManagement defines the set of node management services turned on for the node pool.

Protobuf type google.container.v1.NodeManagement

Static Fields

AUTO_REPAIR_FIELD_NUMBER

public static final int AUTO_REPAIR_FIELD_NUMBER
Field Value
Type Description
int

AUTO_UPGRADE_FIELD_NUMBER

public static final int AUTO_UPGRADE_FIELD_NUMBER
Field Value
Type Description
int

UPGRADE_OPTIONS_FIELD_NUMBER

public static final int UPGRADE_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NodeManagement getDefaultInstance()
Returns
Type Description
NodeManagement

getDescriptor()

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

newBuilder()

public static NodeManagement.Builder newBuilder()
Returns
Type Description
NodeManagement.Builder

newBuilder(NodeManagement prototype)

public static NodeManagement.Builder newBuilder(NodeManagement prototype)
Parameter
Name Description
prototype NodeManagement
Returns
Type Description
NodeManagement.Builder

parseDelimitedFrom(InputStream input)

public static NodeManagement parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NodeManagement
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeManagement parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeManagement
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NodeManagement parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NodeManagement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NodeManagement parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeManagement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NodeManagement parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NodeManagement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NodeManagement parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeManagement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NodeManagement parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NodeManagement
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeManagement parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeManagement
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NodeManagement parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NodeManagement
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeManagement parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeManagement
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NodeManagement parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NodeManagement
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NodeManagement parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeManagement
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NodeManagement> parser()
Returns
Type Description
Parser<NodeManagement>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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()
Returns
Type Description
NodeManagement

getParserForType()

public Parser<NodeManagement> getParserForType()
Returns
Type Description
Parser<NodeManagement>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpgradeOptions()

public AutoUpgradeOptions getUpgradeOptions()

Specifies the Auto Upgrade knobs for the node pool.

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

Returns
Type Description
AutoUpgradeOptions

The upgradeOptions.

getUpgradeOptionsOrBuilder()

public AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBuilder()

Specifies the Auto Upgrade knobs for the node pool.

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

Returns
Type Description
AutoUpgradeOptionsOrBuilder

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NodeManagement.Builder newBuilderForType()
Returns
Type Description
NodeManagement.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NodeManagement.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NodeManagement.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NodeManagement.Builder toBuilder()
Returns
Type Description
NodeManagement.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException