- 3.27.0 (latest)
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.1
- 3.22.0
- 3.21.0
- 3.20.1
- 3.19.0
- 3.18.0
- 3.17.2
- 3.16.0
- 3.15.0
- 3.14.1
- 3.13.0
- 3.12.0
- 3.11.4
- 3.4.0
- 3.3.6
- 3.2.0
- 3.1.0
- 3.0.1
- 2.34.4
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.1
- 2.29.0
- 2.28.1
- 2.27.1
- 2.26.0
- 2.25.2
- 2.24.1
- 2.23.3
- 2.22.1
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.1
- 2.15.0
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.2
- 2.5.0
- 2.4.0
- 2.3.1
- 2.2.0
- 2.1.0
- 2.0.0
- 1.28.2
- 1.27.2
- 1.26.1
- 1.25.0
- 1.24.0
- 1.23.1
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
API documentation for bigquery_v2.types.Timestamp
class.
Inheritance
builtins.object > google.protobuf.pyext._message.CMessage > builtins.object > google.protobuf.message.Message > builtins.object > google.protobuf.internal.well_known_types.Timestamp > TimestampMethods
ByteSize
Returns the size of the message in bytes.
Clear
Clears the message.
ClearExtension
Clears a message field.
ClearField
Clears a message field.
CopyFrom
Copies a protocol message into the current message.
DiscardUnknownFields
Discards the unknown fields.
FindInitializationErrors
Finds unset required fields.
FromDatetime
FromDatetime(dt)
Converts datetime to Timestamp.
FromJsonString
FromJsonString(value)
Parse a RFC 3339 date string format to Timestamp.
Type | Description |
ValueError | On parsing problems. |
FromMicroseconds
FromMicroseconds(micros)
Converts microseconds since epoch to Timestamp.
FromMilliseconds
FromMilliseconds(millis)
Converts milliseconds since epoch to Timestamp.
FromNanoseconds
FromNanoseconds(nanos)
Converts nanoseconds since epoch to Timestamp.
FromSeconds
FromSeconds(seconds)
Converts seconds since epoch to Timestamp.
FromString
Creates new method instance from given serialized data.
GetCurrentTime
GetCurrentTime()
Get the current UTC into Timestamp.
HasExtension
Checks if a message field is set.
HasField
Checks if a message field is set.
IsInitialized
Checks if all required fields of a protocol message are set.
ListFields
Lists all set fields of a message.
MergeFrom
Merges a protocol message into the current message.
MergeFromString
Merges a serialized message into the current message.
ParseFromString
Parses a serialized message into the current message.
RegisterExtension
Registers an extension with the current message.
SerializePartialToString
Serializes the message to a string, even if it isn't initialized.
SerializeToString
Serializes the message to a string, only for initialized messages.
SetInParent
Sets the has bit of the given field in its parent message.
ToDatetime
ToDatetime(tzinfo=None)
Converts Timestamp to a datetime.
ToJsonString
ToJsonString()
Converts Timestamp to RFC 3339 date string format.
ToMicroseconds
ToMicroseconds()
Converts Timestamp to microseconds since epoch.
ToMilliseconds
ToMilliseconds()
Converts Timestamp to milliseconds since epoch.
ToNanoseconds
ToNanoseconds()
Converts Timestamp to nanoseconds since epoch.
ToSeconds
ToSeconds()
Converts Timestamp to seconds since epoch.
UnknownFields
Parse unknown field set
WhichOneof
Returns the name of the field set inside a oneof, or None if no field is set.
__getstate__
__getstate__()
Support the pickle protocol.
__setstate__
__setstate__(state)
Support the pickle protocol.