Skip to content

Commit d95a972

Browse files
committed
Re-generate library using /synth.py
1 parent 9199082 commit d95a972

24 files changed

+203
-12
lines changed

.appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ test_script:
1717
build: off
1818

1919
matrix:
20-
fast_finish: true
20+
fast_finish: true

.eslintignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
**/node_modules/*
1+
node_modules/*
2+
samples/node_modules/*
23
src/**/doc/*

.jsdoc.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Copyright 2017 Google Inc. All Rights Reserved.
2+
* Copyright 2018 Google LLC. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -36,7 +36,7 @@ module.exports = {
3636
includePattern: '\\.js$'
3737
},
3838
templates: {
39-
copyright: 'Copyright 2017 Google, Inc.',
39+
copyright: 'Copyright 2018 Google, LLC.',
4040
includeDate: false,
4141
sourceFiles: false,
4242
systemName: '@google-cloud/bigtable',

.kokoro/continuous/node10/common.cfg

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Build logs will be here
4+
action {
5+
define_artifacts {
6+
regex: "**/*sponge_log.xml"
7+
}
8+
}
9+
10+
# Download trampoline resources.
11+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
12+
13+
# Use the trampoline script to run in docker.
14+
build_file: "nodejs-bigtable/.kokoro/trampoline.sh"
15+
16+
# Configure the docker image for kokoro-trampoline.
17+
env_vars: {
18+
key: "TRAMPOLINE_IMAGE"
19+
value: "gcr.io/cloud-devrel-kokoro-resources/node:10"
20+
}
21+
env_vars: {
22+
key: "TRAMPOLINE_BUILD_FILE"
23+
value: "github/nodejs-bigtable/.kokoro/test.sh"
24+
}

.kokoro/continuous/node10/test.cfg

Whitespace-only changes.

.kokoro/continuous/node6/common.cfg

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Build logs will be here
4+
action {
5+
define_artifacts {
6+
regex: "**/*sponge_log.xml"
7+
}
8+
}
9+
10+
# Download trampoline resources.
11+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
12+
13+
# Use the trampoline script to run in docker.
14+
build_file: "nodejs-bigtable/.kokoro/trampoline.sh"
15+
16+
# Configure the docker image for kokoro-trampoline.
17+
env_vars: {
18+
key: "TRAMPOLINE_IMAGE"
19+
value: "gcr.io/cloud-devrel-kokoro-resources/node:6"
20+
}
21+
env_vars: {
22+
key: "TRAMPOLINE_BUILD_FILE"
23+
value: "github/nodejs-bigtable/.kokoro/test.sh"
24+
}

.kokoro/continuous/node6/test.cfg

Whitespace-only changes.

.kokoro/continuous/node8/common.cfg

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Build logs will be here
4+
action {
5+
define_artifacts {
6+
regex: "**/*sponge_log.xml"
7+
}
8+
}
9+
10+
# Download trampoline resources.
11+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
12+
13+
# Use the trampoline script to run in docker.
14+
build_file: "nodejs-bigtable/.kokoro/trampoline.sh"
15+
16+
# Configure the docker image for kokoro-trampoline.
17+
env_vars: {
18+
key: "TRAMPOLINE_IMAGE"
19+
value: "gcr.io/cloud-devrel-kokoro-resources/node:8"
20+
}
21+
env_vars: {
22+
key: "TRAMPOLINE_BUILD_FILE"
23+
value: "github/nodejs-bigtable/.kokoro/test.sh"
24+
}

.kokoro/continuous/node8/docs.cfg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
env_vars: {
2+
key: "TRAMPOLINE_BUILD_FILE"
3+
value: "github/nodejs-bigtable/.kokoro/docs.sh"
4+
}

.kokoro/continuous/node8/lint.cfg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
env_vars: {
2+
key: "TRAMPOLINE_BUILD_FILE"
3+
value: "github/nodejs-bigtable/.kokoro/lint.sh"
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Download resources for system tests (service account key, etc.)
2+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs"
3+
4+
env_vars: {
5+
key: "TRAMPOLINE_BUILD_FILE"
6+
value: "github/nodejs-bigtable/.kokoro/samples-test.sh"
7+
}
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Download resources for system tests (service account key, etc.)
2+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs"
3+
4+
env_vars: {
5+
key: "TRAMPOLINE_BUILD_FILE"
6+
value: "github/nodejs-bigtable/.kokoro/system-test.sh"
7+
}

.kokoro/continuous/node8/test.cfg

Whitespace-only changes.

.kokoro/presubmit/node10/common.cfg

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Build logs will be here
4+
action {
5+
define_artifacts {
6+
regex: "**/*sponge_log.xml"
7+
}
8+
}
9+
10+
# Download trampoline resources.
11+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
12+
13+
# Use the trampoline script to run in docker.
14+
build_file: "nodejs-bigtable/.kokoro/trampoline.sh"
15+
16+
# Configure the docker image for kokoro-trampoline.
17+
env_vars: {
18+
key: "TRAMPOLINE_IMAGE"
19+
value: "gcr.io/cloud-devrel-kokoro-resources/node:10"
20+
}
21+
env_vars: {
22+
key: "TRAMPOLINE_BUILD_FILE"
23+
value: "github/nodejs-bigtable/.kokoro/test.sh"
24+
}

.kokoro/presubmit/node10/test.cfg

Whitespace-only changes.

.kokoro/presubmit/node6/common.cfg

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Build logs will be here
4+
action {
5+
define_artifacts {
6+
regex: "**/*sponge_log.xml"
7+
}
8+
}
9+
10+
# Download trampoline resources.
11+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
12+
13+
# Use the trampoline script to run in docker.
14+
build_file: "nodejs-bigtable/.kokoro/trampoline.sh"
15+
16+
# Configure the docker image for kokoro-trampoline.
17+
env_vars: {
18+
key: "TRAMPOLINE_IMAGE"
19+
value: "gcr.io/cloud-devrel-kokoro-resources/node:6"
20+
}
21+
env_vars: {
22+
key: "TRAMPOLINE_BUILD_FILE"
23+
value: "github/nodejs-bigtable/.kokoro/test.sh"
24+
}

.kokoro/presubmit/node6/test.cfg

Whitespace-only changes.

.kokoro/presubmit/node8/common.cfg

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Build logs will be here
4+
action {
5+
define_artifacts {
6+
regex: "**/*sponge_log.xml"
7+
}
8+
}
9+
10+
# Download trampoline resources.
11+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
12+
13+
# Use the trampoline script to run in docker.
14+
build_file: "nodejs-bigtable/.kokoro/trampoline.sh"
15+
16+
# Configure the docker image for kokoro-trampoline.
17+
env_vars: {
18+
key: "TRAMPOLINE_IMAGE"
19+
value: "gcr.io/cloud-devrel-kokoro-resources/node:8"
20+
}
21+
env_vars: {
22+
key: "TRAMPOLINE_BUILD_FILE"
23+
value: "github/nodejs-bigtable/.kokoro/test.sh"
24+
}

.kokoro/presubmit/node8/docs.cfg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
env_vars: {
2+
key: "TRAMPOLINE_BUILD_FILE"
3+
value: "github/nodejs-bigtable/.kokoro/docs.sh"
4+
}

.kokoro/presubmit/node8/lint.cfg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
env_vars: {
2+
key: "TRAMPOLINE_BUILD_FILE"
3+
value: "github/nodejs-bigtable/.kokoro/lint.sh"
4+
}

.kokoro/presubmit/node8/test.cfg

Whitespace-only changes.

.kokoro/presubmit/windows/common.cfg

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Build logs will be here
4+
action {
5+
define_artifacts {
6+
regex: "**/*sponge_log.xml"
7+
}
8+
}
9+

.kokoro/presubmit/windows/test.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Use the test file directly
2+
build_file: "nodejs-bigtable/.kokoro/test.bat"

src/v2/doc/google/protobuf/doc_any.js

+13-8
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
*

0 commit comments

Comments
 (0)