Class StatOuterClass.Stat.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<StatOuterClass.Stat.Builder>
com.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.Builder>
fsutil.types.StatOuterClass.Stat.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StatOuterClass.StatOrBuilder, Cloneable
Enclosing class:
StatOuterClass.Stat

public static final class StatOuterClass.Stat.Builder extends com.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.Builder> implements StatOuterClass.StatOrBuilder
Protobuf type fsutil.types.Stat
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.Builder>
    • getDefaultInstanceForType

      public StatOuterClass.Stat getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public StatOuterClass.Stat build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public StatOuterClass.Stat buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public StatOuterClass.Stat.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StatOuterClass.Stat.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<StatOuterClass.Stat.Builder>
    • mergeFrom

      public StatOuterClass.Stat.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StatOuterClass.Stat.Builder>
      Throws:
      IOException
    • getPath

      public String getPath()
      string path = 1;
      Specified by:
      getPath in interface StatOuterClass.StatOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
      string path = 1;
      Specified by:
      getPathBytes in interface StatOuterClass.StatOrBuilder
      Returns:
      The bytes for path.
    • setPath

      public StatOuterClass.Stat.Builder setPath(String value)
      string path = 1;
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

      public StatOuterClass.Stat.Builder clearPath()
      string path = 1;
      Returns:
      This builder for chaining.
    • setPathBytes

      public StatOuterClass.Stat.Builder setPathBytes(com.google.protobuf.ByteString value)
      string path = 1;
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.
    • getMode

      public int getMode()
      uint32 mode = 2;
      Specified by:
      getMode in interface StatOuterClass.StatOrBuilder
      Returns:
      The mode.
    • setMode

      public StatOuterClass.Stat.Builder setMode(int value)
      uint32 mode = 2;
      Parameters:
      value - The mode to set.
      Returns:
      This builder for chaining.
    • clearMode

      public StatOuterClass.Stat.Builder clearMode()
      uint32 mode = 2;
      Returns:
      This builder for chaining.
    • getUid

      public int getUid()
      uint32 uid = 3;
      Specified by:
      getUid in interface StatOuterClass.StatOrBuilder
      Returns:
      The uid.
    • setUid

      public StatOuterClass.Stat.Builder setUid(int value)
      uint32 uid = 3;
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public StatOuterClass.Stat.Builder clearUid()
      uint32 uid = 3;
      Returns:
      This builder for chaining.
    • getGid

      public int getGid()
      uint32 gid = 4;
      Specified by:
      getGid in interface StatOuterClass.StatOrBuilder
      Returns:
      The gid.
    • setGid

      public StatOuterClass.Stat.Builder setGid(int value)
      uint32 gid = 4;
      Parameters:
      value - The gid to set.
      Returns:
      This builder for chaining.
    • clearGid

      public StatOuterClass.Stat.Builder clearGid()
      uint32 gid = 4;
      Returns:
      This builder for chaining.
    • getSize

      public long getSize()
      int64 size = 5;
      Specified by:
      getSize in interface StatOuterClass.StatOrBuilder
      Returns:
      The size.
    • setSize

      public StatOuterClass.Stat.Builder setSize(long value)
      int64 size = 5;
      Parameters:
      value - The size to set.
      Returns:
      This builder for chaining.
    • clearSize

      public StatOuterClass.Stat.Builder clearSize()
      int64 size = 5;
      Returns:
      This builder for chaining.
    • getModTime

      public long getModTime()
      int64 modTime = 6;
      Specified by:
      getModTime in interface StatOuterClass.StatOrBuilder
      Returns:
      The modTime.
    • setModTime

      public StatOuterClass.Stat.Builder setModTime(long value)
      int64 modTime = 6;
      Parameters:
      value - The modTime to set.
      Returns:
      This builder for chaining.
    • clearModTime

      public StatOuterClass.Stat.Builder clearModTime()
      int64 modTime = 6;
      Returns:
      This builder for chaining.
    • getLinkname

      public String getLinkname()
       int32 typeflag = 7;
       
      string linkname = 7;
      Specified by:
      getLinkname in interface StatOuterClass.StatOrBuilder
      Returns:
      The linkname.
    • getLinknameBytes

      public com.google.protobuf.ByteString getLinknameBytes()
       int32 typeflag = 7;
       
      string linkname = 7;
      Specified by:
      getLinknameBytes in interface StatOuterClass.StatOrBuilder
      Returns:
      The bytes for linkname.
    • setLinkname

      public StatOuterClass.Stat.Builder setLinkname(String value)
       int32 typeflag = 7;
       
      string linkname = 7;
      Parameters:
      value - The linkname to set.
      Returns:
      This builder for chaining.
    • clearLinkname

      public StatOuterClass.Stat.Builder clearLinkname()
       int32 typeflag = 7;
       
      string linkname = 7;
      Returns:
      This builder for chaining.
    • setLinknameBytes

      public StatOuterClass.Stat.Builder setLinknameBytes(com.google.protobuf.ByteString value)
       int32 typeflag = 7;
       
      string linkname = 7;
      Parameters:
      value - The bytes for linkname to set.
      Returns:
      This builder for chaining.
    • getDevmajor

      public long getDevmajor()
      int64 devmajor = 8;
      Specified by:
      getDevmajor in interface StatOuterClass.StatOrBuilder
      Returns:
      The devmajor.
    • setDevmajor

      public StatOuterClass.Stat.Builder setDevmajor(long value)
      int64 devmajor = 8;
      Parameters:
      value - The devmajor to set.
      Returns:
      This builder for chaining.
    • clearDevmajor

      public StatOuterClass.Stat.Builder clearDevmajor()
      int64 devmajor = 8;
      Returns:
      This builder for chaining.
    • getDevminor

      public long getDevminor()
      int64 devminor = 9;
      Specified by:
      getDevminor in interface StatOuterClass.StatOrBuilder
      Returns:
      The devminor.
    • setDevminor

      public StatOuterClass.Stat.Builder setDevminor(long value)
      int64 devminor = 9;
      Parameters:
      value - The devminor to set.
      Returns:
      This builder for chaining.
    • clearDevminor

      public StatOuterClass.Stat.Builder clearDevminor()
      int64 devminor = 9;
      Returns:
      This builder for chaining.
    • getXattrsCount

      public int getXattrsCount()
      Description copied from interface: StatOuterClass.StatOrBuilder
      map<string, bytes> xattrs = 10;
      Specified by:
      getXattrsCount in interface StatOuterClass.StatOrBuilder
    • containsXattrs

      public boolean containsXattrs(String key)
      map<string, bytes> xattrs = 10;
      Specified by:
      containsXattrs in interface StatOuterClass.StatOrBuilder
    • getXattrs

      @Deprecated public Map<String,com.google.protobuf.ByteString> getXattrs()
      Deprecated.
      Use getXattrsMap() instead.
      Specified by:
      getXattrs in interface StatOuterClass.StatOrBuilder
    • getXattrsMap

      public Map<String,com.google.protobuf.ByteString> getXattrsMap()
      map<string, bytes> xattrs = 10;
      Specified by:
      getXattrsMap in interface StatOuterClass.StatOrBuilder
    • getXattrsOrDefault

      public com.google.protobuf.ByteString getXattrsOrDefault(String key, com.google.protobuf.ByteString defaultValue)
      map<string, bytes> xattrs = 10;
      Specified by:
      getXattrsOrDefault in interface StatOuterClass.StatOrBuilder
    • getXattrsOrThrow

      public com.google.protobuf.ByteString getXattrsOrThrow(String key)
      map<string, bytes> xattrs = 10;
      Specified by:
      getXattrsOrThrow in interface StatOuterClass.StatOrBuilder
    • clearXattrs

      public StatOuterClass.Stat.Builder clearXattrs()
    • removeXattrs

      public StatOuterClass.Stat.Builder removeXattrs(String key)
      map<string, bytes> xattrs = 10;
    • getMutableXattrs

      @Deprecated public Map<String,com.google.protobuf.ByteString> getMutableXattrs()
      Deprecated.
      Use alternate mutation accessors instead.
    • putXattrs

      public StatOuterClass.Stat.Builder putXattrs(String key, com.google.protobuf.ByteString value)
      map<string, bytes> xattrs = 10;
    • putAllXattrs

      public StatOuterClass.Stat.Builder putAllXattrs(Map<String,com.google.protobuf.ByteString> values)
      map<string, bytes> xattrs = 10;