Package com.google.cloud.datastore
Class ListValue
- java.lang.Object
-
- com.google.cloud.datastore.Value<List<? extends Value<?>>>
-
- com.google.cloud.datastore.ListValue
-
- All Implemented Interfaces:
Serializable
public final class ListValue extends Value<List<? extends Value<?>>>
A Google Cloud Datastore list value. A list value is a list ofValueobjects.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListValue.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListValue.BuildernewBuilder()Returns a builder forListValueobjects.static ListValueof(boolean first, boolean... other)Creates aListValueobject given a number of boolean values.static ListValueof(double first, double... other)Creates aListValueobject given a number of double values.static ListValueof(long first, long... other)Creates aListValueobject given a number of long values.static ListValueof(Blob first, Blob... other)Creates aListValueobject given a number ofBlobvalues.static ListValueof(FullEntity<?> first, FullEntity<?>... other)Creates aListValueobject given a number ofFullEntityvalues.static ListValueof(Key first, Key... other)Creates aListValueobject given a number ofKeyvalues.static ListValueof(LatLng first, LatLng... other)Creates aListValueobject given a number ofLatLngvalues.static ListValueof(Value<?> first, Value<?>... other)Creates aListValueobject given a number ofValueobjects.static ListValueof(com.google.cloud.Timestamp first, com.google.cloud.Timestamp... other)Creates aListValueobject given a number ofTimestampvalues.static ListValueof(String first, String... other)Creates aListValueobject given a number of string values.static ListValueof(List<? extends Value<?>> values)Creates aListValueobject given a list ofValueobjects.ListValue.BuildertoBuilder()Returns a builder for the list value object.
-
-
-
Method Detail
-
toBuilder
public ListValue.Builder toBuilder()
Returns a builder for the list value object.
-
of
public static ListValue of(List<? extends Value<?>> values)
Creates aListValueobject given a list ofValueobjects.
-
of
public static ListValue of(Value<?> first, Value<?>... other)
Creates aListValueobject given a number ofValueobjects.
-
of
public static ListValue of(String first, String... other)
Creates aListValueobject given a number of string values.
-
of
public static ListValue of(long first, long... other)
Creates aListValueobject given a number of long values.
-
of
public static ListValue of(double first, double... other)
Creates aListValueobject given a number of double values.
-
of
public static ListValue of(boolean first, boolean... other)
Creates aListValueobject given a number of boolean values.
-
of
public static ListValue of(com.google.cloud.Timestamp first, com.google.cloud.Timestamp... other)
Creates aListValueobject given a number ofTimestampvalues.
-
of
public static ListValue of(LatLng first, LatLng... other)
Creates aListValueobject given a number ofLatLngvalues.
-
of
public static ListValue of(Key first, Key... other)
Creates aListValueobject given a number ofKeyvalues.
-
of
public static ListValue of(FullEntity<?> first, FullEntity<?>... other)
Creates aListValueobject given a number ofFullEntityvalues.
-
of
public static ListValue of(Blob first, Blob... other)
Creates aListValueobject given a number ofBlobvalues.
-
newBuilder
public static ListValue.Builder newBuilder()
Returns a builder forListValueobjects.
-
-