Class NodeManagement (2.23.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
TypeDescription
int

AUTO_UPGRADE_FIELD_NUMBER

public static final int AUTO_UPGRADE_FIELD_NUMBER
Field Value
TypeDescription
int

UPGRADE_OPTIONS_FIELD_NUMBER

public static final int UPGRADE_OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NodeManagement getDefaultInstance()
Returns
TypeDescription
NodeManagement

getDescriptor()

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

newBuilder()

public static NodeManagement.Builder newBuilder()
Returns
TypeDescription
NodeManagement.Builder

newBuilder(NodeManagement prototype)

public static NodeManagement.Builder newBuilder(NodeManagement prototype)
Parameter
NameDescription
prototypeNodeManagement
Returns
TypeDescription
NodeManagement.Builder

parseDelimitedFrom(InputStream input)

public static NodeManagement parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeManagement
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeManagement parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeManagement
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NodeManagement parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NodeManagement
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NodeManagement parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeManagement
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NodeManagement parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NodeManagement
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NodeManagement parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeManagement
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NodeManagement parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NodeManagement
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeManagement parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeManagement
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NodeManagement parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NodeManagement
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NodeManagement parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeManagement
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NodeManagement parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NodeManagement
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NodeManagement parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeManagement
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NodeManagement> parser()
Returns
TypeDescription
Parser<NodeManagement>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

getParserForType()

public Parser<NodeManagement> getParserForType()
Returns
TypeDescription
Parser<NodeManagement>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NodeManagement.Builder newBuilderForType()
Returns
TypeDescription
NodeManagement.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NodeManagement.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NodeManagement.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NodeManagement.Builder toBuilder()
Returns
TypeDescription
NodeManagement.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException