public final class NodeTaint extends GeneratedMessageV3 implements NodeTaintOrBuilder
The taint content for the node taint.
Protobuf type google.cloud.gkemulticloud.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()
Required. The taint effect.
.google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getEffectValue()
public int getEffectValue()
Required. The taint effect.
.google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The enum numeric value on the wire for effect.
|
getKey()
Required. Key for the taint.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getKeyBytes()
public ByteString getKeyBytes()
Required. Key for the taint.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<NodeTaint> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValue()
Required. Value for the taint.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The value.
|
getValueBytes()
public ByteString getValueBytes()
Required. Value for the taint.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
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