public class GrpcFirestoreAdminStub extends FirestoreAdminStub
gRPC stub implementation for the FirestoreAdmin service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcFirestoreAdminStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcFirestoreAdminStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(FirestoreAdminStubSettings settings)
public static final GrpcFirestoreAdminStub create(FirestoreAdminStubSettings settings)
Constructors
GrpcFirestoreAdminStub(FirestoreAdminStubSettings settings, ClientContext clientContext)
protected GrpcFirestoreAdminStub(FirestoreAdminStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcFirestoreAdminStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcFirestoreAdminStub(FirestoreAdminStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcFirestoreAdminStub(FirestoreAdminStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcFirestoreAdminStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
bulkDeleteDocumentsCallable()
public UnaryCallable<BulkDeleteDocumentsRequest,Operation> bulkDeleteDocumentsCallable()
Overrides
bulkDeleteDocumentsOperationCallable()
public OperationCallable<BulkDeleteDocumentsRequest,BulkDeleteDocumentsResponse,BulkDeleteDocumentsMetadata> bulkDeleteDocumentsOperationCallable()
Overrides
close()
public final void close()
Overrides
createBackupScheduleCallable()
public UnaryCallable<CreateBackupScheduleRequest,BackupSchedule> createBackupScheduleCallable()
Overrides
createDatabaseCallable()
public UnaryCallable<CreateDatabaseRequest,Operation> createDatabaseCallable()
Overrides
createDatabaseOperationCallable()
public OperationCallable<CreateDatabaseRequest,Database,CreateDatabaseMetadata> createDatabaseOperationCallable()
Overrides
createIndexCallable()
public UnaryCallable<CreateIndexRequest,Operation> createIndexCallable()
Overrides
createIndexOperationCallable()
public OperationCallable<CreateIndexRequest,Index,IndexOperationMetadata> createIndexOperationCallable()
Overrides
deleteBackupCallable()
public UnaryCallable<DeleteBackupRequest,Empty> deleteBackupCallable()
Overrides
deleteBackupScheduleCallable()
public UnaryCallable<DeleteBackupScheduleRequest,Empty> deleteBackupScheduleCallable()
Overrides
deleteDatabaseCallable()
public UnaryCallable<DeleteDatabaseRequest,Operation> deleteDatabaseCallable()
Overrides
deleteDatabaseOperationCallable()
public OperationCallable<DeleteDatabaseRequest,Database,DeleteDatabaseMetadata> deleteDatabaseOperationCallable()
Overrides
deleteIndexCallable()
public UnaryCallable<DeleteIndexRequest,Empty> deleteIndexCallable()
Overrides
exportDocumentsCallable()
public UnaryCallable<ExportDocumentsRequest,Operation> exportDocumentsCallable()
Overrides
exportDocumentsOperationCallable()
public OperationCallable<ExportDocumentsRequest,ExportDocumentsResponse,ExportDocumentsMetadata> exportDocumentsOperationCallable()
Overrides
getBackupCallable()
public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Overrides
getBackupScheduleCallable()
public UnaryCallable<GetBackupScheduleRequest,BackupSchedule> getBackupScheduleCallable()
Overrides
getDatabaseCallable()
public UnaryCallable<GetDatabaseRequest,Database> getDatabaseCallable()
Overrides
getFieldCallable()
public UnaryCallable<GetFieldRequest,Field> getFieldCallable()
Overrides
getIndexCallable()
public UnaryCallable<GetIndexRequest,Index> getIndexCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
importDocumentsCallable()
public UnaryCallable<ImportDocumentsRequest,Operation> importDocumentsCallable()
Overrides
importDocumentsOperationCallable()
public OperationCallable<ImportDocumentsRequest,Empty,ImportDocumentsMetadata> importDocumentsOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listBackupSchedulesCallable()
public UnaryCallable<ListBackupSchedulesRequest,ListBackupSchedulesResponse> listBackupSchedulesCallable()
Overrides
listBackupsCallable()
public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Overrides
listDatabasesCallable()
public UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> listDatabasesCallable()
Overrides
listFieldsCallable()
public UnaryCallable<ListFieldsRequest,ListFieldsResponse> listFieldsCallable()
Overrides
listFieldsPagedCallable()
public UnaryCallable<ListFieldsRequest,FirestoreAdminClient.ListFieldsPagedResponse> listFieldsPagedCallable()
Overrides
listIndexesCallable()
public UnaryCallable<ListIndexesRequest,ListIndexesResponse> listIndexesCallable()
Overrides
listIndexesPagedCallable()
public UnaryCallable<ListIndexesRequest,FirestoreAdminClient.ListIndexesPagedResponse> listIndexesPagedCallable()
Overrides
restoreDatabaseCallable()
public UnaryCallable<RestoreDatabaseRequest,Operation> restoreDatabaseCallable()
Overrides
restoreDatabaseOperationCallable()
public OperationCallable<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata> restoreDatabaseOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateBackupScheduleCallable()
public UnaryCallable<UpdateBackupScheduleRequest,BackupSchedule> updateBackupScheduleCallable()
Overrides
updateDatabaseCallable()
public UnaryCallable<UpdateDatabaseRequest,Operation> updateDatabaseCallable()
Overrides
updateDatabaseOperationCallable()
public OperationCallable<UpdateDatabaseRequest,Database,UpdateDatabaseMetadata> updateDatabaseOperationCallable()
Overrides
updateFieldCallable()
public UnaryCallable<UpdateFieldRequest,Operation> updateFieldCallable()
Overrides
updateFieldOperationCallable()
public OperationCallable<UpdateFieldRequest,Field,FieldOperationMetadata> updateFieldOperationCallable()
Overrides