Class ListNodeTypesResponse.Builder (0.21.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vmwareengine.v1.NodeType>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueNodeType
Returns
TypeDescription
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
NameDescription
builderForValueNodeType.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNodeType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNodeType.Builder
Returns
TypeDescription
ListNodeTypesResponse.Builder

addNodeTypesBuilder()

public NodeType.Builder addNodeTypesBuilder()

A list of Node Types.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NodeType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListNodeTypesResponse.Builder

This builder for chaining.

build()

public ListNodeTypesResponse build()
Returns
TypeDescription
ListNodeTypesResponse

buildPartial()

public ListNodeTypesResponse buildPartial()
Returns
TypeDescription
ListNodeTypesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNodeTypesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListNodeTypesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListNodeTypesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNodeTypesResponse

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.

getNodeTypes(int index)

public NodeType getNodeTypes(int index)

A list of Node Types.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NodeType.Builder

getNodeTypesBuilderList()

public List<NodeType.Builder> getNodeTypesBuilderList()

A list of Node Types.

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

Returns
TypeDescription
List<Builder>

getNodeTypesCount()

public int getNodeTypesCount()

A list of Node Types.

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

Returns
TypeDescription
int

getNodeTypesList()

public List<NodeType> getNodeTypesList()

A list of Node Types.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NodeTypeOrBuilder

getNodeTypesOrBuilderList()

public List<? extends NodeTypeOrBuilder> getNodeTypesOrBuilderList()

A list of Node Types.

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

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

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListNodeTypesResponse other)

public ListNodeTypesResponse.Builder mergeFrom(ListNodeTypesResponse other)
Parameter
NameDescription
otherListNodeTypesResponse
Returns
TypeDescription
ListNodeTypesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListNodeTypesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListNodeTypesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueNodeType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNodeType.Builder
Returns
TypeDescription
ListNodeTypesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListNodeTypesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListNodeTypesResponse.Builder

This builder for chaining.