Class Value.Builder (2.28.2)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass Value.BuilderextendsGeneratedMessageV3.Builder<Value.Builder>implementsValueOrBuilderA message that can hold any of the supported value types and associated metadata.
Protobuf type google.datastore.v1.Value
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Value.BuilderImplements
ValueOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicValue.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
build()
publicValuebuild()| Returns | |
|---|---|
| Type | Description |
Value |
|
buildPartial()
publicValuebuildPartial()| Returns | |
|---|---|
| Type | Description |
Value |
|
clear()
publicValue.Builderclear()| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
clearArrayValue()
publicValue.BuilderclearArrayValue() 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 |
Value.Builder |
|
clearBlobValue()
publicValue.BuilderclearBlobValue() 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 |
Value.Builder |
This builder for chaining. |
clearBooleanValue()
publicValue.BuilderclearBooleanValue()A boolean value.
bool boolean_value = 1;
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
clearDoubleValue()
publicValue.BuilderclearDoubleValue()A double value.
double double_value = 3;
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
clearEntityValue()
publicValue.BuilderclearEntityValue()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 |
Value.Builder |
|
clearExcludeFromIndexes()
publicValue.BuilderclearExcludeFromIndexes()If the value should be excluded from all indexes including those defined explicitly.
bool exclude_from_indexes = 19;
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicValue.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
clearGeoPointValue()
publicValue.BuilderclearGeoPointValue()A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
clearIntegerValue()
publicValue.BuilderclearIntegerValue()An integer value.
int64 integer_value = 2;
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
clearKeyValue()
publicValue.BuilderclearKeyValue()A key value.
.google.datastore.v1.Key key_value = 5;
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
clearMeaning()
publicValue.BuilderclearMeaning() The meaning field should only be populated for backwards compatibility.
int32 meaning = 14;
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
clearNullValue()
publicValue.BuilderclearNullValue()A null value.
.google.protobuf.NullValue null_value = 11;
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicValue.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
clearStringValue()
publicValue.BuilderclearStringValue() 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 |
Value.Builder |
This builder for chaining. |
clearTimestampValue()
publicValue.BuilderclearTimestampValue()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 |
Value.Builder |
|
clearValueType()
publicValue.BuilderclearValueType()| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
clone()
publicValue.Builderclone()| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
getArrayValue()
publicArrayValuegetArrayValue() 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. |
getArrayValueBuilder()
publicArrayValue.BuildergetArrayValueBuilder() 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.Builder |
|
getArrayValueOrBuilder()
publicArrayValueOrBuildergetArrayValueOrBuilder() 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()
publicByteStringgetBlobValue() 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()
publicbooleangetBooleanValue()A boolean value.
bool boolean_value = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The booleanValue. |
getDefaultInstanceForType()
publicValuegetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Value |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDoubleValue()
publicdoublegetDoubleValue()A double value.
double double_value = 3;
| Returns | |
|---|---|
| Type | Description |
double |
The doubleValue. |
getEntityValue()
publicEntitygetEntityValue()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. |
getEntityValueBuilder()
publicEntity.BuildergetEntityValueBuilder()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.Builder |
|
getEntityValueOrBuilder()
publicEntityOrBuildergetEntityValueOrBuilder()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()
publicbooleangetExcludeFromIndexes()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()
publicLatLnggetGeoPointValue()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. |
getGeoPointValueBuilder()
publicLatLng.BuildergetGeoPointValueBuilder()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.Builder |
|
getGeoPointValueOrBuilder()
publicLatLngOrBuildergetGeoPointValueOrBuilder()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()
publiclonggetIntegerValue()An integer value.
int64 integer_value = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The integerValue. |
getKeyValue()
publicKeygetKeyValue()A key value.
.google.datastore.v1.Key key_value = 5;
| Returns | |
|---|---|
| Type | Description |
Key |
The keyValue. |
getKeyValueBuilder()
publicKey.BuildergetKeyValueBuilder()A key value.
.google.datastore.v1.Key key_value = 5;
| Returns | |
|---|---|
| Type | Description |
Key.Builder |
|
getKeyValueOrBuilder()
publicKeyOrBuildergetKeyValueOrBuilder()A key value.
.google.datastore.v1.Key key_value = 5;
| Returns | |
|---|---|
| Type | Description |
KeyOrBuilder |
|
getMeaning()
publicintgetMeaning() The meaning field should only be populated for backwards compatibility.
int32 meaning = 14;
| Returns | |
|---|---|
| Type | Description |
int |
The meaning. |
getNullValue()
publicNullValuegetNullValue()A null value.
.google.protobuf.NullValue null_value = 11;
| Returns | |
|---|---|
| Type | Description |
NullValue |
The nullValue. |
getNullValueValue()
publicintgetNullValueValue()A null value.
.google.protobuf.NullValue null_value = 11;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for nullValue. |
getStringValue()
publicStringgetStringValue() 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()
publicByteStringgetStringValueBytes() 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()
publicTimestampgetTimestampValue()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. |
getTimestampValueBuilder()
publicTimestamp.BuildergetTimestampValueBuilder()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 |
Builder |
|
getTimestampValueOrBuilder()
publicTimestampOrBuildergetTimestampValueOrBuilder()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()
publicValue.ValueTypeCasegetValueTypeCase()| Returns | |
|---|---|
| Type | Description |
Value.ValueTypeCase |
|
hasArrayValue()
publicbooleanhasArrayValue() 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()
publicbooleanhasBlobValue() 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()
publicbooleanhasBooleanValue()A boolean value.
bool boolean_value = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the booleanValue field is set. |
hasDoubleValue()
publicbooleanhasDoubleValue()A double value.
double double_value = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the doubleValue field is set. |
hasEntityValue()
publicbooleanhasEntityValue()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()
publicbooleanhasGeoPointValue()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()
publicbooleanhasIntegerValue()An integer value.
int64 integer_value = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the integerValue field is set. |
hasKeyValue()
publicbooleanhasKeyValue()A key value.
.google.datastore.v1.Key key_value = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the keyValue field is set. |
hasNullValue()
publicbooleanhasNullValue()A null value.
.google.protobuf.NullValue null_value = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the nullValue field is set. |
hasStringValue()
publicbooleanhasStringValue() 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()
publicbooleanhasTimestampValue()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. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeArrayValue(ArrayValue value)
publicValue.BuildermergeArrayValue(ArrayValuevalue) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ArrayValue |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
mergeEntityValue(Entity value)
publicValue.BuildermergeEntityValue(Entityvalue)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;
| Parameter | |
|---|---|
| Name | Description |
value |
Entity |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
mergeFrom(Value other)
publicValue.BuildermergeFrom(Valueother)| Parameter | |
|---|---|
| Name | Description |
other |
Value |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicValue.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicValue.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
mergeGeoPointValue(LatLng value)
publicValue.BuildermergeGeoPointValue(LatLngvalue)A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.LatLng |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
mergeKeyValue(Key value)
publicValue.BuildermergeKeyValue(Keyvalue)A key value.
.google.datastore.v1.Key key_value = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Key |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
mergeTimestampValue(Timestamp value)
publicValue.BuildermergeTimestampValue(Timestampvalue)A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalValue.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setArrayValue(ArrayValue value)
publicValue.BuildersetArrayValue(ArrayValuevalue) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ArrayValue |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setArrayValue(ArrayValue.Builder builderForValue)
publicValue.BuildersetArrayValue(ArrayValue.BuilderbuilderForValue) 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ArrayValue.Builder |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setBlobValue(ByteString value)
publicValue.BuildersetBlobValue(ByteStringvalue) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The blobValue to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setBooleanValue(boolean value)
publicValue.BuildersetBooleanValue(booleanvalue)A boolean value.
bool boolean_value = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
boolean The booleanValue to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setDoubleValue(double value)
publicValue.BuildersetDoubleValue(doublevalue)A double value.
double double_value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
double The doubleValue to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setEntityValue(Entity value)
publicValue.BuildersetEntityValue(Entityvalue)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;
| Parameter | |
|---|---|
| Name | Description |
value |
Entity |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setEntityValue(Entity.Builder builderForValue)
publicValue.BuildersetEntityValue(Entity.BuilderbuilderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Entity.Builder |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setExcludeFromIndexes(boolean value)
publicValue.BuildersetExcludeFromIndexes(booleanvalue)If the value should be excluded from all indexes including those defined explicitly.
bool exclude_from_indexes = 19;
| Parameter | |
|---|---|
| Name | Description |
value |
boolean The excludeFromIndexes to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicValue.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setGeoPointValue(LatLng value)
publicValue.BuildersetGeoPointValue(LatLngvalue)A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.LatLng |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setGeoPointValue(LatLng.Builder builderForValue)
publicValue.BuildersetGeoPointValue(LatLng.BuilderbuilderForValue)A geo point value representing a point on the surface of Earth.
.google.type.LatLng geo_point_value = 8;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.LatLng.Builder |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setIntegerValue(long value)
publicValue.BuildersetIntegerValue(longvalue)An integer value.
int64 integer_value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
long The integerValue to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setKeyValue(Key value)
publicValue.BuildersetKeyValue(Keyvalue)A key value.
.google.datastore.v1.Key key_value = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Key |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setKeyValue(Key.Builder builderForValue)
publicValue.BuildersetKeyValue(Key.BuilderbuilderForValue)A key value.
.google.datastore.v1.Key key_value = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Key.Builder |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setMeaning(int value)
publicValue.BuildersetMeaning(intvalue) The meaning field should only be populated for backwards compatibility.
int32 meaning = 14;
| Parameter | |
|---|---|
| Name | Description |
value |
int The meaning to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setNullValue(NullValue value)
publicValue.BuildersetNullValue(NullValuevalue)A null value.
.google.protobuf.NullValue null_value = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
NullValue The nullValue to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setNullValueValue(int value)
publicValue.BuildersetNullValueValue(intvalue)A null value.
.google.protobuf.NullValue null_value = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
int The enum numeric value on the wire for nullValue to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicValue.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setStringValue(String value)
publicValue.BuildersetStringValue(Stringvalue) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
String The stringValue to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setStringValueBytes(ByteString value)
publicValue.BuildersetStringValueBytes(ByteStringvalue) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for stringValue to set. |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
This builder for chaining. |
setTimestampValue(Timestamp value)
publicValue.BuildersetTimestampValue(Timestampvalue)A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setTimestampValue(Timestamp.Builder builderForValue)
publicValue.BuildersetTimestampValue(Timestamp.BuilderbuilderForValue)A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.
.google.protobuf.Timestamp timestamp_value = 10;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalValue.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Value.Builder |
|