Class ListAwsNodePoolsResponse.Builder (0.34.0)

public static final class ListAwsNodePoolsResponse.Builder extends GeneratedMessageV3.Builder<ListAwsNodePoolsResponse.Builder> implements ListAwsNodePoolsResponseOrBuilder

Response message for AwsClusters.ListAwsNodePools method.

Protobuf type google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse

Static Methods

getDescriptor()

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

Methods

addAllAwsNodePools(Iterable<? extends AwsNodePool> values)

public ListAwsNodePoolsResponse.Builder addAllAwsNodePools(Iterable<? extends AwsNodePool> values)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.gkemulticloud.v1.AwsNodePool>
Returns
TypeDescription
ListAwsNodePoolsResponse.Builder

addAwsNodePools(AwsNodePool value)

public ListAwsNodePoolsResponse.Builder addAwsNodePools(AwsNodePool value)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
NameDescription
valueAwsNodePool
Returns
TypeDescription
ListAwsNodePoolsResponse.Builder

addAwsNodePools(AwsNodePool.Builder builderForValue)

public ListAwsNodePoolsResponse.Builder addAwsNodePools(AwsNodePool.Builder builderForValue)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
NameDescription
builderForValueAwsNodePool.Builder
Returns
TypeDescription
ListAwsNodePoolsResponse.Builder

addAwsNodePools(int index, AwsNodePool value)

public ListAwsNodePoolsResponse.Builder addAwsNodePools(int index, AwsNodePool value)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameters
NameDescription
indexint
valueAwsNodePool
Returns
TypeDescription
ListAwsNodePoolsResponse.Builder

addAwsNodePools(int index, AwsNodePool.Builder builderForValue)

public ListAwsNodePoolsResponse.Builder addAwsNodePools(int index, AwsNodePool.Builder builderForValue)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameters
NameDescription
indexint
builderForValueAwsNodePool.Builder
Returns
TypeDescription
ListAwsNodePoolsResponse.Builder

addAwsNodePoolsBuilder()

public AwsNodePool.Builder addAwsNodePoolsBuilder()

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Returns
TypeDescription
AwsNodePool.Builder

addAwsNodePoolsBuilder(int index)

public AwsNodePool.Builder addAwsNodePoolsBuilder(int index)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsNodePool.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAwsNodePoolsResponse build()
Returns
TypeDescription
ListAwsNodePoolsResponse

buildPartial()

public ListAwsNodePoolsResponse buildPartial()
Returns
TypeDescription
ListAwsNodePoolsResponse

clear()

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

clearAwsNodePools()

public ListAwsNodePoolsResponse.Builder clearAwsNodePools()

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Returns
TypeDescription
ListAwsNodePoolsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAwsNodePoolsResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ListAwsNodePoolsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAwsNodePools(int index)

public AwsNodePool getAwsNodePools(int index)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsNodePool

getAwsNodePoolsBuilder(int index)

public AwsNodePool.Builder getAwsNodePoolsBuilder(int index)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsNodePool.Builder

getAwsNodePoolsBuilderList()

public List<AwsNodePool.Builder> getAwsNodePoolsBuilderList()

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Returns
TypeDescription
List<Builder>

getAwsNodePoolsCount()

public int getAwsNodePoolsCount()

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Returns
TypeDescription
int

getAwsNodePoolsList()

public List<AwsNodePool> getAwsNodePoolsList()

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Returns
TypeDescription
List<AwsNodePool>

getAwsNodePoolsOrBuilder(int index)

public AwsNodePoolOrBuilder getAwsNodePoolsOrBuilder(int index)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsNodePoolOrBuilder

getAwsNodePoolsOrBuilderList()

public List<? extends AwsNodePoolOrBuilder> getAwsNodePoolsOrBuilderList()

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Returns
TypeDescription
List<? extends com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>

getDefaultInstanceForType()

public ListAwsNodePoolsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAwsNodePoolsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAwsNodePoolsResponse other)

public ListAwsNodePoolsResponse.Builder mergeFrom(ListAwsNodePoolsResponse other)
Parameter
NameDescription
otherListAwsNodePoolsResponse
Returns
TypeDescription
ListAwsNodePoolsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAwsNodePools(int index)

public ListAwsNodePoolsResponse.Builder removeAwsNodePools(int index)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListAwsNodePoolsResponse.Builder

setAwsNodePools(int index, AwsNodePool value)

public ListAwsNodePoolsResponse.Builder setAwsNodePools(int index, AwsNodePool value)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameters
NameDescription
indexint
valueAwsNodePool
Returns
TypeDescription
ListAwsNodePoolsResponse.Builder

setAwsNodePools(int index, AwsNodePool.Builder builderForValue)

public ListAwsNodePoolsResponse.Builder setAwsNodePools(int index, AwsNodePool.Builder builderForValue)

A list of AwsNodePool resources in the specified AwsCluster.

repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;

Parameters
NameDescription
indexint
builderForValueAwsNodePool.Builder
Returns
TypeDescription
ListAwsNodePoolsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAwsNodePoolsResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListAwsNodePoolsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAwsNodePoolsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListAwsNodePoolsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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