- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class NodeTaint.Builder extends GeneratedMessageV3.Builder<NodeTaint.Builder> implements NodeTaintOrBuilder
The taint content for the node taint.
Protobuf type google.cloud.gkemulticloud.v1.NodeTaint
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NodeTaint.BuilderImplements
NodeTaintOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeTaint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NodeTaint.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public NodeTaint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
NodeTaint.Builder |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeTaint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
NodeTaint.Builder |
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. |
clone()
public NodeTaint.Builder clone()
Returns | |
---|---|
Type | Description |
NodeTaint.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeTaint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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.Effect The 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 |
int The enum numeric value on the wire for effect to set. |
Returns | |
---|---|
Type | Description |
NodeTaint.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NodeTaint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NodeTaint.Builder |
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 |
String The 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 |
ByteString The bytes for key to set. |
Returns | |
---|---|
Type | Description |
NodeTaint.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeTaint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
NodeTaint.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeTaint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NodeTaint.Builder |
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 |
String The 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 |
ByteString The bytes for value to set. |
Returns | |
---|---|
Type | Description |
NodeTaint.Builder |
This builder for chaining. |