From d95a972af1cdab9e2879597dd4ddaa6edfb413f1 Mon Sep 17 00:00:00 2001 From: dpebot Date: Tue, 28 Aug 2018 12:56:54 -0700 Subject: [PATCH] Re-generate library using /synth.py --- .appveyor.yml | 2 +- .eslintignore | 3 ++- .jsdoc.js | 4 ++-- .kokoro/continuous/node10/common.cfg | 24 +++++++++++++++++++++++ .kokoro/continuous/node10/test.cfg | 0 .kokoro/continuous/node6/common.cfg | 24 +++++++++++++++++++++++ .kokoro/continuous/node6/test.cfg | 0 .kokoro/continuous/node8/common.cfg | 24 +++++++++++++++++++++++ .kokoro/continuous/node8/docs.cfg | 4 ++++ .kokoro/continuous/node8/lint.cfg | 4 ++++ .kokoro/continuous/node8/samples-test.cfg | 7 +++++++ .kokoro/continuous/node8/system-test.cfg | 7 +++++++ .kokoro/continuous/node8/test.cfg | 0 .kokoro/presubmit/node10/common.cfg | 24 +++++++++++++++++++++++ .kokoro/presubmit/node10/test.cfg | 0 .kokoro/presubmit/node6/common.cfg | 24 +++++++++++++++++++++++ .kokoro/presubmit/node6/test.cfg | 0 .kokoro/presubmit/node8/common.cfg | 24 +++++++++++++++++++++++ .kokoro/presubmit/node8/docs.cfg | 4 ++++ .kokoro/presubmit/node8/lint.cfg | 4 ++++ .kokoro/presubmit/node8/test.cfg | 0 .kokoro/presubmit/windows/common.cfg | 9 +++++++++ .kokoro/presubmit/windows/test.cfg | 2 ++ src/v2/doc/google/protobuf/doc_any.js | 21 ++++++++++++-------- 24 files changed, 203 insertions(+), 12 deletions(-) create mode 100644 .kokoro/continuous/node10/common.cfg create mode 100644 .kokoro/continuous/node10/test.cfg create mode 100644 .kokoro/continuous/node6/common.cfg create mode 100644 .kokoro/continuous/node6/test.cfg create mode 100644 .kokoro/continuous/node8/common.cfg create mode 100644 .kokoro/continuous/node8/docs.cfg create mode 100644 .kokoro/continuous/node8/lint.cfg create mode 100644 .kokoro/continuous/node8/samples-test.cfg create mode 100644 .kokoro/continuous/node8/system-test.cfg create mode 100644 .kokoro/continuous/node8/test.cfg create mode 100644 .kokoro/presubmit/node10/common.cfg create mode 100644 .kokoro/presubmit/node10/test.cfg create mode 100644 .kokoro/presubmit/node6/common.cfg create mode 100644 .kokoro/presubmit/node6/test.cfg create mode 100644 .kokoro/presubmit/node8/common.cfg create mode 100644 .kokoro/presubmit/node8/docs.cfg create mode 100644 .kokoro/presubmit/node8/lint.cfg create mode 100644 .kokoro/presubmit/node8/test.cfg create mode 100644 .kokoro/presubmit/windows/common.cfg create mode 100644 .kokoro/presubmit/windows/test.cfg diff --git a/.appveyor.yml b/.appveyor.yml index cf6be5f14..240821526 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -17,4 +17,4 @@ test_script: build: off matrix: - fast_finish: true \ No newline at end of file + fast_finish: true diff --git a/.eslintignore b/.eslintignore index 0015b4ec1..f6fac98b0 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,2 +1,3 @@ -**/node_modules/* +node_modules/* +samples/node_modules/* src/**/doc/* diff --git a/.jsdoc.js b/.jsdoc.js index 0450940cb..0017a65d3 100644 --- a/.jsdoc.js +++ b/.jsdoc.js @@ -1,5 +1,5 @@ /*! - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2018 Google LLC. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,7 +36,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2017 Google, Inc.', + copyright: 'Copyright 2018 Google, LLC.', includeDate: false, sourceFiles: false, systemName: '@google-cloud/bigtable', diff --git a/.kokoro/continuous/node10/common.cfg b/.kokoro/continuous/node10/common.cfg new file mode 100644 index 000000000..33c590b11 --- /dev/null +++ b/.kokoro/continuous/node10/common.cfg @@ -0,0 +1,24 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "nodejs-bigtable/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:10" +} +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-bigtable/.kokoro/test.sh" +} diff --git a/.kokoro/continuous/node10/test.cfg b/.kokoro/continuous/node10/test.cfg new file mode 100644 index 000000000..e69de29bb diff --git a/.kokoro/continuous/node6/common.cfg b/.kokoro/continuous/node6/common.cfg new file mode 100644 index 000000000..da8fd48c9 --- /dev/null +++ b/.kokoro/continuous/node6/common.cfg @@ -0,0 +1,24 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "nodejs-bigtable/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:6" +} +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-bigtable/.kokoro/test.sh" +} diff --git a/.kokoro/continuous/node6/test.cfg b/.kokoro/continuous/node6/test.cfg new file mode 100644 index 000000000..e69de29bb diff --git a/.kokoro/continuous/node8/common.cfg b/.kokoro/continuous/node8/common.cfg new file mode 100644 index 000000000..461b0ebd3 --- /dev/null +++ b/.kokoro/continuous/node8/common.cfg @@ -0,0 +1,24 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "nodejs-bigtable/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:8" +} +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-bigtable/.kokoro/test.sh" +} diff --git a/.kokoro/continuous/node8/docs.cfg b/.kokoro/continuous/node8/docs.cfg new file mode 100644 index 000000000..b9ce13b56 --- /dev/null +++ b/.kokoro/continuous/node8/docs.cfg @@ -0,0 +1,4 @@ +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-bigtable/.kokoro/docs.sh" +} diff --git a/.kokoro/continuous/node8/lint.cfg b/.kokoro/continuous/node8/lint.cfg new file mode 100644 index 000000000..fe841af51 --- /dev/null +++ b/.kokoro/continuous/node8/lint.cfg @@ -0,0 +1,4 @@ +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-bigtable/.kokoro/lint.sh" +} diff --git a/.kokoro/continuous/node8/samples-test.cfg b/.kokoro/continuous/node8/samples-test.cfg new file mode 100644 index 000000000..51cfe828c --- /dev/null +++ b/.kokoro/continuous/node8/samples-test.cfg @@ -0,0 +1,7 @@ +# Download resources for system tests (service account key, etc.) +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs" + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-bigtable/.kokoro/samples-test.sh" +} diff --git a/.kokoro/continuous/node8/system-test.cfg b/.kokoro/continuous/node8/system-test.cfg new file mode 100644 index 000000000..671b13973 --- /dev/null +++ b/.kokoro/continuous/node8/system-test.cfg @@ -0,0 +1,7 @@ +# Download resources for system tests (service account key, etc.) +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-nodejs" + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-bigtable/.kokoro/system-test.sh" +} diff --git a/.kokoro/continuous/node8/test.cfg b/.kokoro/continuous/node8/test.cfg new file mode 100644 index 000000000..e69de29bb diff --git a/.kokoro/presubmit/node10/common.cfg b/.kokoro/presubmit/node10/common.cfg new file mode 100644 index 000000000..33c590b11 --- /dev/null +++ b/.kokoro/presubmit/node10/common.cfg @@ -0,0 +1,24 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "nodejs-bigtable/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:10" +} +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-bigtable/.kokoro/test.sh" +} diff --git a/.kokoro/presubmit/node10/test.cfg b/.kokoro/presubmit/node10/test.cfg new file mode 100644 index 000000000..e69de29bb diff --git a/.kokoro/presubmit/node6/common.cfg b/.kokoro/presubmit/node6/common.cfg new file mode 100644 index 000000000..da8fd48c9 --- /dev/null +++ b/.kokoro/presubmit/node6/common.cfg @@ -0,0 +1,24 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "nodejs-bigtable/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:6" +} +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-bigtable/.kokoro/test.sh" +} diff --git a/.kokoro/presubmit/node6/test.cfg b/.kokoro/presubmit/node6/test.cfg new file mode 100644 index 000000000..e69de29bb diff --git a/.kokoro/presubmit/node8/common.cfg b/.kokoro/presubmit/node8/common.cfg new file mode 100644 index 000000000..461b0ebd3 --- /dev/null +++ b/.kokoro/presubmit/node8/common.cfg @@ -0,0 +1,24 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "nodejs-bigtable/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:8" +} +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-bigtable/.kokoro/test.sh" +} diff --git a/.kokoro/presubmit/node8/docs.cfg b/.kokoro/presubmit/node8/docs.cfg new file mode 100644 index 000000000..b9ce13b56 --- /dev/null +++ b/.kokoro/presubmit/node8/docs.cfg @@ -0,0 +1,4 @@ +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-bigtable/.kokoro/docs.sh" +} diff --git a/.kokoro/presubmit/node8/lint.cfg b/.kokoro/presubmit/node8/lint.cfg new file mode 100644 index 000000000..fe841af51 --- /dev/null +++ b/.kokoro/presubmit/node8/lint.cfg @@ -0,0 +1,4 @@ +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/nodejs-bigtable/.kokoro/lint.sh" +} diff --git a/.kokoro/presubmit/node8/test.cfg b/.kokoro/presubmit/node8/test.cfg new file mode 100644 index 000000000..e69de29bb diff --git a/.kokoro/presubmit/windows/common.cfg b/.kokoro/presubmit/windows/common.cfg new file mode 100644 index 000000000..7320db792 --- /dev/null +++ b/.kokoro/presubmit/windows/common.cfg @@ -0,0 +1,9 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + diff --git a/.kokoro/presubmit/windows/test.cfg b/.kokoro/presubmit/windows/test.cfg new file mode 100644 index 000000000..775ab09bf --- /dev/null +++ b/.kokoro/presubmit/windows/test.cfg @@ -0,0 +1,2 @@ +# Use the test file directly +build_file: "nodejs-bigtable/.kokoro/test.bat" diff --git a/src/v2/doc/google/protobuf/doc_any.js b/src/v2/doc/google/protobuf/doc_any.js index f55fa17ff..c5c5bbafa 100644 --- a/src/v2/doc/google/protobuf/doc_any.js +++ b/src/v2/doc/google/protobuf/doc_any.js @@ -97,17 +97,18 @@ * } * * @property {string} typeUrl - * A URL/resource name whose content describes the type of the - * serialized protocol buffer message. + * A URL/resource name that uniquely identifies the type of the serialized + * protocol buffer message. The last segment of the URL's path must represent + * the fully qualified name of the type (as in + * `path/google.protobuf.Duration`). The name should be in a canonical form + * (e.g., leading "." is not accepted). * - * For URLs which use the scheme `http`, `https`, or no scheme, the - * following restrictions and interpretations apply: + * In practice, teams usually precompile into the binary all types that they + * expect it to use in the context of Any. However, for URLs which use the + * scheme `http`, `https`, or no scheme, one can optionally set up a type + * server that maps type URLs to message definitions as follows: * * * If no scheme is provided, `https` is assumed. - * * The last segment of the URL's path must represent the fully - * qualified name of the type (as in `path/google.protobuf.Duration`). - * The name should be in a canonical form (e.g., leading "." is - * not accepted). * * An HTTP GET on the URL must yield a google.protobuf.Type * value in binary format, or produce an error. * * Applications are allowed to cache lookup results based on the @@ -116,6 +117,10 @@ * on changes to types. (Use versioned type names to manage * breaking changes.) * + * Note: this functionality is not currently available in the official + * protobuf release, and it is not used for type URLs beginning with + * type.googleapis.com. + * * Schemes other than `http`, `https` (or the empty scheme) might be * used with implementation specific semantics. *