/** * <code>required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;</code> */ public Builder setReqInfo(org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto value) { if (reqInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } reqInfo_ = value; onChanged(); } else { reqInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;</code> */ public org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.Builder getReqInfoBuilder() { bitField0_ |= 0x00000001; onChanged(); return getReqInfoFieldBuilder().getBuilder(); } /**
/** * <code>required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;</code> */ public Builder clearReqInfo() { if (reqInfoBuilder_ == null) { reqInfo_ = org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.getDefaultInstance(); onChanged(); } else { reqInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /**
/** * <code>optional sint32 layoutVersion = 3;</code> * * <pre> * the LayoutVersion in the client * </pre> */ public Builder setLayoutVersion(int value) { bitField0_ |= 0x00000004; layoutVersion_ = value; onChanged(); return this; } /**
/** * <code>required uint64 txid = 2;</code> * * <pre> * Transaction ID * </pre> */ public Builder setTxid(long value) { bitField0_ |= 0x00000002; txid_ = value; onChanged(); return this; } /**
/** * <code>required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;</code> */ public Builder clearReqInfo() { if (reqInfoBuilder_ == null) { reqInfo_ = org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.getDefaultInstance(); onChanged(); } else { reqInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /**
/** * <code>required uint64 txid = 2;</code> * * <pre> * Transaction ID * </pre> */ public Builder setTxid(long value) { bitField0_ |= 0x00000002; txid_ = value; onChanged(); return this; } /**
/** * <code>required uint64 txid = 2;</code> * * <pre> * Transaction ID * </pre> */ public Builder clearTxid() { bitField0_ = (bitField0_ & ~0x00000002); txid_ = 0L; onChanged(); return this; }
/** * <code>required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;</code> */ public Builder clearReqInfo() { if (reqInfoBuilder_ == null) { reqInfo_ = org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.getDefaultInstance(); onChanged(); } else { reqInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /**
/** * <code>required uint64 txid = 2;</code> * * <pre> * Transaction ID * </pre> */ public Builder clearTxid() { bitField0_ = (bitField0_ & ~0x00000002); txid_ = 0L; onChanged(); return this; }
/** * <code>optional sint32 layoutVersion = 3;</code> * * <pre> * the LayoutVersion in the client * </pre> */ public Builder clearLayoutVersion() { bitField0_ = (bitField0_ & ~0x00000004); layoutVersion_ = 0; onChanged(); return this; }
/** * <code>required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;</code> */ public org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.Builder getReqInfoBuilder() { bitField0_ |= 0x00000001; onChanged(); return getReqInfoFieldBuilder().getBuilder(); } /**
/** * <code>required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;</code> */ public org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.Builder getReqInfoBuilder() { bitField0_ |= 0x00000001; onChanged(); return getReqInfoFieldBuilder().getBuilder(); } /**
/** * <code>optional sint32 layoutVersion = 3;</code> * * <pre> * the LayoutVersion in the client * </pre> */ public Builder clearLayoutVersion() { bitField0_ = (bitField0_ & ~0x00000004); layoutVersion_ = 0; onChanged(); return this; }
/** * <code>required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;</code> */ public Builder mergeReqInfo(org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto value) { if (reqInfoBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && reqInfo_ != org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.getDefaultInstance()) { reqInfo_ = org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.newBuilder(reqInfo_).mergeFrom(value).buildPartial(); } else { reqInfo_ = value; } onChanged(); } else { reqInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>required .hadoop.hdfs.qjournal.RequestInfoProto reqInfo = 1;</code> */ public Builder setReqInfo( org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.RequestInfoProto.Builder builderForValue) { if (reqInfoBuilder_ == null) { reqInfo_ = builderForValue.build(); onChanged(); } else { reqInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>required uint64 txid = 2;</code> * * <pre> * Transaction ID * </pre> */ public Builder setTxid(long value) { bitField0_ |= 0x00000002; txid_ = value; onChanged(); return this; } /**
/** * <code>optional sint32 layoutVersion = 3;</code> * * <pre> * the LayoutVersion in the client * </pre> */ public Builder setLayoutVersion(int value) { bitField0_ |= 0x00000004; layoutVersion_ = value; onChanged(); return this; } /**
/** * <code>optional sint32 layoutVersion = 3;</code> * * <pre> * the LayoutVersion in the client * </pre> */ public Builder clearLayoutVersion() { bitField0_ = (bitField0_ & ~0x00000004); layoutVersion_ = 0; onChanged(); return this; }
/** * <code>required uint64 txid = 2;</code> * * <pre> * Transaction ID * </pre> */ public Builder clearTxid() { bitField0_ = (bitField0_ & ~0x00000002); txid_ = 0L; onChanged(); return this; }