Class ListNodesResponse.Builder (0.46.0)

public static final class ListNodesResponse.Builder extends GeneratedMessageV3.Builder<ListNodesResponse.Builder> implements ListNodesResponseOrBuilder

Response message for VmwareEngine.ListNodes

Protobuf type google.cloud.vmwareengine.v1.ListNodesResponse

Static Methods

getDescriptor()

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

Methods

addAllNodes(Iterable<? extends Node> values)

public ListNodesResponse.Builder addAllNodes(Iterable<? extends Node> values)

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vmwareengine.v1.Node>
Returns
Type Description
ListNodesResponse.Builder

addNodes(Node value)

public ListNodesResponse.Builder addNodes(Node value)

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Parameter
Name Description
value Node
Returns
Type Description
ListNodesResponse.Builder

addNodes(Node.Builder builderForValue)

public ListNodesResponse.Builder addNodes(Node.Builder builderForValue)

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Parameter
Name Description
builderForValue Node.Builder
Returns
Type Description
ListNodesResponse.Builder

addNodes(int index, Node value)

public ListNodesResponse.Builder addNodes(int index, Node value)

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Parameters
Name Description
index int
value Node
Returns
Type Description
ListNodesResponse.Builder

addNodes(int index, Node.Builder builderForValue)

public ListNodesResponse.Builder addNodes(int index, Node.Builder builderForValue)

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Parameters
Name Description
index int
builderForValue Node.Builder
Returns
Type Description
ListNodesResponse.Builder

addNodesBuilder()

public Node.Builder addNodesBuilder()

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Returns
Type Description
Node.Builder

addNodesBuilder(int index)

public Node.Builder addNodesBuilder(int index)

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Parameter
Name Description
index int
Returns
Type Description
Node.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNodesResponse build()
Returns
Type Description
ListNodesResponse

buildPartial()

public ListNodesResponse buildPartial()
Returns
Type Description
ListNodesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListNodesResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListNodesResponse.Builder

This builder for chaining.

clearNodes()

public ListNodesResponse.Builder clearNodes()

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Returns
Type Description
ListNodesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListNodesResponse getDefaultInstanceForType()
Returns
Type Description
ListNodesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getNodes(int index)

public Node getNodes(int index)

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Parameter
Name Description
index int
Returns
Type Description
Node

getNodesBuilder(int index)

public Node.Builder getNodesBuilder(int index)

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Parameter
Name Description
index int
Returns
Type Description
Node.Builder

getNodesBuilderList()

public List<Node.Builder> getNodesBuilderList()

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Returns
Type Description
List<Builder>

getNodesCount()

public int getNodesCount()

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Returns
Type Description
int

getNodesList()

public List<Node> getNodesList()

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Returns
Type Description
List<Node>

getNodesOrBuilder(int index)

public NodeOrBuilder getNodesOrBuilder(int index)

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Parameter
Name Description
index int
Returns
Type Description
NodeOrBuilder

getNodesOrBuilderList()

public List<? extends NodeOrBuilder> getNodesOrBuilderList()

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Returns
Type Description
List<? extends com.google.cloud.vmwareengine.v1.NodeOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNodesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNodes(int index)

public ListNodesResponse.Builder removeNodes(int index)

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Parameter
Name Description
index int
Returns
Type Description
ListNodesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListNodesResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListNodesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListNodesResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListNodesResponse.Builder

This builder for chaining.

setNodes(int index, Node value)

public ListNodesResponse.Builder setNodes(int index, Node value)

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Parameters
Name Description
index int
value Node
Returns
Type Description
ListNodesResponse.Builder

setNodes(int index, Node.Builder builderForValue)

public ListNodesResponse.Builder setNodes(int index, Node.Builder builderForValue)

The nodes.

repeated .google.cloud.vmwareengine.v1.Node nodes = 1;

Parameters
Name Description
index int
builderForValue Node.Builder
Returns
Type Description
ListNodesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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