Interface Shell.FileDataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Shell.FileData, Shell.FileData.Builder
Enclosing class:
Shell

public static interface Shell.FileDataOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    bytes data = 4 [json_name = "data"];
    boolean
    bool eof = 5 [json_name = "eof"];
    boolean
    bool is_dir = 3 [json_name = "isDir"];
    int
    optional uint32 mode = 7 [json_name = "mode"];
    com.google.protobuf.Timestamp
    Note(erd): maybe support access time in the future if needed
    string name = 1 [json_name = "name"];
    com.google.protobuf.ByteString
    string name = 1 [json_name = "name"];
    long
    int64 size = 2 [json_name = "size"];
    boolean
    optional uint32 mode = 7 [json_name = "mode"];
    boolean
    Note(erd): maybe support access time in the future if needed

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getName

      String getName()
      string name = 1 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      string name = 1 [json_name = "name"];
      Returns:
      The bytes for name.
    • getSize

      long getSize()
      int64 size = 2 [json_name = "size"];
      Returns:
      The size.
    • getIsDir

      boolean getIsDir()
      bool is_dir = 3 [json_name = "isDir"];
      Returns:
      The isDir.
    • getData

      com.google.protobuf.ByteString getData()
      bytes data = 4 [json_name = "data"];
      Returns:
      The data.
    • getEof

      boolean getEof()
      bool eof = 5 [json_name = "eof"];
      Returns:
      The eof.
    • hasModTime

      boolean hasModTime()
       Note(erd): maybe support access time in the future if needed
       
      optional .google.protobuf.Timestamp mod_time = 6 [json_name = "modTime"];
      Returns:
      Whether the modTime field is set.
    • getModTime

      com.google.protobuf.Timestamp getModTime()
       Note(erd): maybe support access time in the future if needed
       
      optional .google.protobuf.Timestamp mod_time = 6 [json_name = "modTime"];
      Returns:
      The modTime.
    • hasMode

      boolean hasMode()
      optional uint32 mode = 7 [json_name = "mode"];
      Returns:
      Whether the mode field is set.
    • getMode

      int getMode()
      optional uint32 mode = 7 [json_name = "mode"];
      Returns:
      The mode.