From 234ac90a8e6b43a0b0fc77aad73465c62de12156 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Fri, 25 Jan 2019 10:05:30 -0800 Subject: [PATCH] refactor: update date in copyright header and remove unused proto objs. (#406) --- src/v2/bigtable_client.js | 2 +- src/v2/doc/google/bigtable/v2/doc_bigtable.js | 2 +- src/v2/doc/google/bigtable/v2/doc_data.js | 2 +- src/v2/doc/google/protobuf/doc_any.js | 2 +- src/v2/doc/google/protobuf/doc_wrappers.js | 114 +----------------- src/v2/doc/google/rpc/doc_status.js | 2 +- synth.metadata | 36 ++++-- test/gapic-v2.js | 2 +- 8 files changed, 31 insertions(+), 131 deletions(-) diff --git a/src/v2/bigtable_client.js b/src/v2/bigtable_client.js index 13fb0f089..a333a4c37 100644 --- a/src/v2/bigtable_client.js +++ b/src/v2/bigtable_client.js @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/v2/doc/google/bigtable/v2/doc_bigtable.js b/src/v2/doc/google/bigtable/v2/doc_bigtable.js index dc26a680e..9299e9f9e 100644 --- a/src/v2/doc/google/bigtable/v2/doc_bigtable.js +++ b/src/v2/doc/google/bigtable/v2/doc_bigtable.js @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/v2/doc/google/bigtable/v2/doc_data.js b/src/v2/doc/google/bigtable/v2/doc_data.js index d8244bf5d..c59f92965 100644 --- a/src/v2/doc/google/bigtable/v2/doc_data.js +++ b/src/v2/doc/google/bigtable/v2/doc_data.js @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/v2/doc/google/protobuf/doc_any.js b/src/v2/doc/google/protobuf/doc_any.js index 3accb1fc0..f3278b34e 100644 --- a/src/v2/doc/google/protobuf/doc_any.js +++ b/src/v2/doc/google/protobuf/doc_any.js @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/v2/doc/google/protobuf/doc_wrappers.js b/src/v2/doc/google/protobuf/doc_wrappers.js index 363b6391a..5b825a070 100644 --- a/src/v2/doc/google/protobuf/doc_wrappers.js +++ b/src/v2/doc/google/protobuf/doc_wrappers.js @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -15,118 +15,6 @@ // Note: this file is purely for documentation. Any contents are not expected // to be loaded as the JS file. -/** - * Wrapper message for `double`. - * - * The JSON representation for `DoubleValue` is JSON number. - * - * @property {number} value - * The double value. - * - * @typedef DoubleValue - * @memberof google.protobuf - * @see [google.protobuf.DoubleValue definition in proto format]{@link https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto} - */ -const DoubleValue = { - // This is for documentation. Actual contents will be loaded by gRPC. -}; - -/** - * Wrapper message for `float`. - * - * The JSON representation for `FloatValue` is JSON number. - * - * @property {number} value - * The float value. - * - * @typedef FloatValue - * @memberof google.protobuf - * @see [google.protobuf.FloatValue definition in proto format]{@link https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto} - */ -const FloatValue = { - // This is for documentation. Actual contents will be loaded by gRPC. -}; - -/** - * Wrapper message for `int64`. - * - * The JSON representation for `Int64Value` is JSON string. - * - * @property {number} value - * The int64 value. - * - * @typedef Int64Value - * @memberof google.protobuf - * @see [google.protobuf.Int64Value definition in proto format]{@link https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto} - */ -const Int64Value = { - // This is for documentation. Actual contents will be loaded by gRPC. -}; - -/** - * Wrapper message for `uint64`. - * - * The JSON representation for `UInt64Value` is JSON string. - * - * @property {number} value - * The uint64 value. - * - * @typedef UInt64Value - * @memberof google.protobuf - * @see [google.protobuf.UInt64Value definition in proto format]{@link https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto} - */ -const UInt64Value = { - // This is for documentation. Actual contents will be loaded by gRPC. -}; - -/** - * Wrapper message for `int32`. - * - * The JSON representation for `Int32Value` is JSON number. - * - * @property {number} value - * The int32 value. - * - * @typedef Int32Value - * @memberof google.protobuf - * @see [google.protobuf.Int32Value definition in proto format]{@link https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto} - */ -const Int32Value = { - // This is for documentation. Actual contents will be loaded by gRPC. -}; - -/** - * Wrapper message for `uint32`. - * - * The JSON representation for `UInt32Value` is JSON number. - * - * @property {number} value - * The uint32 value. - * - * @typedef UInt32Value - * @memberof google.protobuf - * @see [google.protobuf.UInt32Value definition in proto format]{@link https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto} - */ -const UInt32Value = { - // This is for documentation. Actual contents will be loaded by gRPC. -}; - -/** - * Wrapper message for `bool`. - * - * The JSON representation for `BoolValue` is JSON `true` and `false`. - * - * @property {boolean} value - * The bool value. - * - * @typedef BoolValue - * @memberof google.protobuf - * @see [google.protobuf.BoolValue definition in proto format]{@link https://github.com/google/protobuf/blob/master/src/google/protobuf/wrappers.proto} - */ -const BoolValue = { - // This is for documentation. Actual contents will be loaded by gRPC. -}; - /** * Wrapper message for `string`. * diff --git a/src/v2/doc/google/rpc/doc_status.js b/src/v2/doc/google/rpc/doc_status.js index 13cfcab10..fc4b5be93 100644 --- a/src/v2/doc/google/rpc/doc_status.js +++ b/src/v2/doc/google/rpc/doc_status.js @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/synth.metadata b/synth.metadata index f26e69af8..545e01e15 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,26 +1,38 @@ { + "updateTime": "2019-01-25T12:09:11.464153Z", "sources": [ + { + "generator": { + "name": "artman", + "version": "0.16.7", + "dockerImage": "googleapis/artman@sha256:d6c8ced606eb49973ca95d2af7c55a681acc042db0f87d135968349e7bf6dd80" + } + }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "sha": "9aac88a22468b1e291937f55fa1ef237adfdc63e", + "internalRef": "230568136" } }, { - "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "template": { + "name": "node_library", + "origin": "synthtool.gcp", + "version": "2019.1.16" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "bigtable", + "apiVersion": "v2", + "language": "nodejs", + "generator": "gapic", + "config": "google/bigtable/artman_bigtable.yaml" } } ] diff --git a/test/gapic-v2.js b/test/gapic-v2.js index 4046c87dd..6f61ee931 100644 --- a/test/gapic-v2.js +++ b/test/gapic-v2.js @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.