/** * <code>optional string fromURL = 3;</code> */ public Builder setFromURLBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; fromURL_ = value; onChanged(); return this; }
/** * <code>optional string fromURL = 3;</code> */ public Builder setFromURL( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; fromURL_ = value; onChanged(); return this; } /**
/** * <code>optional string fromURL = 3;</code> */ public Builder setFromURLBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; fromURL_ = value; onChanged(); return this; }
/** * <code>optional string fromURL = 3;</code> */ public Builder setFromURL( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; fromURL_ = value; onChanged(); return this; } /**
/** * <code>required uint32 httpPort = 2;</code> * * <pre> * Deprecated by fromURL * </pre> */ public Builder setHttpPort(int value) { bitField0_ |= 0x00000002; httpPort_ = value; onChanged(); return this; } /**
/** * <code>optional string fromURL = 3;</code> */ public Builder setFromURLBytes( io.prestosql.hadoop.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; fromURL_ = value; onChanged(); return this; }
/** * <code>required uint64 lastPromisedEpoch = 1;</code> */ public Builder clearLastPromisedEpoch() { bitField0_ = (bitField0_ & ~0x00000001); lastPromisedEpoch_ = 0L; onChanged(); return this; }
/** * <code>required uint32 httpPort = 2;</code> * * <pre> * Deprecated by fromURL * </pre> */ public Builder clearHttpPort() { bitField0_ = (bitField0_ & ~0x00000002); httpPort_ = 0; onChanged(); return this; }
/** * <code>required uint32 httpPort = 2;</code> * * <pre> * Deprecated by fromURL * </pre> */ public Builder clearHttpPort() { bitField0_ = (bitField0_ & ~0x00000002); httpPort_ = 0; onChanged(); return this; }
/** * <code>required uint64 lastPromisedEpoch = 1;</code> */ public Builder setLastPromisedEpoch(long value) { bitField0_ |= 0x00000001; lastPromisedEpoch_ = value; onChanged(); return this; } /**
/** * <code>optional string fromURL = 3;</code> */ public Builder clearFromURL() { bitField0_ = (bitField0_ & ~0x00000004); fromURL_ = getDefaultInstance().getFromURL(); onChanged(); return this; } /**
/** * <code>required uint64 lastPromisedEpoch = 1;</code> */ public Builder clearLastPromisedEpoch() { bitField0_ = (bitField0_ & ~0x00000001); lastPromisedEpoch_ = 0L; onChanged(); return this; }
/** * <code>optional string fromURL = 3;</code> */ public Builder clearFromURL() { bitField0_ = (bitField0_ & ~0x00000004); fromURL_ = getDefaultInstance().getFromURL(); onChanged(); return this; } /**
/** * <code>required uint64 lastPromisedEpoch = 1;</code> */ public Builder setLastPromisedEpoch(long value) { bitField0_ |= 0x00000001; lastPromisedEpoch_ = value; onChanged(); return this; } /**
public Builder mergeFrom(org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.GetJournalStateResponseProto other) { if (other == org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos.GetJournalStateResponseProto.getDefaultInstance()) return this; if (other.hasLastPromisedEpoch()) { setLastPromisedEpoch(other.getLastPromisedEpoch()); } if (other.hasHttpPort()) { setHttpPort(other.getHttpPort()); } if (other.hasFromURL()) { bitField0_ |= 0x00000004; fromURL_ = other.fromURL_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>required uint32 httpPort = 2;</code> * * <pre> * Deprecated by fromURL * </pre> */ public Builder setHttpPort(int value) { bitField0_ |= 0x00000002; httpPort_ = value; onChanged(); return this; } /**
/** * <code>required uint32 httpPort = 2;</code> * * <pre> * Deprecated by fromURL * </pre> */ public Builder clearHttpPort() { bitField0_ = (bitField0_ & ~0x00000002); httpPort_ = 0; onChanged(); return this; }
/** * <code>required uint64 lastPromisedEpoch = 1;</code> */ public Builder clearLastPromisedEpoch() { bitField0_ = (bitField0_ & ~0x00000001); lastPromisedEpoch_ = 0L; onChanged(); return this; }
/** * <code>optional string fromURL = 3;</code> */ public Builder clearFromURL() { bitField0_ = (bitField0_ & ~0x00000004); fromURL_ = getDefaultInstance().getFromURL(); onChanged(); return this; } /**
/** * <code>required uint64 lastPromisedEpoch = 1;</code> */ public Builder setLastPromisedEpoch(long value) { bitField0_ |= 0x00000001; lastPromisedEpoch_ = value; onChanged(); return this; } /**