Class ParallelstoreGrpc.ParallelstoreStub (0.17.0)

public static final class ParallelstoreGrpc.ParallelstoreStub extends AbstractAsyncStub<ParallelstoreGrpc.ParallelstoreStub>

A stub to allow clients to do asynchronous rpc calls to service Parallelstore.

Service describing handlers for resources Configures and manages parallelstore resources. Parallelstore service. The parallelstore.googleapis.com service implements the parallelstore API and defines the following resource model for managing instances:

  • The service works with a collection of cloud projects, named: /projects/*
  • Each project has a collection of available locations, named: /locations/*
  • Each location has a collection of instances named /instances/*.
  • Parallelstore instances are resources of the form: /projects/{project_id}/locations/{location_id}/instances/{instance_id} Note that location_id must be a Google Cloud zone; for example:
  • projects/12345/locations/us-central1-c/instances/my-parallelstore-share

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ParallelstoreGrpc.ParallelstoreStub

Methods

build(Channel channel, CallOptions callOptions)

protected ParallelstoreGrpc.ParallelstoreStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ParallelstoreGrpc.ParallelstoreStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)

public void createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)

Creates a Parallelstore instance in a given project and location.

Parameters
Name Description
request CreateInstanceRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)

public void deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)

Deletes a single instance.

Parameters
Name Description
request DeleteInstanceRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

exportData(ExportDataRequest request, StreamObserver<Operation> responseObserver)

public void exportData(ExportDataRequest request, StreamObserver<Operation> responseObserver)

Copies data from Parallelstore to Cloud Storage.

Parameters
Name Description
request ExportDataRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)

public void getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)

Gets details of a single instance.

Parameters
Name Description
request GetInstanceRequest
responseObserver io.grpc.stub.StreamObserver<Instance>

importData(ImportDataRequest request, StreamObserver<Operation> responseObserver)

public void importData(ImportDataRequest request, StreamObserver<Operation> responseObserver)

Copies data from Cloud Storage to Parallelstore.

Parameters
Name Description
request ImportDataRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)

public void listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)

Lists all instances in a given project and location.

Parameters
Name Description
request ListInstancesRequest
responseObserver io.grpc.stub.StreamObserver<ListInstancesResponse>

updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)

public void updateInstance(UpdateInstanceRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single instance.

Parameters
Name Description
request UpdateInstanceRequest
responseObserver io.grpc.stub.StreamObserver<Operation>