public class HttpJsonDatastoreAdminStub extends DatastoreAdminStub
REST stub implementation for the DatastoreAdmin service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonDatastoreAdminStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDatastoreAdminStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(DatastoreAdminStubSettings settings)
public static final HttpJsonDatastoreAdminStub create(DatastoreAdminStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonDatastoreAdminStub(DatastoreAdminStubSettings settings, ClientContext clientContext)
protected HttpJsonDatastoreAdminStub(DatastoreAdminStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonDatastoreAdminStub, 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.
HttpJsonDatastoreAdminStub(DatastoreAdminStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonDatastoreAdminStub(DatastoreAdminStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDatastoreAdminStub, 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)
close()
public final void close()
Overrides
createIndexCallable()
public UnaryCallable<CreateIndexRequest,Operation> createIndexCallable()
Overrides
createIndexOperationCallable()
public OperationCallable<CreateIndexRequest,Index,IndexOperationMetadata> createIndexOperationCallable()
Overrides
deleteIndexCallable()
public UnaryCallable<DeleteIndexRequest,Operation> deleteIndexCallable()
Overrides
deleteIndexOperationCallable()
public OperationCallable<DeleteIndexRequest,Index,IndexOperationMetadata> deleteIndexOperationCallable()
Overrides
exportEntitiesCallable()
public UnaryCallable<ExportEntitiesRequest,Operation> exportEntitiesCallable()
Overrides
exportEntitiesOperationCallable()
public OperationCallable<ExportEntitiesRequest,ExportEntitiesResponse,ExportEntitiesMetadata> exportEntitiesOperationCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
getIndexCallable()
public UnaryCallable<GetIndexRequest,Index> getIndexCallable()
Overrides
importEntitiesCallable()
public UnaryCallable<ImportEntitiesRequest,Operation> importEntitiesCallable()
Overrides
importEntitiesOperationCallable()
public OperationCallable<ImportEntitiesRequest,Empty,ImportEntitiesMetadata> importEntitiesOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listIndexesCallable()
public UnaryCallable<ListIndexesRequest,ListIndexesResponse> listIndexesCallable()
Overrides
listIndexesPagedCallable()
public UnaryCallable<ListIndexesRequest,DatastoreAdminClient.ListIndexesPagedResponse> listIndexesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()