Class NodeTaints.Builder (2.52.0)

public static final class NodeTaints.Builder extends GeneratedMessageV3.Builder<NodeTaints.Builder> implements NodeTaintsOrBuilder

Collection of Kubernetes node taints.

Protobuf type google.container.v1beta1.NodeTaints

Implements

NodeTaintsOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllTaints(Iterable<? extends NodeTaint> values)

public NodeTaints.Builder addAllTaints(Iterable<? extends NodeTaint> values)

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Parameter
Name Description
values Iterable<? extends com.google.container.v1beta1.NodeTaint>
Returns
Type Description
NodeTaints.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodeTaints.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NodeTaints.Builder
Overrides

addTaints(NodeTaint value)

public NodeTaints.Builder addTaints(NodeTaint value)

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Parameter
Name Description
value NodeTaint
Returns
Type Description
NodeTaints.Builder

addTaints(NodeTaint.Builder builderForValue)

public NodeTaints.Builder addTaints(NodeTaint.Builder builderForValue)

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Parameter
Name Description
builderForValue NodeTaint.Builder
Returns
Type Description
NodeTaints.Builder

addTaints(int index, NodeTaint value)

public NodeTaints.Builder addTaints(int index, NodeTaint value)

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Parameters
Name Description
index int
value NodeTaint
Returns
Type Description
NodeTaints.Builder

addTaints(int index, NodeTaint.Builder builderForValue)

public NodeTaints.Builder addTaints(int index, NodeTaint.Builder builderForValue)

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Parameters
Name Description
index int
builderForValue NodeTaint.Builder
Returns
Type Description
NodeTaints.Builder

addTaintsBuilder()

public NodeTaint.Builder addTaintsBuilder()

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Returns
Type Description
NodeTaint.Builder

addTaintsBuilder(int index)

public NodeTaint.Builder addTaintsBuilder(int index)

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Parameter
Name Description
index int
Returns
Type Description
NodeTaint.Builder

build()

public NodeTaints build()
Returns
Type Description
NodeTaints

buildPartial()

public NodeTaints buildPartial()
Returns
Type Description
NodeTaints

clear()

public NodeTaints.Builder clear()
Returns
Type Description
NodeTaints.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NodeTaints.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NodeTaints.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeTaints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NodeTaints.Builder
Overrides

clearTaints()

public NodeTaints.Builder clearTaints()

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Returns
Type Description
NodeTaints.Builder

clone()

public NodeTaints.Builder clone()
Returns
Type Description
NodeTaints.Builder
Overrides

getDefaultInstanceForType()

public NodeTaints getDefaultInstanceForType()
Returns
Type Description
NodeTaints

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTaints(int index)

public NodeTaint getTaints(int index)

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Parameter
Name Description
index int
Returns
Type Description
NodeTaint

getTaintsBuilder(int index)

public NodeTaint.Builder getTaintsBuilder(int index)

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Parameter
Name Description
index int
Returns
Type Description
NodeTaint.Builder

getTaintsBuilderList()

public List<NodeTaint.Builder> getTaintsBuilderList()

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Returns
Type Description
List<Builder>

getTaintsCount()

public int getTaintsCount()

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Returns
Type Description
int

getTaintsList()

public List<NodeTaint> getTaintsList()

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Returns
Type Description
List<NodeTaint>

getTaintsOrBuilder(int index)

public NodeTaintOrBuilder getTaintsOrBuilder(int index)

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Parameter
Name Description
index int
Returns
Type Description
NodeTaintOrBuilder

getTaintsOrBuilderList()

public List<? extends NodeTaintOrBuilder> getTaintsOrBuilderList()

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Returns
Type Description
List<? extends com.google.container.v1beta1.NodeTaintOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodeTaints other)

public NodeTaints.Builder mergeFrom(NodeTaints other)
Parameter
Name Description
other NodeTaints
Returns
Type Description
NodeTaints.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodeTaints.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeTaints.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NodeTaints.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NodeTaints.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeTaints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodeTaints.Builder
Overrides

removeTaints(int index)

public NodeTaints.Builder removeTaints(int index)

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Parameter
Name Description
index int
Returns
Type Description
NodeTaints.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NodeTaints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NodeTaints.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NodeTaints.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NodeTaints.Builder
Overrides

setTaints(int index, NodeTaint value)

public NodeTaints.Builder setTaints(int index, NodeTaint value)

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Parameters
Name Description
index int
value NodeTaint
Returns
Type Description
NodeTaints.Builder

setTaints(int index, NodeTaint.Builder builderForValue)

public NodeTaints.Builder setTaints(int index, NodeTaint.Builder builderForValue)

List of node taints.

repeated .google.container.v1beta1.NodeTaint taints = 1;

Parameters
Name Description
index int
builderForValue NodeTaint.Builder
Returns
Type Description
NodeTaints.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeTaints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NodeTaints.Builder
Overrides