Class LustreGrpc.LustreStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<LustreGrpc.LustreStub>
com.google.cloud.lustre.v1.LustreGrpc.LustreStub
Enclosing class:
LustreGrpc

public static final class LustreGrpc.LustreStub extends io.grpc.stub.AbstractAsyncStub<LustreGrpc.LustreStub>
A stub to allow clients to do asynchronous rpc calls to service Lustre.
 Service describing handlers for resources
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

    io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
  • Method Summary

    Modifier and Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    createInstance(CreateInstanceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Creates a new instance in a given project and location.
    void
    deleteInstance(DeleteInstanceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Deletes a single instance.
    void
    exportData(ExportDataRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Exports data from a Managed Lustre instance to Cloud Storage.
    void
    getInstance(GetInstanceRequest request, io.grpc.stub.StreamObserver<Instance> responseObserver)
    Gets details of a single instance.
    void
    importData(ImportDataRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Imports data from Cloud Storage to a Managed Lustre instance.
    void
    listInstances(ListInstancesRequest request, io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver)
    Lists instances in a given project and location.
    void
    updateInstance(UpdateInstanceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Updates the parameters of a single instance.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected LustreGrpc.LustreStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<LustreGrpc.LustreStub>
    • listInstances

      public void listInstances(ListInstancesRequest request, io.grpc.stub.StreamObserver<ListInstancesResponse> responseObserver)
       Lists instances in a given project and location.
       
    • getInstance

      public void getInstance(GetInstanceRequest request, io.grpc.stub.StreamObserver<Instance> responseObserver)
       Gets details of a single instance.
       
    • createInstance

      public void createInstance(CreateInstanceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Creates a new instance in a given project and location.
       
    • updateInstance

      public void updateInstance(UpdateInstanceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Updates the parameters of a single instance.
       
    • deleteInstance

      public void deleteInstance(DeleteInstanceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Deletes a single instance.
       
    • importData

      public void importData(ImportDataRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Imports data from Cloud Storage to a Managed Lustre instance.
       
    • exportData

      public void exportData(ExportDataRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Exports data from a Managed Lustre instance to Cloud Storage.