Class ListDatabasesResponse (3.1.0)

public final class ListDatabasesResponse extends GeneratedMessageV3 implements ListDatabasesResponseOrBuilder

The list of databases for a project.

Protobuf type google.firestore.admin.v1.ListDatabasesResponse

Static Fields

DATABASES_FIELD_NUMBER

public static final int DATABASES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListDatabasesResponse getDefaultInstance()
Returns
TypeDescription
ListDatabasesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListDatabasesResponse.Builder newBuilder()
Returns
TypeDescription
ListDatabasesResponse.Builder

newBuilder(ListDatabasesResponse prototype)

public static ListDatabasesResponse.Builder newBuilder(ListDatabasesResponse prototype)
Parameter
NameDescription
prototypeListDatabasesResponse
Returns
TypeDescription
ListDatabasesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListDatabasesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDatabasesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListDatabasesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListDatabasesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListDatabasesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListDatabasesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListDatabasesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDatabasesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListDatabasesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDatabasesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListDatabasesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListDatabasesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabasesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListDatabasesResponse> parser()
Returns
TypeDescription
Parser<ListDatabasesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDatabases(int index)

public Database getDatabases(int index)

The databases in the project.

repeated .google.firestore.admin.v1.Database databases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Database

getDatabasesCount()

public int getDatabasesCount()

The databases in the project.

repeated .google.firestore.admin.v1.Database databases = 1;

Returns
TypeDescription
int

getDatabasesList()

public List<Database> getDatabasesList()

The databases in the project.

repeated .google.firestore.admin.v1.Database databases = 1;

Returns
TypeDescription
List<Database>

getDatabasesOrBuilder(int index)

public DatabaseOrBuilder getDatabasesOrBuilder(int index)

The databases in the project.

repeated .google.firestore.admin.v1.Database databases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatabaseOrBuilder

getDatabasesOrBuilderList()

public List<? extends DatabaseOrBuilder> getDatabasesOrBuilderList()

The databases in the project.

repeated .google.firestore.admin.v1.Database databases = 1;

Returns
TypeDescription
List<? extends com.google.firestore.admin.v1.DatabaseOrBuilder>

getDefaultInstanceForType()

public ListDatabasesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDatabasesResponse

getParserForType()

public Parser<ListDatabasesResponse> getParserForType()
Returns
TypeDescription
Parser<ListDatabasesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListDatabasesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListDatabasesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListDatabasesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListDatabasesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListDatabasesResponse.Builder toBuilder()
Returns
TypeDescription
ListDatabasesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException