Class ListNodePoolsResponse.Builder (0.28.0)

public static final class ListNodePoolsResponse.Builder extends GeneratedMessageV3.Builder<ListNodePoolsResponse.Builder> implements ListNodePoolsResponseOrBuilder

List of node pools in a cluster.

Protobuf type google.cloud.edgecontainer.v1.ListNodePoolsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllNodePools(Iterable<? extends NodePool> values)

public ListNodePoolsResponse.Builder addAllNodePools(Iterable<? extends NodePool> values)

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.edgecontainer.v1.NodePool>
Returns
TypeDescription
ListNodePoolsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListNodePoolsResponse.Builder

This builder for chaining.

addNodePools(NodePool value)

public ListNodePoolsResponse.Builder addNodePools(NodePool value)

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Parameter
NameDescription
valueNodePool
Returns
TypeDescription
ListNodePoolsResponse.Builder

addNodePools(NodePool.Builder builderForValue)

public ListNodePoolsResponse.Builder addNodePools(NodePool.Builder builderForValue)

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Parameter
NameDescription
builderForValueNodePool.Builder
Returns
TypeDescription
ListNodePoolsResponse.Builder

addNodePools(int index, NodePool value)

public ListNodePoolsResponse.Builder addNodePools(int index, NodePool value)

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Parameters
NameDescription
indexint
valueNodePool
Returns
TypeDescription
ListNodePoolsResponse.Builder

addNodePools(int index, NodePool.Builder builderForValue)

public ListNodePoolsResponse.Builder addNodePools(int index, NodePool.Builder builderForValue)

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Parameters
NameDescription
indexint
builderForValueNodePool.Builder
Returns
TypeDescription
ListNodePoolsResponse.Builder

addNodePoolsBuilder()

public NodePool.Builder addNodePoolsBuilder()

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Returns
TypeDescription
NodePool.Builder

addNodePoolsBuilder(int index)

public NodePool.Builder addNodePoolsBuilder(int index)

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NodePool.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListNodePoolsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListNodePoolsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListNodePoolsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListNodePoolsResponse.Builder

This builder for chaining.

build()

public ListNodePoolsResponse build()
Returns
TypeDescription
ListNodePoolsResponse

buildPartial()

public ListNodePoolsResponse buildPartial()
Returns
TypeDescription
ListNodePoolsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListNodePoolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListNodePoolsResponse.Builder
Overrides

clearNextPageToken()

public ListNodePoolsResponse.Builder clearNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
ListNodePoolsResponse.Builder

This builder for chaining.

clearNodePools()

public ListNodePoolsResponse.Builder clearNodePools()

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Returns
TypeDescription
ListNodePoolsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListNodePoolsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListNodePoolsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListNodePoolsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNodePoolsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getNodePools(int index)

public NodePool getNodePools(int index)

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NodePool

getNodePoolsBuilder(int index)

public NodePool.Builder getNodePoolsBuilder(int index)

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NodePool.Builder

getNodePoolsBuilderList()

public List<NodePool.Builder> getNodePoolsBuilderList()

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Returns
TypeDescription
List<Builder>

getNodePoolsCount()

public int getNodePoolsCount()

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Returns
TypeDescription
int

getNodePoolsList()

public List<NodePool> getNodePoolsList()

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Returns
TypeDescription
List<NodePool>

getNodePoolsOrBuilder(int index)

public NodePoolOrBuilder getNodePoolsOrBuilder(int index)

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NodePoolOrBuilder

getNodePoolsOrBuilderList()

public List<? extends NodePoolOrBuilder> getNodePoolsOrBuilderList()

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Returns
TypeDescription
List<? extends com.google.cloud.edgecontainer.v1.NodePoolOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

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.

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.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

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(ListNodePoolsResponse other)

public ListNodePoolsResponse.Builder mergeFrom(ListNodePoolsResponse other)
Parameter
NameDescription
otherListNodePoolsResponse
Returns
TypeDescription
ListNodePoolsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNodePools(int index)

public ListNodePoolsResponse.Builder removeNodePools(int index)

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListNodePoolsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListNodePoolsResponse.Builder setNextPageToken(String value)

A token to retrieve next page of results.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListNodePoolsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListNodePoolsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve next page of results.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListNodePoolsResponse.Builder

This builder for chaining.

setNodePools(int index, NodePool value)

public ListNodePoolsResponse.Builder setNodePools(int index, NodePool value)

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Parameters
NameDescription
indexint
valueNodePool
Returns
TypeDescription
ListNodePoolsResponse.Builder

setNodePools(int index, NodePool.Builder builderForValue)

public ListNodePoolsResponse.Builder setNodePools(int index, NodePool.Builder builderForValue)

Node pools in the cluster.

repeated .google.cloud.edgecontainer.v1.NodePool node_pools = 1;

Parameters
NameDescription
indexint
builderForValueNodePool.Builder
Returns
TypeDescription
ListNodePoolsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListNodePoolsResponse.Builder

This builder for chaining.