Package com.google.datastore.v1
Class Value.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
- com.google.datastore.v1.Value.Builder
-
- All Implemented Interfaces:
ValueOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Value
public static final class Value.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Value.Builder> implements ValueOrBuilder
A message that can hold any of the supported value types and associated metadata.
Protobuf typegoogle.datastore.v1.Value
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Value.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Value
build()
Value
buildPartial()
Value.Builder
clear()
Value.Builder
clearArrayValue()
An array value.Value.Builder
clearBlobValue()
A blob value.Value.Builder
clearBooleanValue()
A boolean value.Value.Builder
clearDoubleValue()
A double value.Value.Builder
clearEntityValue()
An entity value.Value.Builder
clearExcludeFromIndexes()
If the value should be excluded from all indexes including those defined explicitly.Value.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Value.Builder
clearGeoPointValue()
A geo point value representing a point on the surface of Earth.Value.Builder
clearIntegerValue()
An integer value.Value.Builder
clearKeyValue()
A key value.Value.Builder
clearMeaning()
The `meaning` field should only be populated for backwards compatibility.Value.Builder
clearNullValue()
A null value.Value.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Value.Builder
clearStringValue()
A UTF-8 encoded string value.Value.Builder
clearTimestampValue()
A timestamp value.Value.Builder
clearValueType()
Value.Builder
clone()
ArrayValue
getArrayValue()
An array value.ArrayValue.Builder
getArrayValueBuilder()
An array value.ArrayValueOrBuilder
getArrayValueOrBuilder()
An array value.com.google.protobuf.ByteString
getBlobValue()
A blob value.boolean
getBooleanValue()
A boolean value.Value
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
double
getDoubleValue()
A double value.Entity
getEntityValue()
An entity value.Entity.Builder
getEntityValueBuilder()
An entity value.EntityOrBuilder
getEntityValueOrBuilder()
An entity value.boolean
getExcludeFromIndexes()
If the value should be excluded from all indexes including those defined explicitly.com.google.type.LatLng
getGeoPointValue()
A geo point value representing a point on the surface of Earth.com.google.type.LatLng.Builder
getGeoPointValueBuilder()
A geo point value representing a point on the surface of Earth.com.google.type.LatLngOrBuilder
getGeoPointValueOrBuilder()
A geo point value representing a point on the surface of Earth.long
getIntegerValue()
An integer value.Key
getKeyValue()
A key value.Key.Builder
getKeyValueBuilder()
A key value.KeyOrBuilder
getKeyValueOrBuilder()
A key value.int
getMeaning()
The `meaning` field should only be populated for backwards compatibility.com.google.protobuf.NullValue
getNullValue()
A null value.int
getNullValueValue()
A null value.String
getStringValue()
A UTF-8 encoded string value.com.google.protobuf.ByteString
getStringValueBytes()
A UTF-8 encoded string value.com.google.protobuf.Timestamp
getTimestampValue()
A timestamp value.com.google.protobuf.Timestamp.Builder
getTimestampValueBuilder()
A timestamp value.com.google.protobuf.TimestampOrBuilder
getTimestampValueOrBuilder()
A timestamp value.Value.ValueTypeCase
getValueTypeCase()
boolean
hasArrayValue()
An array value.boolean
hasBlobValue()
A blob value.boolean
hasBooleanValue()
A boolean value.boolean
hasDoubleValue()
A double value.boolean
hasEntityValue()
An entity value.boolean
hasGeoPointValue()
A geo point value representing a point on the surface of Earth.boolean
hasIntegerValue()
An integer value.boolean
hasKeyValue()
A key value.boolean
hasNullValue()
A null value.boolean
hasStringValue()
A UTF-8 encoded string value.boolean
hasTimestampValue()
A timestamp value.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Value.Builder
mergeArrayValue(ArrayValue value)
An array value.Value.Builder
mergeEntityValue(Entity value)
An entity value.Value.Builder
mergeFrom(Value other)
Value.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Value.Builder
mergeFrom(com.google.protobuf.Message other)
Value.Builder
mergeGeoPointValue(com.google.type.LatLng value)
A geo point value representing a point on the surface of Earth.Value.Builder
mergeKeyValue(Key value)
A key value.Value.Builder
mergeTimestampValue(com.google.protobuf.Timestamp value)
A timestamp value.Value.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Value.Builder
setArrayValue(ArrayValue value)
An array value.Value.Builder
setArrayValue(ArrayValue.Builder builderForValue)
An array value.Value.Builder
setBlobValue(com.google.protobuf.ByteString value)
A blob value.Value.Builder
setBooleanValue(boolean value)
A boolean value.Value.Builder
setDoubleValue(double value)
A double value.Value.Builder
setEntityValue(Entity value)
An entity value.Value.Builder
setEntityValue(Entity.Builder builderForValue)
An entity value.Value.Builder
setExcludeFromIndexes(boolean value)
If the value should be excluded from all indexes including those defined explicitly.Value.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Value.Builder
setGeoPointValue(com.google.type.LatLng value)
A geo point value representing a point on the surface of Earth.Value.Builder
setGeoPointValue(com.google.type.LatLng.Builder builderForValue)
A geo point value representing a point on the surface of Earth.Value.Builder
setIntegerValue(long value)
An integer value.Value.Builder
setKeyValue(Key value)
A key value.Value.Builder
setKeyValue(Key.Builder builderForValue)
A key value.Value.Builder
setMeaning(int value)
The `meaning` field should only be populated for backwards compatibility.Value.Builder
setNullValue(com.google.protobuf.NullValue value)
A null value.Value.Builder
setNullValueValue(int value)
A null value.Value.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Value.Builder
setStringValue(String value)
A UTF-8 encoded string value.Value.Builder
setStringValueBytes(com.google.protobuf.ByteString value)
A UTF-8 encoded string value.Value.Builder
setTimestampValue(com.google.protobuf.Timestamp value)
A timestamp value.Value.Builder
setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue)
A timestamp value.Value.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
clear
public Value.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
getDefaultInstanceForType
public Value getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Value build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Value buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Value.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
setField
public Value.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
clearField
public Value.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
clearOneof
public Value.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
setRepeatedField
public Value.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
addRepeatedField
public Value.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
mergeFrom
public Value.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Value.Builder>
-
mergeFrom
public Value.Builder mergeFrom(Value other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
mergeFrom
public Value.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Value.Builder>
- Throws:
IOException
-
getValueTypeCase
public Value.ValueTypeCase getValueTypeCase()
- Specified by:
getValueTypeCase
in interfaceValueOrBuilder
-
clearValueType
public Value.Builder clearValueType()
-
hasNullValue
public boolean hasNullValue()
A null value.
.google.protobuf.NullValue null_value = 11;
- Specified by:
hasNullValue
in interfaceValueOrBuilder
- Returns:
- Whether the nullValue field is set.
-
getNullValueValue
public int getNullValueValue()
A null value.
.google.protobuf.NullValue null_value = 11;
- Specified by:
getNullValueValue
in interfaceValueOrBuilder
- Returns:
- The enum numeric value on the wire for nullValue.
-
setNullValueValue
public Value.Builder setNullValueValue(int value)
A null value.
.google.protobuf.NullValue null_value = 11;
- Parameters:
value
- The enum numeric value on the wire for nullValue to set.- Returns:
- This builder for chaining.
-
getNullValue
public com.google.protobuf.NullValue getNullValue()
A null value.
.google.protobuf.NullValue null_value = 11;
- Specified by:
getNullValue
in interfaceValueOrBuilder
- Returns:
- The nullValue.
-
setNullValue
public Value.Builder setNullValue(com.google.protobuf.NullValue value)
A null value.
.google.protobuf.NullValue null_value = 11;
- Parameters:
value
- The nullValue to set.- Returns:
- This builder for chaining.
-
clearNullValue
public Value.Builder clearNullValue()
A null value.
.google.protobuf.NullValue null_value = 11;
- Returns:
- This builder for chaining.
-
hasBooleanValue
public boolean hasBooleanValue()
A boolean value.
bool boolean_value = 1;
- Specified by:
hasBooleanValue
in interfaceValueOrBuilder
- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
public boolean getBooleanValue()
A boolean value.
bool boolean_value = 1;
- Specified by:
getBooleanValue
in interfaceValueOrBuilder
- Returns:
- The booleanValue.
-
setBooleanValue
public Value.Builder setBooleanValue(boolean value)
A boolean value.
bool boolean_value = 1;
- Parameters:
value
- The booleanValue to set.- Returns:
- This builder for chaining.
-
clearBooleanValue
public Value.Builder clearBooleanValue()
A boolean value.
bool boolean_value = 1;
- Returns:
- This builder for chaining.
-
hasIntegerValue
public boolean hasIntegerValue()
An integer value.
int64 integer_value = 2;
- Specified by:
hasIntegerValue
in interfaceValueOrBuilder
- Returns:
- Whether the integerValue field is set.
-
getIntegerValue
public long getIntegerValue()
An integer value.
int64 integer_value = 2;
- Specified by:
getIntegerValue
in interfaceValueOrBuilder
- Returns:
- The integerValue.
-
setIntegerValue
public Value.Builder setIntegerValue(long value)
An integer value.
int64 integer_value = 2;
- Parameters:
value
- The integerValue to set.- Returns:
- This builder for chaining.
-
clearIntegerValue
public Value.Builder clearIntegerValue()
An integer value.
int64 integer_value = 2;
- Returns:
- This builder for chaining.
-
hasDoubleValue
public boolean hasDoubleValue()
A double value.
double double_value = 3;
- Specified by:
hasDoubleValue
in interfaceValueOrBuilder
- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()
A double value.
double double_value = 3;
- Specified by:
getDoubleValue
in interfaceValueOrBuilder
- Returns:
- The doubleValue.
-
setDoubleValue
public Value.Builder setDoubleValue(double value)
A double value.
double double_value = 3;
- Parameters:
value
- The doubleValue to set.- Returns:
- This builder for chaining.
-
clearDoubleValue
public Value.Builder clearDoubleValue()
A double value.
double double_value = 3;
- Returns:
- This builder for chaining.
-
hasTimestampValue
public 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;
- Specified by:
hasTimestampValue
in interfaceValueOrBuilder
- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
public com.google.protobuf.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;
- Specified by:
getTimestampValue
in interfaceValueOrBuilder
- Returns:
- The timestampValue.
-
setTimestampValue
public Value.Builder setTimestampValue(com.google.protobuf.Timestamp value)
A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;
-
setTimestampValue
public Value.Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue)
A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;
-
mergeTimestampValue
public Value.Builder mergeTimestampValue(com.google.protobuf.Timestamp value)
A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;
-
clearTimestampValue
public Value.Builder clearTimestampValue()
A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;
-
getTimestampValueBuilder
public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder()
A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;
-
getTimestampValueOrBuilder
public com.google.protobuf.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;
- Specified by:
getTimestampValueOrBuilder
in interfaceValueOrBuilder
-
hasKeyValue
public boolean hasKeyValue()
A key value.
.google.datastore.v1.Key key_value = 5;
- Specified by:
hasKeyValue
in interfaceValueOrBuilder
- Returns:
- Whether the keyValue field is set.
-
getKeyValue
public Key getKeyValue()
A key value.
.google.datastore.v1.Key key_value = 5;
- Specified by:
getKeyValue
in interfaceValueOrBuilder
- Returns:
- The keyValue.
-
setKeyValue
public Value.Builder setKeyValue(Key value)
A key value.
.google.datastore.v1.Key key_value = 5;
-
setKeyValue
public Value.Builder setKeyValue(Key.Builder builderForValue)
A key value.
.google.datastore.v1.Key key_value = 5;
-
mergeKeyValue
public Value.Builder mergeKeyValue(Key value)
A key value.
.google.datastore.v1.Key key_value = 5;
-
clearKeyValue
public Value.Builder clearKeyValue()
A key value.
.google.datastore.v1.Key key_value = 5;
-
getKeyValueBuilder
public Key.Builder getKeyValueBuilder()
A key value.
.google.datastore.v1.Key key_value = 5;
-
getKeyValueOrBuilder
public KeyOrBuilder getKeyValueOrBuilder()
A key value.
.google.datastore.v1.Key key_value = 5;
- Specified by:
getKeyValueOrBuilder
in interfaceValueOrBuilder
-
hasStringValue
public 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;
- Specified by:
hasStringValue
in interfaceValueOrBuilder
- Returns:
- Whether the stringValue field is set.
-
getStringValue
public 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;
- Specified by:
getStringValue
in interfaceValueOrBuilder
- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.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;
- Specified by:
getStringValueBytes
in interfaceValueOrBuilder
- Returns:
- The bytes for stringValue.
-
setStringValue
public Value.Builder setStringValue(String value)
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;
- Parameters:
value
- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
public Value.Builder clearStringValue()
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:
- This builder for chaining.
-
setStringValueBytes
public Value.Builder setStringValueBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for stringValue to set.- Returns:
- This builder for chaining.
-
hasBlobValue
public 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;
- Specified by:
hasBlobValue
in interfaceValueOrBuilder
- Returns:
- Whether the blobValue field is set.
-
getBlobValue
public com.google.protobuf.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;
- Specified by:
getBlobValue
in interfaceValueOrBuilder
- Returns:
- The blobValue.
-
setBlobValue
public Value.Builder setBlobValue(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The blobValue to set.- Returns:
- This builder for chaining.
-
clearBlobValue
public Value.Builder clearBlobValue()
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:
- This builder for chaining.
-
hasGeoPointValue
public boolean hasGeoPointValue()
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
- Specified by:
hasGeoPointValue
in interfaceValueOrBuilder
- Returns:
- Whether the geoPointValue field is set.
-
getGeoPointValue
public com.google.type.LatLng getGeoPointValue()
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
- Specified by:
getGeoPointValue
in interfaceValueOrBuilder
- Returns:
- The geoPointValue.
-
setGeoPointValue
public Value.Builder setGeoPointValue(com.google.type.LatLng value)
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
-
setGeoPointValue
public Value.Builder setGeoPointValue(com.google.type.LatLng.Builder builderForValue)
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
-
mergeGeoPointValue
public Value.Builder mergeGeoPointValue(com.google.type.LatLng value)
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
-
clearGeoPointValue
public Value.Builder clearGeoPointValue()
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
-
getGeoPointValueBuilder
public com.google.type.LatLng.Builder getGeoPointValueBuilder()
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
-
getGeoPointValueOrBuilder
public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder()
A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
- Specified by:
getGeoPointValueOrBuilder
in interfaceValueOrBuilder
-
hasEntityValue
public 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;
- Specified by:
hasEntityValue
in interfaceValueOrBuilder
- Returns:
- Whether the entityValue field is set.
-
getEntityValue
public 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;
- Specified by:
getEntityValue
in interfaceValueOrBuilder
- Returns:
- The entityValue.
-
setEntityValue
public Value.Builder setEntityValue(Entity value)
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;
-
setEntityValue
public Value.Builder setEntityValue(Entity.Builder builderForValue)
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;
-
mergeEntityValue
public Value.Builder mergeEntityValue(Entity value)
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;
-
clearEntityValue
public Value.Builder clearEntityValue()
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;
-
getEntityValueBuilder
public Entity.Builder getEntityValueBuilder()
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;
-
getEntityValueOrBuilder
public 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;
- Specified by:
getEntityValueOrBuilder
in interfaceValueOrBuilder
-
hasArrayValue
public 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;
- Specified by:
hasArrayValue
in interfaceValueOrBuilder
- Returns:
- Whether the arrayValue field is set.
-
getArrayValue
public 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;
- Specified by:
getArrayValue
in interfaceValueOrBuilder
- Returns:
- The arrayValue.
-
setArrayValue
public Value.Builder setArrayValue(ArrayValue value)
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;
-
setArrayValue
public Value.Builder setArrayValue(ArrayValue.Builder builderForValue)
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;
-
mergeArrayValue
public Value.Builder mergeArrayValue(ArrayValue value)
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;
-
clearArrayValue
public Value.Builder clearArrayValue()
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;
-
getArrayValueBuilder
public ArrayValue.Builder getArrayValueBuilder()
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;
-
getArrayValueOrBuilder
public 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;
- Specified by:
getArrayValueOrBuilder
in interfaceValueOrBuilder
-
getMeaning
public int getMeaning()
The `meaning` field should only be populated for backwards compatibility.
int32 meaning = 14;
- Specified by:
getMeaning
in interfaceValueOrBuilder
- Returns:
- The meaning.
-
setMeaning
public Value.Builder setMeaning(int value)
The `meaning` field should only be populated for backwards compatibility.
int32 meaning = 14;
- Parameters:
value
- The meaning to set.- Returns:
- This builder for chaining.
-
clearMeaning
public Value.Builder clearMeaning()
The `meaning` field should only be populated for backwards compatibility.
int32 meaning = 14;
- Returns:
- This builder for chaining.
-
getExcludeFromIndexes
public boolean getExcludeFromIndexes()
If the value should be excluded from all indexes including those defined explicitly.
bool exclude_from_indexes = 19;
- Specified by:
getExcludeFromIndexes
in interfaceValueOrBuilder
- Returns:
- The excludeFromIndexes.
-
setExcludeFromIndexes
public Value.Builder setExcludeFromIndexes(boolean value)
If the value should be excluded from all indexes including those defined explicitly.
bool exclude_from_indexes = 19;
- Parameters:
value
- The excludeFromIndexes to set.- Returns:
- This builder for chaining.
-
clearExcludeFromIndexes
public Value.Builder clearExcludeFromIndexes()
If the value should be excluded from all indexes including those defined explicitly.
bool exclude_from_indexes = 19;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Value.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
mergeUnknownFields
public final Value.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Value.Builder>
-
-