Class NodeGroupsDeleteNodesRequest.Builder (1.56.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
Type Description
Descriptor

Methods

addAllNodes(Iterable<String> values)

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

Names of the nodes to delete.

repeated string nodes = 104993457;

Parameter
Name Description
values Iterable<String>

The nodes to add.

Returns
Type Description
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
Name Description
value String

The nodes to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the nodes to add.

Returns
Type Description
NodeGroupsDeleteNodesRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NodeGroupsDeleteNodesRequest build()
Returns
Type Description
NodeGroupsDeleteNodesRequest

buildPartial()

public NodeGroupsDeleteNodesRequest buildPartial()
Returns
Type Description
NodeGroupsDeleteNodesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNodes()

public NodeGroupsDeleteNodesRequest.Builder clearNodes()

Names of the nodes to delete.

repeated string nodes = 104993457;

Returns
Type Description
NodeGroupsDeleteNodesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NodeGroupsDeleteNodesRequest getDefaultInstanceForType()
Returns
Type Description
NodeGroupsDeleteNodesRequest

getDescriptorForType()

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

getNodes(int index)

public String getNodes(int index)

Names of the nodes to delete.

repeated string nodes = 104993457;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of nodes.

getNodesList()

public ProtocolStringList getNodesList()

Names of the nodes to delete.

repeated string nodes = 104993457;

Returns
Type Description
ProtocolStringList

A list containing the nodes.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodeGroupsDeleteNodesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public NodeGroupsDeleteNodesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The nodes to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NodeGroupsDeleteNodesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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