Package com.google.datastore.admin.v1
Class DatastoreAdminGrpc
- java.lang.Object
-
- com.google.datastore.admin.v1.DatastoreAdminGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/datastore/admin/v1/datastore_admin.proto") public final class DatastoreAdminGrpc extends Object
Google Cloud Datastore Admin API The Datastore Admin API provides several admin services for Cloud Datastore. Concepts: Project, namespace, kind, and entity as defined in the Google Cloud Datastore API. Operation: An Operation represents work being performed in the background. EntityFilter: Allows specifying a subset of entities in a project. This is specified as a combination of kinds and namespaces (either or both of which may be all). Export/Import Service: - The Export/Import service provides the ability to copy all or a subset of entities to/from Google Cloud Storage. - Exported data may be imported into Cloud Datastore for any Google Cloud Platform project. It is not restricted to the export source project. It is possible to export from one project and then import into another. - Exported data can also be loaded into Google BigQuery for analysis. - Exports and imports are performed asynchronously. An Operation resource is created for each export/import. The state (including any errors encountered) of the export/import may be queried via the Operation resource. Index Service: - The index service manages Cloud Datastore composite indexes. - Index creation and deletion are performed asynchronously. An Operation resource is created for each such asynchronous operation. The state of the operation (including any errors encountered) may be queried via the Operation resource. Operation Service: - The Operations collection provides a record of actions performed for the specified project (including any operations in progress). Operations are not created directly but through calls on other collections or resources. - An operation that is not yet done may be cancelled. The request to cancel is asynchronous and the operation may continue to run for some time after the request to cancel is made. - An operation that is done may be deleted so that it is no longer listed as part of the Operation collection. - ListOperations returns all pending operations, but not completed operations. - Operations are created by service DatastoreAdmin, but are accessed via service google.longrunning.Operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DatastoreAdminGrpc.AsyncService
Google Cloud Datastore Admin API The Datastore Admin API provides several admin services for Cloud Datastore.static class
DatastoreAdminGrpc.DatastoreAdminBlockingStub
A stub to allow clients to do synchronous rpc calls to service DatastoreAdmin.static class
DatastoreAdminGrpc.DatastoreAdminFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service DatastoreAdmin.static class
DatastoreAdminGrpc.DatastoreAdminImplBase
Base class for the server implementation of the service DatastoreAdmin.static class
DatastoreAdminGrpc.DatastoreAdminStub
A stub to allow clients to do asynchronous rpc calls to service DatastoreAdmin.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinition
bindService(DatastoreAdminGrpc.AsyncService service)
static io.grpc.MethodDescriptor<CreateIndexRequest,com.google.longrunning.Operation>
getCreateIndexMethod()
static io.grpc.MethodDescriptor<DeleteIndexRequest,com.google.longrunning.Operation>
getDeleteIndexMethod()
static io.grpc.MethodDescriptor<ExportEntitiesRequest,com.google.longrunning.Operation>
getExportEntitiesMethod()
static io.grpc.MethodDescriptor<GetIndexRequest,Index>
getGetIndexMethod()
static io.grpc.MethodDescriptor<ImportEntitiesRequest,com.google.longrunning.Operation>
getImportEntitiesMethod()
static io.grpc.MethodDescriptor<ListIndexesRequest,ListIndexesResponse>
getListIndexesMethod()
static io.grpc.ServiceDescriptor
getServiceDescriptor()
static DatastoreAdminGrpc.DatastoreAdminBlockingStub
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic DatastoreAdminGrpc.DatastoreAdminFutureStub
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic DatastoreAdminGrpc.DatastoreAdminStub
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getExportEntitiesMethod
public static io.grpc.MethodDescriptor<ExportEntitiesRequest,com.google.longrunning.Operation> getExportEntitiesMethod()
-
getImportEntitiesMethod
public static io.grpc.MethodDescriptor<ImportEntitiesRequest,com.google.longrunning.Operation> getImportEntitiesMethod()
-
getCreateIndexMethod
public static io.grpc.MethodDescriptor<CreateIndexRequest,com.google.longrunning.Operation> getCreateIndexMethod()
-
getDeleteIndexMethod
public static io.grpc.MethodDescriptor<DeleteIndexRequest,com.google.longrunning.Operation> getDeleteIndexMethod()
-
getGetIndexMethod
public static io.grpc.MethodDescriptor<GetIndexRequest,Index> getGetIndexMethod()
-
getListIndexesMethod
public static io.grpc.MethodDescriptor<ListIndexesRequest,ListIndexesResponse> getListIndexesMethod()
-
newStub
public static DatastoreAdminGrpc.DatastoreAdminStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static DatastoreAdminGrpc.DatastoreAdminBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static DatastoreAdminGrpc.DatastoreAdminFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(DatastoreAdminGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-