/** * <pre> * cell is the cell (or datacenter) the tablet is in * </pre> * * <code>string cell = 1;</code> */ public Builder setCell( java.lang.String value) { if (value == null) { throw new NullPointerException(); } cell_ = value; onChanged(); return this; } /**
/** * <pre> * cell is the cell (or datacenter) the tablet is in * </pre> * * <code>string cell = 1;</code> */ public Builder setCellBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cell_ = value; onChanged(); return this; }
/** * <pre> * cell is the cell (or datacenter) the tablet is in * </pre> * * <code>string cell = 1;</code> */ public Builder setCell( java.lang.String value) { if (value == null) { throw new NullPointerException(); } cell_ = value; onChanged(); return this; } /**
/** * <pre> * cell is the cell (or datacenter) the tablet is in * </pre> * * <code>string cell = 1;</code> */ public Builder setCellBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cell_ = value; onChanged(); return this; }
/** * <pre> * uid is a unique id for this tablet within the shard * (this is the MySQL server id as well). * </pre> * * <code>uint32 uid = 2;</code> */ public Builder setUid(int value) { uid_ = value; onChanged(); return this; } /**
/** * <pre> * cell is the cell (or datacenter) the tablet is in * </pre> * * <code>string cell = 1;</code> */ public Builder clearCell() { cell_ = getDefaultInstance().getCell(); onChanged(); return this; } /**
/** * <pre> * cell is the cell (or datacenter) the tablet is in * </pre> * * <code>string cell = 1;</code> */ public Builder clearCell() { cell_ = getDefaultInstance().getCell(); onChanged(); return this; } /**
/** * <pre> * uid is a unique id for this tablet within the shard * (this is the MySQL server id as well). * </pre> * * <code>uint32 uid = 2;</code> */ public Builder setUid(int value) { uid_ = value; onChanged(); return this; } /**
/** * <pre> * uid is a unique id for this tablet within the shard * (this is the MySQL server id as well). * </pre> * * <code>uint32 uid = 2;</code> */ public Builder clearUid() { uid_ = 0; onChanged(); return this; } @java.lang.Override
/** * <pre> * uid is a unique id for this tablet within the shard * (this is the MySQL server id as well). * </pre> * * <code>uint32 uid = 2;</code> */ public Builder clearUid() { uid_ = 0; onChanged(); return this; } @java.lang.Override
public Builder mergeFrom(io.vitess.proto.Topodata.TabletAlias other) { if (other == io.vitess.proto.Topodata.TabletAlias.getDefaultInstance()) return this; if (!other.getCell().isEmpty()) { cell_ = other.cell_; onChanged(); } if (other.getUid() != 0) { setUid(other.getUid()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(io.vitess.proto.Topodata.TabletAlias other) { if (other == io.vitess.proto.Topodata.TabletAlias.getDefaultInstance()) return this; if (!other.getCell().isEmpty()) { cell_ = other.cell_; onChanged(); } if (other.getUid() != 0) { setUid(other.getUid()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }