Class StorageServiceGrpc.StorageServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<StorageServiceGrpc.StorageServiceBlockingV2Stub>
io.deephaven.proto.backplane.grpc.StorageServiceGrpc.StorageServiceBlockingV2Stub
Enclosing class:
StorageServiceGrpc

public static final class StorageServiceGrpc.StorageServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<StorageServiceGrpc.StorageServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service StorageService.
 Shared storage management service.
 Operations may fail (or omit data) if the current session does not have permission to read or write that resource.
 Paths will be "/" delimited and must start with a leading slash.
 
  • Method Details

    • build

      protected StorageServiceGrpc.StorageServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<StorageServiceGrpc.StorageServiceBlockingV2Stub>
    • listItems

      public ListItemsResponse listItems(ListItemsRequest request) throws io.grpc.StatusException
       Lists the files and directories present in a given directory. Will return an error
       
      Throws:
      io.grpc.StatusException
    • fetchFile

      public FetchFileResponse fetchFile(FetchFileRequest request) throws io.grpc.StatusException
       Reads the file at the given path. Client can optionally specify an etag, asking the server
       not to send the file if it hasn't changed.
       
      Throws:
      io.grpc.StatusException
    • saveFile

      public SaveFileResponse saveFile(SaveFileRequest request) throws io.grpc.StatusException
       Can create new files or modify existing with client provided contents.
       
      Throws:
      io.grpc.StatusException
    • moveItem

      public MoveItemResponse moveItem(MoveItemRequest request) throws io.grpc.StatusException
       Moves a file from one path to another.
       
      Throws:
      io.grpc.StatusException
    • createDirectory

      public CreateDirectoryResponse createDirectory(CreateDirectoryRequest request) throws io.grpc.StatusException
       Creates a directory at the given path.
       
      Throws:
      io.grpc.StatusException
    • deleteItem

      public DeleteItemResponse deleteItem(DeleteItemRequest request) throws io.grpc.StatusException
       Deletes the file or directory at the given path. Directories must be empty to be deleted.
       
      Throws:
      io.grpc.StatusException