/** * <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; } /**
/** * <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; } /**
/** * <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; } /**
public Builder mergeFrom(io.vitess.proto.Topodata.Shard.ServedType other) { if (other == io.vitess.proto.Topodata.Shard.ServedType.getDefaultInstance()) return this; if (other.tabletType_ != 0) { setTabletTypeValue(other.getTabletTypeValue()); } if (!other.cells_.isEmpty()) { if (cells_.isEmpty()) { cells_ = other.cells_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureCellsIsMutable(); cells_.addAll(other.cells_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(io.vitess.proto.Topodata.Shard.ServedType other) { if (other == io.vitess.proto.Topodata.Shard.ServedType.getDefaultInstance()) return this; if (other.tabletType_ != 0) { setTabletTypeValue(other.getTabletTypeValue()); } if (!other.cells_.isEmpty()) { if (cells_.isEmpty()) { cells_ = other.cells_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureCellsIsMutable(); cells_.addAll(other.cells_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <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; } @java.lang.Override
/** * <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; } @java.lang.Override
/** * <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; } /**
/** * <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; } /**
/** * <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; } /**