Skip to content

Commit 90d47d4

Browse files
dpebotjkwlui
authored andcommitted
Re-generate library using /synth.py (#76)
1 parent 6d19d38 commit 90d47d4

File tree

3 files changed

+24
-11
lines changed

3 files changed

+24
-11
lines changed

packages/google-cloud-bigquery-datatransfer/src/v1/doc/google/protobuf/doc_any.js

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,18 @@
9797
* }
9898
*
9999
* @property {string} typeUrl
100-
* A URL/resource name whose content describes the type of the
101-
* serialized protocol buffer message.
100+
* A URL/resource name that uniquely identifies the type of the serialized
101+
* protocol buffer message. The last segment of the URL's path must represent
102+
* the fully qualified name of the type (as in
103+
* `path/google.protobuf.Duration`). The name should be in a canonical form
104+
* (e.g., leading "." is not accepted).
102105
*
103-
* For URLs which use the scheme `http`, `https`, or no scheme, the
104-
* following restrictions and interpretations apply:
106+
* In practice, teams usually precompile into the binary all types that they
107+
* expect it to use in the context of Any. However, for URLs which use the
108+
* scheme `http`, `https`, or no scheme, one can optionally set up a type
109+
* server that maps type URLs to message definitions as follows:
105110
*
106111
* * If no scheme is provided, `https` is assumed.
107-
* * The last segment of the URL's path must represent the fully
108-
* qualified name of the type (as in `path/google.protobuf.Duration`).
109-
* The name should be in a canonical form (e.g., leading "." is
110-
* not accepted).
111112
* * An HTTP GET on the URL must yield a google.protobuf.Type
112113
* value in binary format, or produce an error.
113114
* * Applications are allowed to cache lookup results based on the
@@ -116,6 +117,10 @@
116117
* on changes to types. (Use versioned type names to manage
117118
* breaking changes.)
118119
*
120+
* Note: this functionality is not currently available in the official
121+
* protobuf release, and it is not used for type URLs beginning with
122+
* type.googleapis.com.
123+
*
119124
* Schemes other than `http`, `https` (or the empty scheme) might be
120125
* used with implementation specific semantics.
121126
*

packages/google-cloud-bigquery-datatransfer/src/v1/doc/google/protobuf/doc_field_mask.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,12 @@
218218
* Note that oneof type names ("test_oneof" in this case) cannot be used in
219219
* paths.
220220
*
221+
* ## Field Mask Verification
222+
*
223+
* The implementation of any API method which has a FieldMask type field in the
224+
* request should verify the included field paths, and return an
225+
* `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
226+
*
221227
* @property {string[]} paths
222228
* The set of field mask paths.
223229
*

packages/google-cloud-bigquery-datatransfer/src/v1/doc/google/protobuf/doc_timestamp.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@
7979
* {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
8080
* seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
8181
* are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
82-
* is required, though only UTC (as indicated by "Z") is presently supported.
82+
* is required. A proto3 JSON serializer should always use UTC (as indicated by
83+
* "Z") when printing the Timestamp type and a proto3 JSON parser should be
84+
* able to accept both UTC and other timezones (as indicated by an offset).
8385
*
8486
* For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
8587
* 01:30 UTC on January 15, 2017.
@@ -90,8 +92,8 @@
9092
* to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
9193
* with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
9294
* can use the Joda Time's [`ISODateTimeFormat.dateTime()`](https://cloud.google.com
93-
* http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime())
94-
* to obtain a formatter capable of generating timestamps in this format.
95+
* http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
96+
* ) to obtain a formatter capable of generating timestamps in this format.
9597
*
9698
* @property {number} seconds
9799
* Represents seconds of UTC time since Unix epoch

0 commit comments

Comments
 (0)