Class NodeTaint (2.22.0)

public final class NodeTaint extends GeneratedMessageV3 implements NodeTaintOrBuilder

Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.

See here for more information, including usage and the valid values.

Protobuf type google.container.v1.NodeTaint

Implements

NodeTaintOrBuilder

Static Fields

EFFECT_FIELD_NUMBER

public static final int EFFECT_FIELD_NUMBER
Field Value
TypeDescription
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NodeTaint getDefaultInstance()
Returns
TypeDescription
NodeTaint

getDescriptor()

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

newBuilder()

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

newBuilder(NodeTaint prototype)

public static NodeTaint.Builder newBuilder(NodeTaint prototype)
Parameter
NameDescription
prototypeNodeTaint
Returns
TypeDescription
NodeTaint.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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