@Generated(value="by gapic-generator-java") public class GrpcDatastoreAdminStub extends DatastoreAdminStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcDatastoreAdminStub(DatastoreAdminStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcDatastoreAdminStub, using the given settings.
|
protected |
GrpcDatastoreAdminStub(DatastoreAdminStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDatastoreAdminStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcDatastoreAdminStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcDatastoreAdminStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcDatastoreAdminStub |
create(DatastoreAdminStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateIndexRequest,com.google.longrunning.Operation> |
createIndexCallable() |
com.google.api.gax.rpc.OperationCallable<CreateIndexRequest,Index,IndexOperationMetadata> |
createIndexOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteIndexRequest,com.google.longrunning.Operation> |
deleteIndexCallable() |
com.google.api.gax.rpc.OperationCallable<DeleteIndexRequest,Index,IndexOperationMetadata> |
deleteIndexOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<ExportEntitiesRequest,com.google.longrunning.Operation> |
exportEntitiesCallable() |
com.google.api.gax.rpc.OperationCallable<ExportEntitiesRequest,ExportEntitiesResponse,ExportEntitiesMetadata> |
exportEntitiesOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<GetIndexRequest,Index> |
getIndexCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<ImportEntitiesRequest,com.google.longrunning.Operation> |
importEntitiesCallable() |
com.google.api.gax.rpc.OperationCallable<ImportEntitiesRequest,com.google.protobuf.Empty,ImportEntitiesMetadata> |
importEntitiesOperationCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListIndexesRequest,ListIndexesResponse> |
listIndexesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListIndexesRequest,DatastoreAdminClient.ListIndexesPagedResponse> |
listIndexesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
getHttpJsonOperationsStub
protected GrpcDatastoreAdminStub(DatastoreAdminStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcDatastoreAdminStub(DatastoreAdminStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcDatastoreAdminStub create(DatastoreAdminStubSettings settings) throws IOException
IOException
public static final GrpcDatastoreAdminStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcDatastoreAdminStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub
in class DatastoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<ExportEntitiesRequest,com.google.longrunning.Operation> exportEntitiesCallable()
exportEntitiesCallable
in class DatastoreAdminStub
public com.google.api.gax.rpc.OperationCallable<ExportEntitiesRequest,ExportEntitiesResponse,ExportEntitiesMetadata> exportEntitiesOperationCallable()
exportEntitiesOperationCallable
in class DatastoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<ImportEntitiesRequest,com.google.longrunning.Operation> importEntitiesCallable()
importEntitiesCallable
in class DatastoreAdminStub
public com.google.api.gax.rpc.OperationCallable<ImportEntitiesRequest,com.google.protobuf.Empty,ImportEntitiesMetadata> importEntitiesOperationCallable()
importEntitiesOperationCallable
in class DatastoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<CreateIndexRequest,com.google.longrunning.Operation> createIndexCallable()
createIndexCallable
in class DatastoreAdminStub
public com.google.api.gax.rpc.OperationCallable<CreateIndexRequest,Index,IndexOperationMetadata> createIndexOperationCallable()
createIndexOperationCallable
in class DatastoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<DeleteIndexRequest,com.google.longrunning.Operation> deleteIndexCallable()
deleteIndexCallable
in class DatastoreAdminStub
public com.google.api.gax.rpc.OperationCallable<DeleteIndexRequest,Index,IndexOperationMetadata> deleteIndexOperationCallable()
deleteIndexOperationCallable
in class DatastoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<GetIndexRequest,Index> getIndexCallable()
getIndexCallable
in class DatastoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<ListIndexesRequest,ListIndexesResponse> listIndexesCallable()
listIndexesCallable
in class DatastoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<ListIndexesRequest,DatastoreAdminClient.ListIndexesPagedResponse> listIndexesPagedCallable()
listIndexesPagedCallable
in class DatastoreAdminStub
public final void close()
close
in interface AutoCloseable
close
in class DatastoreAdminStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2023 Google LLC. All rights reserved.