public class GrpcDatastoreAdminStub extends DatastoreAdminStub
gRPC 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 GrpcDatastoreAdminStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDatastoreAdminStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(DatastoreAdminStubSettings settings)
public static final GrpcDatastoreAdminStub create(DatastoreAdminStubSettings settings)
Constructors
GrpcDatastoreAdminStub(DatastoreAdminStubSettings settings, ClientContext clientContext)
protected GrpcDatastoreAdminStub(DatastoreAdminStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcDatastoreAdminStub, 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.
GrpcDatastoreAdminStub(DatastoreAdminStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcDatastoreAdminStub(DatastoreAdminStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDatastoreAdminStub, 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
getIndexCallable()
public UnaryCallable<GetIndexRequest,Index> getIndexCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
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()