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)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
GrpcFirestoreAdminStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcFirestoreAdminStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcFirestoreAdminStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(FirestoreAdminStubSettings settings)
public static final GrpcFirestoreAdminStub create(FirestoreAdminStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
FirestoreAdminStubSettings |
Returns | |
---|---|
Type | Description |
GrpcFirestoreAdminStub |
Exceptions | |
---|---|
Type | Description |
IOException |
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.
Parameters | |
---|---|
Name | Description |
settings |
FirestoreAdminStubSettings |
clientContext |
ClientContext |
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.
Parameters | |
---|---|
Name | Description |
settings |
FirestoreAdminStubSettings |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createBackupScheduleCallable()
public UnaryCallable<CreateBackupScheduleRequest,BackupSchedule> createBackupScheduleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateBackupScheduleRequest,BackupSchedule> |
createDatabaseCallable()
public UnaryCallable<CreateDatabaseRequest,Operation> createDatabaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateDatabaseRequest,Operation> |
createDatabaseOperationCallable()
public OperationCallable<CreateDatabaseRequest,Database,CreateDatabaseMetadata> createDatabaseOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateDatabaseRequest,Database,CreateDatabaseMetadata> |
createIndexCallable()
public UnaryCallable<CreateIndexRequest,Operation> createIndexCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateIndexRequest,Operation> |
createIndexOperationCallable()
public OperationCallable<CreateIndexRequest,Index,IndexOperationMetadata> createIndexOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateIndexRequest,Index,IndexOperationMetadata> |
deleteBackupCallable()
public UnaryCallable<DeleteBackupRequest,Empty> deleteBackupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteBackupRequest,Empty> |
deleteBackupScheduleCallable()
public UnaryCallable<DeleteBackupScheduleRequest,Empty> deleteBackupScheduleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteBackupScheduleRequest,Empty> |
deleteDatabaseCallable()
public UnaryCallable<DeleteDatabaseRequest,Operation> deleteDatabaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteDatabaseRequest,Operation> |
deleteDatabaseOperationCallable()
public OperationCallable<DeleteDatabaseRequest,Database,DeleteDatabaseMetadata> deleteDatabaseOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteDatabaseRequest,Database,DeleteDatabaseMetadata> |
deleteIndexCallable()
public UnaryCallable<DeleteIndexRequest,Empty> deleteIndexCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteIndexRequest,Empty> |
exportDocumentsCallable()
public UnaryCallable<ExportDocumentsRequest,Operation> exportDocumentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ExportDocumentsRequest,Operation> |
exportDocumentsOperationCallable()
public OperationCallable<ExportDocumentsRequest,ExportDocumentsResponse,ExportDocumentsMetadata> exportDocumentsOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ExportDocumentsRequest,ExportDocumentsResponse,ExportDocumentsMetadata> |
getBackupCallable()
public UnaryCallable<GetBackupRequest,Backup> getBackupCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetBackupRequest,Backup> |
getBackupScheduleCallable()
public UnaryCallable<GetBackupScheduleRequest,BackupSchedule> getBackupScheduleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetBackupScheduleRequest,BackupSchedule> |
getDatabaseCallable()
public UnaryCallable<GetDatabaseRequest,Database> getDatabaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetDatabaseRequest,Database> |
getFieldCallable()
public UnaryCallable<GetFieldRequest,Field> getFieldCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetFieldRequest,Field> |
getIndexCallable()
public UnaryCallable<GetIndexRequest,Index> getIndexCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetIndexRequest,Index> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
importDocumentsCallable()
public UnaryCallable<ImportDocumentsRequest,Operation> importDocumentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ImportDocumentsRequest,Operation> |
importDocumentsOperationCallable()
public OperationCallable<ImportDocumentsRequest,Empty,ImportDocumentsMetadata> importDocumentsOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ImportDocumentsRequest,Empty,ImportDocumentsMetadata> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listBackupSchedulesCallable()
public UnaryCallable<ListBackupSchedulesRequest,ListBackupSchedulesResponse> listBackupSchedulesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBackupSchedulesRequest,ListBackupSchedulesResponse> |
listBackupsCallable()
public UnaryCallable<ListBackupsRequest,ListBackupsResponse> listBackupsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListBackupsRequest,ListBackupsResponse> |
listDatabasesCallable()
public UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> listDatabasesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> |
listFieldsCallable()
public UnaryCallable<ListFieldsRequest,ListFieldsResponse> listFieldsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListFieldsRequest,ListFieldsResponse> |
listFieldsPagedCallable()
public UnaryCallable<ListFieldsRequest,FirestoreAdminClient.ListFieldsPagedResponse> listFieldsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListFieldsRequest,ListFieldsPagedResponse> |
listIndexesCallable()
public UnaryCallable<ListIndexesRequest,ListIndexesResponse> listIndexesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListIndexesRequest,ListIndexesResponse> |
listIndexesPagedCallable()
public UnaryCallable<ListIndexesRequest,FirestoreAdminClient.ListIndexesPagedResponse> listIndexesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListIndexesRequest,ListIndexesPagedResponse> |
restoreDatabaseCallable()
public UnaryCallable<RestoreDatabaseRequest,Operation> restoreDatabaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RestoreDatabaseRequest,Operation> |
restoreDatabaseOperationCallable()
public OperationCallable<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata> restoreDatabaseOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateBackupScheduleCallable()
public UnaryCallable<UpdateBackupScheduleRequest,BackupSchedule> updateBackupScheduleCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateBackupScheduleRequest,BackupSchedule> |
updateDatabaseCallable()
public UnaryCallable<UpdateDatabaseRequest,Operation> updateDatabaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateDatabaseRequest,Operation> |
updateDatabaseOperationCallable()
public OperationCallable<UpdateDatabaseRequest,Database,UpdateDatabaseMetadata> updateDatabaseOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateDatabaseRequest,Database,UpdateDatabaseMetadata> |
updateFieldCallable()
public UnaryCallable<UpdateFieldRequest,Operation> updateFieldCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateFieldRequest,Operation> |
updateFieldOperationCallable()
public OperationCallable<UpdateFieldRequest,Field,FieldOperationMetadata> updateFieldOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateFieldRequest,Field,FieldOperationMetadata> |