public final class NodeTaint extends GeneratedMessageV3 implements NodeTaintOrBuilder
The taint content for the node taint.
Protobuf type google.cloud.gkemulticloud.v1.NodeTaint
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
Required. The taint effect.
.google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED];
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 |
---|
Type | Description |
String | The key.
|
getKeyBytes()
public ByteString getKeyBytes()
Required. Key for the taint.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for key.
|
getParserForType()
public Parser<NodeTaint> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
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