public static final class ListInstancesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListInstancesResponse.Builder> implements ListInstancesResponseOrBuilder
Message for response to listing InstancesProtobuf type
google.cloud.alloydb.v1beta.ListInstancesResponse| Modifier and Type | Method and Description |
|---|---|
ListInstancesResponse.Builder |
addAllInstances(Iterable<? extends Instance> values)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
ListInstancesResponse.Builder |
addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
|
ListInstancesResponse.Builder |
addInstances(Instance.Builder builderForValue)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
ListInstancesResponse.Builder |
addInstances(Instance value)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
ListInstancesResponse.Builder |
addInstances(int index,
Instance.Builder builderForValue)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
ListInstancesResponse.Builder |
addInstances(int index,
Instance value)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
Instance.Builder |
addInstancesBuilder()
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
Instance.Builder |
addInstancesBuilder(int index)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
ListInstancesResponse.Builder |
addUnreachable(String value)
Locations that could not be reached.
|
ListInstancesResponse.Builder |
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.
|
ListInstancesResponse |
build() |
ListInstancesResponse |
buildPartial() |
ListInstancesResponse.Builder |
clear() |
ListInstancesResponse.Builder |
clearInstances()
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
ListInstancesResponse.Builder |
clearNextPageToken()
A token identifying a page of results the server should return.
|
ListInstancesResponse.Builder |
clearUnreachable()
Locations that could not be reached.
|
ListInstancesResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Instance |
getInstances(int index)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
Instance.Builder |
getInstancesBuilder(int index)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
List<Instance.Builder> |
getInstancesBuilderList()
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
int |
getInstancesCount()
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
List<Instance> |
getInstancesList()
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
InstanceOrBuilder |
getInstancesOrBuilder(int index)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
List<? extends InstanceOrBuilder> |
getInstancesOrBuilderList()
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
String |
getNextPageToken()
A token identifying a page of results the server should return.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A token identifying a page of results the server should return.
|
String |
getUnreachable(int index)
Locations that could not be reached.
|
com.google.protobuf.ByteString |
getUnreachableBytes(int index)
Locations that could not be reached.
|
int |
getUnreachableCount()
Locations that could not be reached.
|
com.google.protobuf.ProtocolStringList |
getUnreachableList()
Locations that could not be reached.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListInstancesResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListInstancesResponse.Builder |
mergeFrom(ListInstancesResponse other) |
ListInstancesResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListInstancesResponse.Builder |
removeInstances(int index)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
ListInstancesResponse.Builder |
setInstances(int index,
Instance.Builder builderForValue)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
ListInstancesResponse.Builder |
setInstances(int index,
Instance value)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1; |
ListInstancesResponse.Builder |
setNextPageToken(String value)
A token identifying a page of results the server should return.
|
ListInstancesResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token identifying a page of results the server should return.
|
ListInstancesResponse.Builder |
setUnreachable(int index,
String value)
Locations that could not be reached.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ListInstancesResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListInstancesResponse.Builder>public ListInstancesResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListInstancesResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListInstancesResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListInstancesResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder mergeFrom(ListInstancesResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListInstancesResponse.Builder>IOExceptionpublic List<Instance> getInstancesList()
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;getInstancesList in interface ListInstancesResponseOrBuilderpublic int getInstancesCount()
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;getInstancesCount in interface ListInstancesResponseOrBuilderpublic Instance getInstances(int index)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;getInstances in interface ListInstancesResponseOrBuilderpublic ListInstancesResponse.Builder setInstances(int index, Instance value)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;public ListInstancesResponse.Builder setInstances(int index, Instance.Builder builderForValue)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;public ListInstancesResponse.Builder addInstances(Instance value)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;public ListInstancesResponse.Builder addInstances(int index, Instance value)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;public ListInstancesResponse.Builder addInstances(Instance.Builder builderForValue)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;public ListInstancesResponse.Builder addInstances(int index, Instance.Builder builderForValue)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;public ListInstancesResponse.Builder addAllInstances(Iterable<? extends Instance> values)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;public ListInstancesResponse.Builder clearInstances()
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;public ListInstancesResponse.Builder removeInstances(int index)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;public Instance.Builder getInstancesBuilder(int index)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;public InstanceOrBuilder getInstancesOrBuilder(int index)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;getInstancesOrBuilder in interface ListInstancesResponseOrBuilderpublic List<? extends InstanceOrBuilder> getInstancesOrBuilderList()
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;getInstancesOrBuilderList in interface ListInstancesResponseOrBuilderpublic Instance.Builder addInstancesBuilder()
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;public Instance.Builder addInstancesBuilder(int index)
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;public List<Instance.Builder> getInstancesBuilderList()
The list of Instance
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;public String getNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;getNextPageToken in interface ListInstancesResponseOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
A token identifying a page of results the server should return.
string next_page_token = 2;getNextPageTokenBytes in interface ListInstancesResponseOrBuilderpublic ListInstancesResponse.Builder setNextPageToken(String value)
A token identifying a page of results the server should return.
string next_page_token = 2;value - The nextPageToken to set.public ListInstancesResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;public ListInstancesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token identifying a page of results the server should return.
string next_page_token = 2;value - The bytes for nextPageToken to set.public com.google.protobuf.ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;getUnreachableList in interface ListInstancesResponseOrBuilderpublic int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;getUnreachableCount in interface ListInstancesResponseOrBuilderpublic String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;getUnreachable in interface ListInstancesResponseOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getUnreachableBytes(int index)
Locations that could not be reached.
repeated string unreachable = 3;getUnreachableBytes in interface ListInstancesResponseOrBuilderindex - The index of the value to return.public ListInstancesResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;index - The index to set the value at.value - The unreachable to set.public ListInstancesResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;value - The unreachable to add.public ListInstancesResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;values - The unreachable to add.public ListInstancesResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;public ListInstancesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;value - The bytes of the unreachable to add.Copyright © 2026 Google LLC. All rights reserved.