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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EFFECT_FIELD_NUMBER
public static final int EFFECT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static NodeTaint getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NodeTaint.Builder newBuilder()
newBuilder(NodeTaint prototype)
public static NodeTaint.Builder newBuilder(NodeTaint prototype)
public static NodeTaint parseDelimitedFrom(InputStream input)
public static NodeTaint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NodeTaint parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NodeTaint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NodeTaint parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeTaint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NodeTaint parseFrom(CodedInputStream input)
public static NodeTaint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NodeTaint parseFrom(InputStream input)
public static NodeTaint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NodeTaint parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NodeTaint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NodeTaint> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public NodeTaint getDefaultInstanceForType()
getEffect()
public NodeTaint.Effect getEffect()
Effect for taint.
.google.container.v1.NodeTaint.Effect effect = 3;
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 |
---|
Type | Description |
String | The key.
|
getKeyBytes()
public ByteString getKeyBytes()
Key for taint.
string key = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for key.
|
getParserForType()
public Parser<NodeTaint> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
ByteString | The bytes for value.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NodeTaint.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NodeTaint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public NodeTaint.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides