Class ListNodeTypesResponse.Builder (0.37.0)

public static final class ListNodeTypesResponse.Builder extends GeneratedMessageV3.Builder<ListNodeTypesResponse.Builder> implements ListNodeTypesResponseOrBuilder

Response message for VmwareEngine.ListNodeTypes

Protobuf type google.cloud.vmwareengine.v1.ListNodeTypesResponse

Static Methods

getDescriptor()

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

Methods

addAllNodeTypes(Iterable<? extends NodeType> values)

public ListNodeTypesResponse.Builder addAllNodeTypes(Iterable<? extends NodeType> values)

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

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

addAllUnreachable(Iterable<String> values)

public ListNodeTypesResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListNodeTypesResponse.Builder

This builder for chaining.

addNodeTypes(NodeType value)

public ListNodeTypesResponse.Builder addNodeTypes(NodeType value)

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Parameter
Name Description
value NodeType
Returns
Type Description
ListNodeTypesResponse.Builder

addNodeTypes(NodeType.Builder builderForValue)

public ListNodeTypesResponse.Builder addNodeTypes(NodeType.Builder builderForValue)

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Parameter
Name Description
builderForValue NodeType.Builder
Returns
Type Description
ListNodeTypesResponse.Builder

addNodeTypes(int index, NodeType value)

public ListNodeTypesResponse.Builder addNodeTypes(int index, NodeType value)

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Parameters
Name Description
index int
value NodeType
Returns
Type Description
ListNodeTypesResponse.Builder

addNodeTypes(int index, NodeType.Builder builderForValue)

public ListNodeTypesResponse.Builder addNodeTypes(int index, NodeType.Builder builderForValue)

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Parameters
Name Description
index int
builderForValue NodeType.Builder
Returns
Type Description
ListNodeTypesResponse.Builder

addNodeTypesBuilder()

public NodeType.Builder addNodeTypesBuilder()

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Returns
Type Description
NodeType.Builder

addNodeTypesBuilder(int index)

public NodeType.Builder addNodeTypesBuilder(int index)

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Parameter
Name Description
index int
Returns
Type Description
NodeType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListNodeTypesResponse.Builder addUnreachable(String value)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListNodeTypesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListNodeTypesResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListNodeTypesResponse.Builder

This builder for chaining.

build()

public ListNodeTypesResponse build()
Returns
Type Description
ListNodeTypesResponse

buildPartial()

public ListNodeTypesResponse buildPartial()
Returns
Type Description
ListNodeTypesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListNodeTypesResponse.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
ListNodeTypesResponse.Builder

This builder for chaining.

clearNodeTypes()

public ListNodeTypesResponse.Builder clearNodeTypes()

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Returns
Type Description
ListNodeTypesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListNodeTypesResponse.Builder clearUnreachable()

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Returns
Type Description
ListNodeTypesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListNodeTypesResponse getDefaultInstanceForType()
Returns
Type Description
ListNodeTypesResponse

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.

getNodeTypes(int index)

public NodeType getNodeTypes(int index)

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Parameter
Name Description
index int
Returns
Type Description
NodeType

getNodeTypesBuilder(int index)

public NodeType.Builder getNodeTypesBuilder(int index)

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Parameter
Name Description
index int
Returns
Type Description
NodeType.Builder

getNodeTypesBuilderList()

public List<NodeType.Builder> getNodeTypesBuilderList()

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Returns
Type Description
List<Builder>

getNodeTypesCount()

public int getNodeTypesCount()

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Returns
Type Description
int

getNodeTypesList()

public List<NodeType> getNodeTypesList()

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Returns
Type Description
List<NodeType>

getNodeTypesOrBuilder(int index)

public NodeTypeOrBuilder getNodeTypesOrBuilder(int index)

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Parameter
Name Description
index int
Returns
Type Description
NodeTypeOrBuilder

getNodeTypesOrBuilderList()

public List<? extends NodeTypeOrBuilder> getNodeTypesOrBuilderList()

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

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

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNodeTypesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNodeTypes(int index)

public ListNodeTypesResponse.Builder removeNodeTypes(int index)

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Parameter
Name Description
index int
Returns
Type Description
ListNodeTypesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListNodeTypesResponse.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
ListNodeTypesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListNodeTypesResponse.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
ListNodeTypesResponse.Builder

This builder for chaining.

setNodeTypes(int index, NodeType value)

public ListNodeTypesResponse.Builder setNodeTypes(int index, NodeType value)

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Parameters
Name Description
index int
value NodeType
Returns
Type Description
ListNodeTypesResponse.Builder

setNodeTypes(int index, NodeType.Builder builderForValue)

public ListNodeTypesResponse.Builder setNodeTypes(int index, NodeType.Builder builderForValue)

A list of Node Types.

repeated .google.cloud.vmwareengine.v1.NodeType node_types = 1;

Parameters
Name Description
index int
builderForValue NodeType.Builder
Returns
Type Description
ListNodeTypesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListNodeTypesResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListNodeTypesResponse.Builder

This builder for chaining.