/** * <code>optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;</code> */ public Builder setAcl( org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.Builder builderForValue) { if (aclBuilder_ == null) { acl_ = builderForValue.build(); onChanged(); } else { aclBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /**
subBuilder.mergeFrom(acl_); acl_ = subBuilder.buildPartial();
/** * <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; } /**
subBuilder.mergeFrom(acl_); acl_ = subBuilder.buildPartial();
subBuilder.mergeFrom(acl_); acl_ = subBuilder.buildPartial();
subBuilder.mergeFrom(acl_); acl_ = subBuilder.buildPartial();
subBuilder.mergeFrom(acl_); acl_ = subBuilder.buildPartial();
/** * <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; } /**
/** * <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; } /**
/** * <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 setEntries( int index, int value) { ensureEntriesIsMutable(); entries_.set(index, value); onChanged(); return this; } /**
/** * <code>optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;</code> */ public Builder mergeAcl(org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto value) { if (aclBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && acl_ != org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.getDefaultInstance()) { acl_ = org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.newBuilder(acl_).mergeFrom(value).buildPartial(); } else { acl_ = value; } onChanged(); } else { aclBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /**
/** * <code>optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 8;</code> */ public Builder mergeAcl(org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto value) { if (aclBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && acl_ != org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.getDefaultInstance()) { acl_ = org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.newBuilder(acl_).mergeFrom(value).buildPartial(); } else { acl_ = value; } onChanged(); } else { aclBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /**
/** * <code>optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 5;</code> */ public Builder mergeAcl(org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto value) { if (aclBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && acl_ != org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.getDefaultInstance()) { acl_ = org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.newBuilder(acl_).mergeFrom(value).buildPartial(); } else { acl_ = value; } onChanged(); } else { aclBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /**
/** * <code>optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 8;</code> */ public Builder mergeAcl(org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto value) { if (aclBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && acl_ != org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.getDefaultInstance()) { acl_ = org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.newBuilder(acl_).mergeFrom(value).buildPartial(); } else { acl_ = value; } onChanged(); } else { aclBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /**
public Builder mergeFrom( io.prestosql.hadoop.$internal.com.google.protobuf.CodedInputStream input, io.prestosql.hadoop.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
/** * <code>optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 8;</code> */ public Builder setAcl( org.apache.hadoop.hdfs.server.namenode.FsImageProto.INodeSection.AclFeatureProto.Builder builderForValue) { if (aclBuilder_ == null) { acl_ = builderForValue.build(); onChanged(); } else { aclBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /**