public final class ListDatabasesResponse extends GeneratedMessageV3 implements ListDatabasesResponseOrBuilder
The list of databases for a project.
Protobuf type google.firestore.admin.v1.ListDatabasesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DATABASES_FIELD_NUMBER
public static final int DATABASES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UNREACHABLE_FIELD_NUMBER
public static final int UNREACHABLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ListDatabasesResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListDatabasesResponse.Builder newBuilder()
newBuilder(ListDatabasesResponse prototype)
public static ListDatabasesResponse.Builder newBuilder(ListDatabasesResponse prototype)
public static ListDatabasesResponse parseDelimitedFrom(InputStream input)
public static ListDatabasesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListDatabasesResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListDatabasesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListDatabasesResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListDatabasesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListDatabasesResponse parseFrom(CodedInputStream input)
public static ListDatabasesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListDatabasesResponse parseFrom(InputStream input)
public static ListDatabasesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListDatabasesResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListDatabasesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListDatabasesResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDatabases(int index)
public Database getDatabases(int index)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameter |
Name |
Description |
index |
int
|
getDatabasesCount()
public int getDatabasesCount()
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Returns |
Type |
Description |
int |
|
getDatabasesList()
public List<Database> getDatabasesList()
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
getDatabasesOrBuilder(int index)
public DatabaseOrBuilder getDatabasesOrBuilder(int index)
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Parameter |
Name |
Description |
index |
int
|
getDatabasesOrBuilderList()
public List<? extends DatabaseOrBuilder> getDatabasesOrBuilderList()
The databases in the project.
repeated .google.firestore.admin.v1.Database databases = 1;
Returns |
Type |
Description |
List<? extends com.google.firestore.admin.v1.DatabaseOrBuilder> |
|
getDefaultInstanceForType()
public ListDatabasesResponse getDefaultInstanceForType()
getParserForType()
public Parser<ListDatabasesResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUnreachable(int index)
public String getUnreachable(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;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The unreachable at the given index.
|
getUnreachableBytes(int index)
public 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;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the unreachable at the given index.
|
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;
Returns |
Type |
Description |
int |
The count of unreachable.
|
getUnreachableList()
public 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;
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListDatabasesResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListDatabasesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ListDatabasesResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides