Interface ValueOrBuilder (3.5.0)

public interface ValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArrayValue()

public abstract ArrayValue getArrayValue()

An array value. Cannot directly contain another array value, though can contain an map which contains another array.

.google.firestore.v1.ArrayValue array_value = 9;

Returns
TypeDescription
ArrayValue

The arrayValue.

getArrayValueOrBuilder()

public abstract ArrayValueOrBuilder getArrayValueOrBuilder()

An array value. Cannot directly contain another array value, though can contain an map which contains another array.

.google.firestore.v1.ArrayValue array_value = 9;

Returns
TypeDescription
ArrayValueOrBuilder

getBooleanValue()

public abstract boolean getBooleanValue()

A boolean value.

bool boolean_value = 1;

Returns
TypeDescription
boolean

The booleanValue.

getBytesValue()

public abstract ByteString getBytesValue()

A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.

bytes bytes_value = 18;

Returns
TypeDescription
ByteString

The bytesValue.

getDoubleValue()

public abstract double getDoubleValue()

A double value.

double double_value = 3;

Returns
TypeDescription
double

The doubleValue.

getGeoPointValue()

public abstract LatLng getGeoPointValue()

A geo point value representing a point on the surface of Earth.

.google.type.LatLng geo_point_value = 8;

Returns
TypeDescription
com.google.type.LatLng

The geoPointValue.

getGeoPointValueOrBuilder()

public abstract LatLngOrBuilder getGeoPointValueOrBuilder()

A geo point value representing a point on the surface of Earth.

.google.type.LatLng geo_point_value = 8;

Returns
TypeDescription
com.google.type.LatLngOrBuilder

getIntegerValue()

public abstract long getIntegerValue()

An integer value.

int64 integer_value = 2;

Returns
TypeDescription
long

The integerValue.

getMapValue()

public abstract MapValue getMapValue()

A map value.

.google.firestore.v1.MapValue map_value = 6;

Returns
TypeDescription
MapValue

The mapValue.

getMapValueOrBuilder()

public abstract MapValueOrBuilder getMapValueOrBuilder()

A map value.

.google.firestore.v1.MapValue map_value = 6;

Returns
TypeDescription
MapValueOrBuilder

getNullValue()

public abstract NullValue getNullValue()

A null value.

.google.protobuf.NullValue null_value = 11;

Returns
TypeDescription
NullValue

The nullValue.

getNullValueValue()

public abstract int getNullValueValue()

A null value.

.google.protobuf.NullValue null_value = 11;

Returns
TypeDescription
int

The enum numeric value on the wire for nullValue.

getReferenceValue()

public abstract String getReferenceValue()

A reference to a document. For example: projects/{project_id}/databases/{database_id}/documents/{document_path}.

string reference_value = 5;

Returns
TypeDescription
String

The referenceValue.

getReferenceValueBytes()

public abstract ByteString getReferenceValueBytes()

A reference to a document. For example: projects/{project_id}/databases/{database_id}/documents/{document_path}.

string reference_value = 5;

Returns
TypeDescription
ByteString

The bytes for referenceValue.

getStringValue()

public abstract 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.

string string_value = 17;

Returns
TypeDescription
String

The stringValue.

getStringValueBytes()

public abstract ByteString getStringValueBytes()

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.

string string_value = 17;

Returns
TypeDescription
ByteString

The bytes for stringValue.

getTimestampValue()

public abstract Timestamp getTimestampValue()

A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.

.google.protobuf.Timestamp timestamp_value = 10;

Returns
TypeDescription
Timestamp

The timestampValue.

getTimestampValueOrBuilder()

public abstract TimestampOrBuilder getTimestampValueOrBuilder()

A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.

.google.protobuf.Timestamp timestamp_value = 10;

Returns
TypeDescription
TimestampOrBuilder

getValueTypeCase()

public abstract Value.ValueTypeCase getValueTypeCase()
Returns
TypeDescription
Value.ValueTypeCase

hasArrayValue()

public abstract boolean hasArrayValue()

An array value. Cannot directly contain another array value, though can contain an map which contains another array.

.google.firestore.v1.ArrayValue array_value = 9;

Returns
TypeDescription
boolean

Whether the arrayValue field is set.

hasBooleanValue()

public abstract boolean hasBooleanValue()

A boolean value.

bool boolean_value = 1;

Returns
TypeDescription
boolean

Whether the booleanValue field is set.

hasBytesValue()

public abstract boolean hasBytesValue()

A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.

bytes bytes_value = 18;

Returns
TypeDescription
boolean

Whether the bytesValue field is set.

hasDoubleValue()

public abstract boolean hasDoubleValue()

A double value.

double double_value = 3;

Returns
TypeDescription
boolean

Whether the doubleValue field is set.

hasGeoPointValue()

public abstract boolean hasGeoPointValue()

A geo point value representing a point on the surface of Earth.

.google.type.LatLng geo_point_value = 8;

Returns
TypeDescription
boolean

Whether the geoPointValue field is set.

hasIntegerValue()

public abstract boolean hasIntegerValue()

An integer value.

int64 integer_value = 2;

Returns
TypeDescription
boolean

Whether the integerValue field is set.

hasMapValue()

public abstract boolean hasMapValue()

A map value.

.google.firestore.v1.MapValue map_value = 6;

Returns
TypeDescription
boolean

Whether the mapValue field is set.

hasNullValue()

public abstract boolean hasNullValue()

A null value.

.google.protobuf.NullValue null_value = 11;

Returns
TypeDescription
boolean

Whether the nullValue field is set.

hasReferenceValue()

public abstract boolean hasReferenceValue()

A reference to a document. For example: projects/{project_id}/databases/{database_id}/documents/{document_path}.

string reference_value = 5;

Returns
TypeDescription
boolean

Whether the referenceValue field is set.

hasStringValue()

public abstract boolean hasStringValue()

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.

string string_value = 17;

Returns
TypeDescription
boolean

Whether the stringValue field is set.

hasTimestampValue()

public abstract boolean hasTimestampValue()

A timestamp value. Precise only to microseconds. When stored, any additional precision is rounded down.

.google.protobuf.Timestamp timestamp_value = 10;

Returns
TypeDescription
boolean

Whether the timestampValue field is set.