[[["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 2025-09-04 UTC."],[],[],null,["# Class ListValue (2.31.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.31.2 (latest)](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.ListValue)\n- [2.31.1](/java/docs/reference/google-cloud-datastore/2.31.1/com.google.cloud.datastore.ListValue)\n- [2.30.0](/java/docs/reference/google-cloud-datastore/2.30.0/com.google.cloud.datastore.ListValue)\n- [2.29.1](/java/docs/reference/google-cloud-datastore/2.29.1/com.google.cloud.datastore.ListValue)\n- [2.28.2](/java/docs/reference/google-cloud-datastore/2.28.2/com.google.cloud.datastore.ListValue)\n- [2.27.1](/java/docs/reference/google-cloud-datastore/2.27.1/com.google.cloud.datastore.ListValue)\n- [2.26.4](/java/docs/reference/google-cloud-datastore/2.26.4/com.google.cloud.datastore.ListValue)\n- [2.25.2](/java/docs/reference/google-cloud-datastore/2.25.2/com.google.cloud.datastore.ListValue)\n- [2.24.3](/java/docs/reference/google-cloud-datastore/2.24.3/com.google.cloud.datastore.ListValue)\n- [2.23.0](/java/docs/reference/google-cloud-datastore/2.23.0/com.google.cloud.datastore.ListValue)\n- [2.22.0](/java/docs/reference/google-cloud-datastore/2.22.0/com.google.cloud.datastore.ListValue)\n- [2.21.3](/java/docs/reference/google-cloud-datastore/2.21.3/com.google.cloud.datastore.ListValue)\n- [2.20.2](/java/docs/reference/google-cloud-datastore/2.20.2/com.google.cloud.datastore.ListValue)\n- [2.19.2](/java/docs/reference/google-cloud-datastore/2.19.2/com.google.cloud.datastore.ListValue)\n- [2.18.5](/java/docs/reference/google-cloud-datastore/2.18.5/com.google.cloud.datastore.ListValue)\n- [2.17.6](/java/docs/reference/google-cloud-datastore/2.17.6/com.google.cloud.datastore.ListValue) \n\n public final class ListValue extends Value\u003cList\u003c? extends Value\u003c?\u003e\u003e\u003e\n\nA Google Cloud Datastore list value. A list value is a list of [Value](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.Value) objects. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e [Value](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.Value) \\\u003e ListValue \n\nInherited Members\n-----------------\n\n[Value.equals(Object)](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.Value#com_google_cloud_datastore_Value_equals_java_lang_Object_) \n[Value.excludeFromIndexes()](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.Value#com_google_cloud_datastore_Value_excludeFromIndexes__) \n[Value.fromPb(Value)](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.Value#com_google_cloud_datastore_Value_fromPb_com_google_datastore_v1_Value_) \n[Value.get()](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.Value#com_google_cloud_datastore_Value_get__) \n[Value.getType()](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.Value#com_google_cloud_datastore_Value_getType__) \n[Value.hashCode()](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.Value#com_google_cloud_datastore_Value_hashCode__) \n[Value.toBuilder()](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.Value#com_google_cloud_datastore_Value_toBuilder__) \n[Value.toString()](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.Value#com_google_cloud_datastore_Value_toString__) \n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nStatic Methods\n--------------\n\n### newBuilder()\n\n public static ListValue.Builder newBuilder()\n\nReturns a builder for `ListValue` objects.\n\n### of(boolean first, boolean\\[\\] other)\n\n public static ListValue of(boolean first, boolean[] other)\n\nCreates a `ListValue` object given a number of boolean values.\n\n### of(Timestamp first, Timestamp\\[\\] other)\n\n public static ListValue of(Timestamp first, Timestamp[] other)\n\nCreates a `ListValue` object given a number of `Timestamp` values.\n\n### of(Blob first, Blob\\[\\] other)\n\n public static ListValue of(Blob first, Blob[] other)\n\nCreates a `ListValue` object given a number of `Blob` values.\n\n### of(FullEntity\\\u003c?\\\u003e first, FullEntity\\\u003c?\\\u003e\\[\\] other)\n\n public static ListValue of(FullEntity\u003c?\u003e first, FullEntity\u003c?\u003e[] other)\n\nCreates a `ListValue` object given a number of `FullEntity` values.\n\n### of(Key first, Key\\[\\] other)\n\n public static ListValue of(Key first, Key[] other)\n\nCreates a `ListValue` object given a number of `Key` values.\n\n### of(LatLng first, LatLng\\[\\] other)\n\n public static ListValue of(LatLng first, LatLng[] other)\n\nCreates a `ListValue` object given a number of `LatLng` values.\n\n### of(Value\\\u003c?\\\u003e first, Value\\\u003c?\\\u003e\\[\\] other)\n\n public static ListValue of(Value\u003c?\u003e first, Value\u003c?\u003e[] other)\n\nCreates a `ListValue` object given a number of `Value` objects.\n\n### of(double first, double\\[\\] other)\n\n public static ListValue of(double first, double[] other)\n\nCreates a `ListValue` object given a number of double values.\n\n### of(String first, String\\[\\] other)\n\n public static ListValue of(String first, String[] other)\n\nCreates a `ListValue` object given a number of string values.\n\n### of(List\\\u003c? extends Value\\\u003c?\\\u003e\\\u003e values)\n\n public static ListValue of(List\u003c? extends Value\u003c?\u003e\u003e values)\n\nCreates a `ListValue` object given a list of `Value` objects.\n\n### of(long first, long\\[\\] other)\n\n public static ListValue of(long first, long[] other)\n\nCreates a `ListValue` object given a number of long values.\n\nConstructors\n------------\n\n### ListValue(Value\\\u003c?\\\u003e first, Value\\\u003c?\\\u003e\\[\\] other)\n\n public ListValue(Value\u003c?\u003e first, Value\u003c?\u003e[] other)\n\n### ListValue(List\\\u003c? extends Value\\\u003c?\\\u003e\\\u003e values)\n\n public ListValue(List\u003c? extends Value\u003c?\u003e\u003e values)\n\nMethods\n-------\n\n### toBuilder()\n\n public ListValue.Builder toBuilder()\n\nReturns a builder for the list value object.\n\n**Overrides** \n[Value\\\u003cV\\\u003e.toBuilder()](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.Value#com_google_cloud_datastore_Value_toBuilder__)"]]