Interface ValueOrBuilder (2.19.0)

public interface ValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArrayValue()

public abstract ArrayValue getArrayValue()

An array value. Cannot contain another array value. A Value instance that sets field array_value must not set fields meaning or exclude_from_indexes.

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

Returns
TypeDescription
ArrayValue

The arrayValue.

getArrayValueOrBuilder()

public abstract ArrayValueOrBuilder getArrayValueOrBuilder()

An array value. Cannot contain another array value. A Value instance that sets field array_value must not set fields meaning or exclude_from_indexes.

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

Returns
TypeDescription
ArrayValueOrBuilder

getBlobValue()

public abstract ByteString getBlobValue()

A blob value. May have at most 1,000,000 bytes. When exclude_from_indexes is false, may have at most 1500 bytes. In JSON requests, must be base64-encoded.

bytes blob_value = 18;

Returns
TypeDescription
ByteString

The blobValue.

getBooleanValue()

public abstract boolean getBooleanValue()

A boolean value.

bool boolean_value = 1;

Returns
TypeDescription
boolean

The booleanValue.

getDoubleValue()

public abstract double getDoubleValue()

A double value.

double double_value = 3;

Returns
TypeDescription
double

The doubleValue.

getEntityValue()

public abstract Entity getEntityValue()

An entity value.

  • May have no key.
  • May have a key with an incomplete key path.
  • May have a reserved/read-only key.

.google.datastore.v1.Entity entity_value = 6;

Returns
TypeDescription
Entity

The entityValue.

getEntityValueOrBuilder()

public abstract EntityOrBuilder getEntityValueOrBuilder()

An entity value.

  • May have no key.
  • May have a key with an incomplete key path.
  • May have a reserved/read-only key.

.google.datastore.v1.Entity entity_value = 6;

Returns
TypeDescription
EntityOrBuilder

getExcludeFromIndexes()

public abstract boolean getExcludeFromIndexes()

If the value should be excluded from all indexes including those defined explicitly.

bool exclude_from_indexes = 19;

Returns
TypeDescription
boolean

The excludeFromIndexes.

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.

getKeyValue()

public abstract Key getKeyValue()

A key value.

.google.datastore.v1.Key key_value = 5;

Returns
TypeDescription
Key

The keyValue.

getKeyValueOrBuilder()

public abstract KeyOrBuilder getKeyValueOrBuilder()

A key value.

.google.datastore.v1.Key key_value = 5;

Returns
TypeDescription
KeyOrBuilder

getMeaning()

public abstract int getMeaning()

The meaning field should only be populated for backwards compatibility.

int32 meaning = 14;

Returns
TypeDescription
int

The meaning.

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.

getStringValue()

public abstract String getStringValue()

A UTF-8 encoded string value. When exclude_from_indexes is false (it is indexed) , may have at most 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.

string string_value = 17;

Returns
TypeDescription
String

The stringValue.

getStringValueBytes()

public abstract ByteString getStringValueBytes()

A UTF-8 encoded string value. When exclude_from_indexes is false (it is indexed) , may have at most 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.

string string_value = 17;

Returns
TypeDescription
ByteString

The bytes for stringValue.

getTimestampValue()

public abstract Timestamp getTimestampValue()

A timestamp value. When stored in the Datastore, precise only to microseconds; 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. When stored in the Datastore, precise only to microseconds; 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 contain another array value. A Value instance that sets field array_value must not set fields meaning or exclude_from_indexes.

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

Returns
TypeDescription
boolean

Whether the arrayValue field is set.

hasBlobValue()

public abstract boolean hasBlobValue()

A blob value. May have at most 1,000,000 bytes. When exclude_from_indexes is false, may have at most 1500 bytes. In JSON requests, must be base64-encoded.

bytes blob_value = 18;

Returns
TypeDescription
boolean

Whether the blobValue field is set.

hasBooleanValue()

public abstract boolean hasBooleanValue()

A boolean value.

bool boolean_value = 1;

Returns
TypeDescription
boolean

Whether the booleanValue field is set.

hasDoubleValue()

public abstract boolean hasDoubleValue()

A double value.

double double_value = 3;

Returns
TypeDescription
boolean

Whether the doubleValue field is set.

hasEntityValue()

public abstract boolean hasEntityValue()

An entity value.

  • May have no key.
  • May have a key with an incomplete key path.
  • May have a reserved/read-only key.

.google.datastore.v1.Entity entity_value = 6;

Returns
TypeDescription
boolean

Whether the entityValue 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.

hasKeyValue()

public abstract boolean hasKeyValue()

A key value.

.google.datastore.v1.Key key_value = 5;

Returns
TypeDescription
boolean

Whether the keyValue 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.

hasStringValue()

public abstract boolean hasStringValue()

A UTF-8 encoded string value. When exclude_from_indexes is false (it is indexed) , may have at most 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.

string string_value = 17;

Returns
TypeDescription
boolean

Whether the stringValue field is set.

hasTimestampValue()

public abstract boolean hasTimestampValue()

A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.

.google.protobuf.Timestamp timestamp_value = 10;

Returns
TypeDescription
boolean

Whether the timestampValue field is set.