Skip to content

Commit d51ca43

Browse files
1 parent 6a2fcc4 commit d51ca43

1 file changed

Lines changed: 26 additions & 36 deletions

File tree

  • handwritten/bigquery-storage/src
Lines changed: 26 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -12,60 +12,50 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414
//
15-
// ** This file is automatically generated by gapic-generator-typescript. **
16-
// ** https://github.com/googleapis/gapic-generator-typescript **
15+
// ** This file is automatically generated by synthtool. **
16+
// ** https://github.com/googleapis/synthtool **
1717
// ** All changes to this file may be overwritten. **
1818

19+
import * as adapt from './adapt';
20+
import * as managedwriter from './managedwriter';
21+
import * as protobuf from './protobuf';
22+
import * as reader from './reader';
23+
import * as util from './util';
1924
import * as v1 from './v1';
20-
import * as v1beta1 from './v1beta1';
2125
import * as v1alpha from './v1alpha';
2226
import * as v1beta from './v1beta';
23-
import * as managedwriter from './managedwriter';
24-
import * as reader from './reader';
27+
import * as v1beta1 from './v1beta1';
28+
2529
const BigQueryReadClient = v1.BigQueryReadClient;
2630
type BigQueryReadClient = v1.BigQueryReadClient;
2731
const BigQueryWriteClient = v1.BigQueryWriteClient;
2832
type BigQueryWriteClient = v1.BigQueryWriteClient;
29-
const BigQueryStorageClient = v1beta1.BigQueryStorageClient;
30-
type BigQueryStorageClient = v1beta1.BigQueryStorageClient;
31-
const WriterClient = managedwriter.WriterClient;
32-
type WriterClient = managedwriter.WriterClient;
33-
const ReadClient = reader.ReadClient;
34-
type ReadClient = reader.ReadClient;
33+
3534
export {
35+
adapt,
36+
managedwriter,
37+
protobuf,
38+
reader,
39+
util,
3640
v1,
37-
BigQueryReadClient,
38-
v1beta1,
3941
v1alpha,
4042
v1beta,
41-
BigQueryStorageClient,
43+
v1beta1,
44+
BigQueryReadClient,
4245
BigQueryWriteClient,
43-
managedwriter,
44-
WriterClient,
45-
reader,
46-
ReadClient,
4746
};
48-
// For compatibility with JavaScript libraries we need to provide this default export:
49-
// tslint:disable-next-line no-default-export
5047
export default {
48+
adapt,
49+
managedwriter,
50+
protobuf,
51+
reader,
52+
util,
5153
v1,
54+
v1alpha,
55+
v1beta,
56+
v1beta1,
5257
BigQueryReadClient,
5358
BigQueryWriteClient,
54-
managedwriter,
55-
WriterClient,
56-
reader,
57-
ReadClient,
5859
};
5960
import * as protos from '../protos/protos';
6061
export {protos};
61-
import * as adapt from './adapt';
62-
export {adapt};
63-
64-
// Add extra protobufjs definitions.
65-
// When importing protobufjs/ext/descriptor package, it monkey patches some methods
66-
// that we use in this package. We need to manually declare some of those
67-
// methods that we use to make the Typescript compiler happy.
68-
// There are some open issues around that. After they are fixed, we can remove this:
69-
// * https://github.com/protobufjs/protobuf.js/issues/1499
70-
// * https://github.com/protobufjs/protobuf.js/issues/1149
71-
import './protobuf';

0 commit comments

Comments
 (0)