diff --git a/packages/google-cloud-scheduler/protos/protos.d.ts b/packages/google-cloud-scheduler/protos/protos.d.ts index d184558b3a1..476f537f3b7 100644 --- a/packages/google-cloud-scheduler/protos/protos.d.ts +++ b/packages/google-cloud-scheduler/protos/protos.d.ts @@ -13,7 +13,7 @@ // limitations under the License. import * as Long from "long"; -import * as $protobuf from "protobufjs"; +import {protobuf as $protobuf} from "google-gax"; /** Namespace google. */ export namespace google { diff --git a/packages/google-cloud-scheduler/protos/protos.js b/packages/google-cloud-scheduler/protos/protos.js index 80a5a6063e3..be11d0a255a 100644 --- a/packages/google-cloud-scheduler/protos/protos.js +++ b/packages/google-cloud-scheduler/protos/protos.js @@ -19,7 +19,7 @@ define(["protobufjs/minimal"], factory); /* CommonJS */ else if (typeof require === 'function' && typeof module === 'object' && module && module.exports) - module.exports = factory(require("protobufjs/minimal")); + module.exports = factory(require("google-gax").protobufMinimal); })(this, function($protobuf) { "use strict"; diff --git a/packages/google-cloud-scheduler/synth.metadata b/packages/google-cloud-scheduler/synth.metadata index 83427e0eb68..591499ffccb 100644 --- a/packages/google-cloud-scheduler/synth.metadata +++ b/packages/google-cloud-scheduler/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/nodejs-scheduler.git", - "sha": "8e84dbe616cf38f11dbad8ef5781dafeaf29f0fd" + "sha": "deeff0c3ec015b865722d56f1f73644051365917" } }, {