Class ListValue.Builder (2.18.5)

public static final class ListValue.Builder extends Value.BaseBuilder<List<? extends Value<?>>,ListValue,ListValue.Builder>

Inheritance

java.lang.Object > com.google.cloud.datastore.Value.BaseBuilder > ListValue.Builder

Methods

addValue(boolean first, boolean[] other)

public ListValue.Builder addValue(boolean first, boolean[] other)

Adds the provided boolean values to the ListValue builder.

Parameters
NameDescription
firstboolean
otherboolean[]
Returns
TypeDescription
ListValue.Builder

addValue(Timestamp first, Timestamp[] other)

public ListValue.Builder addValue(Timestamp first, Timestamp[] other)

Adds the provided Timestamp values to the ListValue builder.

Parameters
NameDescription
firstcom.google.cloud.Timestamp
othercom.google.cloud.Timestamp[]
Returns
TypeDescription
ListValue.Builder

addValue(Blob first, Blob[] other)

public ListValue.Builder addValue(Blob first, Blob[] other)

Adds the provided Blob values to the ListValue builder.

Parameters
NameDescription
firstBlob
otherBlob[]
Returns
TypeDescription
ListValue.Builder

addValue(FullEntity<?> first, FullEntity<?>[] other)

public ListValue.Builder addValue(FullEntity<?> first, FullEntity<?>[] other)

Adds the provided FullEntity values to the ListValue builder.

Parameters
NameDescription
firstFullEntity<?>
otherFullEntity<?>[]
Returns
TypeDescription
ListValue.Builder

addValue(Key first, Key[] other)

public ListValue.Builder addValue(Key first, Key[] other)

Adds the provided Key values to the ListValue builder.

Parameters
NameDescription
firstKey
otherKey[]
Returns
TypeDescription
ListValue.Builder

addValue(LatLng first, LatLng[] other)

public ListValue.Builder addValue(LatLng first, LatLng[] other)

Adds the provided LatLng values to the ListValue builder.

Parameters
NameDescription
firstLatLng
otherLatLng[]
Returns
TypeDescription
ListValue.Builder

addValue(Value<?> first, Value<?>[] other)

public ListValue.Builder addValue(Value<?> first, Value<?>[] other)

Adds the provided values to the ListValue builder.

Parameters
NameDescription
firstValue<?>
otherValue<?>[]
Returns
TypeDescription
ListValue.Builder

addValue(double first, double[] other)

public ListValue.Builder addValue(double first, double[] other)

Adds the provided double values to the ListValue builder.

Parameters
NameDescription
firstdouble
otherdouble[]
Returns
TypeDescription
ListValue.Builder

addValue(String first, String[] other)

public ListValue.Builder addValue(String first, String[] other)

Adds the provided string values to the ListValue builder.

Parameters
NameDescription
firstString
otherString[]
Returns
TypeDescription
ListValue.Builder

addValue(long first, long[] other)

public ListValue.Builder addValue(long first, long[] other)

Adds the provided long values to the ListValue builder.

Parameters
NameDescription
firstlong
otherlong[]
Returns
TypeDescription
ListValue.Builder

build()

public ListValue build()

Creates a ListValue object.

Returns
TypeDescription
ListValue
Overrides
com.google.cloud.datastore.Value.BaseBuilder.build()

get()

public List<? extends Value<?>> get()
Returns
TypeDescription
List<? extends com.google.cloud.datastore.Value<?>>
Overrides
com.google.cloud.datastore.Value.BaseBuilder.get()

set(List<? extends Value<?>> values)

public ListValue.Builder set(List<? extends Value<?>> values)

Sets the list of values of this ListValue builder to values. The provided list is copied. See Also: com.google.cloud.datastore.Value.BaseBuilder#set(java.lang.Object)

Parameter
NameDescription
valuesList<? extends com.google.cloud.datastore.Value<?>>
Returns
TypeDescription
ListValue.Builder
Overrides
com.google.cloud.datastore.Value.BaseBuilder.set(V)