/** * <code>repeated .hadoop.hdfs.AclEntryProto acls = 9;</code> */ public Builder addAcls( int index, org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (aclsBuilder_ == null) { ensureAclsIsMutable(); acls_.add(index, builderForValue.build()); onChanged(); } else { aclsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto other) { if (other == org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasScope()) { setScope(other.getScope()); } if (other.hasPermissions()) { setPermissions(other.getPermissions()); } if (other.hasName()) { bitField0_ |= 0x00000008; name_ = other.name_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto other) { if (other == org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasScope()) { setScope(other.getScope()); } if (other.hasPermissions()) { setPermissions(other.getPermissions()); } if (other.hasName()) { bitField0_ |= 0x00000008; name_ = other.name_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto other) { if (other == org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasScope()) { setScope(other.getScope()); } if (other.hasPermissions()) { setPermissions(other.getPermissions()); } if (other.hasName()) { bitField0_ |= 0x00000008; name_ = other.name_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
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.protocol.proto.AclProtos.AclEntryProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.hadoop.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
/** * <code>repeated .hadoop.hdfs.AclEntryProto acls = 9;</code> */ public Builder addAcls( int index, org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (aclsBuilder_ == null) { ensureAclsIsMutable(); acls_.add(index, builderForValue.build()); onChanged(); } else { aclsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.hdfs.AclEntryProto aclSpec = 2;</code> */ public Builder addAclSpec( org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (aclSpecBuilder_ == null) { ensureAclSpecIsMutable(); aclSpec_.add(builderForValue.build()); onChanged(); } else { aclSpecBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.hdfs.AclEntryProto entries = 2;</code> */ public Builder addEntries( int index, org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(index, builderForValue.build()); onChanged(); } else { entriesBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.hdfs.AclEntryProto entries = 2;</code> */ public Builder addEntries( org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); onChanged(); } else { entriesBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.hdfs.AclEntryProto aclSpec = 2;</code> */ public Builder addAclSpec( int index, org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (aclSpecBuilder_ == null) { ensureAclSpecIsMutable(); aclSpec_.add(index, builderForValue.build()); onChanged(); } else { aclSpecBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.hdfs.AclEntryProto entries = 2;</code> */ public Builder addEntries( org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); onChanged(); } else { entriesBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.hdfs.AclEntryProto entries = 2;</code> */ public Builder setEntries( int index, org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.set(index, builderForValue.build()); onChanged(); } else { entriesBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.hdfs.AclEntryProto aclSpec = 2;</code> */ public Builder setAclSpec( int index, org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (aclSpecBuilder_ == null) { ensureAclSpecIsMutable(); aclSpec_.set(index, builderForValue.build()); onChanged(); } else { aclSpecBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.hdfs.AclEntryProto aclSpec = 2;</code> */ public Builder addAclSpec( int index, org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (aclSpecBuilder_ == null) { ensureAclSpecIsMutable(); aclSpec_.add(index, builderForValue.build()); onChanged(); } else { aclSpecBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.hdfs.AclEntryProto aclSpec = 2;</code> */ public Builder addAclSpec( int index, org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (aclSpecBuilder_ == null) { ensureAclSpecIsMutable(); aclSpec_.add(index, builderForValue.build()); onChanged(); } else { aclSpecBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.hdfs.AclEntryProto aclSpec = 2;</code> */ public Builder setAclSpec( int index, org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (aclSpecBuilder_ == null) { ensureAclSpecIsMutable(); aclSpec_.set(index, builderForValue.build()); onChanged(); } else { aclSpecBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.hdfs.AclEntryProto aclSpec = 2;</code> */ public Builder addAclSpec( org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (aclSpecBuilder_ == null) { ensureAclSpecIsMutable(); aclSpec_.add(builderForValue.build()); onChanged(); } else { aclSpecBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .hadoop.hdfs.AclEntryProto aclSpec = 2;</code> */ public Builder setAclSpec( int index, org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.Builder builderForValue) { if (aclSpecBuilder_ == null) { ensureAclSpecIsMutable(); aclSpec_.set(index, builderForValue.build()); onChanged(); } else { aclSpecBuilder_.setMessage(index, builderForValue.build()); } return this; } /**