Class NodeTaints.Builder (2.5.0)

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

Collection of Kubernetes node taints.

Protobuf type google.container.v1.NodeTaints

Implements

NodeTaintsOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllTaints(Iterable<? extends NodeTaint> values)

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

List of node taints.

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

Parameter
NameDescription
valuesIterable<? extends com.google.container.v1.NodeTaint>
Returns
TypeDescription
NodeTaints.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodeTaints.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodeTaints.Builder
Overrides

addTaints(NodeTaint value)

public NodeTaints.Builder addTaints(NodeTaint value)

List of node taints.

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

Parameter
NameDescription
valueNodeTaint
Returns
TypeDescription
NodeTaints.Builder

addTaints(NodeTaint.Builder builderForValue)

public NodeTaints.Builder addTaints(NodeTaint.Builder builderForValue)

List of node taints.

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

Parameter
NameDescription
builderForValueNodeTaint.Builder
Returns
TypeDescription
NodeTaints.Builder

addTaints(int index, NodeTaint value)

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

List of node taints.

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

Parameters
NameDescription
indexint
valueNodeTaint
Returns
TypeDescription
NodeTaints.Builder

addTaints(int index, NodeTaint.Builder builderForValue)

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

List of node taints.

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

Parameters
NameDescription
indexint
builderForValueNodeTaint.Builder
Returns
TypeDescription
NodeTaints.Builder

addTaintsBuilder()

public NodeTaint.Builder addTaintsBuilder()

List of node taints.

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

Returns
TypeDescription
NodeTaint.Builder

addTaintsBuilder(int index)

public NodeTaint.Builder addTaintsBuilder(int index)

List of node taints.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NodeTaint.Builder

build()

public NodeTaints build()
Returns
TypeDescription
NodeTaints

buildPartial()

public NodeTaints buildPartial()
Returns
TypeDescription
NodeTaints

clear()

public NodeTaints.Builder clear()
Returns
TypeDescription
NodeTaints.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NodeTaints.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NodeTaints.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeTaints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NodeTaints.Builder
Overrides

clearTaints()

public NodeTaints.Builder clearTaints()

List of node taints.

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

Returns
TypeDescription
NodeTaints.Builder

clone()

public NodeTaints.Builder clone()
Returns
TypeDescription
NodeTaints.Builder
Overrides

getDefaultInstanceForType()

public NodeTaints getDefaultInstanceForType()
Returns
TypeDescription
NodeTaints

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTaints(int index)

public NodeTaint getTaints(int index)

List of node taints.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NodeTaint

getTaintsBuilder(int index)

public NodeTaint.Builder getTaintsBuilder(int index)

List of node taints.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NodeTaint.Builder

getTaintsBuilderList()

public List<NodeTaint.Builder> getTaintsBuilderList()

List of node taints.

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

Returns
TypeDescription
List<Builder>

getTaintsCount()

public int getTaintsCount()

List of node taints.

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

Returns
TypeDescription
int

getTaintsList()

public List<NodeTaint> getTaintsList()

List of node taints.

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

Returns
TypeDescription
List<NodeTaint>

getTaintsOrBuilder(int index)

public NodeTaintOrBuilder getTaintsOrBuilder(int index)

List of node taints.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NodeTaintOrBuilder

getTaintsOrBuilderList()

public List<? extends NodeTaintOrBuilder> getTaintsOrBuilderList()

List of node taints.

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

Returns
TypeDescription
List<? extends com.google.container.v1.NodeTaintOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodeTaints other)

public NodeTaints.Builder mergeFrom(NodeTaints other)
Parameter
NameDescription
otherNodeTaints
Returns
TypeDescription
NodeTaints.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodeTaints.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeTaints.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NodeTaints.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NodeTaints.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeTaints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeTaints.Builder
Overrides

removeTaints(int index)

public NodeTaints.Builder removeTaints(int index)

List of node taints.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NodeTaints.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NodeTaints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodeTaints.Builder
Overrides

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

public NodeTaints.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NodeTaints.Builder
Overrides

setTaints(int index, NodeTaint value)

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

List of node taints.

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

Parameters
NameDescription
indexint
valueNodeTaint
Returns
TypeDescription
NodeTaints.Builder

setTaints(int index, NodeTaint.Builder builderForValue)

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

List of node taints.

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

Parameters
NameDescription
indexint
builderForValueNodeTaint.Builder
Returns
TypeDescription
NodeTaints.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeTaints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeTaints.Builder
Overrides