Class LongValue (2.31.4)
Stay organized with collections
Save and categorize content based on your preferences.
public final class LongValue extends Value<Long>
Static Methods
newBuilder(long value)
public static LongValue.Builder newBuilder(long value)
Parameter |
Name |
Description |
value |
long
|
of(long value)
public static LongValue of(long value)
Parameter |
Name |
Description |
value |
long
|
Constructors
LongValue(long value)
public LongValue(long value)
Parameter |
Name |
Description |
value |
long
|
Methods
toBuilder()
public LongValue.Builder toBuilder()
Overrides
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 2025-09-04 UTC.
[[["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 LongValue (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.LongValue)\n- [2.31.1](/java/docs/reference/google-cloud-datastore/2.31.1/com.google.cloud.datastore.LongValue)\n- [2.30.0](/java/docs/reference/google-cloud-datastore/2.30.0/com.google.cloud.datastore.LongValue)\n- [2.29.1](/java/docs/reference/google-cloud-datastore/2.29.1/com.google.cloud.datastore.LongValue)\n- [2.28.2](/java/docs/reference/google-cloud-datastore/2.28.2/com.google.cloud.datastore.LongValue)\n- [2.27.1](/java/docs/reference/google-cloud-datastore/2.27.1/com.google.cloud.datastore.LongValue)\n- [2.26.4](/java/docs/reference/google-cloud-datastore/2.26.4/com.google.cloud.datastore.LongValue)\n- [2.25.2](/java/docs/reference/google-cloud-datastore/2.25.2/com.google.cloud.datastore.LongValue)\n- [2.24.3](/java/docs/reference/google-cloud-datastore/2.24.3/com.google.cloud.datastore.LongValue)\n- [2.23.0](/java/docs/reference/google-cloud-datastore/2.23.0/com.google.cloud.datastore.LongValue)\n- [2.22.0](/java/docs/reference/google-cloud-datastore/2.22.0/com.google.cloud.datastore.LongValue)\n- [2.21.3](/java/docs/reference/google-cloud-datastore/2.21.3/com.google.cloud.datastore.LongValue)\n- [2.20.2](/java/docs/reference/google-cloud-datastore/2.20.2/com.google.cloud.datastore.LongValue)\n- [2.19.2](/java/docs/reference/google-cloud-datastore/2.19.2/com.google.cloud.datastore.LongValue)\n- [2.18.5](/java/docs/reference/google-cloud-datastore/2.18.5/com.google.cloud.datastore.LongValue)\n- [2.17.6](/java/docs/reference/google-cloud-datastore/2.17.6/com.google.cloud.datastore.LongValue) \n\n public final class LongValue extends Value\u003cLong\u003e\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 LongValue \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(long value)\n\n public static LongValue.Builder newBuilder(long value)\n\n### of(long value)\n\n public static LongValue of(long value)\n\nConstructors\n------------\n\n### LongValue(long value)\n\n public LongValue(long value)\n\nMethods\n-------\n\n### toBuilder()\n\n public LongValue.Builder toBuilder()\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__)"]]