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 theListValue
builder.addValue
(double first, double... other) Adds the provided double values to theListValue
builder.addValue
(long first, long... other) Adds the provided long values to theListValue
builder.Adds the providedBlob
values to theListValue
builder.addValue
(FullEntity<?> first, FullEntity<?>... other) Adds the providedFullEntity
values to theListValue
builder.Adds the providedKey
values to theListValue
builder.Adds the providedLatLng
values to theListValue
builder.Adds the provided values to theListValue
builder.addValue
(com.google.cloud.Timestamp first, com.google.cloud.Timestamp... other) Adds the providedTimestamp
values to theListValue
builder.Adds the provided string values to theListValue
builder.build()
Creates aListValue
object.get()
boolean
int
Deprecated.Sets the list of values of thisListValue
builder tovalues
.setExcludeFromIndexes
(boolean excludeFromIndexes) setMeaning
(int meaning) Deprecated.
-
Method Details
-
addValue
Adds the provided values to theListValue
builder. -
addValue
Adds the provided string values to theListValue
builder. -
addValue
Adds the provided long values to theListValue
builder. -
addValue
Adds the provided double values to theListValue
builder. -
addValue
Adds the provided boolean values to theListValue
builder. -
addValue
public ListValue.Builder addValue(com.google.cloud.Timestamp first, com.google.cloud.Timestamp... other) Adds the providedTimestamp
values to theListValue
builder. -
addValue
Adds the providedLatLng
values to theListValue
builder. -
addValue
Adds the providedKey
values to theListValue
builder. -
addValue
Adds the providedFullEntity
values to theListValue
builder. -
addValue
Adds the providedBlob
values to theListValue
builder. -
set
Sets the list of values of thisListValue
builder tovalues
. The provided list is copied.- Specified by:
set
in interfaceValueBuilder<List<? extends Value<?>>,
ListValue, ListValue.Builder> - See Also:
-
get
- Specified by:
get
in interfaceValueBuilder<List<? extends Value<?>>,
ListValue, ListValue.Builder>
-
build
Creates aListValue
object.- Specified by:
build
in interfaceValueBuilder<List<? extends Value<?>>,
ListValue, ListValue.Builder>
-
getValueType
- Specified by:
getValueType
in interfaceValueBuilder<V,
P extends Value<V>, B extends com.google.cloud.datastore.Value.BaseBuilder<V, P, B>>
-
mergeFrom
- Specified by:
mergeFrom
in interfaceValueBuilder<V,
P extends Value<V>, B extends com.google.cloud.datastore.Value.BaseBuilder<V, P, B>>
-
getExcludeFromIndexes
public boolean getExcludeFromIndexes()- Specified by:
getExcludeFromIndexes
in interfaceValueBuilder<V,
P extends Value<V>, B extends com.google.cloud.datastore.Value.BaseBuilder<V, P, B>>
-
setExcludeFromIndexes
- Specified by:
setExcludeFromIndexes
in 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:ValueBuilder
Deprecated. This library preserves the field for backwards compatibility.- Specified by:
getMeaning
in interfaceValueBuilder<V,
P extends Value<V>, B extends com.google.cloud.datastore.Value.BaseBuilder<V, P, B>>
-
setMeaning
Description copied from interface:ValueBuilder
Deprecated. This library preserves the field for backwards compatibility.- Specified by:
setMeaning
in interfaceValueBuilder<V,
P extends Value<V>, B extends com.google.cloud.datastore.Value.BaseBuilder<V, P, B>>
-