New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timestamp Precision #598
Comments
Hello, |
|
Thank you, @dansiviter |
We will implement the change for timestamp and receiveTimestamp fields in the |
Fix #598 Changing timestamp type to java.time.Instant to support nanosec resolution. Keeping current get/set methods to operate with milliseconds. Updating unit tests to reflect type change and additional API.
Changes timestamp type to java.time.Instant to support nanosec resolution. Keeps current get/set methods to operate with milliseconds. Updates unit tests to reflect type change and additional API. Fixes #598
Is your feature request related to a problem? Please describe.
Although the underlying
com.google.logging.v2.LogEntry
supports timestamps with nanosecond precision,com.google.cloud.logging.LogEntry
only supports millisecond truncating the data.Describe the solution you'd like
Replace the current
long
value representing milliseconds withcom.google.cloud.Timestamp
.Describe alternatives you've considered
The only way is to use the protobuf classes directly or using ReST API which is cumbersome.
Additional context
N/A
The text was updated successfully, but these errors were encountered: