From 91c0af6eb0d8e1266bb156dc23070a6d86106300 Mon Sep 17 00:00:00 2001 From: Sofia Leon Date: Mon, 16 May 2022 19:29:21 -0700 Subject: [PATCH 1/2] feat!: Update library to use Node 12 --- .kokoro/continuous/node10/common.cfg | 34 --------------- .kokoro/continuous/node10/docs.cfg | 4 -- .kokoro/continuous/node10/test.cfg | 9 ---- .kokoro/continuous/node8/common.cfg | 24 ----------- .kokoro/continuous/node8/test.cfg | 0 .kokoro/presubmit/node10/common.cfg | 34 --------------- .kokoro/presubmit/node10/docs.cfg | 4 -- .kokoro/presubmit/node10/test.cfg | 0 .kokoro/presubmit/node8/common.cfg | 24 ----------- .kokoro/presubmit/node8/test.cfg | 0 package.json | 10 ++--- protos/protos.d.ts | 48 ++++++++++++--------- protos/protos.js | 64 +++++++++++++++++++--------- protos/protos.json | 7 +++ samples/package.json | 2 +- 15 files changed, 83 insertions(+), 181 deletions(-) delete mode 100644 .kokoro/continuous/node10/common.cfg delete mode 100644 .kokoro/continuous/node10/docs.cfg delete mode 100644 .kokoro/continuous/node10/test.cfg delete mode 100644 .kokoro/continuous/node8/common.cfg delete mode 100644 .kokoro/continuous/node8/test.cfg delete mode 100644 .kokoro/presubmit/node10/common.cfg delete mode 100644 .kokoro/presubmit/node10/docs.cfg delete mode 100644 .kokoro/presubmit/node10/test.cfg delete mode 100644 .kokoro/presubmit/node8/common.cfg delete mode 100644 .kokoro/presubmit/node8/test.cfg diff --git a/.kokoro/continuous/node10/common.cfg b/.kokoro/continuous/node10/common.cfg deleted file mode 100644 index 5d3f2eaa..00000000 --- a/.kokoro/continuous/node10/common.cfg +++ /dev/null @@ -1,34 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - } -} - -# Bring in codecov.io token into the build as $KOKORO_KEYSTORE_DIR/73713_dpebot_codecov_token -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "dpebot_codecov_token" - } - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "nodejs-speech/.kokoro/trampoline_v2.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" -} -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-speech/.kokoro/test.sh" -} diff --git a/.kokoro/continuous/node10/docs.cfg b/.kokoro/continuous/node10/docs.cfg deleted file mode 100644 index fb81a2ed..00000000 --- a/.kokoro/continuous/node10/docs.cfg +++ /dev/null @@ -1,4 +0,0 @@ -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-speech/.kokoro/docs.sh" -} diff --git a/.kokoro/continuous/node10/test.cfg b/.kokoro/continuous/node10/test.cfg deleted file mode 100644 index 609c0cf0..00000000 --- a/.kokoro/continuous/node10/test.cfg +++ /dev/null @@ -1,9 +0,0 @@ -# Bring in codecov.io token into the build as $KOKORO_KEYSTORE_DIR/73713_dpebot_codecov_token -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "dpebot_codecov_token" - } - } -} diff --git a/.kokoro/continuous/node8/common.cfg b/.kokoro/continuous/node8/common.cfg deleted file mode 100644 index bc103b0d..00000000 --- a/.kokoro/continuous/node8/common.cfg +++ /dev/null @@ -1,24 +0,0 @@ -# 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-speech/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:8-user" -} -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-speech/.kokoro/test.sh" -} diff --git a/.kokoro/continuous/node8/test.cfg b/.kokoro/continuous/node8/test.cfg deleted file mode 100644 index e69de29b..00000000 diff --git a/.kokoro/presubmit/node10/common.cfg b/.kokoro/presubmit/node10/common.cfg deleted file mode 100644 index 5d3f2eaa..00000000 --- a/.kokoro/presubmit/node10/common.cfg +++ /dev/null @@ -1,34 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - } -} - -# Bring in codecov.io token into the build as $KOKORO_KEYSTORE_DIR/73713_dpebot_codecov_token -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "dpebot_codecov_token" - } - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "nodejs-speech/.kokoro/trampoline_v2.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" -} -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-speech/.kokoro/test.sh" -} diff --git a/.kokoro/presubmit/node10/docs.cfg b/.kokoro/presubmit/node10/docs.cfg deleted file mode 100644 index fb81a2ed..00000000 --- a/.kokoro/presubmit/node10/docs.cfg +++ /dev/null @@ -1,4 +0,0 @@ -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-speech/.kokoro/docs.sh" -} diff --git a/.kokoro/presubmit/node10/test.cfg b/.kokoro/presubmit/node10/test.cfg deleted file mode 100644 index e69de29b..00000000 diff --git a/.kokoro/presubmit/node8/common.cfg b/.kokoro/presubmit/node8/common.cfg deleted file mode 100644 index bc103b0d..00000000 --- a/.kokoro/presubmit/node8/common.cfg +++ /dev/null @@ -1,24 +0,0 @@ -# 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-speech/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:8-user" -} -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/nodejs-speech/.kokoro/test.sh" -} diff --git a/.kokoro/presubmit/node8/test.cfg b/.kokoro/presubmit/node8/test.cfg deleted file mode 100644 index e69de29b..00000000 diff --git a/package.json b/package.json index ec8e702a..00904ff7 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "license": "Apache-2.0", "author": "Google Inc.", "engines": { - "node": ">=10" + "node": ">=12.0.0" }, "repository": "googleapis/nodejs-speech", "main": "./build/src/index.js", @@ -48,7 +48,7 @@ "dependencies": { "@google-cloud/common": "^3.0.0", "@types/pumpify": "^1.4.1", - "google-gax": "^2.30.1", + "google-gax": "^3.0.1", "protobufjs": "^6.8.6", "pumpify": "^2.0.0", "stream-events": "^1.0.4", @@ -60,17 +60,17 @@ "@types/sinon": "^10.0.0", "c8": "^7.0.0", "codecov": "^3.0.2", - "gts": "^3.0.0", + "gts": "^3.1.0", "jsdoc": "^3.5.5", "jsdoc-fresh": "^1.0.1", "jsdoc-region-tag": "^1.0.2", "linkinator": "^2.0.0", - "mocha": "^8.0.0", + "mocha": "^9.2.2", "null-loader": "^4.0.0", "pack-n-play": "^1.0.0-2", "sinon": "^13.0.0", "ts-loader": "^8.0.0", - "typescript": "^3.8.3", + "typescript": "^4.6.4", "webpack": "^5.0.0", "webpack-cli": "^4.0.0" } diff --git a/protos/protos.d.ts b/protos/protos.d.ts index 0e06fa7f..89504eb1 100644 --- a/protos/protos.d.ts +++ b/protos/protos.d.ts @@ -92,21 +92,21 @@ export namespace google { namespace Speech { /** - * Callback as used by {@link google.cloud.speech.v1.Speech#recognize}. + * Callback as used by {@link google.cloud.speech.v1.Speech|recognize}. * @param error Error, if any * @param [response] RecognizeResponse */ type RecognizeCallback = (error: (Error|null), response?: google.cloud.speech.v1.RecognizeResponse) => void; /** - * Callback as used by {@link google.cloud.speech.v1.Speech#longRunningRecognize}. + * Callback as used by {@link google.cloud.speech.v1.Speech|longRunningRecognize}. * @param error Error, if any * @param [response] Operation */ type LongRunningRecognizeCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.speech.v1.Speech#streamingRecognize}. + * Callback as used by {@link google.cloud.speech.v1.Speech|streamingRecognize}. * @param error Error, if any * @param [response] StreamingRecognizeResponse */ @@ -2737,21 +2737,21 @@ export namespace google { namespace Speech { /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech#recognize}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech|recognize}. * @param error Error, if any * @param [response] RecognizeResponse */ type RecognizeCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.RecognizeResponse) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech#longRunningRecognize}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech|longRunningRecognize}. * @param error Error, if any * @param [response] Operation */ type LongRunningRecognizeCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech#streamingRecognize}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech|streamingRecognize}. * @param error Error, if any * @param [response] StreamingRecognizeResponse */ @@ -5702,70 +5702,70 @@ export namespace google { namespace Adaptation { /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#createPhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|createPhraseSet}. * @param error Error, if any * @param [response] PhraseSet */ type CreatePhraseSetCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.PhraseSet) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#getPhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|getPhraseSet}. * @param error Error, if any * @param [response] PhraseSet */ type GetPhraseSetCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.PhraseSet) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#listPhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|listPhraseSet}. * @param error Error, if any * @param [response] ListPhraseSetResponse */ type ListPhraseSetCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.ListPhraseSetResponse) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#updatePhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|updatePhraseSet}. * @param error Error, if any * @param [response] PhraseSet */ type UpdatePhraseSetCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.PhraseSet) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#deletePhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|deletePhraseSet}. * @param error Error, if any * @param [response] Empty */ type DeletePhraseSetCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#createCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|createCustomClass}. * @param error Error, if any * @param [response] CustomClass */ type CreateCustomClassCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.CustomClass) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#getCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|getCustomClass}. * @param error Error, if any * @param [response] CustomClass */ type GetCustomClassCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.CustomClass) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#listCustomClasses}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|listCustomClasses}. * @param error Error, if any * @param [response] ListCustomClassesResponse */ type ListCustomClassesCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.ListCustomClassesResponse) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#updateCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|updateCustomClass}. * @param error Error, if any * @param [response] CustomClass */ type UpdateCustomClassCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.CustomClass) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#deleteCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|deleteCustomClass}. * @param error Error, if any * @param [response] Empty */ @@ -9374,6 +9374,9 @@ export namespace google { /** FieldOptions lazy */ lazy?: (boolean|null); + /** FieldOptions unverifiedLazy */ + unverifiedLazy?: (boolean|null); + /** FieldOptions deprecated */ deprecated?: (boolean|null); @@ -9411,6 +9414,9 @@ export namespace google { /** FieldOptions lazy. */ public lazy: boolean; + /** FieldOptions unverifiedLazy. */ + public unverifiedLazy: boolean; + /** FieldOptions deprecated. */ public deprecated: boolean; @@ -12022,35 +12028,35 @@ export namespace google { namespace Operations { /** - * Callback as used by {@link google.longrunning.Operations#listOperations}. + * Callback as used by {@link google.longrunning.Operations|listOperations}. * @param error Error, if any * @param [response] ListOperationsResponse */ type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void; /** - * Callback as used by {@link google.longrunning.Operations#getOperation}. + * Callback as used by {@link google.longrunning.Operations|getOperation}. * @param error Error, if any * @param [response] Operation */ type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.longrunning.Operations#deleteOperation}. + * Callback as used by {@link google.longrunning.Operations|deleteOperation}. * @param error Error, if any * @param [response] Empty */ type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.longrunning.Operations#cancelOperation}. + * Callback as used by {@link google.longrunning.Operations|cancelOperation}. * @param error Error, if any * @param [response] Empty */ type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.longrunning.Operations#waitOperation}. + * Callback as used by {@link google.longrunning.Operations|waitOperation}. * @param error Error, if any * @param [response] Operation */ diff --git a/protos/protos.js b/protos/protos.js index 0f48ac8a..daacc3e2 100644 --- a/protos/protos.js +++ b/protos/protos.js @@ -99,7 +99,7 @@ }; /** - * Callback as used by {@link google.cloud.speech.v1.Speech#recognize}. + * Callback as used by {@link google.cloud.speech.v1.Speech|recognize}. * @memberof google.cloud.speech.v1.Speech * @typedef RecognizeCallback * @type {function} @@ -132,7 +132,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1.Speech#longRunningRecognize}. + * Callback as used by {@link google.cloud.speech.v1.Speech|longRunningRecognize}. * @memberof google.cloud.speech.v1.Speech * @typedef LongRunningRecognizeCallback * @type {function} @@ -165,7 +165,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1.Speech#streamingRecognize}. + * Callback as used by {@link google.cloud.speech.v1.Speech|streamingRecognize}. * @memberof google.cloud.speech.v1.Speech * @typedef StreamingRecognizeCallback * @type {function} @@ -6836,7 +6836,7 @@ }; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech#recognize}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech|recognize}. * @memberof google.cloud.speech.v1p1beta1.Speech * @typedef RecognizeCallback * @type {function} @@ -6869,7 +6869,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech#longRunningRecognize}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech|longRunningRecognize}. * @memberof google.cloud.speech.v1p1beta1.Speech * @typedef LongRunningRecognizeCallback * @type {function} @@ -6902,7 +6902,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech#streamingRecognize}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech|streamingRecognize}. * @memberof google.cloud.speech.v1p1beta1.Speech * @typedef StreamingRecognizeCallback * @type {function} @@ -14142,7 +14142,7 @@ }; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#createPhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|createPhraseSet}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef CreatePhraseSetCallback * @type {function} @@ -14175,7 +14175,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#getPhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|getPhraseSet}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef GetPhraseSetCallback * @type {function} @@ -14208,7 +14208,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#listPhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|listPhraseSet}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef ListPhraseSetCallback * @type {function} @@ -14241,7 +14241,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#updatePhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|updatePhraseSet}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef UpdatePhraseSetCallback * @type {function} @@ -14274,7 +14274,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#deletePhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|deletePhraseSet}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef DeletePhraseSetCallback * @type {function} @@ -14307,7 +14307,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#createCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|createCustomClass}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef CreateCustomClassCallback * @type {function} @@ -14340,7 +14340,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#getCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|getCustomClass}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef GetCustomClassCallback * @type {function} @@ -14373,7 +14373,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#listCustomClasses}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|listCustomClasses}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef ListCustomClassesCallback * @type {function} @@ -14406,7 +14406,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#updateCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|updateCustomClass}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef UpdateCustomClassCallback * @type {function} @@ -14439,7 +14439,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#deleteCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|deleteCustomClass}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef DeleteCustomClassCallback * @type {function} @@ -23874,6 +23874,7 @@ * @property {boolean|null} [packed] FieldOptions packed * @property {google.protobuf.FieldOptions.JSType|null} [jstype] FieldOptions jstype * @property {boolean|null} [lazy] FieldOptions lazy + * @property {boolean|null} [unverifiedLazy] FieldOptions unverifiedLazy * @property {boolean|null} [deprecated] FieldOptions deprecated * @property {boolean|null} [weak] FieldOptions weak * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption @@ -23930,6 +23931,14 @@ */ FieldOptions.prototype.lazy = false; + /** + * FieldOptions unverifiedLazy. + * @member {boolean} unverifiedLazy + * @memberof google.protobuf.FieldOptions + * @instance + */ + FieldOptions.prototype.unverifiedLazy = false; + /** * FieldOptions deprecated. * @member {boolean} deprecated @@ -24006,6 +24015,8 @@ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jstype); if (message.weak != null && Object.hasOwnProperty.call(message, "weak")) writer.uint32(/* id 10, wireType 0 =*/80).bool(message.weak); + if (message.unverifiedLazy != null && Object.hasOwnProperty.call(message, "unverifiedLazy")) + writer.uint32(/* id 15, wireType 0 =*/120).bool(message.unverifiedLazy); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -24063,6 +24074,9 @@ case 5: message.lazy = reader.bool(); break; + case 15: + message.unverifiedLazy = reader.bool(); + break; case 3: message.deprecated = reader.bool(); break; @@ -24146,6 +24160,9 @@ if (message.lazy != null && message.hasOwnProperty("lazy")) if (typeof message.lazy !== "boolean") return "lazy: boolean expected"; + if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy")) + if (typeof message.unverifiedLazy !== "boolean") + return "unverifiedLazy: boolean expected"; if (message.deprecated != null && message.hasOwnProperty("deprecated")) if (typeof message.deprecated !== "boolean") return "deprecated: boolean expected"; @@ -24231,6 +24248,8 @@ } if (object.lazy != null) message.lazy = Boolean(object.lazy); + if (object.unverifiedLazy != null) + message.unverifiedLazy = Boolean(object.unverifiedLazy); if (object.deprecated != null) message.deprecated = Boolean(object.deprecated); if (object.weak != null) @@ -24318,6 +24337,7 @@ object.lazy = false; object.jstype = options.enums === String ? "JS_NORMAL" : 0; object.weak = false; + object.unverifiedLazy = false; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -24332,6 +24352,8 @@ object.jstype = options.enums === String ? $root.google.protobuf.FieldOptions.JSType[message.jstype] : message.jstype; if (message.weak != null && message.hasOwnProperty("weak")) object.weak = message.weak; + if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy")) + object.unverifiedLazy = message.unverifiedLazy; if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -30164,7 +30186,7 @@ }; /** - * Callback as used by {@link google.longrunning.Operations#listOperations}. + * Callback as used by {@link google.longrunning.Operations|listOperations}. * @memberof google.longrunning.Operations * @typedef ListOperationsCallback * @type {function} @@ -30197,7 +30219,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations#getOperation}. + * Callback as used by {@link google.longrunning.Operations|getOperation}. * @memberof google.longrunning.Operations * @typedef GetOperationCallback * @type {function} @@ -30230,7 +30252,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations#deleteOperation}. + * Callback as used by {@link google.longrunning.Operations|deleteOperation}. * @memberof google.longrunning.Operations * @typedef DeleteOperationCallback * @type {function} @@ -30263,7 +30285,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations#cancelOperation}. + * Callback as used by {@link google.longrunning.Operations|cancelOperation}. * @memberof google.longrunning.Operations * @typedef CancelOperationCallback * @type {function} @@ -30296,7 +30318,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations#waitOperation}. + * Callback as used by {@link google.longrunning.Operations|waitOperation}. * @memberof google.longrunning.Operations * @typedef WaitOperationCallback * @type {function} diff --git a/protos/protos.json b/protos/protos.json index f5fcedaf..1a72931d 100644 --- a/protos/protos.json +++ b/protos/protos.json @@ -2640,6 +2640,13 @@ "default": false } }, + "unverifiedLazy": { + "type": "bool", + "id": 15, + "options": { + "default": false + } + }, "deprecated": { "type": "bool", "id": 3, diff --git a/samples/package.json b/samples/package.json index 2936d10e..b064326a 100644 --- a/samples/package.json +++ b/samples/package.json @@ -5,7 +5,7 @@ "author": "Google LLC", "repository": "googleapis/nodejs-speech", "engines": { - "node": ">=10.17.0" + "node": ">=12.0.0" }, "files": [ "*.js", From f46850897d728df8c23ac84b25fe8d2408e7bbe3 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 17 May 2022 02:30:59 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .github/sync-repo-settings.yaml | 2 +- .github/workflows/ci.yaml | 2 +- protos/protos.d.ts | 48 +++++++++++-------------- protos/protos.js | 64 +++++++++++---------------------- protos/protos.json | 7 ---- 5 files changed, 44 insertions(+), 79 deletions(-) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 1b362683..d1e8b5e6 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -9,9 +9,9 @@ branchProtectionRules: - "ci/kokoro: System test" - docs - lint - - test (10) - test (12) - test (14) + - test (16) - cla/google - windows - OwlBot Post Processor diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 25251dbb..f447b84a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [10, 12, 14] + node: [12, 14, 16] steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 diff --git a/protos/protos.d.ts b/protos/protos.d.ts index 89504eb1..0e06fa7f 100644 --- a/protos/protos.d.ts +++ b/protos/protos.d.ts @@ -92,21 +92,21 @@ export namespace google { namespace Speech { /** - * Callback as used by {@link google.cloud.speech.v1.Speech|recognize}. + * Callback as used by {@link google.cloud.speech.v1.Speech#recognize}. * @param error Error, if any * @param [response] RecognizeResponse */ type RecognizeCallback = (error: (Error|null), response?: google.cloud.speech.v1.RecognizeResponse) => void; /** - * Callback as used by {@link google.cloud.speech.v1.Speech|longRunningRecognize}. + * Callback as used by {@link google.cloud.speech.v1.Speech#longRunningRecognize}. * @param error Error, if any * @param [response] Operation */ type LongRunningRecognizeCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.speech.v1.Speech|streamingRecognize}. + * Callback as used by {@link google.cloud.speech.v1.Speech#streamingRecognize}. * @param error Error, if any * @param [response] StreamingRecognizeResponse */ @@ -2737,21 +2737,21 @@ export namespace google { namespace Speech { /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech|recognize}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech#recognize}. * @param error Error, if any * @param [response] RecognizeResponse */ type RecognizeCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.RecognizeResponse) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech|longRunningRecognize}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech#longRunningRecognize}. * @param error Error, if any * @param [response] Operation */ type LongRunningRecognizeCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech|streamingRecognize}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech#streamingRecognize}. * @param error Error, if any * @param [response] StreamingRecognizeResponse */ @@ -5702,70 +5702,70 @@ export namespace google { namespace Adaptation { /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|createPhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#createPhraseSet}. * @param error Error, if any * @param [response] PhraseSet */ type CreatePhraseSetCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.PhraseSet) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|getPhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#getPhraseSet}. * @param error Error, if any * @param [response] PhraseSet */ type GetPhraseSetCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.PhraseSet) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|listPhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#listPhraseSet}. * @param error Error, if any * @param [response] ListPhraseSetResponse */ type ListPhraseSetCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.ListPhraseSetResponse) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|updatePhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#updatePhraseSet}. * @param error Error, if any * @param [response] PhraseSet */ type UpdatePhraseSetCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.PhraseSet) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|deletePhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#deletePhraseSet}. * @param error Error, if any * @param [response] Empty */ type DeletePhraseSetCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|createCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#createCustomClass}. * @param error Error, if any * @param [response] CustomClass */ type CreateCustomClassCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.CustomClass) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|getCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#getCustomClass}. * @param error Error, if any * @param [response] CustomClass */ type GetCustomClassCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.CustomClass) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|listCustomClasses}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#listCustomClasses}. * @param error Error, if any * @param [response] ListCustomClassesResponse */ type ListCustomClassesCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.ListCustomClassesResponse) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|updateCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#updateCustomClass}. * @param error Error, if any * @param [response] CustomClass */ type UpdateCustomClassCallback = (error: (Error|null), response?: google.cloud.speech.v1p1beta1.CustomClass) => void; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|deleteCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#deleteCustomClass}. * @param error Error, if any * @param [response] Empty */ @@ -9374,9 +9374,6 @@ export namespace google { /** FieldOptions lazy */ lazy?: (boolean|null); - /** FieldOptions unverifiedLazy */ - unverifiedLazy?: (boolean|null); - /** FieldOptions deprecated */ deprecated?: (boolean|null); @@ -9414,9 +9411,6 @@ export namespace google { /** FieldOptions lazy. */ public lazy: boolean; - /** FieldOptions unverifiedLazy. */ - public unverifiedLazy: boolean; - /** FieldOptions deprecated. */ public deprecated: boolean; @@ -12028,35 +12022,35 @@ export namespace google { namespace Operations { /** - * Callback as used by {@link google.longrunning.Operations|listOperations}. + * Callback as used by {@link google.longrunning.Operations#listOperations}. * @param error Error, if any * @param [response] ListOperationsResponse */ type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void; /** - * Callback as used by {@link google.longrunning.Operations|getOperation}. + * Callback as used by {@link google.longrunning.Operations#getOperation}. * @param error Error, if any * @param [response] Operation */ type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; /** - * Callback as used by {@link google.longrunning.Operations|deleteOperation}. + * Callback as used by {@link google.longrunning.Operations#deleteOperation}. * @param error Error, if any * @param [response] Empty */ type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.longrunning.Operations|cancelOperation}. + * Callback as used by {@link google.longrunning.Operations#cancelOperation}. * @param error Error, if any * @param [response] Empty */ type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void; /** - * Callback as used by {@link google.longrunning.Operations|waitOperation}. + * Callback as used by {@link google.longrunning.Operations#waitOperation}. * @param error Error, if any * @param [response] Operation */ diff --git a/protos/protos.js b/protos/protos.js index daacc3e2..0f48ac8a 100644 --- a/protos/protos.js +++ b/protos/protos.js @@ -99,7 +99,7 @@ }; /** - * Callback as used by {@link google.cloud.speech.v1.Speech|recognize}. + * Callback as used by {@link google.cloud.speech.v1.Speech#recognize}. * @memberof google.cloud.speech.v1.Speech * @typedef RecognizeCallback * @type {function} @@ -132,7 +132,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1.Speech|longRunningRecognize}. + * Callback as used by {@link google.cloud.speech.v1.Speech#longRunningRecognize}. * @memberof google.cloud.speech.v1.Speech * @typedef LongRunningRecognizeCallback * @type {function} @@ -165,7 +165,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1.Speech|streamingRecognize}. + * Callback as used by {@link google.cloud.speech.v1.Speech#streamingRecognize}. * @memberof google.cloud.speech.v1.Speech * @typedef StreamingRecognizeCallback * @type {function} @@ -6836,7 +6836,7 @@ }; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech|recognize}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech#recognize}. * @memberof google.cloud.speech.v1p1beta1.Speech * @typedef RecognizeCallback * @type {function} @@ -6869,7 +6869,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech|longRunningRecognize}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech#longRunningRecognize}. * @memberof google.cloud.speech.v1p1beta1.Speech * @typedef LongRunningRecognizeCallback * @type {function} @@ -6902,7 +6902,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech|streamingRecognize}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Speech#streamingRecognize}. * @memberof google.cloud.speech.v1p1beta1.Speech * @typedef StreamingRecognizeCallback * @type {function} @@ -14142,7 +14142,7 @@ }; /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|createPhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#createPhraseSet}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef CreatePhraseSetCallback * @type {function} @@ -14175,7 +14175,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|getPhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#getPhraseSet}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef GetPhraseSetCallback * @type {function} @@ -14208,7 +14208,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|listPhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#listPhraseSet}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef ListPhraseSetCallback * @type {function} @@ -14241,7 +14241,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|updatePhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#updatePhraseSet}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef UpdatePhraseSetCallback * @type {function} @@ -14274,7 +14274,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|deletePhraseSet}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#deletePhraseSet}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef DeletePhraseSetCallback * @type {function} @@ -14307,7 +14307,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|createCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#createCustomClass}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef CreateCustomClassCallback * @type {function} @@ -14340,7 +14340,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|getCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#getCustomClass}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef GetCustomClassCallback * @type {function} @@ -14373,7 +14373,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|listCustomClasses}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#listCustomClasses}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef ListCustomClassesCallback * @type {function} @@ -14406,7 +14406,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|updateCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#updateCustomClass}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef UpdateCustomClassCallback * @type {function} @@ -14439,7 +14439,7 @@ */ /** - * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation|deleteCustomClass}. + * Callback as used by {@link google.cloud.speech.v1p1beta1.Adaptation#deleteCustomClass}. * @memberof google.cloud.speech.v1p1beta1.Adaptation * @typedef DeleteCustomClassCallback * @type {function} @@ -23874,7 +23874,6 @@ * @property {boolean|null} [packed] FieldOptions packed * @property {google.protobuf.FieldOptions.JSType|null} [jstype] FieldOptions jstype * @property {boolean|null} [lazy] FieldOptions lazy - * @property {boolean|null} [unverifiedLazy] FieldOptions unverifiedLazy * @property {boolean|null} [deprecated] FieldOptions deprecated * @property {boolean|null} [weak] FieldOptions weak * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption @@ -23931,14 +23930,6 @@ */ FieldOptions.prototype.lazy = false; - /** - * FieldOptions unverifiedLazy. - * @member {boolean} unverifiedLazy - * @memberof google.protobuf.FieldOptions - * @instance - */ - FieldOptions.prototype.unverifiedLazy = false; - /** * FieldOptions deprecated. * @member {boolean} deprecated @@ -24015,8 +24006,6 @@ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jstype); if (message.weak != null && Object.hasOwnProperty.call(message, "weak")) writer.uint32(/* id 10, wireType 0 =*/80).bool(message.weak); - if (message.unverifiedLazy != null && Object.hasOwnProperty.call(message, "unverifiedLazy")) - writer.uint32(/* id 15, wireType 0 =*/120).bool(message.unverifiedLazy); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -24074,9 +24063,6 @@ case 5: message.lazy = reader.bool(); break; - case 15: - message.unverifiedLazy = reader.bool(); - break; case 3: message.deprecated = reader.bool(); break; @@ -24160,9 +24146,6 @@ if (message.lazy != null && message.hasOwnProperty("lazy")) if (typeof message.lazy !== "boolean") return "lazy: boolean expected"; - if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy")) - if (typeof message.unverifiedLazy !== "boolean") - return "unverifiedLazy: boolean expected"; if (message.deprecated != null && message.hasOwnProperty("deprecated")) if (typeof message.deprecated !== "boolean") return "deprecated: boolean expected"; @@ -24248,8 +24231,6 @@ } if (object.lazy != null) message.lazy = Boolean(object.lazy); - if (object.unverifiedLazy != null) - message.unverifiedLazy = Boolean(object.unverifiedLazy); if (object.deprecated != null) message.deprecated = Boolean(object.deprecated); if (object.weak != null) @@ -24337,7 +24318,6 @@ object.lazy = false; object.jstype = options.enums === String ? "JS_NORMAL" : 0; object.weak = false; - object.unverifiedLazy = false; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -24352,8 +24332,6 @@ object.jstype = options.enums === String ? $root.google.protobuf.FieldOptions.JSType[message.jstype] : message.jstype; if (message.weak != null && message.hasOwnProperty("weak")) object.weak = message.weak; - if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy")) - object.unverifiedLazy = message.unverifiedLazy; if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -30186,7 +30164,7 @@ }; /** - * Callback as used by {@link google.longrunning.Operations|listOperations}. + * Callback as used by {@link google.longrunning.Operations#listOperations}. * @memberof google.longrunning.Operations * @typedef ListOperationsCallback * @type {function} @@ -30219,7 +30197,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations|getOperation}. + * Callback as used by {@link google.longrunning.Operations#getOperation}. * @memberof google.longrunning.Operations * @typedef GetOperationCallback * @type {function} @@ -30252,7 +30230,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations|deleteOperation}. + * Callback as used by {@link google.longrunning.Operations#deleteOperation}. * @memberof google.longrunning.Operations * @typedef DeleteOperationCallback * @type {function} @@ -30285,7 +30263,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations|cancelOperation}. + * Callback as used by {@link google.longrunning.Operations#cancelOperation}. * @memberof google.longrunning.Operations * @typedef CancelOperationCallback * @type {function} @@ -30318,7 +30296,7 @@ */ /** - * Callback as used by {@link google.longrunning.Operations|waitOperation}. + * Callback as used by {@link google.longrunning.Operations#waitOperation}. * @memberof google.longrunning.Operations * @typedef WaitOperationCallback * @type {function} diff --git a/protos/protos.json b/protos/protos.json index 1a72931d..f5fcedaf 100644 --- a/protos/protos.json +++ b/protos/protos.json @@ -2640,13 +2640,6 @@ "default": false } }, - "unverifiedLazy": { - "type": "bool", - "id": 15, - "options": { - "default": false - } - }, "deprecated": { "type": "bool", "id": 3,