public class MapValueField
A message that can hold any of the supported value types.
Inheritance
java.lang.Object >
MapValueField
Constructors
MapValueField()
Methods
getArrayValue()
public ArrayValue getArrayValue()
An array value. Cannot directly contain another array value, though can contain an map which contains another array.
Returns
getBooleanValue()
public Boolean getBooleanValue()
Returns
getBytesValue()
public String getBytesValue()
A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.
Returns
getDoubleValue()
public Double getDoubleValue()
Returns
getGeoPointValue()
public GeoPointValue getGeoPointValue()
A geo point value representing a point on the surface of Earth.
Returns
getIntegerValue()
public Long getIntegerValue()
Returns
getMapValue()
public MapValue getMapValue()
Returns
getNullValue()
public NullValue getNullValue()
Returns
getReferenceValue()
public String getReferenceValue()
A reference to a document. For example: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
Returns
getStringValue()
public String getStringValue()
A string value. The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are considered by queries.
Returns
getTimestampValue()
public OffsetDateTime getTimestampValue()
A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.
Returns
setArrayValue(ArrayValue value)
public void setArrayValue(ArrayValue value)
Parameter
setBooleanValue(Boolean value)
public void setBooleanValue(Boolean value)
Parameter
setBytesValue(String value)
public void setBytesValue(String value)
Parameter
setDoubleValue(Double value)
public void setDoubleValue(Double value)
Parameter
setGeoPointValue(GeoPointValue value)
public void setGeoPointValue(GeoPointValue value)
Parameter
setIntegerValue(Long value)
public void setIntegerValue(Long value)
Parameter
setMapValue(MapValue value)
public void setMapValue(MapValue value)
Parameter
setNullValue(NullValue value)
public void setNullValue(NullValue value)
Parameter
setReferenceValue(String value)
public void setReferenceValue(String value)
Parameter
setStringValue(String value)
public void setStringValue(String value)
Parameter
setTimestampValue(OffsetDateTime value)
public void setTimestampValue(OffsetDateTime value)
Parameter