/** * <code>required .hadoop.hdfs.AclEntryProto.AclEntryTypeProto type = 1;</code> */ public Builder setType(org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.AclEntryTypeProto value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /**
/** * <code>required .hadoop.hdfs.AclEntryProto.AclEntryTypeProto type = 1;</code> */ public Builder setType(org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.AclEntryTypeProto value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /**
/** * <code>required .hadoop.hdfs.AclEntryProto.AclEntryScopeProto scope = 2;</code> */ public Builder setScope(org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.AclEntryScopeProto value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; scope_ = value; onChanged(); return this; } /**
/** * <code>optional string name = 4;</code> */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; name_ = value; onChanged(); return this; } /**
/** * <code>required .hadoop.hdfs.AclEntryProto.FsActionProto permissions = 3;</code> */ public Builder setPermissions(org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.FsActionProto value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; permissions_ = value; onChanged(); return this; } /**
/** * <code>optional string name = 4;</code> */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; name_ = value; onChanged(); return this; }
/** * <code>required .hadoop.hdfs.AclEntryProto.FsActionProto permissions = 3;</code> */ public Builder setPermissions(org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.FsActionProto value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; permissions_ = value; onChanged(); return this; } /**
/** * <code>required .hadoop.hdfs.AclEntryProto.AclEntryTypeProto type = 1;</code> */ public Builder setType(org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.AclEntryTypeProto value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /**
/** * <code>required .hadoop.hdfs.AclEntryProto.AclEntryTypeProto type = 1;</code> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.AclEntryTypeProto.USER; onChanged(); return this; }
/** * <code>required .hadoop.hdfs.AclEntryProto.FsActionProto permissions = 3;</code> */ public Builder clearPermissions() { bitField0_ = (bitField0_ & ~0x00000004); permissions_ = org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.FsActionProto.NONE; onChanged(); return this; }
/** * <code>optional string name = 4;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000008); name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>required .hadoop.hdfs.AclEntryProto.AclEntryScopeProto scope = 2;</code> */ public Builder clearScope() { bitField0_ = (bitField0_ & ~0x00000002); scope_ = org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.AclEntryScopeProto.ACCESS; onChanged(); return this; }
/** * <code>required .hadoop.hdfs.AclEntryProto.AclEntryTypeProto type = 1;</code> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.AclEntryTypeProto.USER; onChanged(); return this; }
/** * <code>optional string name = 4;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000008); name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>optional string name = 4;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000008); name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>required .hadoop.hdfs.AclEntryProto.FsActionProto permissions = 3;</code> */ public Builder clearPermissions() { bitField0_ = (bitField0_ & ~0x00000004); permissions_ = org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.FsActionProto.NONE; onChanged(); return this; }
/** * <code>required .hadoop.hdfs.AclEntryProto.FsActionProto permissions = 3;</code> */ public Builder clearPermissions() { bitField0_ = (bitField0_ & ~0x00000004); permissions_ = org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.FsActionProto.NONE; onChanged(); return this; }
/** * <code>required .hadoop.hdfs.AclEntryProto.AclEntryScopeProto scope = 2;</code> */ public Builder clearScope() { bitField0_ = (bitField0_ & ~0x00000002); scope_ = org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.AclEntryScopeProto.ACCESS; onChanged(); return this; }
/** * <code>required .hadoop.hdfs.AclEntryProto.AclEntryScopeProto scope = 2;</code> */ public Builder clearScope() { bitField0_ = (bitField0_ & ~0x00000002); scope_ = org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.AclEntryScopeProto.ACCESS; onChanged(); return this; }
/** * <code>required .hadoop.hdfs.AclEntryProto.AclEntryTypeProto type = 1;</code> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = org.apache.hadoop.hdfs.protocol.proto.AclProtos.AclEntryProto.AclEntryTypeProto.USER; onChanged(); return this; }