Class LustreGrpc.LustreBlockingV2Stub

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

public static final class LustreGrpc.LustreBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<LustreGrpc.LustreBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service Lustre.
 Service describing handlers for resources
 
  • Method Details

    • build

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

      public ListInstancesResponse listInstances(ListInstancesRequest request) throws io.grpc.StatusException
       Lists instances in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • getInstance

      public Instance getInstance(GetInstanceRequest request) throws io.grpc.StatusException
       Gets details of a single instance.
       
      Throws:
      io.grpc.StatusException
    • createInstance

      public Operation createInstance(CreateInstanceRequest request) throws io.grpc.StatusException
       Creates a new instance in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • updateInstance

      public Operation updateInstance(UpdateInstanceRequest request) throws io.grpc.StatusException
       Updates the parameters of a single instance.
       
      Throws:
      io.grpc.StatusException
    • deleteInstance

      public Operation deleteInstance(DeleteInstanceRequest request) throws io.grpc.StatusException
       Deletes a single instance.
       
      Throws:
      io.grpc.StatusException
    • importData

      public Operation importData(ImportDataRequest request) throws io.grpc.StatusException
       Imports data from Cloud Storage to a Managed Lustre instance.
       
      Throws:
      io.grpc.StatusException
    • exportData

      public Operation exportData(ExportDataRequest request) throws io.grpc.StatusException
       Exports data from a Managed Lustre instance to Cloud Storage.
       
      Throws:
      io.grpc.StatusException