/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 3;</code> */ public Builder setKeyspace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyspace_ = value; onChanged(); return this; } /**
/** * <pre> * the cells to limit this to * </pre> * * <code>repeated string cells = 2;</code> */ public Builder addCells( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCellsIsMutable(); cells_.add(value); onChanged(); return this; } /**
/** * <pre> * the cells to limit this to * </pre> * * <code>repeated string cells = 2;</code> */ public Builder setCells( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCellsIsMutable(); cells_.set(index, value); onChanged(); return this; } /**
/** * <pre> * the cells to limit this to * </pre> * * <code>repeated string cells = 2;</code> */ public Builder addCells( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCellsIsMutable(); cells_.add(value); onChanged(); return this; } /**
/** * <pre> * the cells to limit this to * </pre> * * <code>repeated string cells = 2;</code> */ public Builder addCellsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureCellsIsMutable(); cells_.add(value); onChanged(); return this; }
/** * <pre> * the cells to limit this to * </pre> * * <code>repeated string cells = 2;</code> */ public Builder setCells( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCellsIsMutable(); cells_.set(index, value); onChanged(); return this; } /**
/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 3;</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 = 3;</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 (key for the map) * </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 (key for the map) * </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 cells to limit this to * </pre> * * <code>repeated string cells = 2;</code> */ public Builder addAllCells( java.lang.Iterable<java.lang.String> values) { ensureCellsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, cells_); onChanged(); return this; } /**
/** * <pre> * the cells to limit this to * </pre> * * <code>repeated string cells = 2;</code> */ public Builder addAllCells( java.lang.Iterable<java.lang.String> values) { ensureCellsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, cells_); onChanged(); return this; } /**
/** * <pre> * the cells to limit this to * </pre> * * <code>repeated string cells = 2;</code> */ public Builder clearCells() { cells_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /**
/** * <pre> * the cells to limit this to * </pre> * * <code>repeated string cells = 2;</code> */ public Builder clearCells() { cells_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /**
/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 3;</code> */ public Builder clearKeyspace() { keyspace_ = getDefaultInstance().getKeyspace(); onChanged(); return this; } /**
/** * <pre> * the tablet type (key for the map) * </pre> * * <code>.topodata.TabletType tablet_type = 1;</code> */ public Builder setTabletTypeValue(int value) { tabletType_ = value; onChanged(); return this; } /**
/** * <pre> * the tablet type (key for the map) * </pre> * * <code>.topodata.TabletType tablet_type = 1;</code> */ public Builder setTabletTypeValue(int value) { tabletType_ = value; onChanged(); return this; } /**
/** * <pre> * the keyspace name that's serving it * </pre> * * <code>string keyspace = 3;</code> */ public Builder clearKeyspace() { keyspace_ = getDefaultInstance().getKeyspace(); onChanged(); return this; } /**
/** * <pre> * the tablet type (key for the map) * </pre> * * <code>.topodata.TabletType tablet_type = 1;</code> */ public Builder clearTabletType() { tabletType_ = 0; onChanged(); return this; }
/** * <pre> * the tablet type (key for the map) * </pre> * * <code>.topodata.TabletType tablet_type = 1;</code> */ public Builder clearTabletType() { tabletType_ = 0; onChanged(); return this; }