/** * * * <pre> * The values to be written. `values` can contain more than one * list of values. If it does, then multiple rows are written, one * for each entry in `values`. Each list in `values` must have * exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] * above. Sending multiple lists is equivalent to sending multiple * `Mutation`s, each containing one `values` entry and repeating * [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue values = 3;</code> */ public Builder setValues(int index, com.google.protobuf.ListValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.set(index, value); onChanged(); } else { valuesBuilder_.setMessage(index, value); } return this; } /**
/** * * * <pre> * The values to be written. `values` can contain more than one * list of values. If it does, then multiple rows are written, one * for each entry in `values`. Each list in `values` must have * exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] * above. Sending multiple lists is equivalent to sending multiple * `Mutation`s, each containing one `values` entry and repeating * [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue values = 3;</code> */ public Builder addValues(com.google.protobuf.ListValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.add(value); onChanged(); } else { valuesBuilder_.addMessage(value); } return this; } /**
/** * * * <pre> * The values to be written. `values` can contain more than one * list of values. If it does, then multiple rows are written, one * for each entry in `values`. Each list in `values` must have * exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] * above. Sending multiple lists is equivalent to sending multiple * `Mutation`s, each containing one `values` entry and repeating * [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue values = 3;</code> */ public Builder addValues(int index, com.google.protobuf.ListValue value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValuesIsMutable(); values_.add(index, value); onChanged(); } else { valuesBuilder_.addMessage(index, value); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000004); } else { ensureValuesIsMutable(); values_.addAll(other.values_);
/** * * * <pre> * The values to be written. `values` can contain more than one * list of values. If it does, then multiple rows are written, one * for each entry in `values`. Each list in `values` must have * exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] * above. Sending multiple lists is equivalent to sending multiple * `Mutation`s, each containing one `values` entry and repeating * [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue values = 3;</code> */ public Builder addValues(int index, com.google.protobuf.ListValue.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(index, builderForValue.build()); onChanged(); } else { valuesBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * The values to be written. `values` can contain more than one * list of values. If it does, then multiple rows are written, one * for each entry in `values`. Each list in `values` must have * exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] * above. Sending multiple lists is equivalent to sending multiple * `Mutation`s, each containing one `values` entry and repeating * [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue values = 3;</code> */ public Builder addValues(com.google.protobuf.ListValue.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); onChanged(); } else { valuesBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The values to be written. `values` can contain more than one * list of values. If it does, then multiple rows are written, one * for each entry in `values`. Each list in `values` must have * exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] * above. Sending multiple lists is equivalent to sending multiple * `Mutation`s, each containing one `values` entry and repeating * [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue values = 3;</code> */ public Builder addAllValues( java.lang.Iterable<? extends com.google.protobuf.ListValue> values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); } return this; } /**
/** * * * <pre> * The values to be written. `values` can contain more than one * list of values. If it does, then multiple rows are written, one * for each entry in `values`. Each list in `values` must have * exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] * above. Sending multiple lists is equivalent to sending multiple * `Mutation`s, each containing one `values` entry and repeating * [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue values = 3;</code> */ public Builder removeValues(int index) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.remove(index); onChanged(); } else { valuesBuilder_.remove(index); } return this; } /**
/** * * * <pre> * The values to be written. `values` can contain more than one * list of values. If it does, then multiple rows are written, one * for each entry in `values`. Each list in `values` must have * exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns] * above. Sending multiple lists is equivalent to sending multiple * `Mutation`s, each containing one `values` entry and repeating * [table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue values = 3;</code> */ public Builder setValues(int index, com.google.protobuf.ListValue.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.set(index, builderForValue.build()); onChanged(); } else { valuesBuilder_.setMessage(index, builderForValue.build()); } return this; } /**