public final class NodeTaint extends GeneratedMessageV3 implements NodeTaintOrBuilder
Kubernetes taint is comprised 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
Static Fields
EFFECT_FIELD_NUMBER
public static final int EFFECT_FIELD_NUMBER
Field Value
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
Field Value
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static NodeTaint getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static NodeTaint.Builder newBuilder()
Returns
newBuilder(NodeTaint prototype)
public static NodeTaint.Builder newBuilder(NodeTaint prototype)
Parameter
Returns
public static NodeTaint parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodeTaint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NodeTaint parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeTaint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NodeTaint parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeTaint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodeTaint parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NodeTaint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NodeTaint parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NodeTaint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NodeTaint parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodeTaint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NodeTaint> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public NodeTaint getDefaultInstanceForType()
Returns
getEffect()
public NodeTaint.Effect getEffect()
Effect for taint.
.google.container.v1.NodeTaint.Effect effect = 3;
Returns
getEffectValue()
public int getEffectValue()
Effect for taint.
.google.container.v1.NodeTaint.Effect effect = 3;
Returns
Type | Description |
int | The enum numeric value on the wire for effect.
|
getKey()
Key for taint.
string key = 1;
Returns
getKeyBytes()
public ByteString getKeyBytes()
Key for taint.
string key = 1;
Returns
getParserForType()
public Parser<NodeTaint> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValue()
Value for taint.
string value = 2;
Returns
Type | Description |
String | The value.
|
getValueBytes()
public ByteString getValueBytes()
Value for taint.
string value = 2;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public NodeTaint.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodeTaint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public NodeTaint.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions