public static final class ListAttachedClustersResponse.Builder extends GeneratedMessageV3.Builder<ListAttachedClustersResponse.Builder> implements ListAttachedClustersResponseOrBuilder
Response message for AttachedClusters.ListAttachedClusters
method.
Protobuf type google.cloud.gkemulticloud.v1.ListAttachedClustersResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllAttachedClusters(Iterable<? extends AttachedCluster> values)
public ListAttachedClustersResponse.Builder addAllAttachedClusters(Iterable<? extends AttachedCluster> values)
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.gkemulticloud.v1.AttachedCluster>
|
Returns
addAttachedClusters(AttachedCluster value)
public ListAttachedClustersResponse.Builder addAttachedClusters(AttachedCluster value)
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Parameter
Returns
addAttachedClusters(AttachedCluster.Builder builderForValue)
public ListAttachedClustersResponse.Builder addAttachedClusters(AttachedCluster.Builder builderForValue)
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Parameter
Returns
addAttachedClusters(int index, AttachedCluster value)
public ListAttachedClustersResponse.Builder addAttachedClusters(int index, AttachedCluster value)
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Parameters
Returns
addAttachedClusters(int index, AttachedCluster.Builder builderForValue)
public ListAttachedClustersResponse.Builder addAttachedClusters(int index, AttachedCluster.Builder builderForValue)
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Parameters
Returns
addAttachedClustersBuilder()
public AttachedCluster.Builder addAttachedClustersBuilder()
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Returns
addAttachedClustersBuilder(int index)
public AttachedCluster.Builder addAttachedClustersBuilder(int index)
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAttachedClustersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListAttachedClustersResponse build()
Returns
buildPartial()
public ListAttachedClustersResponse buildPartial()
Returns
clear()
public ListAttachedClustersResponse.Builder clear()
Returns
Overrides
clearAttachedClusters()
public ListAttachedClustersResponse.Builder clearAttachedClusters()
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListAttachedClustersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListAttachedClustersResponse.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 ListAttachedClustersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListAttachedClustersResponse.Builder clone()
Returns
Overrides
getAttachedClusters(int index)
public AttachedCluster getAttachedClusters(int index)
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Parameter
Returns
getAttachedClustersBuilder(int index)
public AttachedCluster.Builder getAttachedClustersBuilder(int index)
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Parameter
Returns
getAttachedClustersBuilderList()
public List<AttachedCluster.Builder> getAttachedClustersBuilderList()
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Returns
getAttachedClustersCount()
public int getAttachedClustersCount()
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Returns
getAttachedClustersList()
public List<AttachedCluster> getAttachedClustersList()
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Returns
getAttachedClustersOrBuilder(int index)
public AttachedClusterOrBuilder getAttachedClustersOrBuilder(int index)
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Parameter
Returns
getAttachedClustersOrBuilderList()
public List<? extends AttachedClusterOrBuilder> getAttachedClustersOrBuilderList()
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Returns
Type | Description |
List<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> | |
getDefaultInstanceForType()
public ListAttachedClustersResponse 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(ListAttachedClustersResponse other)
public ListAttachedClustersResponse.Builder mergeFrom(ListAttachedClustersResponse other)
Parameter
Returns
public ListAttachedClustersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListAttachedClustersResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAttachedClustersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAttachedClusters(int index)
public ListAttachedClustersResponse.Builder removeAttachedClusters(int index)
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Parameter
Returns
setAttachedClusters(int index, AttachedCluster value)
public ListAttachedClustersResponse.Builder setAttachedClusters(int index, AttachedCluster value)
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Parameters
Returns
setAttachedClusters(int index, AttachedCluster.Builder builderForValue)
public ListAttachedClustersResponse.Builder setAttachedClusters(int index, AttachedCluster.Builder builderForValue)
A list of AttachedCluster
resources in the specified Google Cloud Platform project and region region.
repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListAttachedClustersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListAttachedClustersResponse.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 ListAttachedClustersResponse.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 ListAttachedClustersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAttachedClustersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides