public Builder mergeFrom(io.vitess.proto.Topodata.Tablet other) { if (other == io.vitess.proto.Topodata.Tablet.getDefaultInstance()) return this; if (other.hasAlias()) { mergeAlias(other.getAlias());
public Builder mergeFrom(io.vitess.proto.Topodata.Tablet other) { if (other == io.vitess.proto.Topodata.Tablet.getDefaultInstance()) return this; if (other.hasAlias()) { mergeAlias(other.getAlias());
/** * <pre> * Shard name. If range based sharding is used, it should match * key_range. * </pre> * * <code>string shard = 6;</code> */ public Builder clearShard() { shard_ = getDefaultInstance().getShard(); onChanged(); return this; } /**
/** * <pre> * It this is set, it is used as the database name instead of the * normal "vt_" + keyspace. * </pre> * * <code>string db_name_override = 9;</code> */ public Builder clearDbNameOverride() { dbNameOverride_ = getDefaultInstance().getDbNameOverride(); onChanged(); return this; } /**
/** * <pre> * It this is set, it is used as the database name instead of the * normal "vt_" + keyspace. * </pre> * * <code>string db_name_override = 9;</code> */ public Builder clearDbNameOverride() { dbNameOverride_ = getDefaultInstance().getDbNameOverride(); onChanged(); return this; } /**
/** * <pre> * Shard name. If range based sharding is used, it should match * key_range. * </pre> * * <code>string shard = 6;</code> */ public Builder clearShard() { shard_ = getDefaultInstance().getShard(); onChanged(); return this; } /**
/** * <pre> * Keyspace name. * </pre> * * <code>string keyspace = 5;</code> */ public Builder clearKeyspace() { keyspace_ = getDefaultInstance().getKeyspace(); onChanged(); return this; } /**
/** * <pre> * Fully qualified domain name of the host. * </pre> * * <code>string hostname = 2;</code> */ public Builder clearHostname() { hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /**
@java.lang.Override public io.vitess.proto.Topodata.Tablet getDefaultInstanceForType() { return io.vitess.proto.Topodata.Tablet.getDefaultInstance(); }
/** * <pre> * MySQL hostname. * </pre> * * <code>string mysql_hostname = 12;</code> */ public Builder clearMysqlHostname() { mysqlHostname_ = getDefaultInstance().getMysqlHostname(); onChanged(); return this; } /**
/** * <pre> * Keyspace name. * </pre> * * <code>string keyspace = 5;</code> */ public Builder clearKeyspace() { keyspace_ = getDefaultInstance().getKeyspace(); onChanged(); return this; } /**
/** * <pre> * MySQL hostname. * </pre> * * <code>string mysql_hostname = 12;</code> */ public Builder clearMysqlHostname() { mysqlHostname_ = getDefaultInstance().getMysqlHostname(); onChanged(); return this; } /**
@java.lang.Override public io.vitess.proto.Topodata.Tablet getDefaultInstanceForType() { return io.vitess.proto.Topodata.Tablet.getDefaultInstance(); }
/** * <pre> * Fully qualified domain name of the host. * </pre> * * <code>string hostname = 2;</code> */ public Builder clearHostname() { hostname_ = getDefaultInstance().getHostname(); onChanged(); return this; } /**