Common Types#
The Protobuf definitions containing the common types can be downloaded here:
Messages#
TimeInterval#
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).
The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.
Field |
Type |
Description |
---|---|---|
start (optional) |
google.protobuf.Timestamp |
Optional. Inclusive start of the interval. |
end (optional) |
google.protobuf.Timestamp |
Optional. Exclusive end of the interval. |
LatLon#
Represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, it must adhere to the WGS84 standard.
Field |
Type |
Description |
---|---|---|
latitude |
double |
The latitude in degrees. [-90.0, +90.0]. Required |
longitude |
double |
The longitude in degrees. [-180.0, +180.0]. Required |
Money#
Represents an amount of money with its currency type.
Field |
Type |
Description |
---|---|---|
currency_code |
string |
The three-letter currency code defined in ISO 4217. For example US dollars are expressed as “USD”. |
amount |
int64 |
The price amount in the currency’s smallest unit as specified in ISO 4217. For example US dollars are expressed in cents, like 515 for $5.15. May be negative. |