Send feedback
Class ListValue (2.36.0)
Stay organized with collections
Save and categorize content based on your preferences.
2.36.0 (latest)
2.34.0
2.33.3
2.32.3
2.31.4
2.30.0
2.29.1
2.28.2
2.27.1
2.26.4
2.25.2
2.24.3
2.23.0
2.22.0
2.21.3
2.20.2
2.19.2
2.18.5
2.17.6
public final class ListValue extends Value<List <? extends Value <? >>>
A Google Cloud Datastore list value. A list value is a list of Value objects.
Static Methods
newBuilder()
public static ListValue . Builder newBuilder ()
Returns a builder for ListValue objects.
of(boolean first, boolean[] other)
public static ListValue of ( boolean first , boolean [] other )
Creates a ListValue object given a number of boolean values.
of(Timestamp first, Timestamp[] other)
public static ListValue of ( Timestamp first , Timestamp [] other )
Creates a ListValue object given a number of Timestamp values.
Parameters
Name
Description
first
com.google.cloud.Timestamp
other
com.google.cloud.Timestamp []
of(Blob first, Blob[] other)
public static ListValue of ( Blob first , Blob [] other )
Creates a ListValue object given a number of Blob values.
Parameters
Name
Description
first
Blob
other
Blob []
of(FullEntity<?> first, FullEntity<?>[] other)
public static ListValue of ( FullEntity <? > first , FullEntity <?>[] other )
Creates a ListValue object given a number of FullEntity values.
of(Key first, Key[] other)
public static ListValue of ( Key first , Key [] other )
Creates a ListValue object given a number of Key values.
Parameters
Name
Description
first
Key
other
Key []
of(LatLng first, LatLng[] other)
public static ListValue of ( LatLng first , LatLng [] other )
Creates a ListValue object given a number of LatLng values.
of(Value<?> first, Value<?>[] other)
public static ListValue of ( Value <? > first , Value <?>[] other )
Creates a ListValue object given a number of Value objects.
Parameters
Name
Description
first
Value <? >
other
Value <? >[]
of(double first, double[] other)
public static ListValue of ( double first , double [] other )
Creates a ListValue object given a number of double values.
of(String first, String[] other)
public static ListValue of ( String first , String [] other )
Creates a ListValue object given a number of string values.
of(List<? extends Value<?>> values)
public static ListValue of ( List <? extends Value <? >> values )
Creates a ListValue object given a list of Value objects.
Parameter
Name
Description
values
List <? extends com.google.cloud.datastore.Value <? >>
of(long first, long[] other)
public static ListValue of ( long first , long [] other )
Creates a ListValue object given a number of long values.
Parameters
Name
Description
first
long
other
long []
Constructors
ListValue(Value<?> first, Value<?>[] other)
public ListValue ( Value <? > first , Value <?>[] other )
Parameters
Name
Description
first
Value <? >
other
Value <? >[]
ListValue(List<? extends Value<?>> values)
public ListValue ( List <? extends Value <? >> values )
Parameter
Name
Description
values
List <? extends com.google.cloud.datastore.Value <? >>
Methods
toBuilder()
public ListValue . Builder toBuilder ()
Returns a builder for the list value object.
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]