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