/** * * * <pre> * A list of specific keys. Entries in `keys` should have exactly as * many elements as there are columns in the primary or index key * with which this `KeySet` is used. Individual key values are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue keys = 1;</code> */ public Builder addKeys(int index, com.google.protobuf.ListValue value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.add(index, value); onChanged(); } else { keysBuilder_.addMessage(index, value); } return this; } /**
/** * * * <pre> * A list of specific keys. Entries in `keys` should have exactly as * many elements as there are columns in the primary or index key * with which this `KeySet` is used. Individual key values are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue keys = 1;</code> */ public Builder setKeys(int index, com.google.protobuf.ListValue value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.set(index, value); onChanged(); } else { keysBuilder_.setMessage(index, value); } return this; } /**
/** * * * <pre> * A list of specific keys. Entries in `keys` should have exactly as * many elements as there are columns in the primary or index key * with which this `KeySet` is used. Individual key values are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue keys = 1;</code> */ public Builder addKeys(com.google.protobuf.ListValue value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.add(value); onChanged(); } else { keysBuilder_.addMessage(value); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000001); } else { ensureKeysIsMutable(); keys_.addAll(other.keys_);
/** * * * <pre> * A list of specific keys. Entries in `keys` should have exactly as * many elements as there are columns in the primary or index key * with which this `KeySet` is used. Individual key values are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue keys = 1;</code> */ public Builder addKeys(int index, com.google.protobuf.ListValue.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(index, builderForValue.build()); onChanged(); } else { keysBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * A list of specific keys. Entries in `keys` should have exactly as * many elements as there are columns in the primary or index key * with which this `KeySet` is used. Individual key values are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue keys = 1;</code> */ public Builder addKeys(com.google.protobuf.ListValue.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(builderForValue.build()); onChanged(); } else { keysBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * A list of specific keys. Entries in `keys` should have exactly as * many elements as there are columns in the primary or index key * with which this `KeySet` is used. Individual key values are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue keys = 1;</code> */ public Builder removeKeys(int index) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.remove(index); onChanged(); } else { keysBuilder_.remove(index); } return this; } /**
/** * * * <pre> * A list of specific keys. Entries in `keys` should have exactly as * many elements as there are columns in the primary or index key * with which this `KeySet` is used. Individual key values are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue keys = 1;</code> */ public Builder addAllKeys(java.lang.Iterable<? extends com.google.protobuf.ListValue> values) { if (keysBuilder_ == null) { ensureKeysIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_); onChanged(); } else { keysBuilder_.addAllMessages(values); } return this; } /**
/** * * * <pre> * A list of specific keys. Entries in `keys` should have exactly as * many elements as there are columns in the primary or index key * with which this `KeySet` is used. Individual key values are * encoded as described [here][google.spanner.v1.TypeCode]. * </pre> * * <code>repeated .google.protobuf.ListValue keys = 1;</code> */ public Builder setKeys(int index, com.google.protobuf.ListValue.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.set(index, builderForValue.build()); onChanged(); } else { keysBuilder_.setMessage(index, builderForValue.build()); } return this; } /**