@SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetProperties(); default: throw new RuntimeException("Invalid map field number: " + number); } }
/** * * * <pre> * The entity's properties. * The map's keys are property names. * A property name matching regex `__.*__` is reserved. * A reserved property name is forbidden in certain documented contexts. * The name must not contain more than 500 characters. * The name cannot be `""`. * </pre> * * <code>map<string, .google.datastore.v1.Value> properties = 3;</code> */ public com.google.datastore.v1.Value getPropertiesOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map<java.lang.String, com.google.datastore.v1.Value> map = internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); }
/** * * * <pre> * The entity's properties. * The map's keys are property names. * A property name matching regex `__.*__` is reserved. * A reserved property name is forbidden in certain documented contexts. * The name must not contain more than 500 characters. * The name cannot be `""`. * </pre> * * <code>map<string, .google.datastore.v1.Value> properties = 3;</code> */ public com.google.datastore.v1.Value getPropertiesOrDefault( java.lang.String key, com.google.datastore.v1.Value defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map<java.lang.String, com.google.datastore.v1.Value> map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /**
/** * * * <pre> * The entity's properties. * The map's keys are property names. * A property name matching regex `__.*__` is reserved. * A reserved property name is forbidden in certain documented contexts. * The name must not contain more than 500 characters. * The name cannot be `""`. * </pre> * * <code>map<string, .google.datastore.v1.Value> properties = 3;</code> */ public com.google.datastore.v1.Value getPropertiesOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map<java.lang.String, com.google.datastore.v1.Value> map = internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); }
/** * <pre> * The entity's properties. * The map's keys are property names. * A property name matching regex `__.*__` is reserved. * A reserved property name is forbidden in certain documented contexts. * The name must not contain more than 500 characters. * The name cannot be `""`. * </pre> * * <code>map<string, .google.datastore.v1.Value> properties = 3;</code> */ public com.google.datastore.v1.Value getPropertiesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map<java.lang.String, com.google.datastore.v1.Value> map = internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); }
/** * * * <pre> * The entity's properties. * The map's keys are property names. * A property name matching regex `__.*__` is reserved. * A reserved property name is forbidden in certain documented contexts. * The name must not contain more than 500 characters. * The name cannot be `""`. * </pre> * * <code>map<string, .google.datastore.v1.Value> properties = 3;</code> */ public boolean containsProperties(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetProperties().getMap().containsKey(key); } /** Use {@link #getPropertiesMap()} instead. */
/** * <pre> * The entity's properties. * The map's keys are property names. * A property name matching regex `__.*__` is reserved. * A reserved property name is forbidden in certain documented contexts. * The name must not contain more than 500 characters. * The name cannot be `""`. * </pre> * * <code>map<string, .google.datastore.v1.Value> properties = 3;</code> */ public boolean containsProperties( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetProperties().getMap().containsKey(key); } /**
/** * <pre> * The entity's properties. * The map's keys are property names. * A property name matching regex `__.*__` is reserved. * A reserved property name is forbidden in certain documented contexts. * The name must not contain more than 500 characters. * The name cannot be `""`. * </pre> * * <code>map<string, .google.datastore.v1.Value> properties = 3;</code> */ public com.google.datastore.v1.Value getPropertiesOrDefault( java.lang.String key, com.google.datastore.v1.Value defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map<java.lang.String, com.google.datastore.v1.Value> map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /**
/** * * * <pre> * The entity's properties. * The map's keys are property names. * A property name matching regex `__.*__` is reserved. * A reserved property name is forbidden in certain documented contexts. * The name must not contain more than 500 characters. * The name cannot be `""`. * </pre> * * <code>map<string, .google.datastore.v1.Value> properties = 3;</code> */ public java.util.Map<java.lang.String, com.google.datastore.v1.Value> getPropertiesMap() { return internalGetProperties().getMap(); } /**
/** * <pre> * The entity's properties. * The map's keys are property names. * A property name matching regex `__.*__` is reserved. * A reserved property name is forbidden in certain documented contexts. * The name must not contain more than 500 characters. * The name cannot be `""`. * </pre> * * <code>map<string, .google.datastore.v1.Value> properties = 3;</code> */ public java.util.Map<java.lang.String, com.google.datastore.v1.Value> getPropertiesMap() { return internalGetProperties().getMap(); } /**
public com.google.datastore.v1.Entity buildPartial() { com.google.datastore.v1.Entity result = new com.google.datastore.v1.Entity(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (keyBuilder_ == null) { result.key_ = key_; } else { result.key_ = keyBuilder_.build(); } result.properties_ = internalGetProperties(); result.properties_.makeImmutable(); result.bitField0_ = to_bitField0_; onBuilt(); return result; }
@java.lang.Override public com.google.datastore.v1.Entity buildPartial() { com.google.datastore.v1.Entity result = new com.google.datastore.v1.Entity(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (keyBuilder_ == null) { result.key_ = key_; } else { result.key_ = keyBuilder_.build(); } result.properties_ = internalGetProperties(); result.properties_.makeImmutable(); result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /**
public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /**
@SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetProperties(); default: throw new RuntimeException("Invalid map field number: " + number); } }
@SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 3: return internalGetProperties(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"})
/** * * * <pre> * The entity's properties. * The map's keys are property names. * A property name matching regex `__.*__` is reserved. * A reserved property name is forbidden in certain documented contexts. * The name must not contain more than 500 characters. * The name cannot be `""`. * </pre> * * <code>map<string, .google.datastore.v1.Value> properties = 3;</code> */ public boolean containsProperties(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetProperties().getMap().containsKey(key); } /** Use {@link #getPropertiesMap()} instead. */
/** * * * <pre> * The entity's properties. * The map's keys are property names. * A property name matching regex `__.*__` is reserved. * A reserved property name is forbidden in certain documented contexts. * The name must not contain more than 500 characters. * The name cannot be `""`. * </pre> * * <code>map<string, .google.datastore.v1.Value> properties = 3;</code> */ public java.util.Map<java.lang.String, com.google.datastore.v1.Value> getPropertiesMap() { return internalGetProperties().getMap(); } /**
@java.lang.Override public com.google.datastore.v1.Entity buildPartial() { com.google.datastore.v1.Entity result = new com.google.datastore.v1.Entity(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (keyBuilder_ == null) { result.key_ = key_; } else { result.key_ = keyBuilder_.build(); } result.properties_ = internalGetProperties(); result.properties_.makeImmutable(); result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /**