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)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonFirestoreAdminStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonFirestoreAdminStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonFirestoreAdminStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(FirestoreAdminStubSettings settings)
public static final HttpJsonFirestoreAdminStub create(FirestoreAdminStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | FirestoreAdminStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonFirestoreAdminStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
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.
Parameters | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
settings | FirestoreAdminStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
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()
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> |
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> |
getDatabaseCallable()
public UnaryCallable<GetDatabaseRequest,Database> getDatabaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetDatabaseRequest,Database> |
getFieldCallable()
public UnaryCallable<GetFieldRequest,Field> getFieldCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetFieldRequest,Field> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getIndexCallable()
public UnaryCallable<GetIndexRequest,Index> getIndexCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetIndexRequest,Index> |
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 |
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> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
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> |