Class FsImageProto.INodeSection.AclFeatureProto

java.lang.Object
org.apache.hadoop.thirdparty.protobuf.AbstractMessageLite
org.apache.hadoop.thirdparty.protobuf.AbstractMessage
org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto
All Implemented Interfaces:
Serializable, FsImageProto.INodeSection.AclFeatureProtoOrBuilder, org.apache.hadoop.thirdparty.protobuf.Message, org.apache.hadoop.thirdparty.protobuf.MessageLite, org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder, org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
Enclosing class:
FsImageProto.INodeSection

public static final class FsImageProto.INodeSection.AclFeatureProto extends org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3 implements FsImageProto.INodeSection.AclFeatureProtoOrBuilder
Protobuf type hadoop.hdfs.fsimage.INodeSection.AclFeatureProto
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
    • getEntriesList

      public List<Integer> getEntriesList()
      
       An ACL entry is represented by a 32-bit integer in Big Endian
       format. The bits can be divided in four segments:
       [0:2) || [2:26) || [26:27) || [27:29) || [29:32)
      
       [0:2) -- reserved for future uses.
       [2:26) -- the name of the entry, which is an ID that points to a
       string in the StringTableSection.
       [26:27) -- the scope of the entry (AclEntryScopeProto)
       [27:29) -- the type of the entry (AclEntryTypeProto)
       [29:32) -- the permission of the entry (FsActionProto)
       
      repeated fixed32 entries = 2 [packed = true];
      Specified by:
      getEntriesList in interface FsImageProto.INodeSection.AclFeatureProtoOrBuilder
      Returns:
      A list containing the entries.
    • getEntriesCount

      public int getEntriesCount()
      
       An ACL entry is represented by a 32-bit integer in Big Endian
       format. The bits can be divided in four segments:
       [0:2) || [2:26) || [26:27) || [27:29) || [29:32)
      
       [0:2) -- reserved for future uses.
       [2:26) -- the name of the entry, which is an ID that points to a
       string in the StringTableSection.
       [26:27) -- the scope of the entry (AclEntryScopeProto)
       [27:29) -- the type of the entry (AclEntryTypeProto)
       [29:32) -- the permission of the entry (FsActionProto)
       
      repeated fixed32 entries = 2 [packed = true];
      Specified by:
      getEntriesCount in interface FsImageProto.INodeSection.AclFeatureProtoOrBuilder
      Returns:
      The count of entries.
    • getEntries

      public int getEntries(int index)
      
       An ACL entry is represented by a 32-bit integer in Big Endian
       format. The bits can be divided in four segments:
       [0:2) || [2:26) || [26:27) || [27:29) || [29:32)
      
       [0:2) -- reserved for future uses.
       [2:26) -- the name of the entry, which is an ID that points to a
       string in the StringTableSection.
       [26:27) -- the scope of the entry (AclEntryScopeProto)
       [27:29) -- the type of the entry (AclEntryTypeProto)
       [29:32) -- the permission of the entry (FsActionProto)
       
      repeated fixed32 entries = 2 [packed = true];
      Specified by:
      getEntries in interface FsImageProto.INodeSection.AclFeatureProtoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The entries at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(org.apache.hadoop.thirdparty.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
      Overrides:
      writeTo in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
      Overrides:
      getSerializedSize in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.apache.hadoop.thirdparty.protobuf.Message
      Overrides:
      equals in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.apache.hadoop.thirdparty.protobuf.Message
      Overrides:
      hashCode in class org.apache.hadoop.thirdparty.protobuf.AbstractMessage
    • parseFrom

      public static FsImageProto.INodeSection.AclFeatureProto parseFrom(ByteBuffer data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FsImageProto.INodeSection.AclFeatureProto parseFrom(ByteBuffer data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FsImageProto.INodeSection.AclFeatureProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FsImageProto.INodeSection.AclFeatureProto parseFrom(org.apache.hadoop.thirdparty.protobuf.ByteString data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FsImageProto.INodeSection.AclFeatureProto parseFrom(byte[] data) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FsImageProto.INodeSection.AclFeatureProto parseFrom(byte[] data, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
      Throws:
      org.apache.hadoop.thirdparty.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FsImageProto.INodeSection.AclFeatureProto parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FsImageProto.INodeSection.AclFeatureProto parseFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FsImageProto.INodeSection.AclFeatureProto parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FsImageProto.INodeSection.AclFeatureProto parseDelimitedFrom(InputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FsImageProto.INodeSection.AclFeatureProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FsImageProto.INodeSection.AclFeatureProto parseFrom(org.apache.hadoop.thirdparty.protobuf.CodedInputStream input, org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface org.apache.hadoop.thirdparty.protobuf.Message
      Specified by:
      newBuilderForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface org.apache.hadoop.thirdparty.protobuf.Message
      Specified by:
      toBuilder in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
    • newBuilderForType

      protected FsImageProto.INodeSection.AclFeatureProto.Builder newBuilderForType(org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static FsImageProto.INodeSection.AclFeatureProto getDefaultInstance()
    • parser

      public static org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.INodeSection.AclFeatureProto> parser()
    • getParserForType

      public org.apache.hadoop.thirdparty.protobuf.Parser<FsImageProto.INodeSection.AclFeatureProto> getParserForType()
      Specified by:
      getParserForType in interface org.apache.hadoop.thirdparty.protobuf.Message
      Specified by:
      getParserForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLite
      Overrides:
      getParserForType in class org.apache.hadoop.thirdparty.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public FsImageProto.INodeSection.AclFeatureProto getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder