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