public static final class ListClustersResponse.Builder extends GeneratedMessageV3.Builder<ListClustersResponse.Builder> implements ListClustersResponseOrBuilder
Message for response to listing Clusters
Protobuf type google.cloud.alloydb.v1alpha.ListClustersResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListClustersResponse.BuilderImplements
ListClustersResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllClusters(Iterable<? extends Cluster> values)
public ListClustersResponse.Builder addAllClusters(Iterable<? extends Cluster> values)
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Name | Description |
values |
Iterable<? extends com.google.cloud.alloydb.v1alpha.Cluster> |
Type | Description |
ListClustersResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListClustersResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;
Name | Description |
values |
Iterable<String> The unreachable to add. |
Type | Description |
ListClustersResponse.Builder |
This builder for chaining. |
addClusters(Cluster value)
public ListClustersResponse.Builder addClusters(Cluster value)
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Name | Description |
value |
Cluster |
Type | Description |
ListClustersResponse.Builder |
addClusters(Cluster.Builder builderForValue)
public ListClustersResponse.Builder addClusters(Cluster.Builder builderForValue)
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Name | Description |
builderForValue |
Cluster.Builder |
Type | Description |
ListClustersResponse.Builder |
addClusters(int index, Cluster value)
public ListClustersResponse.Builder addClusters(int index, Cluster value)
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Name | Description |
index |
int |
value |
Cluster |
Type | Description |
ListClustersResponse.Builder |
addClusters(int index, Cluster.Builder builderForValue)
public ListClustersResponse.Builder addClusters(int index, Cluster.Builder builderForValue)
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Name | Description |
index |
int |
builderForValue |
Cluster.Builder |
Type | Description |
ListClustersResponse.Builder |
addClustersBuilder()
public Cluster.Builder addClustersBuilder()
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Type | Description |
Cluster.Builder |
addClustersBuilder(int index)
public Cluster.Builder addClustersBuilder(int index)
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Name | Description |
index |
int |
Type | Description |
Cluster.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListClustersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
ListClustersResponse.Builder |
addUnreachable(String value)
public ListClustersResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;
Name | Description |
value |
String The unreachable to add. |
Type | Description |
ListClustersResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListClustersResponse.Builder addUnreachableBytes(ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;
Name | Description |
value |
ByteString The bytes of the unreachable to add. |
Type | Description |
ListClustersResponse.Builder |
This builder for chaining. |
build()
public ListClustersResponse build()
Type | Description |
ListClustersResponse |
buildPartial()
public ListClustersResponse buildPartial()
Type | Description |
ListClustersResponse |
clear()
public ListClustersResponse.Builder clear()
Type | Description |
ListClustersResponse.Builder |
clearClusters()
public ListClustersResponse.Builder clearClusters()
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Type | Description |
ListClustersResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListClustersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
ListClustersResponse.Builder |
clearNextPageToken()
public ListClustersResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Type | Description |
ListClustersResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListClustersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
ListClustersResponse.Builder |
clearUnreachable()
public ListClustersResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Type | Description |
ListClustersResponse.Builder |
This builder for chaining. |
clone()
public ListClustersResponse.Builder clone()
Type | Description |
ListClustersResponse.Builder |
getClusters(int index)
public Cluster getClusters(int index)
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Name | Description |
index |
int |
Type | Description |
Cluster |
getClustersBuilder(int index)
public Cluster.Builder getClustersBuilder(int index)
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Name | Description |
index |
int |
Type | Description |
Cluster.Builder |
getClustersBuilderList()
public List<Cluster.Builder> getClustersBuilderList()
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Type | Description |
List<Builder> |
getClustersCount()
public int getClustersCount()
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Type | Description |
int |
getClustersList()
public List<Cluster> getClustersList()
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Type | Description |
List<Cluster> |
getClustersOrBuilder(int index)
public ClusterOrBuilder getClustersOrBuilder(int index)
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Name | Description |
index |
int |
Type | Description |
ClusterOrBuilder |
getClustersOrBuilderList()
public List<? extends ClusterOrBuilder> getClustersOrBuilderList()
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Type | Description |
List<? extends com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> |
getDefaultInstanceForType()
public ListClustersResponse getDefaultInstanceForType()
Type | Description |
ListClustersResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getNextPageToken()
public String getNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token identifying a page of results the server should return.
string next_page_token = 2;
Type | Description |
ByteString |
The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;
Name | Description |
index |
int The index of the element to return. |
Type | Description |
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;
Name | Description |
index |
int The index of the value to return. |
Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;
Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;
Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ListClustersResponse other)
public ListClustersResponse.Builder mergeFrom(ListClustersResponse other)
Name | Description |
other |
ListClustersResponse |
Type | Description |
ListClustersResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListClustersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ListClustersResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ListClustersResponse.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
ListClustersResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListClustersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
ListClustersResponse.Builder |
removeClusters(int index)
public ListClustersResponse.Builder removeClusters(int index)
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Name | Description |
index |
int |
Type | Description |
ListClustersResponse.Builder |
setClusters(int index, Cluster value)
public ListClustersResponse.Builder setClusters(int index, Cluster value)
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Name | Description |
index |
int |
value |
Cluster |
Type | Description |
ListClustersResponse.Builder |
setClusters(int index, Cluster.Builder builderForValue)
public ListClustersResponse.Builder setClusters(int index, Cluster.Builder builderForValue)
The list of Cluster
repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1;
Name | Description |
index |
int |
builderForValue |
Cluster.Builder |
Type | Description |
ListClustersResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListClustersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
ListClustersResponse.Builder |
setNextPageToken(String value)
public ListClustersResponse.Builder setNextPageToken(String value)
A token identifying a page of results the server should return.
string next_page_token = 2;
Name | Description |
value |
String The nextPageToken to set. |
Type | Description |
ListClustersResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListClustersResponse.Builder setNextPageTokenBytes(ByteString value)
A token identifying a page of results the server should return.
string next_page_token = 2;
Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
Type | Description |
ListClustersResponse.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListClustersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
ListClustersResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListClustersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
ListClustersResponse.Builder |
setUnreachable(int index, String value)
public ListClustersResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;
Name | Description |
index |
int The index to set the value at. |
value |
String The unreachable to set. |
Type | Description |
ListClustersResponse.Builder |
This builder for chaining. |