atlas.js-protos 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +85 -0
  3. package/dist/filetree/index.d.ts +2 -0
  4. package/dist/filetree/index.js +8 -0
  5. package/dist/filetree/index.mjs +3 -0
  6. package/dist/filetree/query.d.ts +1 -0
  7. package/dist/filetree/query.js +13 -0
  8. package/dist/filetree/query.mjs +2 -0
  9. package/dist/filetree/tx.d.ts +1 -0
  10. package/dist/filetree/tx.js +11 -0
  11. package/dist/filetree/tx.mjs +2 -0
  12. package/dist/index.d.ts +1 -0
  13. package/dist/index.js +17 -0
  14. package/dist/index.mjs +1 -0
  15. package/dist/storage/index.d.ts +5 -0
  16. package/dist/storage/index.js +16 -0
  17. package/dist/storage/index.mjs +6 -0
  18. package/dist/storage/query.d.ts +1 -0
  19. package/dist/storage/query.js +27 -0
  20. package/dist/storage/query.mjs +2 -0
  21. package/dist/storage/tx.d.ts +1 -0
  22. package/dist/storage/tx.js +21 -0
  23. package/dist/storage/tx.mjs +2 -0
  24. package/dist/types/amino/amino.d.ts +1 -0
  25. package/dist/types/amino/amino.js +2 -0
  26. package/dist/types/amino/amino.mjs +1 -0
  27. package/dist/types/amino/bundle.d.ts +1 -0
  28. package/dist/types/amino/bundle.js +41 -0
  29. package/dist/types/amino/bundle.mjs +5 -0
  30. package/dist/types/atlas/bundle.d.ts +905 -0
  31. package/dist/types/atlas/bundle.js +98 -0
  32. package/dist/types/atlas/bundle.mjs +62 -0
  33. package/dist/types/atlas/filetree/v1/genesis.d.ts +45 -0
  34. package/dist/types/atlas/filetree/v1/genesis.js +107 -0
  35. package/dist/types/atlas/filetree/v1/genesis.mjs +71 -0
  36. package/dist/types/atlas/filetree/v1/params.d.ts +40 -0
  37. package/dist/types/atlas/filetree/v1/params.js +94 -0
  38. package/dist/types/atlas/filetree/v1/params.mjs +58 -0
  39. package/dist/types/atlas/filetree/v1/query.d.ts +330 -0
  40. package/dist/types/atlas/filetree/v1/query.js +567 -0
  41. package/dist/types/atlas/filetree/v1/query.mjs +531 -0
  42. package/dist/types/atlas/filetree/v1/query.rpc.Query.d.ts +28 -0
  43. package/dist/types/atlas/filetree/v1/query.rpc.Query.js +89 -0
  44. package/dist/types/atlas/filetree/v1/query.rpc.Query.mjs +51 -0
  45. package/dist/types/atlas/filetree/v1/query.rpc.func.d.ts +29 -0
  46. package/dist/types/atlas/filetree/v1/query.rpc.func.js +58 -0
  47. package/dist/types/atlas/filetree/v1/query.rpc.func.mjs +55 -0
  48. package/dist/types/atlas/filetree/v1/tree.d.ts +44 -0
  49. package/dist/types/atlas/filetree/v1/tree.js +124 -0
  50. package/dist/types/atlas/filetree/v1/tree.mjs +88 -0
  51. package/dist/types/atlas/filetree/v1/tx.d.ts +260 -0
  52. package/dist/types/atlas/filetree/v1/tx.js +449 -0
  53. package/dist/types/atlas/filetree/v1/tx.mjs +413 -0
  54. package/dist/types/atlas/filetree/v1/tx.rpc.func.d.ts +23 -0
  55. package/dist/types/atlas/filetree/v1/tx.rpc.func.js +34 -0
  56. package/dist/types/atlas/filetree/v1/tx.rpc.func.mjs +31 -0
  57. package/dist/types/atlas/filetree/v1/tx.rpc.msg.d.ts +22 -0
  58. package/dist/types/atlas/filetree/v1/tx.rpc.msg.js +67 -0
  59. package/dist/types/atlas/filetree/v1/tx.rpc.msg.mjs +29 -0
  60. package/dist/types/atlas/rpc.query.d.ts +49 -0
  61. package/dist/types/atlas/rpc.query.js +59 -0
  62. package/dist/types/atlas/rpc.query.mjs +22 -0
  63. package/dist/types/atlas/rpc.tx.d.ts +18 -0
  64. package/dist/types/atlas/rpc.tx.js +52 -0
  65. package/dist/types/atlas/rpc.tx.mjs +15 -0
  66. package/dist/types/atlas/storage/v1/file.d.ts +59 -0
  67. package/dist/types/atlas/storage/v1/file.js +173 -0
  68. package/dist/types/atlas/storage/v1/file.mjs +137 -0
  69. package/dist/types/atlas/storage/v1/genesis.d.ts +45 -0
  70. package/dist/types/atlas/storage/v1/genesis.js +107 -0
  71. package/dist/types/atlas/storage/v1/genesis.mjs +71 -0
  72. package/dist/types/atlas/storage/v1/params.d.ts +48 -0
  73. package/dist/types/atlas/storage/v1/params.js +127 -0
  74. package/dist/types/atlas/storage/v1/params.mjs +91 -0
  75. package/dist/types/atlas/storage/v1/proof.d.ts +145 -0
  76. package/dist/types/atlas/storage/v1/proof.js +318 -0
  77. package/dist/types/atlas/storage/v1/proof.mjs +282 -0
  78. package/dist/types/atlas/storage/v1/provider.d.ts +51 -0
  79. package/dist/types/atlas/storage/v1/provider.js +141 -0
  80. package/dist/types/atlas/storage/v1/provider.mjs +105 -0
  81. package/dist/types/atlas/storage/v1/query.d.ts +914 -0
  82. package/dist/types/atlas/storage/v1/query.js +1570 -0
  83. package/dist/types/atlas/storage/v1/query.mjs +1534 -0
  84. package/dist/types/atlas/storage/v1/query.rpc.Query.d.ts +56 -0
  85. package/dist/types/atlas/storage/v1/query.rpc.Query.js +154 -0
  86. package/dist/types/atlas/storage/v1/query.rpc.Query.mjs +116 -0
  87. package/dist/types/atlas/storage/v1/query.rpc.func.d.ts +78 -0
  88. package/dist/types/atlas/storage/v1/query.rpc.func.js +149 -0
  89. package/dist/types/atlas/storage/v1/query.rpc.func.mjs +146 -0
  90. package/dist/types/atlas/storage/v1/subscription.d.ts +55 -0
  91. package/dist/types/atlas/storage/v1/subscription.js +159 -0
  92. package/dist/types/atlas/storage/v1/subscription.mjs +123 -0
  93. package/dist/types/atlas/storage/v1/tx.d.ts +694 -0
  94. package/dist/types/atlas/storage/v1/tx.js +1203 -0
  95. package/dist/types/atlas/storage/v1/tx.mjs +1167 -0
  96. package/dist/types/atlas/storage/v1/tx.rpc.func.d.ts +56 -0
  97. package/dist/types/atlas/storage/v1/tx.rpc.func.js +77 -0
  98. package/dist/types/atlas/storage/v1/tx.rpc.func.mjs +74 -0
  99. package/dist/types/atlas/storage/v1/tx.rpc.msg.d.ts +35 -0
  100. package/dist/types/atlas/storage/v1/tx.rpc.msg.js +97 -0
  101. package/dist/types/atlas/storage/v1/tx.rpc.msg.mjs +59 -0
  102. package/dist/types/cosmos/bank/v1beta1/authz.d.ts +62 -0
  103. package/dist/types/cosmos/bank/v1beta1/authz.js +123 -0
  104. package/dist/types/cosmos/bank/v1beta1/authz.mjs +87 -0
  105. package/dist/types/cosmos/bank/v1beta1/bank.d.ts +391 -0
  106. package/dist/types/cosmos/bank/v1beta1/bank.js +626 -0
  107. package/dist/types/cosmos/bank/v1beta1/bank.mjs +590 -0
  108. package/dist/types/cosmos/bank/v1beta1/genesis.d.ts +122 -0
  109. package/dist/types/cosmos/bank/v1beta1/genesis.js +224 -0
  110. package/dist/types/cosmos/bank/v1beta1/genesis.mjs +188 -0
  111. package/dist/types/cosmos/bank/v1beta1/query.d.ts +1377 -0
  112. package/dist/types/cosmos/bank/v1beta1/query.js +2038 -0
  113. package/dist/types/cosmos/bank/v1beta1/query.mjs +2002 -0
  114. package/dist/types/cosmos/bank/v1beta1/query.rpc.Query.d.ts +119 -0
  115. package/dist/types/cosmos/bank/v1beta1/query.rpc.Query.js +174 -0
  116. package/dist/types/cosmos/bank/v1beta1/query.rpc.Query.mjs +136 -0
  117. package/dist/types/cosmos/bank/v1beta1/query.rpc.func.d.ts +129 -0
  118. package/dist/types/cosmos/bank/v1beta1/query.rpc.func.js +212 -0
  119. package/dist/types/cosmos/bank/v1beta1/query.rpc.func.mjs +209 -0
  120. package/dist/types/cosmos/bank/v1beta1/tx.d.ts +398 -0
  121. package/dist/types/cosmos/bank/v1beta1/tx.js +599 -0
  122. package/dist/types/cosmos/bank/v1beta1/tx.mjs +563 -0
  123. package/dist/types/cosmos/bank/v1beta1/tx.rpc.func.d.ts +37 -0
  124. package/dist/types/cosmos/bank/v1beta1/tx.rpc.func.js +50 -0
  125. package/dist/types/cosmos/bank/v1beta1/tx.rpc.func.mjs +47 -0
  126. package/dist/types/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +34 -0
  127. package/dist/types/cosmos/bank/v1beta1/tx.rpc.msg.js +73 -0
  128. package/dist/types/cosmos/bank/v1beta1/tx.rpc.msg.mjs +35 -0
  129. package/dist/types/cosmos/base/query/v1beta1/pagination.d.ts +163 -0
  130. package/dist/types/cosmos/base/query/v1beta1/pagination.js +219 -0
  131. package/dist/types/cosmos/base/query/v1beta1/pagination.mjs +183 -0
  132. package/dist/types/cosmos/base/v1beta1/coin.d.ts +193 -0
  133. package/dist/types/cosmos/base/v1beta1/coin.js +320 -0
  134. package/dist/types/cosmos/base/v1beta1/coin.mjs +284 -0
  135. package/dist/types/cosmos/bundle.d.ts +761 -0
  136. package/dist/types/cosmos/bundle.js +97 -0
  137. package/dist/types/cosmos/bundle.mjs +61 -0
  138. package/dist/types/cosmos/msg/v1/msg.d.ts +1 -0
  139. package/dist/types/cosmos/msg/v1/msg.js +2 -0
  140. package/dist/types/cosmos/msg/v1/msg.mjs +1 -0
  141. package/dist/types/cosmos/query/v1/query.d.ts +1 -0
  142. package/dist/types/cosmos/query/v1/query.js +2 -0
  143. package/dist/types/cosmos/query/v1/query.mjs +1 -0
  144. package/dist/types/cosmos/rpc.query.d.ts +24 -0
  145. package/dist/types/cosmos/rpc.query.js +51 -0
  146. package/dist/types/cosmos/rpc.query.mjs +14 -0
  147. package/dist/types/cosmos/rpc.tx.d.ts +10 -0
  148. package/dist/types/cosmos/rpc.tx.js +44 -0
  149. package/dist/types/cosmos/rpc.tx.mjs +7 -0
  150. package/dist/types/cosmos_proto/bundle.d.ts +31 -0
  151. package/dist/types/cosmos_proto/bundle.js +41 -0
  152. package/dist/types/cosmos_proto/bundle.mjs +5 -0
  153. package/dist/types/cosmos_proto/cosmos.d.ts +144 -0
  154. package/dist/types/cosmos_proto/cosmos.js +244 -0
  155. package/dist/types/cosmos_proto/cosmos.mjs +206 -0
  156. package/dist/types/extern.d.ts +11 -0
  157. package/dist/types/extern.js +47 -0
  158. package/dist/types/extern.mjs +41 -0
  159. package/dist/types/gogoproto/bundle.d.ts +1 -0
  160. package/dist/types/gogoproto/bundle.js +41 -0
  161. package/dist/types/gogoproto/bundle.mjs +5 -0
  162. package/dist/types/gogoproto/gogo.d.ts +1 -0
  163. package/dist/types/gogoproto/gogo.js +2 -0
  164. package/dist/types/gogoproto/gogo.mjs +1 -0
  165. package/dist/types/google/api/annotations.d.ts +1 -0
  166. package/dist/types/google/api/annotations.js +2 -0
  167. package/dist/types/google/api/annotations.mjs +1 -0
  168. package/dist/types/google/api/http.d.ts +1006 -0
  169. package/dist/types/google/api/http.js +589 -0
  170. package/dist/types/google/api/http.mjs +553 -0
  171. package/dist/types/google/bundle.d.ts +545 -0
  172. package/dist/types/google/bundle.js +52 -0
  173. package/dist/types/google/bundle.mjs +16 -0
  174. package/dist/types/google/protobuf/descriptor.d.ts +2755 -0
  175. package/dist/types/google/protobuf/descriptor.js +4612 -0
  176. package/dist/types/google/protobuf/descriptor.mjs +4535 -0
  177. package/dist/types/google/protobuf/timestamp.d.ts +319 -0
  178. package/dist/types/google/protobuf/timestamp.js +197 -0
  179. package/dist/types/google/protobuf/timestamp.mjs +161 -0
  180. package/dist/types/helper-func-types.d.ts +40 -0
  181. package/dist/types/helper-func-types.js +57 -0
  182. package/dist/types/helper-func-types.mjs +53 -0
  183. package/dist/types/helpers.d.ts +56 -0
  184. package/dist/types/helpers.js +161 -0
  185. package/dist/types/helpers.mjs +110 -0
  186. package/dist/types/index.d.ts +15 -0
  187. package/dist/types/index.js +32 -0
  188. package/dist/types/index.mjs +16 -0
  189. package/dist/types/registry.d.ts +35 -0
  190. package/dist/types/registry.js +200 -0
  191. package/dist/types/registry.mjs +163 -0
  192. package/dist/types/types.d.ts +74 -0
  193. package/dist/types/types.js +8 -0
  194. package/dist/types/types.mjs +7 -0
  195. package/package.json +97 -0
@@ -0,0 +1,319 @@
1
+ import * as _m0 from "protobufjs/minimal";
2
+ /**
3
+ * A Timestamp represents a point in time independent of any time zone or local
4
+ * calendar, encoded as a count of seconds and fractions of seconds at
5
+ * nanosecond resolution. The count is relative to an epoch at UTC midnight on
6
+ * January 1, 1970, in the proleptic Gregorian calendar which extends the
7
+ * Gregorian calendar backwards to year one.
8
+ *
9
+ * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
10
+ * second table is needed for interpretation, using a [24-hour linear
11
+ * smear](https://developers.google.com/time/smear).
12
+ *
13
+ * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
14
+ * restricting to that range, we ensure that we can convert to and from [RFC
15
+ * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
16
+ *
17
+ * # Examples
18
+ *
19
+ * Example 1: Compute Timestamp from POSIX `time()`.
20
+ *
21
+ * Timestamp timestamp;
22
+ * timestamp.set_seconds(time(NULL));
23
+ * timestamp.set_nanos(0);
24
+ *
25
+ * Example 2: Compute Timestamp from POSIX `gettimeofday()`.
26
+ *
27
+ * struct timeval tv;
28
+ * gettimeofday(&tv, NULL);
29
+ *
30
+ * Timestamp timestamp;
31
+ * timestamp.set_seconds(tv.tv_sec);
32
+ * timestamp.set_nanos(tv.tv_usec * 1000);
33
+ *
34
+ * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
35
+ *
36
+ * FILETIME ft;
37
+ * GetSystemTimeAsFileTime(&ft);
38
+ * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
39
+ *
40
+ * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
41
+ * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
42
+ * Timestamp timestamp;
43
+ * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
44
+ * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
45
+ *
46
+ * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
47
+ *
48
+ * long millis = System.currentTimeMillis();
49
+ *
50
+ * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
51
+ * .setNanos((int) ((millis % 1000) * 1000000)).build();
52
+ *
53
+ * Example 5: Compute Timestamp from Java `Instant.now()`.
54
+ *
55
+ * Instant now = Instant.now();
56
+ *
57
+ * Timestamp timestamp =
58
+ * Timestamp.newBuilder().setSeconds(now.getEpochSecond())
59
+ * .setNanos(now.getNano()).build();
60
+ *
61
+ * Example 6: Compute Timestamp from current time in Python.
62
+ *
63
+ * timestamp = Timestamp()
64
+ * timestamp.GetCurrentTime()
65
+ *
66
+ * # JSON Mapping
67
+ *
68
+ * In JSON format, the Timestamp type is encoded as a string in the
69
+ * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
70
+ * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
71
+ * where {year} is always expressed using four digits while {month}, {day},
72
+ * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
73
+ * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
74
+ * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
75
+ * is required. A ProtoJSON serializer should always use UTC (as indicated by
76
+ * "Z") when printing the Timestamp type and a ProtoJSON parser should be
77
+ * able to accept both UTC and other timezones (as indicated by an offset).
78
+ *
79
+ * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
80
+ * 01:30 UTC on January 15, 2017.
81
+ *
82
+ * In JavaScript, one can convert a Date object to this format using the
83
+ * standard
84
+ * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
85
+ * method. In Python, a standard `datetime.datetime` object can be converted
86
+ * to this format using
87
+ * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
88
+ * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
89
+ * the Joda Time's [`ISODateTimeFormat.dateTime()`](
90
+ * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
91
+ * ) to obtain a formatter capable of generating timestamps in this format.
92
+ * @name Timestamp
93
+ * @package google.protobuf
94
+ * @see proto type: google.protobuf.Timestamp
95
+ */
96
+ export interface Timestamp {
97
+ /**
98
+ * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
99
+ * be between -62135596800 and 253402300799 inclusive (which corresponds to
100
+ * 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
101
+ */
102
+ seconds: number;
103
+ /**
104
+ * Non-negative fractions of a second at nanosecond resolution. This field is
105
+ * the nanosecond portion of the duration, not an alternative to seconds.
106
+ * Negative second values with fractions must still have non-negative nanos
107
+ * values that count forward in time. Must be between 0 and 999,999,999
108
+ * inclusive.
109
+ */
110
+ nanos: number;
111
+ }
112
+ export interface TimestampProtoMsg {
113
+ typeUrl: "/google.protobuf.Timestamp";
114
+ value: Uint8Array;
115
+ }
116
+ /**
117
+ * A Timestamp represents a point in time independent of any time zone or local
118
+ * calendar, encoded as a count of seconds and fractions of seconds at
119
+ * nanosecond resolution. The count is relative to an epoch at UTC midnight on
120
+ * January 1, 1970, in the proleptic Gregorian calendar which extends the
121
+ * Gregorian calendar backwards to year one.
122
+ *
123
+ * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
124
+ * second table is needed for interpretation, using a [24-hour linear
125
+ * smear](https://developers.google.com/time/smear).
126
+ *
127
+ * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
128
+ * restricting to that range, we ensure that we can convert to and from [RFC
129
+ * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
130
+ *
131
+ * # Examples
132
+ *
133
+ * Example 1: Compute Timestamp from POSIX `time()`.
134
+ *
135
+ * Timestamp timestamp;
136
+ * timestamp.set_seconds(time(NULL));
137
+ * timestamp.set_nanos(0);
138
+ *
139
+ * Example 2: Compute Timestamp from POSIX `gettimeofday()`.
140
+ *
141
+ * struct timeval tv;
142
+ * gettimeofday(&tv, NULL);
143
+ *
144
+ * Timestamp timestamp;
145
+ * timestamp.set_seconds(tv.tv_sec);
146
+ * timestamp.set_nanos(tv.tv_usec * 1000);
147
+ *
148
+ * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
149
+ *
150
+ * FILETIME ft;
151
+ * GetSystemTimeAsFileTime(&ft);
152
+ * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
153
+ *
154
+ * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
155
+ * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
156
+ * Timestamp timestamp;
157
+ * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
158
+ * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
159
+ *
160
+ * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
161
+ *
162
+ * long millis = System.currentTimeMillis();
163
+ *
164
+ * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
165
+ * .setNanos((int) ((millis % 1000) * 1000000)).build();
166
+ *
167
+ * Example 5: Compute Timestamp from Java `Instant.now()`.
168
+ *
169
+ * Instant now = Instant.now();
170
+ *
171
+ * Timestamp timestamp =
172
+ * Timestamp.newBuilder().setSeconds(now.getEpochSecond())
173
+ * .setNanos(now.getNano()).build();
174
+ *
175
+ * Example 6: Compute Timestamp from current time in Python.
176
+ *
177
+ * timestamp = Timestamp()
178
+ * timestamp.GetCurrentTime()
179
+ *
180
+ * # JSON Mapping
181
+ *
182
+ * In JSON format, the Timestamp type is encoded as a string in the
183
+ * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
184
+ * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
185
+ * where {year} is always expressed using four digits while {month}, {day},
186
+ * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
187
+ * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
188
+ * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
189
+ * is required. A ProtoJSON serializer should always use UTC (as indicated by
190
+ * "Z") when printing the Timestamp type and a ProtoJSON parser should be
191
+ * able to accept both UTC and other timezones (as indicated by an offset).
192
+ *
193
+ * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
194
+ * 01:30 UTC on January 15, 2017.
195
+ *
196
+ * In JavaScript, one can convert a Date object to this format using the
197
+ * standard
198
+ * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
199
+ * method. In Python, a standard `datetime.datetime` object can be converted
200
+ * to this format using
201
+ * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
202
+ * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
203
+ * the Joda Time's [`ISODateTimeFormat.dateTime()`](
204
+ * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
205
+ * ) to obtain a formatter capable of generating timestamps in this format.
206
+ * @name TimestampSDKType
207
+ * @package google.protobuf
208
+ * @see proto type: google.protobuf.Timestamp
209
+ */
210
+ export interface TimestampSDKType {
211
+ seconds: number;
212
+ nanos: number;
213
+ }
214
+ /**
215
+ * A Timestamp represents a point in time independent of any time zone or local
216
+ * calendar, encoded as a count of seconds and fractions of seconds at
217
+ * nanosecond resolution. The count is relative to an epoch at UTC midnight on
218
+ * January 1, 1970, in the proleptic Gregorian calendar which extends the
219
+ * Gregorian calendar backwards to year one.
220
+ *
221
+ * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
222
+ * second table is needed for interpretation, using a [24-hour linear
223
+ * smear](https://developers.google.com/time/smear).
224
+ *
225
+ * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
226
+ * restricting to that range, we ensure that we can convert to and from [RFC
227
+ * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
228
+ *
229
+ * # Examples
230
+ *
231
+ * Example 1: Compute Timestamp from POSIX `time()`.
232
+ *
233
+ * Timestamp timestamp;
234
+ * timestamp.set_seconds(time(NULL));
235
+ * timestamp.set_nanos(0);
236
+ *
237
+ * Example 2: Compute Timestamp from POSIX `gettimeofday()`.
238
+ *
239
+ * struct timeval tv;
240
+ * gettimeofday(&tv, NULL);
241
+ *
242
+ * Timestamp timestamp;
243
+ * timestamp.set_seconds(tv.tv_sec);
244
+ * timestamp.set_nanos(tv.tv_usec * 1000);
245
+ *
246
+ * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
247
+ *
248
+ * FILETIME ft;
249
+ * GetSystemTimeAsFileTime(&ft);
250
+ * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
251
+ *
252
+ * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
253
+ * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
254
+ * Timestamp timestamp;
255
+ * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
256
+ * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
257
+ *
258
+ * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
259
+ *
260
+ * long millis = System.currentTimeMillis();
261
+ *
262
+ * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
263
+ * .setNanos((int) ((millis % 1000) * 1000000)).build();
264
+ *
265
+ * Example 5: Compute Timestamp from Java `Instant.now()`.
266
+ *
267
+ * Instant now = Instant.now();
268
+ *
269
+ * Timestamp timestamp =
270
+ * Timestamp.newBuilder().setSeconds(now.getEpochSecond())
271
+ * .setNanos(now.getNano()).build();
272
+ *
273
+ * Example 6: Compute Timestamp from current time in Python.
274
+ *
275
+ * timestamp = Timestamp()
276
+ * timestamp.GetCurrentTime()
277
+ *
278
+ * # JSON Mapping
279
+ *
280
+ * In JSON format, the Timestamp type is encoded as a string in the
281
+ * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
282
+ * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
283
+ * where {year} is always expressed using four digits while {month}, {day},
284
+ * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
285
+ * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
286
+ * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
287
+ * is required. A ProtoJSON serializer should always use UTC (as indicated by
288
+ * "Z") when printing the Timestamp type and a ProtoJSON parser should be
289
+ * able to accept both UTC and other timezones (as indicated by an offset).
290
+ *
291
+ * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
292
+ * 01:30 UTC on January 15, 2017.
293
+ *
294
+ * In JavaScript, one can convert a Date object to this format using the
295
+ * standard
296
+ * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
297
+ * method. In Python, a standard `datetime.datetime` object can be converted
298
+ * to this format using
299
+ * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
300
+ * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
301
+ * the Joda Time's [`ISODateTimeFormat.dateTime()`](
302
+ * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
303
+ * ) to obtain a formatter capable of generating timestamps in this format.
304
+ * @name Timestamp
305
+ * @package google.protobuf
306
+ * @see proto type: google.protobuf.Timestamp
307
+ */
308
+ export declare const Timestamp: {
309
+ typeUrl: string;
310
+ is(o: any): o is Timestamp;
311
+ isSDK(o: any): o is TimestampSDKType;
312
+ encode(message: Timestamp, writer?: _m0.Writer): _m0.Writer;
313
+ decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp;
314
+ fromPartial(object: Partial<Timestamp>): Timestamp;
315
+ fromProtoMsg(message: TimestampProtoMsg): Timestamp;
316
+ toProto(message: Timestamp): Uint8Array;
317
+ toProtoMsg(message: Timestamp): TimestampProtoMsg;
318
+ registerTypeUrl(): void;
319
+ };
@@ -0,0 +1,197 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.Timestamp = void 0;
37
+ //@ts-nocheck
38
+ const _m0 = __importStar(require("protobufjs/minimal"));
39
+ const registry_1 = require("../../registry");
40
+ function createBaseTimestamp() {
41
+ return {
42
+ seconds: 0,
43
+ nanos: 0
44
+ };
45
+ }
46
+ /**
47
+ * A Timestamp represents a point in time independent of any time zone or local
48
+ * calendar, encoded as a count of seconds and fractions of seconds at
49
+ * nanosecond resolution. The count is relative to an epoch at UTC midnight on
50
+ * January 1, 1970, in the proleptic Gregorian calendar which extends the
51
+ * Gregorian calendar backwards to year one.
52
+ *
53
+ * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
54
+ * second table is needed for interpretation, using a [24-hour linear
55
+ * smear](https://developers.google.com/time/smear).
56
+ *
57
+ * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
58
+ * restricting to that range, we ensure that we can convert to and from [RFC
59
+ * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
60
+ *
61
+ * # Examples
62
+ *
63
+ * Example 1: Compute Timestamp from POSIX `time()`.
64
+ *
65
+ * Timestamp timestamp;
66
+ * timestamp.set_seconds(time(NULL));
67
+ * timestamp.set_nanos(0);
68
+ *
69
+ * Example 2: Compute Timestamp from POSIX `gettimeofday()`.
70
+ *
71
+ * struct timeval tv;
72
+ * gettimeofday(&tv, NULL);
73
+ *
74
+ * Timestamp timestamp;
75
+ * timestamp.set_seconds(tv.tv_sec);
76
+ * timestamp.set_nanos(tv.tv_usec * 1000);
77
+ *
78
+ * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
79
+ *
80
+ * FILETIME ft;
81
+ * GetSystemTimeAsFileTime(&ft);
82
+ * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
83
+ *
84
+ * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
85
+ * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
86
+ * Timestamp timestamp;
87
+ * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
88
+ * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
89
+ *
90
+ * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
91
+ *
92
+ * long millis = System.currentTimeMillis();
93
+ *
94
+ * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
95
+ * .setNanos((int) ((millis % 1000) * 1000000)).build();
96
+ *
97
+ * Example 5: Compute Timestamp from Java `Instant.now()`.
98
+ *
99
+ * Instant now = Instant.now();
100
+ *
101
+ * Timestamp timestamp =
102
+ * Timestamp.newBuilder().setSeconds(now.getEpochSecond())
103
+ * .setNanos(now.getNano()).build();
104
+ *
105
+ * Example 6: Compute Timestamp from current time in Python.
106
+ *
107
+ * timestamp = Timestamp()
108
+ * timestamp.GetCurrentTime()
109
+ *
110
+ * # JSON Mapping
111
+ *
112
+ * In JSON format, the Timestamp type is encoded as a string in the
113
+ * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
114
+ * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
115
+ * where {year} is always expressed using four digits while {month}, {day},
116
+ * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
117
+ * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
118
+ * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
119
+ * is required. A ProtoJSON serializer should always use UTC (as indicated by
120
+ * "Z") when printing the Timestamp type and a ProtoJSON parser should be
121
+ * able to accept both UTC and other timezones (as indicated by an offset).
122
+ *
123
+ * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
124
+ * 01:30 UTC on January 15, 2017.
125
+ *
126
+ * In JavaScript, one can convert a Date object to this format using the
127
+ * standard
128
+ * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
129
+ * method. In Python, a standard `datetime.datetime` object can be converted
130
+ * to this format using
131
+ * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
132
+ * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
133
+ * the Joda Time's [`ISODateTimeFormat.dateTime()`](
134
+ * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
135
+ * ) to obtain a formatter capable of generating timestamps in this format.
136
+ * @name Timestamp
137
+ * @package google.protobuf
138
+ * @see proto type: google.protobuf.Timestamp
139
+ */
140
+ exports.Timestamp = {
141
+ typeUrl: "/google.protobuf.Timestamp",
142
+ is(o) {
143
+ return o && (o.$typeUrl === exports.Timestamp.typeUrl || typeof o.seconds === "bigint" && typeof o.nanos === "number");
144
+ },
145
+ isSDK(o) {
146
+ return o && (o.$typeUrl === exports.Timestamp.typeUrl || typeof o.seconds === "bigint" && typeof o.nanos === "number");
147
+ },
148
+ encode(message, writer = _m0.Writer.create()) {
149
+ if (message.seconds !== 0) {
150
+ writer.uint32(8).int64(message.seconds);
151
+ }
152
+ if (message.nanos !== 0) {
153
+ writer.uint32(16).int32(message.nanos);
154
+ }
155
+ return writer;
156
+ },
157
+ decode(input, length) {
158
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
159
+ let end = length === undefined ? reader.len : reader.pos + length;
160
+ const message = createBaseTimestamp();
161
+ while (reader.pos < end) {
162
+ const tag = reader.uint32();
163
+ switch (tag >>> 3) {
164
+ case 1:
165
+ message.seconds = Number(reader.int64().toString());
166
+ break;
167
+ case 2:
168
+ message.nanos = reader.int32();
169
+ break;
170
+ default:
171
+ reader.skipType(tag & 7);
172
+ break;
173
+ }
174
+ }
175
+ return message;
176
+ },
177
+ fromPartial(object) {
178
+ const message = createBaseTimestamp();
179
+ message.seconds = object.seconds !== undefined && object.seconds !== null ? Number(object.seconds.toString()) : 0;
180
+ message.nanos = object.nanos ?? 0;
181
+ return message;
182
+ },
183
+ fromProtoMsg(message) {
184
+ return exports.Timestamp.decode(message.value);
185
+ },
186
+ toProto(message) {
187
+ return exports.Timestamp.encode(message).finish();
188
+ },
189
+ toProtoMsg(message) {
190
+ return {
191
+ typeUrl: "/google.protobuf.Timestamp",
192
+ value: exports.Timestamp.encode(message).finish()
193
+ };
194
+ },
195
+ registerTypeUrl() { }
196
+ };
197
+ registry_1.GlobalDecoderRegistry.register(exports.Timestamp.typeUrl, exports.Timestamp);
@@ -0,0 +1,161 @@
1
+ //@ts-nocheck
2
+ import * as _m0 from "protobufjs/minimal";
3
+ import { GlobalDecoderRegistry } from "../../registry";
4
+ function createBaseTimestamp() {
5
+ return {
6
+ seconds: 0,
7
+ nanos: 0
8
+ };
9
+ }
10
+ /**
11
+ * A Timestamp represents a point in time independent of any time zone or local
12
+ * calendar, encoded as a count of seconds and fractions of seconds at
13
+ * nanosecond resolution. The count is relative to an epoch at UTC midnight on
14
+ * January 1, 1970, in the proleptic Gregorian calendar which extends the
15
+ * Gregorian calendar backwards to year one.
16
+ *
17
+ * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
18
+ * second table is needed for interpretation, using a [24-hour linear
19
+ * smear](https://developers.google.com/time/smear).
20
+ *
21
+ * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
22
+ * restricting to that range, we ensure that we can convert to and from [RFC
23
+ * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
24
+ *
25
+ * # Examples
26
+ *
27
+ * Example 1: Compute Timestamp from POSIX `time()`.
28
+ *
29
+ * Timestamp timestamp;
30
+ * timestamp.set_seconds(time(NULL));
31
+ * timestamp.set_nanos(0);
32
+ *
33
+ * Example 2: Compute Timestamp from POSIX `gettimeofday()`.
34
+ *
35
+ * struct timeval tv;
36
+ * gettimeofday(&tv, NULL);
37
+ *
38
+ * Timestamp timestamp;
39
+ * timestamp.set_seconds(tv.tv_sec);
40
+ * timestamp.set_nanos(tv.tv_usec * 1000);
41
+ *
42
+ * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
43
+ *
44
+ * FILETIME ft;
45
+ * GetSystemTimeAsFileTime(&ft);
46
+ * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
47
+ *
48
+ * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
49
+ * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
50
+ * Timestamp timestamp;
51
+ * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
52
+ * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
53
+ *
54
+ * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
55
+ *
56
+ * long millis = System.currentTimeMillis();
57
+ *
58
+ * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
59
+ * .setNanos((int) ((millis % 1000) * 1000000)).build();
60
+ *
61
+ * Example 5: Compute Timestamp from Java `Instant.now()`.
62
+ *
63
+ * Instant now = Instant.now();
64
+ *
65
+ * Timestamp timestamp =
66
+ * Timestamp.newBuilder().setSeconds(now.getEpochSecond())
67
+ * .setNanos(now.getNano()).build();
68
+ *
69
+ * Example 6: Compute Timestamp from current time in Python.
70
+ *
71
+ * timestamp = Timestamp()
72
+ * timestamp.GetCurrentTime()
73
+ *
74
+ * # JSON Mapping
75
+ *
76
+ * In JSON format, the Timestamp type is encoded as a string in the
77
+ * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
78
+ * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
79
+ * where {year} is always expressed using four digits while {month}, {day},
80
+ * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
81
+ * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
82
+ * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
83
+ * is required. A ProtoJSON serializer should always use UTC (as indicated by
84
+ * "Z") when printing the Timestamp type and a ProtoJSON parser should be
85
+ * able to accept both UTC and other timezones (as indicated by an offset).
86
+ *
87
+ * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
88
+ * 01:30 UTC on January 15, 2017.
89
+ *
90
+ * In JavaScript, one can convert a Date object to this format using the
91
+ * standard
92
+ * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
93
+ * method. In Python, a standard `datetime.datetime` object can be converted
94
+ * to this format using
95
+ * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
96
+ * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
97
+ * the Joda Time's [`ISODateTimeFormat.dateTime()`](
98
+ * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
99
+ * ) to obtain a formatter capable of generating timestamps in this format.
100
+ * @name Timestamp
101
+ * @package google.protobuf
102
+ * @see proto type: google.protobuf.Timestamp
103
+ */
104
+ export const Timestamp = {
105
+ typeUrl: "/google.protobuf.Timestamp",
106
+ is(o) {
107
+ return o && (o.$typeUrl === Timestamp.typeUrl || typeof o.seconds === "bigint" && typeof o.nanos === "number");
108
+ },
109
+ isSDK(o) {
110
+ return o && (o.$typeUrl === Timestamp.typeUrl || typeof o.seconds === "bigint" && typeof o.nanos === "number");
111
+ },
112
+ encode(message, writer = _m0.Writer.create()) {
113
+ if (message.seconds !== 0) {
114
+ writer.uint32(8).int64(message.seconds);
115
+ }
116
+ if (message.nanos !== 0) {
117
+ writer.uint32(16).int32(message.nanos);
118
+ }
119
+ return writer;
120
+ },
121
+ decode(input, length) {
122
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
123
+ let end = length === undefined ? reader.len : reader.pos + length;
124
+ const message = createBaseTimestamp();
125
+ while (reader.pos < end) {
126
+ const tag = reader.uint32();
127
+ switch (tag >>> 3) {
128
+ case 1:
129
+ message.seconds = Number(reader.int64().toString());
130
+ break;
131
+ case 2:
132
+ message.nanos = reader.int32();
133
+ break;
134
+ default:
135
+ reader.skipType(tag & 7);
136
+ break;
137
+ }
138
+ }
139
+ return message;
140
+ },
141
+ fromPartial(object) {
142
+ const message = createBaseTimestamp();
143
+ message.seconds = object.seconds !== undefined && object.seconds !== null ? Number(object.seconds.toString()) : 0;
144
+ message.nanos = object.nanos ?? 0;
145
+ return message;
146
+ },
147
+ fromProtoMsg(message) {
148
+ return Timestamp.decode(message.value);
149
+ },
150
+ toProto(message) {
151
+ return Timestamp.encode(message).finish();
152
+ },
153
+ toProtoMsg(message) {
154
+ return {
155
+ typeUrl: "/google.protobuf.Timestamp",
156
+ value: Timestamp.encode(message).finish()
157
+ };
158
+ },
159
+ registerTypeUrl() { }
160
+ };
161
+ GlobalDecoderRegistry.register(Timestamp.typeUrl, Timestamp);