@SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 3: return internalGetMutableProperties(); 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 Builder putProperties(java.lang.String key, com.google.datastore.v1.Value value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableProperties().getMutableMap().put(key, value); return this; } /**
/** * * * <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 Builder removeProperties(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableProperties().getMutableMap().remove(key); return this; } /** Use alternate mutation accessors 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 Builder putProperties(java.lang.String key, com.google.datastore.v1.Value value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableProperties().getMutableMap().put(key, value); return this; } /**
/** * * * <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 Builder putAllProperties( java.util.Map<java.lang.String, com.google.datastore.v1.Value> values) { internalGetMutableProperties().getMutableMap().putAll(values); return this; }
/** * * * <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 Builder removeProperties(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableProperties().getMutableMap().remove(key); return this; } /** Use alternate mutation accessors instead. */
/** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map<java.lang.String, com.google.datastore.v1.Value> getMutableProperties() { return internalGetMutableProperties().getMutableMap(); } /**
@java.lang.Override public Builder clear() { super.clear(); if (keyBuilder_ == null) { key_ = null; } else { key_ = null; keyBuilder_ = null; } internalGetMutableProperties().clear(); return this; }
/** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map<java.lang.String, com.google.datastore.v1.Value> getMutableProperties() { return internalGetMutableProperties().getMutableMap(); } /**
public Builder clear() { super.clear(); if (keyBuilder_ == null) { key_ = null; } else { key_ = null; keyBuilder_ = null; } internalGetMutableProperties().clear(); return this; }
@SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 3: return internalGetMutableProperties(); default: throw new RuntimeException( "Invalid map field number: " + number); } } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 3: return internalGetMutableProperties(); default: throw new RuntimeException("Invalid map field number: " + number); } }
public Builder mergeFrom(com.google.datastore.v1.Entity other) { if (other == com.google.datastore.v1.Entity.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } internalGetMutableProperties().mergeFrom( other.internalGetProperties()); onChanged(); return this; }
public Builder clearProperties() { internalGetMutableProperties().getMutableMap().clear(); return this; } /**
public Builder mergeFrom(com.google.datastore.v1.Entity other) { if (other == com.google.datastore.v1.Entity.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } internalGetMutableProperties().mergeFrom(other.internalGetProperties()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <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 Builder putAllProperties( java.util.Map<java.lang.String, com.google.datastore.v1.Value> values) { internalGetMutableProperties().getMutableMap().putAll(values); return this; }
public Builder clearProperties() { internalGetMutableProperties().getMutableMap().clear(); return this; } /**
/** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map<java.lang.String, com.google.datastore.v1.Value> getMutableProperties() { return internalGetMutableProperties().getMutableMap(); } /**
@java.lang.Override public Builder clear() { super.clear(); if (keyBuilder_ == null) { key_ = null; } else { key_ = null; keyBuilder_ = null; } internalGetMutableProperties().clear(); return this; }
public Builder mergeFrom(com.google.datastore.v1.Entity other) { if (other == com.google.datastore.v1.Entity.getDefaultInstance()) return this; if (other.hasKey()) { mergeKey(other.getKey()); } internalGetMutableProperties().mergeFrom(other.internalGetProperties()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }