Class NodeGroupsDeleteNodesRequest.Builder (1.19.0)

public static final class NodeGroupsDeleteNodesRequest.Builder extends GeneratedMessageV3.Builder<NodeGroupsDeleteNodesRequest.Builder> implements NodeGroupsDeleteNodesRequestOrBuilder

Protobuf type google.cloud.compute.v1.NodeGroupsDeleteNodesRequest

Static Methods

getDescriptor()

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

Methods

addAllNodes(Iterable<String> values)

public NodeGroupsDeleteNodesRequest.Builder addAllNodes(Iterable<String> values)

Names of the nodes to delete.

repeated string nodes = 104993457;

Parameter
NameDescription
valuesIterable<String>

The nodes to add.

Returns
TypeDescription
NodeGroupsDeleteNodesRequest.Builder

This builder for chaining.

addNodes(String value)

public NodeGroupsDeleteNodesRequest.Builder addNodes(String value)

Names of the nodes to delete.

repeated string nodes = 104993457;

Parameter
NameDescription
valueString

The nodes to add.

Returns
TypeDescription
NodeGroupsDeleteNodesRequest.Builder

This builder for chaining.

addNodesBytes(ByteString value)

public NodeGroupsDeleteNodesRequest.Builder addNodesBytes(ByteString value)

Names of the nodes to delete.

repeated string nodes = 104993457;

Parameter
NameDescription
valueByteString

The bytes of the nodes to add.

Returns
TypeDescription
NodeGroupsDeleteNodesRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeGroupsDeleteNodesRequest build()
Returns
TypeDescription
NodeGroupsDeleteNodesRequest

buildPartial()

public NodeGroupsDeleteNodesRequest buildPartial()
Returns
TypeDescription
NodeGroupsDeleteNodesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNodes()

public NodeGroupsDeleteNodesRequest.Builder clearNodes()

Names of the nodes to delete.

repeated string nodes = 104993457;

Returns
TypeDescription
NodeGroupsDeleteNodesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NodeGroupsDeleteNodesRequest getDefaultInstanceForType()
Returns
TypeDescription
NodeGroupsDeleteNodesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNodes(int index)

public String getNodes(int index)

Names of the nodes to delete.

repeated string nodes = 104993457;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The nodes at the given index.

getNodesBytes(int index)

public ByteString getNodesBytes(int index)

Names of the nodes to delete.

repeated string nodes = 104993457;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the nodes at the given index.

getNodesCount()

public int getNodesCount()

Names of the nodes to delete.

repeated string nodes = 104993457;

Returns
TypeDescription
int

The count of nodes.

getNodesList()

public ProtocolStringList getNodesList()

Names of the nodes to delete.

repeated string nodes = 104993457;

Returns
TypeDescription
ProtocolStringList

A list containing the nodes.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodeGroupsDeleteNodesRequest other)

public NodeGroupsDeleteNodesRequest.Builder mergeFrom(NodeGroupsDeleteNodesRequest other)
Parameter
NameDescription
otherNodeGroupsDeleteNodesRequest
Returns
TypeDescription
NodeGroupsDeleteNodesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNodes(int index, String value)

public NodeGroupsDeleteNodesRequest.Builder setNodes(int index, String value)

Names of the nodes to delete.

repeated string nodes = 104993457;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The nodes to set.

Returns
TypeDescription
NodeGroupsDeleteNodesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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