public static final class ListAwsClustersResponse.Builder extends GeneratedMessageV3.Builder<ListAwsClustersResponse.Builder> implements ListAwsClustersResponseOrBuilder
Response message for AwsClusters.ListAwsClusters
method.
Protobuf type google.cloud.gkemulticloud.v1.ListAwsClustersResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllAwsClusters(Iterable<? extends AwsCluster> values)
public ListAwsClustersResponse.Builder addAllAwsClusters(Iterable<? extends AwsCluster> values)
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.gkemulticloud.v1.AwsCluster>
|
Returns
addAwsClusters(AwsCluster value)
public ListAwsClustersResponse.Builder addAwsClusters(AwsCluster value)
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Parameter
Returns
addAwsClusters(AwsCluster.Builder builderForValue)
public ListAwsClustersResponse.Builder addAwsClusters(AwsCluster.Builder builderForValue)
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Parameter
Returns
addAwsClusters(int index, AwsCluster value)
public ListAwsClustersResponse.Builder addAwsClusters(int index, AwsCluster value)
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Parameters
Returns
addAwsClusters(int index, AwsCluster.Builder builderForValue)
public ListAwsClustersResponse.Builder addAwsClusters(int index, AwsCluster.Builder builderForValue)
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Parameters
Returns
addAwsClustersBuilder()
public AwsCluster.Builder addAwsClustersBuilder()
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Returns
addAwsClustersBuilder(int index)
public AwsCluster.Builder addAwsClustersBuilder(int index)
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAwsClustersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListAwsClustersResponse build()
Returns
buildPartial()
public ListAwsClustersResponse buildPartial()
Returns
clear()
public ListAwsClustersResponse.Builder clear()
Returns
Overrides
clearAwsClusters()
public ListAwsClustersResponse.Builder clearAwsClusters()
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListAwsClustersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListAwsClustersResponse.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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAwsClustersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListAwsClustersResponse.Builder clone()
Returns
Overrides
getAwsClusters(int index)
public AwsCluster getAwsClusters(int index)
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Parameter
Returns
getAwsClustersBuilder(int index)
public AwsCluster.Builder getAwsClustersBuilder(int index)
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Parameter
Returns
getAwsClustersBuilderList()
public List<AwsCluster.Builder> getAwsClustersBuilderList()
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Returns
getAwsClustersCount()
public int getAwsClustersCount()
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Returns
getAwsClustersList()
public List<AwsCluster> getAwsClustersList()
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Returns
getAwsClustersOrBuilder(int index)
public AwsClusterOrBuilder getAwsClustersOrBuilder(int index)
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Parameter
Returns
getAwsClustersOrBuilderList()
public List<? extends AwsClusterOrBuilder> getAwsClustersOrBuilderList()
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Returns
Type | Description |
List<? extends com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> | |
getDefaultInstanceForType()
public ListAwsClustersResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Type | Description |
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
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListAwsClustersResponse other)
public ListAwsClustersResponse.Builder mergeFrom(ListAwsClustersResponse other)
Parameter
Returns
public ListAwsClustersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListAwsClustersResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAwsClustersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAwsClusters(int index)
public ListAwsClustersResponse.Builder removeAwsClusters(int index)
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Parameter
Returns
setAwsClusters(int index, AwsCluster value)
public ListAwsClustersResponse.Builder setAwsClusters(int index, AwsCluster value)
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Parameters
Returns
setAwsClusters(int index, AwsCluster.Builder builderForValue)
public ListAwsClustersResponse.Builder setAwsClusters(int index, AwsCluster.Builder builderForValue)
A list of AwsCluster resources in the specified GCP
project and region region.
repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListAwsClustersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListAwsClustersResponse.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
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListAwsClustersResponse.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
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAwsClustersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAwsClustersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides