Class GrpcDatastoreAdminStub (2.18.5)

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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcDatastoreAdminStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDatastoreAdminStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcDatastoreAdminStub
Exceptions
TypeDescription
IOException

create(DatastoreAdminStubSettings settings)

public static final GrpcDatastoreAdminStub create(DatastoreAdminStubSettings settings)
Parameter
NameDescription
settingsDatastoreAdminStubSettings
Returns
TypeDescription
GrpcDatastoreAdminStub
Exceptions
TypeDescription
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
NameDescription
settingsDatastoreAdminStubSettings
clientContextClientContext

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
NameDescription
settingsDatastoreAdminStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createIndexCallable()

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

createIndexOperationCallable()

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

deleteIndexCallable()

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

deleteIndexOperationCallable()

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

exportEntitiesCallable()

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

exportEntitiesOperationCallable()

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

getIndexCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

importEntitiesCallable()

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

importEntitiesOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listIndexesCallable()

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

listIndexesPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()