/** * * * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder clearKeys() { if (keysBuilder_ == null) { keys_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { keysBuilder_.clear(); } return this; } /**
/** * * * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder addKeys(int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.add(index, value); onChanged(); } else { keysBuilder_.addMessage(index, value); } return this; } /**
/** * * * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder addKeys(com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.add(value); onChanged(); } else { keysBuilder_.addMessage(value); } return this; } /**
/** * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder addKeys( com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(builderForValue.build()); onChanged(); } else { keysBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder setKeys( int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.set(index, builderForValue.build()); onChanged(); } else { keysBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder addAllKeys(java.lang.Iterable<? extends com.google.datastore.v1.Key> values) { if (keysBuilder_ == null) { ensureKeysIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_); onChanged(); } else { keysBuilder_.addAllMessages(values); } return this; } /**
/** * * * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.set(index, builderForValue.build()); onChanged(); } else { keysBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder removeKeys(int index) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.remove(index); onChanged(); } else { keysBuilder_.remove(index); } return this; } /**
/** * * * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(index, builderForValue.build()); onChanged(); } else { keysBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder addAllKeys( java.lang.Iterable<? extends com.google.datastore.v1.Key> values) { if (keysBuilder_ == null) { ensureKeysIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, keys_); onChanged(); } else { keysBuilder_.addAllMessages(values); } return this; } /**
/** * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder clearKeys() { if (keysBuilder_ == null) { keys_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { keysBuilder_.clear(); } return this; } /**
/** * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder addKeys( int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(index, builderForValue.build()); onChanged(); } else { keysBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder removeKeys(int index) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.remove(index); onChanged(); } else { keysBuilder_.remove(index); } return this; } /**
/** * * * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder setKeys(int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.set(index, value); onChanged(); } else { keysBuilder_.setMessage(index, value); } return this; } /**
/** * * * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder addAllKeys(java.lang.Iterable<? extends com.google.datastore.v1.Key> values) { if (keysBuilder_ == null) { ensureKeysIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_); onChanged(); } else { keysBuilder_.addAllMessages(values); } return this; } /**
/** * * * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(index, builderForValue.build()); onChanged(); } else { keysBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder removeKeys(int index) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.remove(index); onChanged(); } else { keysBuilder_.remove(index); } return this; } /**
/** * * * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(builderForValue.build()); onChanged(); } else { keysBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The keys specified in the request (in the same order), each with * its key path completed with a newly allocated ID. * </pre> * * <code>repeated .google.datastore.v1.Key keys = 1;</code> */ public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.set(index, builderForValue.build()); onChanged(); } else { keysBuilder_.setMessage(index, builderForValue.build()); } return this; } /**