/** * <pre> * If range based sharding is used, range for the tablet's shard. * </pre> * * <code>.topodata.KeyRange key_range = 7;</code> */ public io.vitess.proto.Topodata.KeyRange.Builder getKeyRangeBuilder() { onChanged(); return getKeyRangeFieldBuilder().getBuilder(); } /**
/** * <pre> * alias is the unique name of the tablet. * </pre> * * <code>.topodata.TabletAlias alias = 1;</code> */ public io.vitess.proto.Topodata.TabletAlias.Builder getAliasBuilder() { onChanged(); return getAliasFieldBuilder().getBuilder(); } /**
/** * <pre> * If range based sharding is used, range for the tablet's shard. * </pre> * * <code>.topodata.KeyRange key_range = 7;</code> */ public io.vitess.proto.Topodata.KeyRange.Builder getKeyRangeBuilder() { onChanged(); return getKeyRangeFieldBuilder().getBuilder(); } /**
/** * <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> * 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; } /**
/** * <pre> * MySQL hostname. * </pre> * * <code>string mysql_hostname = 12;</code> */ public Builder clearMysqlHostname() { mysqlHostname_ = getDefaultInstance().getMysqlHostname(); onChanged(); return this; } /**
/** * <pre> * MySQL port. Use topoproto.MysqlPort and topoproto.SetMysqlPort * to access this variable. The functions provide support * for legacy behavior. * </pre> * * <code>int32 mysql_port = 13;</code> */ public Builder clearMysqlPort() { mysqlPort_ = 0; onChanged(); return this; } @java.lang.Override
/** * <pre> * MySQL hostname. * </pre> * * <code>string mysql_hostname = 12;</code> */ public Builder clearMysqlHostname() { mysqlHostname_ = getDefaultInstance().getMysqlHostname(); onChanged(); return this; } /**
/** * <pre> * type is the current type of the tablet. * </pre> * * <code>.topodata.TabletType type = 8;</code> */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /**
/** * <pre> * type is the current type of the tablet. * </pre> * * <code>.topodata.TabletType type = 8;</code> */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /**
/** * <pre> * Keyspace name. * </pre> * * <code>string keyspace = 5;</code> */ public Builder clearKeyspace() { keyspace_ = getDefaultInstance().getKeyspace(); onChanged(); return this; } /**
/** * <pre> * alias is the unique name of the tablet. * </pre> * * <code>.topodata.TabletAlias alias = 1;</code> */ public io.vitess.proto.Topodata.TabletAlias.Builder getAliasBuilder() { onChanged(); return getAliasFieldBuilder().getBuilder(); } /**
/** * <pre> * type is the current type of the tablet. * </pre> * * <code>.topodata.TabletType type = 8;</code> */ public Builder clearType() { type_ = 0; 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; } /**
private com.google.protobuf.MapField<java.lang.String, java.lang.String> internalGetMutableTags() { onChanged();; if (tags_ == null) { tags_ = com.google.protobuf.MapField.newMapField( TagsDefaultEntryHolder.defaultEntry); } if (!tags_.isMutable()) { tags_ = tags_.copy(); } return tags_; }
private com.google.protobuf.MapField<java.lang.String, java.lang.Integer> internalGetMutablePortMap() { onChanged();; if (portMap_ == null) { portMap_ = com.google.protobuf.MapField.newMapField( PortMapDefaultEntryHolder.defaultEntry); } if (!portMap_.isMutable()) { portMap_ = portMap_.copy(); } return portMap_; }
private com.google.protobuf.MapField<java.lang.String, java.lang.String> internalGetMutableTags() { onChanged();; if (tags_ == null) { tags_ = com.google.protobuf.MapField.newMapField( TagsDefaultEntryHolder.defaultEntry); } if (!tags_.isMutable()) { tags_ = tags_.copy(); } return tags_; }
/** * <pre> * type is the current type of the tablet. * </pre> * * <code>.topodata.TabletType type = 8;</code> */ public Builder clearType() { type_ = 0; onChanged(); return this; }
private com.google.protobuf.MapField<java.lang.String, java.lang.Integer> internalGetMutablePortMap() { onChanged();; if (portMap_ == null) { portMap_ = com.google.protobuf.MapField.newMapField( PortMapDefaultEntryHolder.defaultEntry); } if (!portMap_.isMutable()) { portMap_ = portMap_.copy(); } return portMap_; }