/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 2;</code> */ public Builder setKeyspace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyspace_ = value; onChanged(); return this; } /**
/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 2;</code> */ public Builder setKeyspace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyspace_ = value; onChanged(); return this; } /**
/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 2;</code> */ public Builder setKeyspaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyspace_ = value; onChanged(); return this; } @java.lang.Override
/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 2;</code> */ public Builder setKeyspaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyspace_ = value; onChanged(); return this; } @java.lang.Override
/** * <pre> * the tablet type * </pre> * * <code>.topodata.TabletType tablet_type = 1;</code> */ public Builder setTabletType(io.vitess.proto.Topodata.TabletType value) { if (value == null) { throw new NullPointerException(); } tabletType_ = value.getNumber(); onChanged(); return this; } /**
/** * <pre> * the tablet type * </pre> * * <code>.topodata.TabletType tablet_type = 1;</code> */ public Builder setTabletType(io.vitess.proto.Topodata.TabletType value) { if (value == null) { throw new NullPointerException(); } tabletType_ = value.getNumber(); onChanged(); return this; } /**
/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 2;</code> */ public Builder clearKeyspace() { keyspace_ = getDefaultInstance().getKeyspace(); onChanged(); return this; } /**
public Builder mergeFrom(io.vitess.proto.Topodata.SrvKeyspace.ServedFrom other) { if (other == io.vitess.proto.Topodata.SrvKeyspace.ServedFrom.getDefaultInstance()) return this; if (other.tabletType_ != 0) { setTabletTypeValue(other.getTabletTypeValue()); } if (!other.getKeyspace().isEmpty()) { keyspace_ = other.keyspace_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * the tablet type * </pre> * * <code>.topodata.TabletType tablet_type = 1;</code> */ public Builder setTabletTypeValue(int value) { tabletType_ = value; onChanged(); return this; } /**
/** * <pre> * the tablet type * </pre> * * <code>.topodata.TabletType tablet_type = 1;</code> */ public Builder setTabletTypeValue(int value) { tabletType_ = value; onChanged(); return this; } /**
public Builder mergeFrom(io.vitess.proto.Topodata.SrvKeyspace.ServedFrom other) { if (other == io.vitess.proto.Topodata.SrvKeyspace.ServedFrom.getDefaultInstance()) return this; if (other.tabletType_ != 0) { setTabletTypeValue(other.getTabletTypeValue()); } if (!other.getKeyspace().isEmpty()) { keyspace_ = other.keyspace_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 2;</code> */ public Builder clearKeyspace() { keyspace_ = getDefaultInstance().getKeyspace(); onChanged(); return this; } /**
/** * <pre> * the tablet type * </pre> * * <code>.topodata.TabletType tablet_type = 1;</code> */ public Builder clearTabletType() { tabletType_ = 0; onChanged(); return this; }
/** * <pre> * the tablet type * </pre> * * <code>.topodata.TabletType tablet_type = 1;</code> */ public Builder clearTabletType() { tabletType_ = 0; onChanged(); return this; }