public final class FirestoreAdminGrpc
The Cloud Firestore Admin API.
This API provides several administrative services for Cloud Firestore.
Project, Database, Namespace, Collection, Collection Group, and Document are
used as defined in the Google Cloud Firestore API.
Operation: An Operation represents work being performed in the background.
The index service manages Cloud Firestore indexes.
Index creation is performed asynchronously.
An Operation resource is created for each such asynchronous operation.
The state of the operation (including any errors encountered)
may be queried via the Operation resource.
The Operations collection provides a record of actions performed for the
specified Project (including any Operations in progress). Operations are not
created directly but through calls on other collections or resources.
An Operation that is done may be deleted so that it is no longer listed as
part of the Operation collection. Operations are garbage collected after
30 days. By default, ListOperations will only return in progress and failed
operations. To list completed operation, issue a ListOperations request with
the filter done: true
.
Operations are created by service FirestoreAdmin
, but are accessed via
service google.longrunning.Operations
.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value |
---|
Type | Description |
String | |
Static Methods
bindService(FirestoreAdminGrpc.AsyncService service)
public static final ServerServiceDefinition bindService(FirestoreAdminGrpc.AsyncService service)
Returns |
---|
Type | Description |
io.grpc.ServerServiceDefinition | |
getCreateDatabaseMethod()
public static MethodDescriptor<CreateDatabaseRequest,Operation> getCreateDatabaseMethod()
getCreateIndexMethod()
public static MethodDescriptor<CreateIndexRequest,Operation> getCreateIndexMethod()
getDeleteIndexMethod()
public static MethodDescriptor<DeleteIndexRequest,Empty> getDeleteIndexMethod()
getExportDocumentsMethod()
public static MethodDescriptor<ExportDocumentsRequest,Operation> getExportDocumentsMethod()
getGetDatabaseMethod()
public static MethodDescriptor<GetDatabaseRequest,Database> getGetDatabaseMethod()
getGetFieldMethod()
public static MethodDescriptor<GetFieldRequest,Field> getGetFieldMethod()
getGetIndexMethod()
public static MethodDescriptor<GetIndexRequest,Index> getGetIndexMethod()
getImportDocumentsMethod()
public static MethodDescriptor<ImportDocumentsRequest,Operation> getImportDocumentsMethod()
getListDatabasesMethod()
public static MethodDescriptor<ListDatabasesRequest,ListDatabasesResponse> getListDatabasesMethod()
getListFieldsMethod()
public static MethodDescriptor<ListFieldsRequest,ListFieldsResponse> getListFieldsMethod()
getListIndexesMethod()
public static MethodDescriptor<ListIndexesRequest,ListIndexesResponse> getListIndexesMethod()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns |
---|
Type | Description |
io.grpc.ServiceDescriptor | |
getUpdateDatabaseMethod()
public static MethodDescriptor<UpdateDatabaseRequest,Operation> getUpdateDatabaseMethod()
getUpdateFieldMethod()
public static MethodDescriptor<UpdateFieldRequest,Operation> getUpdateFieldMethod()
newBlockingStub(Channel channel)
public static FirestoreAdminGrpc.FirestoreAdminBlockingStub newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
Parameter |
---|
Name | Description |
channel | io.grpc.Channel
|
newFutureStub(Channel channel)
public static FirestoreAdminGrpc.FirestoreAdminFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter |
---|
Name | Description |
channel | io.grpc.Channel
|
newStub(Channel channel)
public static FirestoreAdminGrpc.FirestoreAdminStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter |
---|
Name | Description |
channel | io.grpc.Channel
|