public static final class NodeTaint.Builder extends GeneratedMessage.Builder<NodeTaint.Builder> implements NodeTaintOrBuilderThe taint content for the node taint.
Protobuf type google.cloud.gkemulticloud.v1.NodeTaint
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NodeTaint.BuilderImplements
NodeTaintOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NodeTaint build()| Returns | |
|---|---|
| Type | Description |
NodeTaint |
|
buildPartial()
public NodeTaint buildPartial()| Returns | |
|---|---|
| Type | Description |
NodeTaint |
|
clear()
public NodeTaint.Builder clear()| Returns | |
|---|---|
| Type | Description |
NodeTaint.Builder |
|
clearEffect()
public NodeTaint.Builder clearEffect()Required. The taint effect.
.google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
NodeTaint.Builder |
This builder for chaining. |
clearKey()
public NodeTaint.Builder clearKey()Required. Key for the taint.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
NodeTaint.Builder |
This builder for chaining. |
clearValue()
public NodeTaint.Builder clearValue()Required. Value for the taint.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
NodeTaint.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public NodeTaint getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NodeTaint |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEffect()
public NodeTaint.Effect getEffect()Required. The taint effect.
.google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
NodeTaint.Effect |
The effect. |
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()
public String 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. |
getValue()
public String 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NodeTaint other)
public NodeTaint.Builder mergeFrom(NodeTaint other)| Parameter | |
|---|---|
| Name | Description |
other |
NodeTaint |
| Returns | |
|---|---|
| Type | Description |
NodeTaint.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NodeTaint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NodeTaint.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NodeTaint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NodeTaint.Builder |
|
setEffect(NodeTaint.Effect value)
public NodeTaint.Builder setEffect(NodeTaint.Effect value)Required. The taint effect.
.google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
NodeTaint.EffectThe effect to set. |
| Returns | |
|---|---|
| Type | Description |
NodeTaint.Builder |
This builder for chaining. |
setEffectValue(int value)
public NodeTaint.Builder setEffectValue(int value)Required. The taint effect.
.google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for effect to set. |
| Returns | |
|---|---|
| Type | Description |
NodeTaint.Builder |
This builder for chaining. |
setKey(String value)
public NodeTaint.Builder setKey(String value)Required. Key for the taint.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe key to set. |
| Returns | |
|---|---|
| Type | Description |
NodeTaint.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public NodeTaint.Builder setKeyBytes(ByteString value)Required. Key for the taint.
string key = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for key to set. |
| Returns | |
|---|---|
| Type | Description |
NodeTaint.Builder |
This builder for chaining. |
setValue(String value)
public NodeTaint.Builder setValue(String value)Required. Value for the taint.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
NodeTaint.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public NodeTaint.Builder setValueBytes(ByteString value)Required. Value for the taint.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
NodeTaint.Builder |
This builder for chaining. |