Package com.google.cloud.datastore
Class ListValue.Builder
java.lang.Object
com.google.cloud.datastore.ListValue.Builder
- All Implemented Interfaces:
ValueBuilder<List<? extends Value<?>>,ListValue, ListValue.Builder>
- Enclosing class:
- ListValue
-
Method Summary
Modifier and TypeMethodDescriptionaddValue(boolean first, boolean... other) Adds the provided boolean values to theListValuebuilder.addValue(double first, double... other) Adds the provided double values to theListValuebuilder.addValue(long first, long... other) Adds the provided long values to theListValuebuilder.Adds the providedBlobvalues to theListValuebuilder.addValue(FullEntity<?> first, FullEntity<?>... other) Adds the providedFullEntityvalues to theListValuebuilder.Adds the providedKeyvalues to theListValuebuilder.Adds the providedLatLngvalues to theListValuebuilder.Adds the provided values to theListValuebuilder.addValue(com.google.cloud.Timestamp first, com.google.cloud.Timestamp... other) Adds the providedTimestampvalues to theListValuebuilder.Adds the provided string values to theListValuebuilder.build()Creates aListValueobject.get()booleanintDeprecated.Sets the list of values of thisListValuebuilder tovalues.setExcludeFromIndexes(boolean excludeFromIndexes) setMeaning(int meaning) Deprecated.
-
Method Details
-
addValue
Adds the provided values to theListValuebuilder. -
addValue
Adds the provided string values to theListValuebuilder. -
addValue
Adds the provided long values to theListValuebuilder. -
addValue
Adds the provided double values to theListValuebuilder. -
addValue
Adds the provided boolean values to theListValuebuilder. -
addValue
public ListValue.Builder addValue(com.google.cloud.Timestamp first, com.google.cloud.Timestamp... other) Adds the providedTimestampvalues to theListValuebuilder. -
addValue
Adds the providedLatLngvalues to theListValuebuilder. -
addValue
Adds the providedKeyvalues to theListValuebuilder. -
addValue
Adds the providedFullEntityvalues to theListValuebuilder. -
addValue
Adds the providedBlobvalues to theListValuebuilder. -
set
Sets the list of values of thisListValuebuilder tovalues. The provided list is copied.- Specified by:
setin interfaceValueBuilder<List<? extends Value<?>>,ListValue, ListValue.Builder> - See Also:
-
get
- Specified by:
getin interfaceValueBuilder<List<? extends Value<?>>,ListValue, ListValue.Builder>
-
build
Creates aListValueobject.- Specified by:
buildin interfaceValueBuilder<List<? extends Value<?>>,ListValue, ListValue.Builder>
-
getValueType
- Specified by:
getValueTypein interfaceValueBuilder<V,P extends Value<V>, B extends com.google.cloud.datastore.Value.BaseBuilder<V, P, B>>
-
mergeFrom
- Specified by:
mergeFromin interfaceValueBuilder<V,P extends Value<V>, B extends com.google.cloud.datastore.Value.BaseBuilder<V, P, B>>
-
getExcludeFromIndexes
public boolean getExcludeFromIndexes()- Specified by:
getExcludeFromIndexesin interfaceValueBuilder<V,P extends Value<V>, B extends com.google.cloud.datastore.Value.BaseBuilder<V, P, B>>
-
setExcludeFromIndexes
- Specified by:
setExcludeFromIndexesin interfaceValueBuilder<V,P extends Value<V>, B extends com.google.cloud.datastore.Value.BaseBuilder<V, P, B>>
-
getMeaning
public int getMeaning()Description copied from interface:ValueBuilderDeprecated. This library preserves the field for backwards compatibility.- Specified by:
getMeaningin interfaceValueBuilder<V,P extends Value<V>, B extends com.google.cloud.datastore.Value.BaseBuilder<V, P, B>>
-
setMeaning
Description copied from interface:ValueBuilderDeprecated. This library preserves the field for backwards compatibility.- Specified by:
setMeaningin interfaceValueBuilder<V,P extends Value<V>, B extends com.google.cloud.datastore.Value.BaseBuilder<V, P, B>>
-