/** * <code>repeated .alluxio.proto.journal.StringPairEntry properties = 4;</code> */ public Builder clearProperties() { if (propertiesBuilder_ == null) { properties_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { propertiesBuilder_.clear(); } return this; } /**
/** * <code>repeated .alluxio.proto.journal.StringPairEntry properties = 4;</code> */ public Builder addProperties(alluxio.proto.journal.File.StringPairEntry value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.add(value); onChanged(); } else { propertiesBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .alluxio.proto.journal.StringPairEntry properties = 4;</code> */ public Builder setProperties( int index, alluxio.proto.journal.File.StringPairEntry value) { if (propertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertiesIsMutable(); properties_.set(index, value); onChanged(); } else { propertiesBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .alluxio.proto.journal.StringPairEntry properties = 4;</code> */ public Builder addAllProperties( java.lang.Iterable<? extends alluxio.proto.journal.File.StringPairEntry> values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .alluxio.proto.journal.StringPairEntry properties = 4;</code> */ public Builder addProperties( int index, alluxio.proto.journal.File.StringPairEntry.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(index, builderForValue.build()); onChanged(); } else { propertiesBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>optional string ufs_path = 2;</code> */ public Builder setUfsPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; ufsPath_ = value; onChanged(); return this; } /**
/** * <code>repeated .alluxio.proto.journal.StringPairEntry properties = 4;</code> */ public Builder removeProperties(int index) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.remove(index); onChanged(); } else { propertiesBuilder_.remove(index); } return this; } /**
/** * <code>repeated .alluxio.proto.journal.StringPairEntry properties = 4;</code> */ public Builder addProperties( alluxio.proto.journal.File.StringPairEntry.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.add(builderForValue.build()); onChanged(); } else { propertiesBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .alluxio.proto.journal.StringPairEntry properties = 4;</code> */ public Builder setProperties( int index, alluxio.proto.journal.File.StringPairEntry.Builder builderForValue) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); properties_.set(index, builderForValue.build()); onChanged(); } else { propertiesBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>optional string alluxio_path = 1;</code> */ public Builder setAlluxioPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; alluxioPath_ = value; onChanged(); return this; } /**
/** * <code>optional string ufs_path = 2;</code> */ public Builder setUfsPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; ufsPath_ = value; onChanged(); return this; }
/** * <code>optional string alluxio_path = 1;</code> */ public Builder setAlluxioPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; alluxioPath_ = value; onChanged(); return this; }
/** * <code>optional int64 mount_id = 6;</code> */ public Builder setMountId(long value) { bitField0_ |= 0x00000020; mountId_ = value; onChanged(); return this; } /**
/** * <code>optional bool shared = 5;</code> */ public Builder clearShared() { bitField0_ = (bitField0_ & ~0x00000010); shared_ = false; onChanged(); return this; }
/** * <code>optional bool shared = 5;</code> */ public Builder setShared(boolean value) { bitField0_ |= 0x00000010; shared_ = value; onChanged(); return this; } /**
/** * <code>optional bool readOnly = 3;</code> */ public Builder clearReadOnly() { bitField0_ = (bitField0_ & ~0x00000004); readOnly_ = false; onChanged(); return this; }
/** * <code>optional string ufs_path = 2;</code> */ public Builder clearUfsPath() { bitField0_ = (bitField0_ & ~0x00000002); ufsPath_ = getDefaultInstance().getUfsPath(); onChanged(); return this; } /**
/** * <code>optional int64 mount_id = 6;</code> */ public Builder clearMountId() { bitField0_ = (bitField0_ & ~0x00000020); mountId_ = 0L; onChanged(); return this; } public final Builder setUnknownFields(
/** * <code>optional string alluxio_path = 1;</code> */ public Builder clearAlluxioPath() { bitField0_ = (bitField0_ & ~0x00000001); alluxioPath_ = getDefaultInstance().getAlluxioPath(); onChanged(); return this; } /**
/** * <code>optional bool readOnly = 3;</code> */ public Builder setReadOnly(boolean value) { bitField0_ |= 0x00000004; readOnly_ = value; onChanged(); return this; } /**