public class HttpJsonFirestoreAdminStub extends FirestoreAdminStub
REST 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 HttpJsonFirestoreAdminStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
HttpJsonFirestoreAdminStub |
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonFirestoreAdminStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Type | Description |
HttpJsonFirestoreAdminStub |
Type | Description |
IOException |
create(FirestoreAdminStubSettings settings)
public static final HttpJsonFirestoreAdminStub create(FirestoreAdminStubSettings settings)
Name | Description |
settings | FirestoreAdminStubSettings |
Type | Description |
HttpJsonFirestoreAdminStub |
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonFirestoreAdminStub(FirestoreAdminStubSettings settings, ClientContext clientContext)
protected HttpJsonFirestoreAdminStub(FirestoreAdminStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonFirestoreAdminStub, 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.
Name | Description |
settings | FirestoreAdminStubSettings |
clientContext | ClientContext |
HttpJsonFirestoreAdminStub(FirestoreAdminStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonFirestoreAdminStub(FirestoreAdminStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonFirestoreAdminStub, 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.
Name | Description |
settings | FirestoreAdminStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
close()
public final void close()
createIndexCallable()
public UnaryCallable<CreateIndexRequest,Operation> createIndexCallable()
Type | Description |
UnaryCallable<CreateIndexRequest,Operation> |
createIndexOperationCallable()
public OperationCallable<CreateIndexRequest,Index,IndexOperationMetadata> createIndexOperationCallable()
Type | Description |
OperationCallable<CreateIndexRequest,Index,IndexOperationMetadata> |
deleteIndexCallable()
public UnaryCallable<DeleteIndexRequest,Empty> deleteIndexCallable()
Type | Description |
UnaryCallable<DeleteIndexRequest,Empty> |
exportDocumentsCallable()
public UnaryCallable<ExportDocumentsRequest,Operation> exportDocumentsCallable()
Type | Description |
UnaryCallable<ExportDocumentsRequest,Operation> |
exportDocumentsOperationCallable()
public OperationCallable<ExportDocumentsRequest,ExportDocumentsResponse,ExportDocumentsMetadata> exportDocumentsOperationCallable()
Type | Description |
OperationCallable<ExportDocumentsRequest,ExportDocumentsResponse,ExportDocumentsMetadata> |
getDatabaseCallable()
public UnaryCallable<GetDatabaseRequest,Database> getDatabaseCallable()
Type | Description |
UnaryCallable<GetDatabaseRequest,Database> |
getFieldCallable()
public UnaryCallable<GetFieldRequest,Field> getFieldCallable()
Type | Description |
UnaryCallable<GetFieldRequest,Field> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Type | Description |
HttpJsonOperationsStub |
getIndexCallable()
public UnaryCallable<GetIndexRequest,Index> getIndexCallable()
Type | Description |
UnaryCallable<GetIndexRequest,Index> |
importDocumentsCallable()
public UnaryCallable<ImportDocumentsRequest,Operation> importDocumentsCallable()
Type | Description |
UnaryCallable<ImportDocumentsRequest,Operation> |
importDocumentsOperationCallable()
public OperationCallable<ImportDocumentsRequest,Empty,ImportDocumentsMetadata> importDocumentsOperationCallable()
Type | Description |
OperationCallable<ImportDocumentsRequest,Empty,ImportDocumentsMetadata> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listDatabasesCallable()
public UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> listDatabasesCallable()
Type | Description |
UnaryCallable<ListDatabasesRequest,ListDatabasesResponse> |
listFieldsCallable()
public UnaryCallable<ListFieldsRequest,ListFieldsResponse> listFieldsCallable()
Type | Description |
UnaryCallable<ListFieldsRequest,ListFieldsResponse> |
listFieldsPagedCallable()
public UnaryCallable<ListFieldsRequest,FirestoreAdminClient.ListFieldsPagedResponse> listFieldsPagedCallable()
Type | Description |
UnaryCallable<ListFieldsRequest,ListFieldsPagedResponse> |
listIndexesCallable()
public UnaryCallable<ListIndexesRequest,ListIndexesResponse> listIndexesCallable()
Type | Description |
UnaryCallable<ListIndexesRequest,ListIndexesResponse> |
listIndexesPagedCallable()
public UnaryCallable<ListIndexesRequest,FirestoreAdminClient.ListIndexesPagedResponse> listIndexesPagedCallable()
Type | Description |
UnaryCallable<ListIndexesRequest,ListIndexesPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateDatabaseCallable()
public UnaryCallable<UpdateDatabaseRequest,Operation> updateDatabaseCallable()
Type | Description |
UnaryCallable<UpdateDatabaseRequest,Operation> |
updateDatabaseOperationCallable()
public OperationCallable<UpdateDatabaseRequest,Database,UpdateDatabaseMetadata> updateDatabaseOperationCallable()
Type | Description |
OperationCallable<UpdateDatabaseRequest,Database,UpdateDatabaseMetadata> |
updateFieldCallable()
public UnaryCallable<UpdateFieldRequest,Operation> updateFieldCallable()
Type | Description |
UnaryCallable<UpdateFieldRequest,Operation> |
updateFieldOperationCallable()
public OperationCallable<UpdateFieldRequest,Field,FieldOperationMetadata> updateFieldOperationCallable()
Type | Description |
OperationCallable<UpdateFieldRequest,Field,FieldOperationMetadata> |