/** * <code>repeated fixed32 entries = 2 [packed = true];</code> * * <pre> ** * 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 futute 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) * </pre> */ public Builder clearEntries() { entries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; }
public Builder mergeFrom(org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto other) { if (other == org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.getDefaultInstance()) return this; if (!other.entries_.isEmpty()) { if (entries_.isEmpty()) { entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntriesIsMutable(); entries_.addAll(other.entries_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>repeated fixed32 entries = 2 [packed = true];</code> * * <pre> ** * 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 futute 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) * </pre> */ public Builder addAllEntries( java.lang.Iterable<? extends java.lang.Integer> values) { ensureEntriesIsMutable(); super.addAll(values, entries_); onChanged(); return this; } /**
/** * <code>repeated fixed32 entries = 2 [packed = true];</code> * * <pre> ** * 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 futute 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) * </pre> */ public Builder addAllEntries( java.lang.Iterable<? extends java.lang.Integer> values) { ensureEntriesIsMutable(); super.addAll(values, entries_); onChanged(); return this; } /**
/** * <code>repeated fixed32 entries = 2 [packed = true];</code> * * <pre> ** * 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 futute 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) * </pre> */ public Builder setEntries( int index, int value) { ensureEntriesIsMutable(); entries_.set(index, value); onChanged(); return this; } /**
/** * <code>repeated fixed32 entries = 2 [packed = true];</code> * * <pre> ** * 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 futute 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) * </pre> */ public Builder addEntries(int value) { ensureEntriesIsMutable(); entries_.add(value); onChanged(); return this; } /**
/** * <code>repeated fixed32 entries = 2 [packed = true];</code> * * <pre> ** * 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 futute 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) * </pre> */ public Builder clearEntries() { entries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; }
/** * <code>repeated fixed32 entries = 2 [packed = true];</code> * * <pre> ** * 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 futute 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) * </pre> */ public Builder clearEntries() { entries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; }
/** * <code>repeated fixed32 entries = 2 [packed = true];</code> * * <pre> ** * 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 futute 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) * </pre> */ public Builder setEntries( int index, int value) { ensureEntriesIsMutable(); entries_.set(index, value); onChanged(); return this; } /**
/** * <code>repeated fixed32 entries = 2 [packed = true];</code> * * <pre> ** * 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 futute 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) * </pre> */ public Builder addEntries(int value) { ensureEntriesIsMutable(); entries_.add(value); onChanged(); return this; } /**
/** * <code>repeated fixed32 entries = 2 [packed = true];</code> * * <pre> ** * 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 futute 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) * </pre> */ public Builder addAllEntries( java.lang.Iterable<? extends java.lang.Integer> values) { ensureEntriesIsMutable(); super.addAll(values, entries_); onChanged(); return this; } /**
public Builder mergeFrom(org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto other) { if (other == org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.getDefaultInstance()) return this; if (!other.entries_.isEmpty()) { if (entries_.isEmpty()) { entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntriesIsMutable(); entries_.addAll(other.entries_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto other) { if (other == org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.getDefaultInstance()) return this; if (!other.entries_.isEmpty()) { if (entries_.isEmpty()) { entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntriesIsMutable(); entries_.addAll(other.entries_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>repeated fixed32 entries = 2 [packed = true];</code> * * <pre> ** * 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 futute 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) * </pre> */ public Builder setEntries( int index, int value) { ensureEntriesIsMutable(); entries_.set(index, value); onChanged(); return this; } /**
/** * <code>repeated fixed32 entries = 2 [packed = true];</code> * * <pre> ** * 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 futute 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) * </pre> */ public Builder addEntries(int value) { ensureEntriesIsMutable(); entries_.add(value); onChanged(); return this; } /**