- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class NodeTaint.Builder extends GeneratedMessageV3.Builder<NodeTaint.Builder> 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.v1beta1.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()
Effect for taint.
.google.container.v1beta1.NodeTaint.Effect effect = 3;
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()
Key for taint.
string key = 1;
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()
Value for taint.
string value = 2;
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()
Effect for taint.
.google.container.v1beta1.NodeTaint.Effect effect = 3;
Returns | |
---|---|
Type | Description |
NodeTaint.Effect | The effect. |
getEffectValue()
public int getEffectValue()
Effect for taint.
.google.container.v1beta1.NodeTaint.Effect effect = 3;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for effect. |
getKey()
public String 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. |
getValue()
public String 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. |
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)
Effect for taint.
.google.container.v1beta1.NodeTaint.Effect effect = 3;
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)
Effect for taint.
.google.container.v1beta1.NodeTaint.Effect effect = 3;
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)
Key for taint.
string key = 1;
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)
Key for taint.
string key = 1;
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)
Value for taint.
string value = 2;
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)
Value for taint.
string value = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for value to set. |
Returns | |
---|---|
Type | Description |
NodeTaint.Builder | This builder for chaining. |