Interface ValueOrBuilder (2.31.4)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface ValueOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getArrayValue()
publicabstractArrayValuegetArrayValue() 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 | |
|---|---|
| Type | Description |
ArrayValue |
The arrayValue. |
getArrayValueOrBuilder()
publicabstractArrayValueOrBuildergetArrayValueOrBuilder() 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 | |
|---|---|
| Type | Description |
ArrayValueOrBuilder |
|
getBlobValue()
publicabstractByteStringgetBlobValue() 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 | |
|---|---|
| Type | Description |
ByteString |
The blobValue. |
getBooleanValue()
publicabstractbooleangetBooleanValue()A boolean value.
bool boolean_value = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The booleanValue. |
getDoubleValue()
publicabstractdoublegetDoubleValue()A double value.
double double_value = 3;
| Returns | |
|---|---|
| Type | Description |
double |
The doubleValue. |
getEntityValue()
publicabstractEntitygetEntityValue()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 | |
|---|---|
| Type | Description |
Entity |
The entityValue. |
getEntityValueOrBuilder()
publicabstractEntityOrBuildergetEntityValueOrBuilder()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 | |
|---|---|
| Type | Description |
EntityOrBuilder |
|
getExcludeFromIndexes()
publicabstractbooleangetExcludeFromIndexes()If the value should be excluded from all indexes including those defined explicitly.
bool exclude_from_indexes = 19;
| Returns | |
|---|---|
| Type | Description |
boolean |
The excludeFromIndexes. |
getGeoPointValue()
publicabstractLatLnggetGeoPointValue()A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
| Returns | |
|---|---|
| Type | Description |
com.google.type.LatLng |
The geoPointValue. |
getGeoPointValueOrBuilder()
publicabstractLatLngOrBuildergetGeoPointValueOrBuilder()A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
| Returns | |
|---|---|
| Type | Description |
com.google.type.LatLngOrBuilder |
|
getIntegerValue()
publicabstractlonggetIntegerValue()An integer value.
int64 integer_value = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The integerValue. |
getKeyValue()
publicabstractKeygetKeyValue()A key value.
.google.datastore.v1.Key key_value = 5;
| Returns | |
|---|---|
| Type | Description |
Key |
The keyValue. |
getKeyValueOrBuilder()
publicabstractKeyOrBuildergetKeyValueOrBuilder()A key value.
.google.datastore.v1.Key key_value = 5;
| Returns | |
|---|---|
| Type | Description |
KeyOrBuilder |
|
getMeaning()
publicabstractintgetMeaning() The meaning field should only be populated for backwards compatibility.
int32 meaning = 14;
| Returns | |
|---|---|
| Type | Description |
int |
The meaning. |
getNullValue()
publicabstractNullValuegetNullValue()A null value.
.google.protobuf.NullValue null_value = 11;
| Returns | |
|---|---|
| Type | Description |
NullValue |
The nullValue. |
getNullValueValue()
publicabstractintgetNullValueValue()A null value.
.google.protobuf.NullValue null_value = 11;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for nullValue. |
getStringValue()
publicabstractStringgetStringValue() 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 | |
|---|---|
| Type | Description |
String |
The stringValue. |
getStringValueBytes()
publicabstractByteStringgetStringValueBytes() 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for stringValue. |
getTimestampValue()
publicabstractTimestampgetTimestampValue()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 | |
|---|---|
| Type | Description |
Timestamp |
The timestampValue. |
getTimestampValueOrBuilder()
publicabstractTimestampOrBuildergetTimestampValueOrBuilder()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 | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getValueTypeCase()
publicabstractValue.ValueTypeCasegetValueTypeCase()| Returns | |
|---|---|
| Type | Description |
Value.ValueTypeCase |
|
hasArrayValue()
publicabstractbooleanhasArrayValue() 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 | |
|---|---|
| Type | Description |
boolean |
Whether the arrayValue field is set. |
hasBlobValue()
publicabstractbooleanhasBlobValue() 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 | |
|---|---|
| Type | Description |
boolean |
Whether the blobValue field is set. |
hasBooleanValue()
publicabstractbooleanhasBooleanValue()A boolean value.
bool boolean_value = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the booleanValue field is set. |
hasDoubleValue()
publicabstractbooleanhasDoubleValue()A double value.
double double_value = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the doubleValue field is set. |
hasEntityValue()
publicabstractbooleanhasEntityValue()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 | |
|---|---|
| Type | Description |
boolean |
Whether the entityValue field is set. |
hasGeoPointValue()
publicabstractbooleanhasGeoPointValue()A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the geoPointValue field is set. |
hasIntegerValue()
publicabstractbooleanhasIntegerValue()An integer value.
int64 integer_value = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the integerValue field is set. |
hasKeyValue()
publicabstractbooleanhasKeyValue()A key value.
.google.datastore.v1.Key key_value = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the keyValue field is set. |
hasNullValue()
publicabstractbooleanhasNullValue()A null value.
.google.protobuf.NullValue null_value = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the nullValue field is set. |
hasStringValue()
publicabstractbooleanhasStringValue() 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 | |
|---|---|
| Type | Description |
boolean |
Whether the stringValue field is set. |
hasTimestampValue()
publicabstractbooleanhasTimestampValue()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 | |
|---|---|
| Type | Description |
boolean |
Whether the timestampValue field is set. |