public Builder mergeFrom(io.vitess.proto.Topodata.CellInfo other) { if (other == io.vitess.proto.Topodata.CellInfo.getDefaultInstance()) return this; if (!other.getServerAddress().isEmpty()) { serverAddress_ = other.serverAddress_; onChanged(); } if (!other.getRoot().isEmpty()) { root_ = other.root_; onChanged(); } if (!other.getRegion().isEmpty()) { region_ = other.region_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(io.vitess.proto.Topodata.CellInfo other) { if (other == io.vitess.proto.Topodata.CellInfo.getDefaultInstance()) return this; if (!other.getServerAddress().isEmpty()) { serverAddress_ = other.serverAddress_; onChanged(); } if (!other.getRoot().isEmpty()) { root_ = other.root_; onChanged(); } if (!other.getRegion().isEmpty()) { region_ = other.region_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * ServerAddress contains the address of the server for the cell. * The syntax of this field is topology implementation specific. * For instance, for Zookeeper, it is a comma-separated list of * server addresses. * </pre> * * <code>string server_address = 1;</code> */ public Builder clearServerAddress() { serverAddress_ = getDefaultInstance().getServerAddress(); onChanged(); return this; } /**
/** * <pre> * ServerAddress contains the address of the server for the cell. * The syntax of this field is topology implementation specific. * For instance, for Zookeeper, it is a comma-separated list of * server addresses. * </pre> * * <code>string server_address = 1;</code> */ public Builder clearServerAddress() { serverAddress_ = getDefaultInstance().getServerAddress(); onChanged(); return this; } /**
/** * <pre> * Region is a group this cell belongs to. Used by vtgate to route traffic to * other cells (in same region) when there is no available tablet in the current cell. * </pre> * * <code>string region = 3;</code> */ public Builder clearRegion() { region_ = getDefaultInstance().getRegion(); onChanged(); return this; } /**
/** * <pre> * Region is a group this cell belongs to. Used by vtgate to route traffic to * other cells (in same region) when there is no available tablet in the current cell. * </pre> * * <code>string region = 3;</code> */ public Builder clearRegion() { region_ = getDefaultInstance().getRegion(); onChanged(); return this; } /**
/** * <pre> * Root is the path to store data in. It is only used when talking * to server_address. * </pre> * * <code>string root = 2;</code> */ public Builder clearRoot() { root_ = getDefaultInstance().getRoot(); onChanged(); return this; } /**
/** * <pre> * Root is the path to store data in. It is only used when talking * to server_address. * </pre> * * <code>string root = 2;</code> */ public Builder clearRoot() { root_ = getDefaultInstance().getRoot(); onChanged(); return this; } /**
@java.lang.Override public io.vitess.proto.Topodata.CellInfo getDefaultInstanceForType() { return io.vitess.proto.Topodata.CellInfo.getDefaultInstance(); }
@java.lang.Override public io.vitess.proto.Topodata.CellInfo getDefaultInstanceForType() { return io.vitess.proto.Topodata.CellInfo.getDefaultInstance(); }