Package com.google.firestore.admin.v1
Class ListDatabasesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListDatabasesResponse.Builder>
com.google.firestore.admin.v1.ListDatabasesResponse.Builder
- All Implemented Interfaces:
ListDatabasesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListDatabasesResponse
public static final class ListDatabasesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListDatabasesResponse.Builder>
implements ListDatabasesResponseOrBuilder
The list of databases for a project.Protobuf type
google.firestore.admin.v1.ListDatabasesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllDatabases(Iterable<? extends Database> values) The databases in the project.addAllUnreachable(Iterable<String> values) In the event that data about individual databases cannot be listed they will be recorded here.addDatabases(int index, Database value) The databases in the project.addDatabases(int index, Database.Builder builderForValue) The databases in the project.addDatabases(Database value) The databases in the project.addDatabases(Database.Builder builderForValue) The databases in the project.The databases in the project.addDatabasesBuilder(int index) The databases in the project.addUnreachable(String value) In the event that data about individual databases cannot be listed they will be recorded here.addUnreachableBytes(com.google.protobuf.ByteString value) In the event that data about individual databases cannot be listed they will be recorded here.build()clear()The databases in the project.In the event that data about individual databases cannot be listed they will be recorded here.getDatabases(int index) The databases in the project.getDatabasesBuilder(int index) The databases in the project.The databases in the project.intThe databases in the project.The databases in the project.getDatabasesOrBuilder(int index) The databases in the project.List<? extends DatabaseOrBuilder>The databases in the project.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetUnreachable(int index) In the event that data about individual databases cannot be listed they will be recorded here.com.google.protobuf.ByteStringgetUnreachableBytes(int index) In the event that data about individual databases cannot be listed they will be recorded here.intIn the event that data about individual databases cannot be listed they will be recorded here.com.google.protobuf.ProtocolStringListIn the event that data about individual databases cannot be listed they will be recorded here.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListDatabasesResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeDatabases(int index) The databases in the project.setDatabases(int index, Database value) The databases in the project.setDatabases(int index, Database.Builder builderForValue) The databases in the project.setUnreachable(int index, String value) In the event that data about individual databases cannot be listed they will be recorded here.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListDatabasesResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListDatabasesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListDatabasesResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListDatabasesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListDatabasesResponse.Builder>
-
mergeFrom
public ListDatabasesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListDatabasesResponse.Builder>- Throws:
IOException
-
getDatabasesList
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;- Specified by:
getDatabasesListin interfaceListDatabasesResponseOrBuilder
-
getDatabasesCount
public int getDatabasesCount()The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;- Specified by:
getDatabasesCountin interfaceListDatabasesResponseOrBuilder
-
getDatabases
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;- Specified by:
getDatabasesin interfaceListDatabasesResponseOrBuilder
-
setDatabases
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1; -
setDatabases
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1; -
addDatabases
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1; -
addDatabases
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1; -
addDatabases
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1; -
addDatabases
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1; -
addAllDatabases
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1; -
clearDatabases
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1; -
removeDatabases
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1; -
getDatabasesBuilder
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1; -
getDatabasesOrBuilder
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;- Specified by:
getDatabasesOrBuilderin interfaceListDatabasesResponseOrBuilder
-
getDatabasesOrBuilderList
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;- Specified by:
getDatabasesOrBuilderListin interfaceListDatabasesResponseOrBuilder
-
addDatabasesBuilder
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1; -
addDatabasesBuilder
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1; -
getDatabasesBuilderList
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1; -
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()In the event that data about individual databases cannot be listed they will be recorded here. An example entry might be: projects/some_project/locations/some_location This can happen if the Cloud Region that the Database resides in is currently unavailable. In this case we can't fetch all the details about the database. You may be able to get a more detailed error message (or possibly fetch the resource) by sending a 'Get' request for the resource or a 'List' request for the specific location.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListDatabasesResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()In the event that data about individual databases cannot be listed they will be recorded here. An example entry might be: projects/some_project/locations/some_location This can happen if the Cloud Region that the Database resides in is currently unavailable. In this case we can't fetch all the details about the database. You may be able to get a more detailed error message (or possibly fetch the resource) by sending a 'Get' request for the resource or a 'List' request for the specific location.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListDatabasesResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
In the event that data about individual databases cannot be listed they will be recorded here. An example entry might be: projects/some_project/locations/some_location This can happen if the Cloud Region that the Database resides in is currently unavailable. In this case we can't fetch all the details about the database. You may be able to get a more detailed error message (or possibly fetch the resource) by sending a 'Get' request for the resource or a 'List' request for the specific location.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListDatabasesResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index) In the event that data about individual databases cannot be listed they will be recorded here. An example entry might be: projects/some_project/locations/some_location This can happen if the Cloud Region that the Database resides in is currently unavailable. In this case we can't fetch all the details about the database. You may be able to get a more detailed error message (or possibly fetch the resource) by sending a 'Get' request for the resource or a 'List' request for the specific location.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListDatabasesResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
In the event that data about individual databases cannot be listed they will be recorded here. An example entry might be: projects/some_project/locations/some_location This can happen if the Cloud Region that the Database resides in is currently unavailable. In this case we can't fetch all the details about the database. You may be able to get a more detailed error message (or possibly fetch the resource) by sending a 'Get' request for the resource or a 'List' request for the specific location.
repeated string unreachable = 3;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
In the event that data about individual databases cannot be listed they will be recorded here. An example entry might be: projects/some_project/locations/some_location This can happen if the Cloud Region that the Database resides in is currently unavailable. In this case we can't fetch all the details about the database. You may be able to get a more detailed error message (or possibly fetch the resource) by sending a 'Get' request for the resource or a 'List' request for the specific location.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
In the event that data about individual databases cannot be listed they will be recorded here. An example entry might be: projects/some_project/locations/some_location This can happen if the Cloud Region that the Database resides in is currently unavailable. In this case we can't fetch all the details about the database. You may be able to get a more detailed error message (or possibly fetch the resource) by sending a 'Get' request for the resource or a 'List' request for the specific location.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
In the event that data about individual databases cannot be listed they will be recorded here. An example entry might be: projects/some_project/locations/some_location This can happen if the Cloud Region that the Database resides in is currently unavailable. In this case we can't fetch all the details about the database. You may be able to get a more detailed error message (or possibly fetch the resource) by sending a 'Get' request for the resource or a 'List' request for the specific location.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
In the event that data about individual databases cannot be listed they will be recorded here. An example entry might be: projects/some_project/locations/some_location This can happen if the Cloud Region that the Database resides in is currently unavailable. In this case we can't fetch all the details about the database. You may be able to get a more detailed error message (or possibly fetch the resource) by sending a 'Get' request for the resource or a 'List' request for the specific location.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-