Interface FsImageProto.INodeSection.AclFeatureProtoOrBuilder
- All Superinterfaces:
org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder,org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FsImageProto.INodeSection.AclFeatureProto,FsImageProto.INodeSection.AclFeatureProto.Builder
- Enclosing class:
- FsImageProto.INodeSection
public static interface FsImageProto.INodeSection.AclFeatureProtoOrBuilder
extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetEntries(int index) An ACL entry is represented by a 32-bit integer in Big Endian format.intAn ACL entry is represented by a 32-bit integer in Big Endian format.An ACL entry is represented by a 32-bit integer in Big Endian format.Methods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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];- Returns:
- A list containing the entries.
-
getEntriesCount
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];- Returns:
- The count of entries.
-
getEntries
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];- Parameters:
index- The index of the element to return.- Returns:
- The entries at the given index.
-