Class ListNodesResponse.Builder (0.28.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vmwareengine.v1.Node>
Returns
TypeDescription
ListNodesResponse.Builder

addNodes(Node value)

public ListNodesResponse.Builder addNodes(Node value)

The nodes.

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

Parameter
NameDescription
valueNode
Returns
TypeDescription
ListNodesResponse.Builder

addNodes(Node.Builder builderForValue)

public ListNodesResponse.Builder addNodes(Node.Builder builderForValue)

The nodes.

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

Parameter
NameDescription
builderForValueNode.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNode
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNode.Builder
Returns
TypeDescription
ListNodesResponse.Builder

addNodesBuilder()

public Node.Builder addNodesBuilder()

The nodes.

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

Returns
TypeDescription
Node.Builder

addNodesBuilder(int index)

public Node.Builder addNodesBuilder(int index)

The nodes.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Node.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNodesResponse build()
Returns
TypeDescription
ListNodesResponse

buildPartial()

public ListNodesResponse buildPartial()
Returns
TypeDescription
ListNodesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListNodesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListNodesResponse.Builder

This builder for chaining.

clearNodes()

public ListNodesResponse.Builder clearNodes()

The nodes.

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

Returns
TypeDescription
ListNodesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListNodesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNodesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getNodes(int index)

public Node getNodes(int index)

The nodes.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Node

getNodesBuilder(int index)

public Node.Builder getNodesBuilder(int index)

The nodes.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Node.Builder

getNodesBuilderList()

public List<Node.Builder> getNodesBuilderList()

The nodes.

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

Returns
TypeDescription
List<Builder>

getNodesCount()

public int getNodesCount()

The nodes.

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

Returns
TypeDescription
int

getNodesList()

public List<Node> getNodesList()

The nodes.

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

Returns
TypeDescription
List<Node>

getNodesOrBuilder(int index)

public NodeOrBuilder getNodesOrBuilder(int index)

The nodes.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NodeOrBuilder

getNodesOrBuilderList()

public List<? extends NodeOrBuilder> getNodesOrBuilderList()

The nodes.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListNodesResponse other)

public ListNodesResponse.Builder mergeFrom(ListNodesResponse other)
Parameter
NameDescription
otherListNodesResponse
Returns
TypeDescription
ListNodesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNodes(int index)

public ListNodesResponse.Builder removeNodes(int index)

The nodes.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListNodesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListNodesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueNode
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNode.Builder
Returns
TypeDescription
ListNodesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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