Class GrpcDatastoreAdminStub (2.19.1)

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.

Inheritance

java.lang.Object > DatastoreAdminStub > GrpcDatastoreAdminStub

Static Methods

create(ClientContext clientContext)

public static final GrpcDatastoreAdminStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDatastoreAdminStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDatastoreAdminStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDatastoreAdminStub
Exceptions
Type Description
IOException

create(DatastoreAdminStubSettings settings)

public static final GrpcDatastoreAdminStub create(DatastoreAdminStubSettings settings)
Parameter
Name Description
settings DatastoreAdminStubSettings
Returns
Type Description
GrpcDatastoreAdminStub
Exceptions
Type Description
IOException

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.

Parameters
Name Description
settings DatastoreAdminStubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings DatastoreAdminStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

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()
Overrides

createIndexCallable()

public UnaryCallable<CreateIndexRequest,Operation> createIndexCallable()
Returns
Type Description
UnaryCallable<CreateIndexRequest,Operation>
Overrides

createIndexOperationCallable()

public OperationCallable<CreateIndexRequest,Index,IndexOperationMetadata> createIndexOperationCallable()
Returns
Type Description
OperationCallable<CreateIndexRequest,Index,IndexOperationMetadata>
Overrides

deleteIndexCallable()

public UnaryCallable<DeleteIndexRequest,Operation> deleteIndexCallable()
Returns
Type Description
UnaryCallable<DeleteIndexRequest,Operation>
Overrides

deleteIndexOperationCallable()

public OperationCallable<DeleteIndexRequest,Index,IndexOperationMetadata> deleteIndexOperationCallable()
Returns
Type Description
OperationCallable<DeleteIndexRequest,Index,IndexOperationMetadata>
Overrides

exportEntitiesCallable()

public UnaryCallable<ExportEntitiesRequest,Operation> exportEntitiesCallable()
Returns
Type Description
UnaryCallable<ExportEntitiesRequest,Operation>
Overrides

exportEntitiesOperationCallable()

public OperationCallable<ExportEntitiesRequest,ExportEntitiesResponse,ExportEntitiesMetadata> exportEntitiesOperationCallable()
Returns
Type Description
OperationCallable<ExportEntitiesRequest,ExportEntitiesResponse,ExportEntitiesMetadata>
Overrides

getIndexCallable()

public UnaryCallable<GetIndexRequest,Index> getIndexCallable()
Returns
Type Description
UnaryCallable<GetIndexRequest,Index>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

importEntitiesCallable()

public UnaryCallable<ImportEntitiesRequest,Operation> importEntitiesCallable()
Returns
Type Description
UnaryCallable<ImportEntitiesRequest,Operation>
Overrides

importEntitiesOperationCallable()

public OperationCallable<ImportEntitiesRequest,Empty,ImportEntitiesMetadata> importEntitiesOperationCallable()
Returns
Type Description
OperationCallable<ImportEntitiesRequest,Empty,ImportEntitiesMetadata>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listIndexesCallable()

public UnaryCallable<ListIndexesRequest,ListIndexesResponse> listIndexesCallable()
Returns
Type Description
UnaryCallable<ListIndexesRequest,ListIndexesResponse>
Overrides

listIndexesPagedCallable()

public UnaryCallable<ListIndexesRequest,DatastoreAdminClient.ListIndexesPagedResponse> listIndexesPagedCallable()
Returns
Type Description
UnaryCallable<ListIndexesRequest,ListIndexesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()