weave-typescript 0.12.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/google/api/annotations.pb.js +1 -1
- package/dist/google/api/http.pb.js +1 -1
- package/dist/google/protobuf/descriptor.pb.d.ts +8 -1
- package/dist/google/protobuf/descriptor.pb.js +8 -1
- package/dist/google/protobuf/struct.pb.js +1 -1
- package/dist/google/protobuf/timestamp.pb.d.ts +7 -6
- package/dist/google/protobuf/timestamp.pb.js +1 -1
- package/dist/index.d.ts +9 -16
- package/dist/index.js +13 -21
- package/dist/weaveapi/{storage/v1/auth.pb.d.ts → atc/v1/event.pb.d.ts} +12 -6
- package/dist/weaveapi/atc/v1/event.pb.js +263 -0
- package/dist/weaveapi/{auth/v1/session.pb.d.ts → atc/v1/message.pb.d.ts} +22 -21
- package/dist/weaveapi/atc/v1/message.pb.js +287 -0
- package/dist/weaveapi/atc/v1/process.pb.d.ts +91 -0
- package/dist/weaveapi/atc/v1/process.pb.js +658 -0
- package/dist/weaveapi/atc/v1/run.pb.d.ts +71 -0
- package/dist/weaveapi/atc/v1/run.pb.js +525 -0
- package/dist/weaveapi/atc/v1/service.pb.d.ts +339 -0
- package/dist/weaveapi/atc/v1/service.pb.js +1922 -0
- package/dist/weaveapi/project/v1/project.pb.d.ts +67 -5
- package/dist/weaveapi/project/v1/project.pb.js +765 -66
- package/dist/weaveapi/project/v1/service.pb.d.ts +117 -76
- package/dist/weaveapi/project/v1/service.pb.js +1088 -401
- package/dist/weaveapi/task/v1/service.pb.d.ts +171 -0
- package/dist/weaveapi/task/v1/service.pb.js +1416 -0
- package/dist/weaveapi/task/v1/task.pb.d.ts +84 -0
- package/dist/weaveapi/task/v1/task.pb.js +782 -0
- package/dist/weavesql/atcdb/event_sql.d.ts +101 -0
- package/dist/weavesql/atcdb/event_sql.js +191 -0
- package/dist/weavesql/atcdb/mailbox_sql.d.ts +43 -0
- package/dist/weavesql/atcdb/mailbox_sql.js +85 -0
- package/dist/weavesql/weavedb/project_sql.d.ts +121 -46
- package/dist/weavesql/weavedb/project_sql.js +304 -112
- package/dist/weavesql/weavedb/task_sql.d.ts +163 -0
- package/dist/weavesql/weavedb/task_sql.js +328 -0
- package/package.json +1 -1
- package/dist/weaveapi/auth/v1/service.pb.d.ts +0 -709
- package/dist/weaveapi/auth/v1/service.pb.js +0 -4977
- package/dist/weaveapi/auth/v1/session.pb.js +0 -308
- package/dist/weaveapi/auth/v1/usage.pb.d.ts +0 -76
- package/dist/weaveapi/auth/v1/usage.pb.js +0 -849
- package/dist/weaveapi/auth/v1/user.pb.d.ts +0 -141
- package/dist/weaveapi/auth/v1/user.pb.js +0 -1625
- package/dist/weaveapi/data/v1/data.pb.d.ts +0 -54
- package/dist/weaveapi/data/v1/data.pb.js +0 -411
- package/dist/weaveapi/data/v1/service.pb.d.ts +0 -296
- package/dist/weaveapi/data/v1/service.pb.js +0 -2777
- package/dist/weaveapi/generate/v1/configuration.pb.d.ts +0 -122
- package/dist/weaveapi/generate/v1/configuration.pb.js +0 -877
- package/dist/weaveapi/generate/v1/generate.pb.d.ts +0 -48
- package/dist/weaveapi/generate/v1/generate.pb.js +0 -367
- package/dist/weaveapi/generate/v1/service.pb.d.ts +0 -173
- package/dist/weaveapi/generate/v1/service.pb.js +0 -1207
- package/dist/weaveapi/input/v1/input.pb.d.ts +0 -77
- package/dist/weaveapi/input/v1/input.pb.js +0 -632
- package/dist/weaveapi/input/v1/service.pb.d.ts +0 -390
- package/dist/weaveapi/input/v1/service.pb.js +0 -3610
- package/dist/weaveapi/integration/v1/integration.pb.d.ts +0 -67
- package/dist/weaveapi/integration/v1/integration.pb.js +0 -486
- package/dist/weaveapi/integration/v1/service.pb.d.ts +0 -318
- package/dist/weaveapi/integration/v1/service.pb.js +0 -2992
- package/dist/weaveapi/llmx/v1/architecture.pb.d.ts +0 -665
- package/dist/weaveapi/llmx/v1/architecture.pb.js +0 -3028
- package/dist/weaveapi/llmx/v1/capabilities.pb.d.ts +0 -709
- package/dist/weaveapi/llmx/v1/capabilities.pb.js +0 -3458
- package/dist/weaveapi/llmx/v1/model.pb.d.ts +0 -375
- package/dist/weaveapi/llmx/v1/model.pb.js +0 -1472
- package/dist/weaveapi/llmx/v1/pricing.pb.d.ts +0 -340
- package/dist/weaveapi/llmx/v1/pricing.pb.js +0 -974
- package/dist/weaveapi/llmx/v1/provider.pb.d.ts +0 -72
- package/dist/weaveapi/llmx/v1/provider.pb.js +0 -218
- package/dist/weaveapi/llmx/v1/service.pb.d.ts +0 -683
- package/dist/weaveapi/llmx/v1/service.pb.js +0 -5266
- package/dist/weaveapi/mcpregistry/v1/server.pb.d.ts +0 -54
- package/dist/weaveapi/mcpregistry/v1/server.pb.js +0 -436
- package/dist/weaveapi/mcpregistry/v1/service.pb.d.ts +0 -171
- package/dist/weaveapi/mcpregistry/v1/service.pb.js +0 -963
- package/dist/weaveapi/payment/v1/invoice.pb.d.ts +0 -92
- package/dist/weaveapi/payment/v1/invoice.pb.js +0 -998
- package/dist/weaveapi/payment/v1/service.pb.d.ts +0 -662
- package/dist/weaveapi/payment/v1/service.pb.js +0 -5395
- package/dist/weaveapi/payment/v1/subscription.pb.d.ts +0 -165
- package/dist/weaveapi/payment/v1/subscription.pb.js +0 -1930
- package/dist/weaveapi/report/v1/report.pb.d.ts +0 -81
- package/dist/weaveapi/report/v1/report.pb.js +0 -678
- package/dist/weaveapi/report/v1/service.pb.d.ts +0 -194
- package/dist/weaveapi/report/v1/service.pb.js +0 -1923
- package/dist/weaveapi/requirement/v1/requirement.pb.d.ts +0 -70
- package/dist/weaveapi/requirement/v1/requirement.pb.js +0 -570
- package/dist/weaveapi/requirement/v1/service.pb.d.ts +0 -390
- package/dist/weaveapi/requirement/v1/service.pb.js +0 -3636
- package/dist/weaveapi/run/v1/run.pb.d.ts +0 -117
- package/dist/weaveapi/run/v1/run.pb.js +0 -1155
- package/dist/weaveapi/run/v1/service.pb.d.ts +0 -229
- package/dist/weaveapi/run/v1/service.pb.js +0 -2426
- package/dist/weaveapi/script/v1/script.pb.d.ts +0 -102
- package/dist/weaveapi/script/v1/script.pb.js +0 -1025
- package/dist/weaveapi/script/v1/service.pb.d.ts +0 -502
- package/dist/weaveapi/script/v1/service.pb.js +0 -4871
- package/dist/weaveapi/storage/v1/auth.pb.js +0 -110
- package/dist/weaveapi/storage/v1/nosql_database.pb.d.ts +0 -91
- package/dist/weaveapi/storage/v1/nosql_database.pb.js +0 -1056
- package/dist/weaveapi/storage/v1/object_store.pb.d.ts +0 -49
- package/dist/weaveapi/storage/v1/object_store.pb.js +0 -441
- package/dist/weaveapi/storage/v1/service.pb.d.ts +0 -245
- package/dist/weaveapi/storage/v1/service.pb.js +0 -1339
- package/dist/weaveapi/storage/v1/sql_database.pb.d.ts +0 -98
- package/dist/weaveapi/storage/v1/sql_database.pb.js +0 -1184
- package/dist/weaveapi/storage/v1/storage.pb.d.ts +0 -35
- package/dist/weaveapi/storage/v1/storage.pb.js +0 -198
- package/dist/weaveapi/storage/v1/vcs.pb.d.ts +0 -75
- package/dist/weaveapi/storage/v1/vcs.pb.js +0 -864
- package/dist/weaveapi/suite/v1/service.pb.d.ts +0 -539
- package/dist/weaveapi/suite/v1/service.pb.js +0 -5279
- package/dist/weaveapi/suite/v1/suite.pb.d.ts +0 -92
- package/dist/weaveapi/suite/v1/suite.pb.js +0 -876
- package/dist/weaveapi/synthesize/v1/dataset.pb.d.ts +0 -68
- package/dist/weaveapi/synthesize/v1/dataset.pb.js +0 -460
- package/dist/weaveapi/synthesize/v1/inline_data.pb.d.ts +0 -45
- package/dist/weaveapi/synthesize/v1/inline_data.pb.js +0 -166
- package/dist/weaveapi/synthesize/v1/relationship.pb.d.ts +0 -58
- package/dist/weaveapi/synthesize/v1/relationship.pb.js +0 -253
- package/dist/weaveapi/synthesize/v1/service.pb.d.ts +0 -144
- package/dist/weaveapi/synthesize/v1/service.pb.js +0 -917
- package/dist/weaveapi/synthesize/v1/training.pb.d.ts +0 -58
- package/dist/weaveapi/synthesize/v1/training.pb.js +0 -386
- package/dist/weaveapi/testcase/v1/service.pb.d.ts +0 -498
- package/dist/weaveapi/testcase/v1/service.pb.js +0 -4728
- package/dist/weaveapi/testcase/v1/testcase.pb.d.ts +0 -91
- package/dist/weaveapi/testcase/v1/testcase.pb.js +0 -794
- package/dist/weaveapi/workflow/v1/service.pb.d.ts +0 -261
- package/dist/weaveapi/workflow/v1/service.pb.js +0 -2120
- package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +0 -77
- package/dist/weaveapi/workflow/v1/workflow.pb.js +0 -555
- package/dist/weaveapi/workflowdata/v1/service.pb.d.ts +0 -295
- package/dist/weaveapi/workflowdata/v1/service.pb.js +0 -2612
|
@@ -1,1184 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.11.2
|
|
5
|
-
// protoc unknown
|
|
6
|
-
// source: weaveapi/storage/v1/sql_database.proto
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.Databricks = exports.BigQuery = exports.Snowflake = exports.MariaDB = exports.Oracle = exports.SqlServer = exports.Postgres = exports.Mysql = exports.SqlDatabase = exports.protobufPackage = void 0;
|
|
9
|
-
/* eslint-disable */
|
|
10
|
-
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
-
exports.protobufPackage = "weaveapi.storage.v1";
|
|
12
|
-
function createBaseSqlDatabase() {
|
|
13
|
-
return {
|
|
14
|
-
tables: [],
|
|
15
|
-
mysql: undefined,
|
|
16
|
-
postgres: undefined,
|
|
17
|
-
sqlServer: undefined,
|
|
18
|
-
oracle: undefined,
|
|
19
|
-
mariadb: undefined,
|
|
20
|
-
snowflake: undefined,
|
|
21
|
-
bigQuery: undefined,
|
|
22
|
-
databricks: undefined,
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
exports.SqlDatabase = {
|
|
26
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
27
|
-
for (const v of message.tables) {
|
|
28
|
-
writer.uint32(10).string(v);
|
|
29
|
-
}
|
|
30
|
-
if (message.mysql !== undefined) {
|
|
31
|
-
exports.Mysql.encode(message.mysql, writer.uint32(18).fork()).join();
|
|
32
|
-
}
|
|
33
|
-
if (message.postgres !== undefined) {
|
|
34
|
-
exports.Postgres.encode(message.postgres, writer.uint32(26).fork()).join();
|
|
35
|
-
}
|
|
36
|
-
if (message.sqlServer !== undefined) {
|
|
37
|
-
exports.SqlServer.encode(message.sqlServer, writer.uint32(34).fork()).join();
|
|
38
|
-
}
|
|
39
|
-
if (message.oracle !== undefined) {
|
|
40
|
-
exports.Oracle.encode(message.oracle, writer.uint32(42).fork()).join();
|
|
41
|
-
}
|
|
42
|
-
if (message.mariadb !== undefined) {
|
|
43
|
-
exports.MariaDB.encode(message.mariadb, writer.uint32(50).fork()).join();
|
|
44
|
-
}
|
|
45
|
-
if (message.snowflake !== undefined) {
|
|
46
|
-
exports.Snowflake.encode(message.snowflake, writer.uint32(58).fork()).join();
|
|
47
|
-
}
|
|
48
|
-
if (message.bigQuery !== undefined) {
|
|
49
|
-
exports.BigQuery.encode(message.bigQuery, writer.uint32(66).fork()).join();
|
|
50
|
-
}
|
|
51
|
-
if (message.databricks !== undefined) {
|
|
52
|
-
exports.Databricks.encode(message.databricks, writer.uint32(74).fork()).join();
|
|
53
|
-
}
|
|
54
|
-
return writer;
|
|
55
|
-
},
|
|
56
|
-
decode(input, length) {
|
|
57
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
58
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
59
|
-
const message = createBaseSqlDatabase();
|
|
60
|
-
while (reader.pos < end) {
|
|
61
|
-
const tag = reader.uint32();
|
|
62
|
-
switch (tag >>> 3) {
|
|
63
|
-
case 1: {
|
|
64
|
-
if (tag !== 10) {
|
|
65
|
-
break;
|
|
66
|
-
}
|
|
67
|
-
message.tables.push(reader.string());
|
|
68
|
-
continue;
|
|
69
|
-
}
|
|
70
|
-
case 2: {
|
|
71
|
-
if (tag !== 18) {
|
|
72
|
-
break;
|
|
73
|
-
}
|
|
74
|
-
message.mysql = exports.Mysql.decode(reader, reader.uint32());
|
|
75
|
-
continue;
|
|
76
|
-
}
|
|
77
|
-
case 3: {
|
|
78
|
-
if (tag !== 26) {
|
|
79
|
-
break;
|
|
80
|
-
}
|
|
81
|
-
message.postgres = exports.Postgres.decode(reader, reader.uint32());
|
|
82
|
-
continue;
|
|
83
|
-
}
|
|
84
|
-
case 4: {
|
|
85
|
-
if (tag !== 34) {
|
|
86
|
-
break;
|
|
87
|
-
}
|
|
88
|
-
message.sqlServer = exports.SqlServer.decode(reader, reader.uint32());
|
|
89
|
-
continue;
|
|
90
|
-
}
|
|
91
|
-
case 5: {
|
|
92
|
-
if (tag !== 42) {
|
|
93
|
-
break;
|
|
94
|
-
}
|
|
95
|
-
message.oracle = exports.Oracle.decode(reader, reader.uint32());
|
|
96
|
-
continue;
|
|
97
|
-
}
|
|
98
|
-
case 6: {
|
|
99
|
-
if (tag !== 50) {
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
message.mariadb = exports.MariaDB.decode(reader, reader.uint32());
|
|
103
|
-
continue;
|
|
104
|
-
}
|
|
105
|
-
case 7: {
|
|
106
|
-
if (tag !== 58) {
|
|
107
|
-
break;
|
|
108
|
-
}
|
|
109
|
-
message.snowflake = exports.Snowflake.decode(reader, reader.uint32());
|
|
110
|
-
continue;
|
|
111
|
-
}
|
|
112
|
-
case 8: {
|
|
113
|
-
if (tag !== 66) {
|
|
114
|
-
break;
|
|
115
|
-
}
|
|
116
|
-
message.bigQuery = exports.BigQuery.decode(reader, reader.uint32());
|
|
117
|
-
continue;
|
|
118
|
-
}
|
|
119
|
-
case 9: {
|
|
120
|
-
if (tag !== 74) {
|
|
121
|
-
break;
|
|
122
|
-
}
|
|
123
|
-
message.databricks = exports.Databricks.decode(reader, reader.uint32());
|
|
124
|
-
continue;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
128
|
-
break;
|
|
129
|
-
}
|
|
130
|
-
reader.skip(tag & 7);
|
|
131
|
-
}
|
|
132
|
-
return message;
|
|
133
|
-
},
|
|
134
|
-
fromJSON(object) {
|
|
135
|
-
return {
|
|
136
|
-
tables: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.tables) ? object.tables.map((e) => globalThis.String(e)) : [],
|
|
137
|
-
mysql: isSet(object.mysql) ? exports.Mysql.fromJSON(object.mysql) : undefined,
|
|
138
|
-
postgres: isSet(object.postgres) ? exports.Postgres.fromJSON(object.postgres) : undefined,
|
|
139
|
-
sqlServer: isSet(object.sqlServer)
|
|
140
|
-
? exports.SqlServer.fromJSON(object.sqlServer)
|
|
141
|
-
: isSet(object.sql_server)
|
|
142
|
-
? exports.SqlServer.fromJSON(object.sql_server)
|
|
143
|
-
: undefined,
|
|
144
|
-
oracle: isSet(object.oracle) ? exports.Oracle.fromJSON(object.oracle) : undefined,
|
|
145
|
-
mariadb: isSet(object.mariadb) ? exports.MariaDB.fromJSON(object.mariadb) : undefined,
|
|
146
|
-
snowflake: isSet(object.snowflake) ? exports.Snowflake.fromJSON(object.snowflake) : undefined,
|
|
147
|
-
bigQuery: isSet(object.bigQuery)
|
|
148
|
-
? exports.BigQuery.fromJSON(object.bigQuery)
|
|
149
|
-
: isSet(object.big_query)
|
|
150
|
-
? exports.BigQuery.fromJSON(object.big_query)
|
|
151
|
-
: undefined,
|
|
152
|
-
databricks: isSet(object.databricks) ? exports.Databricks.fromJSON(object.databricks) : undefined,
|
|
153
|
-
};
|
|
154
|
-
},
|
|
155
|
-
toJSON(message) {
|
|
156
|
-
var _a;
|
|
157
|
-
const obj = {};
|
|
158
|
-
if ((_a = message.tables) === null || _a === void 0 ? void 0 : _a.length) {
|
|
159
|
-
obj.tables = message.tables;
|
|
160
|
-
}
|
|
161
|
-
if (message.mysql !== undefined) {
|
|
162
|
-
obj.mysql = exports.Mysql.toJSON(message.mysql);
|
|
163
|
-
}
|
|
164
|
-
if (message.postgres !== undefined) {
|
|
165
|
-
obj.postgres = exports.Postgres.toJSON(message.postgres);
|
|
166
|
-
}
|
|
167
|
-
if (message.sqlServer !== undefined) {
|
|
168
|
-
obj.sqlServer = exports.SqlServer.toJSON(message.sqlServer);
|
|
169
|
-
}
|
|
170
|
-
if (message.oracle !== undefined) {
|
|
171
|
-
obj.oracle = exports.Oracle.toJSON(message.oracle);
|
|
172
|
-
}
|
|
173
|
-
if (message.mariadb !== undefined) {
|
|
174
|
-
obj.mariadb = exports.MariaDB.toJSON(message.mariadb);
|
|
175
|
-
}
|
|
176
|
-
if (message.snowflake !== undefined) {
|
|
177
|
-
obj.snowflake = exports.Snowflake.toJSON(message.snowflake);
|
|
178
|
-
}
|
|
179
|
-
if (message.bigQuery !== undefined) {
|
|
180
|
-
obj.bigQuery = exports.BigQuery.toJSON(message.bigQuery);
|
|
181
|
-
}
|
|
182
|
-
if (message.databricks !== undefined) {
|
|
183
|
-
obj.databricks = exports.Databricks.toJSON(message.databricks);
|
|
184
|
-
}
|
|
185
|
-
return obj;
|
|
186
|
-
},
|
|
187
|
-
create(base) {
|
|
188
|
-
return exports.SqlDatabase.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
189
|
-
},
|
|
190
|
-
fromPartial(object) {
|
|
191
|
-
var _a;
|
|
192
|
-
const message = createBaseSqlDatabase();
|
|
193
|
-
message.tables = ((_a = object.tables) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
194
|
-
message.mysql = (object.mysql !== undefined && object.mysql !== null) ? exports.Mysql.fromPartial(object.mysql) : undefined;
|
|
195
|
-
message.postgres = (object.postgres !== undefined && object.postgres !== null)
|
|
196
|
-
? exports.Postgres.fromPartial(object.postgres)
|
|
197
|
-
: undefined;
|
|
198
|
-
message.sqlServer = (object.sqlServer !== undefined && object.sqlServer !== null)
|
|
199
|
-
? exports.SqlServer.fromPartial(object.sqlServer)
|
|
200
|
-
: undefined;
|
|
201
|
-
message.oracle = (object.oracle !== undefined && object.oracle !== null)
|
|
202
|
-
? exports.Oracle.fromPartial(object.oracle)
|
|
203
|
-
: undefined;
|
|
204
|
-
message.mariadb = (object.mariadb !== undefined && object.mariadb !== null)
|
|
205
|
-
? exports.MariaDB.fromPartial(object.mariadb)
|
|
206
|
-
: undefined;
|
|
207
|
-
message.snowflake = (object.snowflake !== undefined && object.snowflake !== null)
|
|
208
|
-
? exports.Snowflake.fromPartial(object.snowflake)
|
|
209
|
-
: undefined;
|
|
210
|
-
message.bigQuery = (object.bigQuery !== undefined && object.bigQuery !== null)
|
|
211
|
-
? exports.BigQuery.fromPartial(object.bigQuery)
|
|
212
|
-
: undefined;
|
|
213
|
-
message.databricks = (object.databricks !== undefined && object.databricks !== null)
|
|
214
|
-
? exports.Databricks.fromPartial(object.databricks)
|
|
215
|
-
: undefined;
|
|
216
|
-
return message;
|
|
217
|
-
},
|
|
218
|
-
};
|
|
219
|
-
function createBaseMysql() {
|
|
220
|
-
return { host: "", port: 0, database: "", username: "", password: "", sslEnabled: false };
|
|
221
|
-
}
|
|
222
|
-
exports.Mysql = {
|
|
223
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
224
|
-
if (message.host !== "") {
|
|
225
|
-
writer.uint32(10).string(message.host);
|
|
226
|
-
}
|
|
227
|
-
if (message.port !== 0) {
|
|
228
|
-
writer.uint32(16).int32(message.port);
|
|
229
|
-
}
|
|
230
|
-
if (message.database !== "") {
|
|
231
|
-
writer.uint32(26).string(message.database);
|
|
232
|
-
}
|
|
233
|
-
if (message.username !== "") {
|
|
234
|
-
writer.uint32(34).string(message.username);
|
|
235
|
-
}
|
|
236
|
-
if (message.password !== "") {
|
|
237
|
-
writer.uint32(42).string(message.password);
|
|
238
|
-
}
|
|
239
|
-
if (message.sslEnabled !== false) {
|
|
240
|
-
writer.uint32(48).bool(message.sslEnabled);
|
|
241
|
-
}
|
|
242
|
-
return writer;
|
|
243
|
-
},
|
|
244
|
-
decode(input, length) {
|
|
245
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
246
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
247
|
-
const message = createBaseMysql();
|
|
248
|
-
while (reader.pos < end) {
|
|
249
|
-
const tag = reader.uint32();
|
|
250
|
-
switch (tag >>> 3) {
|
|
251
|
-
case 1: {
|
|
252
|
-
if (tag !== 10) {
|
|
253
|
-
break;
|
|
254
|
-
}
|
|
255
|
-
message.host = reader.string();
|
|
256
|
-
continue;
|
|
257
|
-
}
|
|
258
|
-
case 2: {
|
|
259
|
-
if (tag !== 16) {
|
|
260
|
-
break;
|
|
261
|
-
}
|
|
262
|
-
message.port = reader.int32();
|
|
263
|
-
continue;
|
|
264
|
-
}
|
|
265
|
-
case 3: {
|
|
266
|
-
if (tag !== 26) {
|
|
267
|
-
break;
|
|
268
|
-
}
|
|
269
|
-
message.database = reader.string();
|
|
270
|
-
continue;
|
|
271
|
-
}
|
|
272
|
-
case 4: {
|
|
273
|
-
if (tag !== 34) {
|
|
274
|
-
break;
|
|
275
|
-
}
|
|
276
|
-
message.username = reader.string();
|
|
277
|
-
continue;
|
|
278
|
-
}
|
|
279
|
-
case 5: {
|
|
280
|
-
if (tag !== 42) {
|
|
281
|
-
break;
|
|
282
|
-
}
|
|
283
|
-
message.password = reader.string();
|
|
284
|
-
continue;
|
|
285
|
-
}
|
|
286
|
-
case 6: {
|
|
287
|
-
if (tag !== 48) {
|
|
288
|
-
break;
|
|
289
|
-
}
|
|
290
|
-
message.sslEnabled = reader.bool();
|
|
291
|
-
continue;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
295
|
-
break;
|
|
296
|
-
}
|
|
297
|
-
reader.skip(tag & 7);
|
|
298
|
-
}
|
|
299
|
-
return message;
|
|
300
|
-
},
|
|
301
|
-
fromJSON(object) {
|
|
302
|
-
return {
|
|
303
|
-
host: isSet(object.host) ? globalThis.String(object.host) : "",
|
|
304
|
-
port: isSet(object.port) ? globalThis.Number(object.port) : 0,
|
|
305
|
-
database: isSet(object.database) ? globalThis.String(object.database) : "",
|
|
306
|
-
username: isSet(object.username) ? globalThis.String(object.username) : "",
|
|
307
|
-
password: isSet(object.password) ? globalThis.String(object.password) : "",
|
|
308
|
-
sslEnabled: isSet(object.sslEnabled)
|
|
309
|
-
? globalThis.Boolean(object.sslEnabled)
|
|
310
|
-
: isSet(object.ssl_enabled)
|
|
311
|
-
? globalThis.Boolean(object.ssl_enabled)
|
|
312
|
-
: false,
|
|
313
|
-
};
|
|
314
|
-
},
|
|
315
|
-
toJSON(message) {
|
|
316
|
-
const obj = {};
|
|
317
|
-
if (message.host !== "") {
|
|
318
|
-
obj.host = message.host;
|
|
319
|
-
}
|
|
320
|
-
if (message.port !== 0) {
|
|
321
|
-
obj.port = Math.round(message.port);
|
|
322
|
-
}
|
|
323
|
-
if (message.database !== "") {
|
|
324
|
-
obj.database = message.database;
|
|
325
|
-
}
|
|
326
|
-
if (message.username !== "") {
|
|
327
|
-
obj.username = message.username;
|
|
328
|
-
}
|
|
329
|
-
if (message.password !== "") {
|
|
330
|
-
obj.password = message.password;
|
|
331
|
-
}
|
|
332
|
-
if (message.sslEnabled !== false) {
|
|
333
|
-
obj.sslEnabled = message.sslEnabled;
|
|
334
|
-
}
|
|
335
|
-
return obj;
|
|
336
|
-
},
|
|
337
|
-
create(base) {
|
|
338
|
-
return exports.Mysql.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
339
|
-
},
|
|
340
|
-
fromPartial(object) {
|
|
341
|
-
var _a, _b, _c, _d, _e, _f;
|
|
342
|
-
const message = createBaseMysql();
|
|
343
|
-
message.host = (_a = object.host) !== null && _a !== void 0 ? _a : "";
|
|
344
|
-
message.port = (_b = object.port) !== null && _b !== void 0 ? _b : 0;
|
|
345
|
-
message.database = (_c = object.database) !== null && _c !== void 0 ? _c : "";
|
|
346
|
-
message.username = (_d = object.username) !== null && _d !== void 0 ? _d : "";
|
|
347
|
-
message.password = (_e = object.password) !== null && _e !== void 0 ? _e : "";
|
|
348
|
-
message.sslEnabled = (_f = object.sslEnabled) !== null && _f !== void 0 ? _f : false;
|
|
349
|
-
return message;
|
|
350
|
-
},
|
|
351
|
-
};
|
|
352
|
-
function createBasePostgres() {
|
|
353
|
-
return { host: "", port: 0, database: "", username: "", password: "", sslEnabled: false };
|
|
354
|
-
}
|
|
355
|
-
exports.Postgres = {
|
|
356
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
357
|
-
if (message.host !== "") {
|
|
358
|
-
writer.uint32(10).string(message.host);
|
|
359
|
-
}
|
|
360
|
-
if (message.port !== 0) {
|
|
361
|
-
writer.uint32(16).int32(message.port);
|
|
362
|
-
}
|
|
363
|
-
if (message.database !== "") {
|
|
364
|
-
writer.uint32(26).string(message.database);
|
|
365
|
-
}
|
|
366
|
-
if (message.username !== "") {
|
|
367
|
-
writer.uint32(34).string(message.username);
|
|
368
|
-
}
|
|
369
|
-
if (message.password !== "") {
|
|
370
|
-
writer.uint32(42).string(message.password);
|
|
371
|
-
}
|
|
372
|
-
if (message.sslEnabled !== false) {
|
|
373
|
-
writer.uint32(48).bool(message.sslEnabled);
|
|
374
|
-
}
|
|
375
|
-
return writer;
|
|
376
|
-
},
|
|
377
|
-
decode(input, length) {
|
|
378
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
379
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
380
|
-
const message = createBasePostgres();
|
|
381
|
-
while (reader.pos < end) {
|
|
382
|
-
const tag = reader.uint32();
|
|
383
|
-
switch (tag >>> 3) {
|
|
384
|
-
case 1: {
|
|
385
|
-
if (tag !== 10) {
|
|
386
|
-
break;
|
|
387
|
-
}
|
|
388
|
-
message.host = reader.string();
|
|
389
|
-
continue;
|
|
390
|
-
}
|
|
391
|
-
case 2: {
|
|
392
|
-
if (tag !== 16) {
|
|
393
|
-
break;
|
|
394
|
-
}
|
|
395
|
-
message.port = reader.int32();
|
|
396
|
-
continue;
|
|
397
|
-
}
|
|
398
|
-
case 3: {
|
|
399
|
-
if (tag !== 26) {
|
|
400
|
-
break;
|
|
401
|
-
}
|
|
402
|
-
message.database = reader.string();
|
|
403
|
-
continue;
|
|
404
|
-
}
|
|
405
|
-
case 4: {
|
|
406
|
-
if (tag !== 34) {
|
|
407
|
-
break;
|
|
408
|
-
}
|
|
409
|
-
message.username = reader.string();
|
|
410
|
-
continue;
|
|
411
|
-
}
|
|
412
|
-
case 5: {
|
|
413
|
-
if (tag !== 42) {
|
|
414
|
-
break;
|
|
415
|
-
}
|
|
416
|
-
message.password = reader.string();
|
|
417
|
-
continue;
|
|
418
|
-
}
|
|
419
|
-
case 6: {
|
|
420
|
-
if (tag !== 48) {
|
|
421
|
-
break;
|
|
422
|
-
}
|
|
423
|
-
message.sslEnabled = reader.bool();
|
|
424
|
-
continue;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
428
|
-
break;
|
|
429
|
-
}
|
|
430
|
-
reader.skip(tag & 7);
|
|
431
|
-
}
|
|
432
|
-
return message;
|
|
433
|
-
},
|
|
434
|
-
fromJSON(object) {
|
|
435
|
-
return {
|
|
436
|
-
host: isSet(object.host) ? globalThis.String(object.host) : "",
|
|
437
|
-
port: isSet(object.port) ? globalThis.Number(object.port) : 0,
|
|
438
|
-
database: isSet(object.database) ? globalThis.String(object.database) : "",
|
|
439
|
-
username: isSet(object.username) ? globalThis.String(object.username) : "",
|
|
440
|
-
password: isSet(object.password) ? globalThis.String(object.password) : "",
|
|
441
|
-
sslEnabled: isSet(object.sslEnabled)
|
|
442
|
-
? globalThis.Boolean(object.sslEnabled)
|
|
443
|
-
: isSet(object.ssl_enabled)
|
|
444
|
-
? globalThis.Boolean(object.ssl_enabled)
|
|
445
|
-
: false,
|
|
446
|
-
};
|
|
447
|
-
},
|
|
448
|
-
toJSON(message) {
|
|
449
|
-
const obj = {};
|
|
450
|
-
if (message.host !== "") {
|
|
451
|
-
obj.host = message.host;
|
|
452
|
-
}
|
|
453
|
-
if (message.port !== 0) {
|
|
454
|
-
obj.port = Math.round(message.port);
|
|
455
|
-
}
|
|
456
|
-
if (message.database !== "") {
|
|
457
|
-
obj.database = message.database;
|
|
458
|
-
}
|
|
459
|
-
if (message.username !== "") {
|
|
460
|
-
obj.username = message.username;
|
|
461
|
-
}
|
|
462
|
-
if (message.password !== "") {
|
|
463
|
-
obj.password = message.password;
|
|
464
|
-
}
|
|
465
|
-
if (message.sslEnabled !== false) {
|
|
466
|
-
obj.sslEnabled = message.sslEnabled;
|
|
467
|
-
}
|
|
468
|
-
return obj;
|
|
469
|
-
},
|
|
470
|
-
create(base) {
|
|
471
|
-
return exports.Postgres.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
472
|
-
},
|
|
473
|
-
fromPartial(object) {
|
|
474
|
-
var _a, _b, _c, _d, _e, _f;
|
|
475
|
-
const message = createBasePostgres();
|
|
476
|
-
message.host = (_a = object.host) !== null && _a !== void 0 ? _a : "";
|
|
477
|
-
message.port = (_b = object.port) !== null && _b !== void 0 ? _b : 0;
|
|
478
|
-
message.database = (_c = object.database) !== null && _c !== void 0 ? _c : "";
|
|
479
|
-
message.username = (_d = object.username) !== null && _d !== void 0 ? _d : "";
|
|
480
|
-
message.password = (_e = object.password) !== null && _e !== void 0 ? _e : "";
|
|
481
|
-
message.sslEnabled = (_f = object.sslEnabled) !== null && _f !== void 0 ? _f : false;
|
|
482
|
-
return message;
|
|
483
|
-
},
|
|
484
|
-
};
|
|
485
|
-
function createBaseSqlServer() {
|
|
486
|
-
return { host: "", port: 0, database: "", username: "", password: "", encryptConnection: false };
|
|
487
|
-
}
|
|
488
|
-
exports.SqlServer = {
|
|
489
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
490
|
-
if (message.host !== "") {
|
|
491
|
-
writer.uint32(10).string(message.host);
|
|
492
|
-
}
|
|
493
|
-
if (message.port !== 0) {
|
|
494
|
-
writer.uint32(16).int32(message.port);
|
|
495
|
-
}
|
|
496
|
-
if (message.database !== "") {
|
|
497
|
-
writer.uint32(26).string(message.database);
|
|
498
|
-
}
|
|
499
|
-
if (message.username !== "") {
|
|
500
|
-
writer.uint32(34).string(message.username);
|
|
501
|
-
}
|
|
502
|
-
if (message.password !== "") {
|
|
503
|
-
writer.uint32(42).string(message.password);
|
|
504
|
-
}
|
|
505
|
-
if (message.encryptConnection !== false) {
|
|
506
|
-
writer.uint32(48).bool(message.encryptConnection);
|
|
507
|
-
}
|
|
508
|
-
return writer;
|
|
509
|
-
},
|
|
510
|
-
decode(input, length) {
|
|
511
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
512
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
513
|
-
const message = createBaseSqlServer();
|
|
514
|
-
while (reader.pos < end) {
|
|
515
|
-
const tag = reader.uint32();
|
|
516
|
-
switch (tag >>> 3) {
|
|
517
|
-
case 1: {
|
|
518
|
-
if (tag !== 10) {
|
|
519
|
-
break;
|
|
520
|
-
}
|
|
521
|
-
message.host = reader.string();
|
|
522
|
-
continue;
|
|
523
|
-
}
|
|
524
|
-
case 2: {
|
|
525
|
-
if (tag !== 16) {
|
|
526
|
-
break;
|
|
527
|
-
}
|
|
528
|
-
message.port = reader.int32();
|
|
529
|
-
continue;
|
|
530
|
-
}
|
|
531
|
-
case 3: {
|
|
532
|
-
if (tag !== 26) {
|
|
533
|
-
break;
|
|
534
|
-
}
|
|
535
|
-
message.database = reader.string();
|
|
536
|
-
continue;
|
|
537
|
-
}
|
|
538
|
-
case 4: {
|
|
539
|
-
if (tag !== 34) {
|
|
540
|
-
break;
|
|
541
|
-
}
|
|
542
|
-
message.username = reader.string();
|
|
543
|
-
continue;
|
|
544
|
-
}
|
|
545
|
-
case 5: {
|
|
546
|
-
if (tag !== 42) {
|
|
547
|
-
break;
|
|
548
|
-
}
|
|
549
|
-
message.password = reader.string();
|
|
550
|
-
continue;
|
|
551
|
-
}
|
|
552
|
-
case 6: {
|
|
553
|
-
if (tag !== 48) {
|
|
554
|
-
break;
|
|
555
|
-
}
|
|
556
|
-
message.encryptConnection = reader.bool();
|
|
557
|
-
continue;
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
561
|
-
break;
|
|
562
|
-
}
|
|
563
|
-
reader.skip(tag & 7);
|
|
564
|
-
}
|
|
565
|
-
return message;
|
|
566
|
-
},
|
|
567
|
-
fromJSON(object) {
|
|
568
|
-
return {
|
|
569
|
-
host: isSet(object.host) ? globalThis.String(object.host) : "",
|
|
570
|
-
port: isSet(object.port) ? globalThis.Number(object.port) : 0,
|
|
571
|
-
database: isSet(object.database) ? globalThis.String(object.database) : "",
|
|
572
|
-
username: isSet(object.username) ? globalThis.String(object.username) : "",
|
|
573
|
-
password: isSet(object.password) ? globalThis.String(object.password) : "",
|
|
574
|
-
encryptConnection: isSet(object.encryptConnection)
|
|
575
|
-
? globalThis.Boolean(object.encryptConnection)
|
|
576
|
-
: isSet(object.encrypt_connection)
|
|
577
|
-
? globalThis.Boolean(object.encrypt_connection)
|
|
578
|
-
: false,
|
|
579
|
-
};
|
|
580
|
-
},
|
|
581
|
-
toJSON(message) {
|
|
582
|
-
const obj = {};
|
|
583
|
-
if (message.host !== "") {
|
|
584
|
-
obj.host = message.host;
|
|
585
|
-
}
|
|
586
|
-
if (message.port !== 0) {
|
|
587
|
-
obj.port = Math.round(message.port);
|
|
588
|
-
}
|
|
589
|
-
if (message.database !== "") {
|
|
590
|
-
obj.database = message.database;
|
|
591
|
-
}
|
|
592
|
-
if (message.username !== "") {
|
|
593
|
-
obj.username = message.username;
|
|
594
|
-
}
|
|
595
|
-
if (message.password !== "") {
|
|
596
|
-
obj.password = message.password;
|
|
597
|
-
}
|
|
598
|
-
if (message.encryptConnection !== false) {
|
|
599
|
-
obj.encryptConnection = message.encryptConnection;
|
|
600
|
-
}
|
|
601
|
-
return obj;
|
|
602
|
-
},
|
|
603
|
-
create(base) {
|
|
604
|
-
return exports.SqlServer.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
605
|
-
},
|
|
606
|
-
fromPartial(object) {
|
|
607
|
-
var _a, _b, _c, _d, _e, _f;
|
|
608
|
-
const message = createBaseSqlServer();
|
|
609
|
-
message.host = (_a = object.host) !== null && _a !== void 0 ? _a : "";
|
|
610
|
-
message.port = (_b = object.port) !== null && _b !== void 0 ? _b : 0;
|
|
611
|
-
message.database = (_c = object.database) !== null && _c !== void 0 ? _c : "";
|
|
612
|
-
message.username = (_d = object.username) !== null && _d !== void 0 ? _d : "";
|
|
613
|
-
message.password = (_e = object.password) !== null && _e !== void 0 ? _e : "";
|
|
614
|
-
message.encryptConnection = (_f = object.encryptConnection) !== null && _f !== void 0 ? _f : false;
|
|
615
|
-
return message;
|
|
616
|
-
},
|
|
617
|
-
};
|
|
618
|
-
function createBaseOracle() {
|
|
619
|
-
return { connectionString: "", username: "", password: "" };
|
|
620
|
-
}
|
|
621
|
-
exports.Oracle = {
|
|
622
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
623
|
-
if (message.connectionString !== "") {
|
|
624
|
-
writer.uint32(10).string(message.connectionString);
|
|
625
|
-
}
|
|
626
|
-
if (message.username !== "") {
|
|
627
|
-
writer.uint32(18).string(message.username);
|
|
628
|
-
}
|
|
629
|
-
if (message.password !== "") {
|
|
630
|
-
writer.uint32(26).string(message.password);
|
|
631
|
-
}
|
|
632
|
-
return writer;
|
|
633
|
-
},
|
|
634
|
-
decode(input, length) {
|
|
635
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
636
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
637
|
-
const message = createBaseOracle();
|
|
638
|
-
while (reader.pos < end) {
|
|
639
|
-
const tag = reader.uint32();
|
|
640
|
-
switch (tag >>> 3) {
|
|
641
|
-
case 1: {
|
|
642
|
-
if (tag !== 10) {
|
|
643
|
-
break;
|
|
644
|
-
}
|
|
645
|
-
message.connectionString = reader.string();
|
|
646
|
-
continue;
|
|
647
|
-
}
|
|
648
|
-
case 2: {
|
|
649
|
-
if (tag !== 18) {
|
|
650
|
-
break;
|
|
651
|
-
}
|
|
652
|
-
message.username = reader.string();
|
|
653
|
-
continue;
|
|
654
|
-
}
|
|
655
|
-
case 3: {
|
|
656
|
-
if (tag !== 26) {
|
|
657
|
-
break;
|
|
658
|
-
}
|
|
659
|
-
message.password = reader.string();
|
|
660
|
-
continue;
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
664
|
-
break;
|
|
665
|
-
}
|
|
666
|
-
reader.skip(tag & 7);
|
|
667
|
-
}
|
|
668
|
-
return message;
|
|
669
|
-
},
|
|
670
|
-
fromJSON(object) {
|
|
671
|
-
return {
|
|
672
|
-
connectionString: isSet(object.connectionString)
|
|
673
|
-
? globalThis.String(object.connectionString)
|
|
674
|
-
: isSet(object.connection_string)
|
|
675
|
-
? globalThis.String(object.connection_string)
|
|
676
|
-
: "",
|
|
677
|
-
username: isSet(object.username) ? globalThis.String(object.username) : "",
|
|
678
|
-
password: isSet(object.password) ? globalThis.String(object.password) : "",
|
|
679
|
-
};
|
|
680
|
-
},
|
|
681
|
-
toJSON(message) {
|
|
682
|
-
const obj = {};
|
|
683
|
-
if (message.connectionString !== "") {
|
|
684
|
-
obj.connectionString = message.connectionString;
|
|
685
|
-
}
|
|
686
|
-
if (message.username !== "") {
|
|
687
|
-
obj.username = message.username;
|
|
688
|
-
}
|
|
689
|
-
if (message.password !== "") {
|
|
690
|
-
obj.password = message.password;
|
|
691
|
-
}
|
|
692
|
-
return obj;
|
|
693
|
-
},
|
|
694
|
-
create(base) {
|
|
695
|
-
return exports.Oracle.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
696
|
-
},
|
|
697
|
-
fromPartial(object) {
|
|
698
|
-
var _a, _b, _c;
|
|
699
|
-
const message = createBaseOracle();
|
|
700
|
-
message.connectionString = (_a = object.connectionString) !== null && _a !== void 0 ? _a : "";
|
|
701
|
-
message.username = (_b = object.username) !== null && _b !== void 0 ? _b : "";
|
|
702
|
-
message.password = (_c = object.password) !== null && _c !== void 0 ? _c : "";
|
|
703
|
-
return message;
|
|
704
|
-
},
|
|
705
|
-
};
|
|
706
|
-
function createBaseMariaDB() {
|
|
707
|
-
return { host: "", port: 0, database: "", username: "", password: "", sslEnabled: false };
|
|
708
|
-
}
|
|
709
|
-
exports.MariaDB = {
|
|
710
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
711
|
-
if (message.host !== "") {
|
|
712
|
-
writer.uint32(10).string(message.host);
|
|
713
|
-
}
|
|
714
|
-
if (message.port !== 0) {
|
|
715
|
-
writer.uint32(16).int32(message.port);
|
|
716
|
-
}
|
|
717
|
-
if (message.database !== "") {
|
|
718
|
-
writer.uint32(26).string(message.database);
|
|
719
|
-
}
|
|
720
|
-
if (message.username !== "") {
|
|
721
|
-
writer.uint32(34).string(message.username);
|
|
722
|
-
}
|
|
723
|
-
if (message.password !== "") {
|
|
724
|
-
writer.uint32(42).string(message.password);
|
|
725
|
-
}
|
|
726
|
-
if (message.sslEnabled !== false) {
|
|
727
|
-
writer.uint32(48).bool(message.sslEnabled);
|
|
728
|
-
}
|
|
729
|
-
return writer;
|
|
730
|
-
},
|
|
731
|
-
decode(input, length) {
|
|
732
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
733
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
734
|
-
const message = createBaseMariaDB();
|
|
735
|
-
while (reader.pos < end) {
|
|
736
|
-
const tag = reader.uint32();
|
|
737
|
-
switch (tag >>> 3) {
|
|
738
|
-
case 1: {
|
|
739
|
-
if (tag !== 10) {
|
|
740
|
-
break;
|
|
741
|
-
}
|
|
742
|
-
message.host = reader.string();
|
|
743
|
-
continue;
|
|
744
|
-
}
|
|
745
|
-
case 2: {
|
|
746
|
-
if (tag !== 16) {
|
|
747
|
-
break;
|
|
748
|
-
}
|
|
749
|
-
message.port = reader.int32();
|
|
750
|
-
continue;
|
|
751
|
-
}
|
|
752
|
-
case 3: {
|
|
753
|
-
if (tag !== 26) {
|
|
754
|
-
break;
|
|
755
|
-
}
|
|
756
|
-
message.database = reader.string();
|
|
757
|
-
continue;
|
|
758
|
-
}
|
|
759
|
-
case 4: {
|
|
760
|
-
if (tag !== 34) {
|
|
761
|
-
break;
|
|
762
|
-
}
|
|
763
|
-
message.username = reader.string();
|
|
764
|
-
continue;
|
|
765
|
-
}
|
|
766
|
-
case 5: {
|
|
767
|
-
if (tag !== 42) {
|
|
768
|
-
break;
|
|
769
|
-
}
|
|
770
|
-
message.password = reader.string();
|
|
771
|
-
continue;
|
|
772
|
-
}
|
|
773
|
-
case 6: {
|
|
774
|
-
if (tag !== 48) {
|
|
775
|
-
break;
|
|
776
|
-
}
|
|
777
|
-
message.sslEnabled = reader.bool();
|
|
778
|
-
continue;
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
782
|
-
break;
|
|
783
|
-
}
|
|
784
|
-
reader.skip(tag & 7);
|
|
785
|
-
}
|
|
786
|
-
return message;
|
|
787
|
-
},
|
|
788
|
-
fromJSON(object) {
|
|
789
|
-
return {
|
|
790
|
-
host: isSet(object.host) ? globalThis.String(object.host) : "",
|
|
791
|
-
port: isSet(object.port) ? globalThis.Number(object.port) : 0,
|
|
792
|
-
database: isSet(object.database) ? globalThis.String(object.database) : "",
|
|
793
|
-
username: isSet(object.username) ? globalThis.String(object.username) : "",
|
|
794
|
-
password: isSet(object.password) ? globalThis.String(object.password) : "",
|
|
795
|
-
sslEnabled: isSet(object.sslEnabled)
|
|
796
|
-
? globalThis.Boolean(object.sslEnabled)
|
|
797
|
-
: isSet(object.ssl_enabled)
|
|
798
|
-
? globalThis.Boolean(object.ssl_enabled)
|
|
799
|
-
: false,
|
|
800
|
-
};
|
|
801
|
-
},
|
|
802
|
-
toJSON(message) {
|
|
803
|
-
const obj = {};
|
|
804
|
-
if (message.host !== "") {
|
|
805
|
-
obj.host = message.host;
|
|
806
|
-
}
|
|
807
|
-
if (message.port !== 0) {
|
|
808
|
-
obj.port = Math.round(message.port);
|
|
809
|
-
}
|
|
810
|
-
if (message.database !== "") {
|
|
811
|
-
obj.database = message.database;
|
|
812
|
-
}
|
|
813
|
-
if (message.username !== "") {
|
|
814
|
-
obj.username = message.username;
|
|
815
|
-
}
|
|
816
|
-
if (message.password !== "") {
|
|
817
|
-
obj.password = message.password;
|
|
818
|
-
}
|
|
819
|
-
if (message.sslEnabled !== false) {
|
|
820
|
-
obj.sslEnabled = message.sslEnabled;
|
|
821
|
-
}
|
|
822
|
-
return obj;
|
|
823
|
-
},
|
|
824
|
-
create(base) {
|
|
825
|
-
return exports.MariaDB.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
826
|
-
},
|
|
827
|
-
fromPartial(object) {
|
|
828
|
-
var _a, _b, _c, _d, _e, _f;
|
|
829
|
-
const message = createBaseMariaDB();
|
|
830
|
-
message.host = (_a = object.host) !== null && _a !== void 0 ? _a : "";
|
|
831
|
-
message.port = (_b = object.port) !== null && _b !== void 0 ? _b : 0;
|
|
832
|
-
message.database = (_c = object.database) !== null && _c !== void 0 ? _c : "";
|
|
833
|
-
message.username = (_d = object.username) !== null && _d !== void 0 ? _d : "";
|
|
834
|
-
message.password = (_e = object.password) !== null && _e !== void 0 ? _e : "";
|
|
835
|
-
message.sslEnabled = (_f = object.sslEnabled) !== null && _f !== void 0 ? _f : false;
|
|
836
|
-
return message;
|
|
837
|
-
},
|
|
838
|
-
};
|
|
839
|
-
function createBaseSnowflake() {
|
|
840
|
-
return { account: "", warehouse: "", database: "", schema: "", role: "", username: "", password: "" };
|
|
841
|
-
}
|
|
842
|
-
exports.Snowflake = {
|
|
843
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
844
|
-
if (message.account !== "") {
|
|
845
|
-
writer.uint32(10).string(message.account);
|
|
846
|
-
}
|
|
847
|
-
if (message.warehouse !== "") {
|
|
848
|
-
writer.uint32(18).string(message.warehouse);
|
|
849
|
-
}
|
|
850
|
-
if (message.database !== "") {
|
|
851
|
-
writer.uint32(26).string(message.database);
|
|
852
|
-
}
|
|
853
|
-
if (message.schema !== "") {
|
|
854
|
-
writer.uint32(34).string(message.schema);
|
|
855
|
-
}
|
|
856
|
-
if (message.role !== "") {
|
|
857
|
-
writer.uint32(42).string(message.role);
|
|
858
|
-
}
|
|
859
|
-
if (message.username !== "") {
|
|
860
|
-
writer.uint32(50).string(message.username);
|
|
861
|
-
}
|
|
862
|
-
if (message.password !== "") {
|
|
863
|
-
writer.uint32(58).string(message.password);
|
|
864
|
-
}
|
|
865
|
-
return writer;
|
|
866
|
-
},
|
|
867
|
-
decode(input, length) {
|
|
868
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
869
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
870
|
-
const message = createBaseSnowflake();
|
|
871
|
-
while (reader.pos < end) {
|
|
872
|
-
const tag = reader.uint32();
|
|
873
|
-
switch (tag >>> 3) {
|
|
874
|
-
case 1: {
|
|
875
|
-
if (tag !== 10) {
|
|
876
|
-
break;
|
|
877
|
-
}
|
|
878
|
-
message.account = reader.string();
|
|
879
|
-
continue;
|
|
880
|
-
}
|
|
881
|
-
case 2: {
|
|
882
|
-
if (tag !== 18) {
|
|
883
|
-
break;
|
|
884
|
-
}
|
|
885
|
-
message.warehouse = reader.string();
|
|
886
|
-
continue;
|
|
887
|
-
}
|
|
888
|
-
case 3: {
|
|
889
|
-
if (tag !== 26) {
|
|
890
|
-
break;
|
|
891
|
-
}
|
|
892
|
-
message.database = reader.string();
|
|
893
|
-
continue;
|
|
894
|
-
}
|
|
895
|
-
case 4: {
|
|
896
|
-
if (tag !== 34) {
|
|
897
|
-
break;
|
|
898
|
-
}
|
|
899
|
-
message.schema = reader.string();
|
|
900
|
-
continue;
|
|
901
|
-
}
|
|
902
|
-
case 5: {
|
|
903
|
-
if (tag !== 42) {
|
|
904
|
-
break;
|
|
905
|
-
}
|
|
906
|
-
message.role = reader.string();
|
|
907
|
-
continue;
|
|
908
|
-
}
|
|
909
|
-
case 6: {
|
|
910
|
-
if (tag !== 50) {
|
|
911
|
-
break;
|
|
912
|
-
}
|
|
913
|
-
message.username = reader.string();
|
|
914
|
-
continue;
|
|
915
|
-
}
|
|
916
|
-
case 7: {
|
|
917
|
-
if (tag !== 58) {
|
|
918
|
-
break;
|
|
919
|
-
}
|
|
920
|
-
message.password = reader.string();
|
|
921
|
-
continue;
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
925
|
-
break;
|
|
926
|
-
}
|
|
927
|
-
reader.skip(tag & 7);
|
|
928
|
-
}
|
|
929
|
-
return message;
|
|
930
|
-
},
|
|
931
|
-
fromJSON(object) {
|
|
932
|
-
return {
|
|
933
|
-
account: isSet(object.account) ? globalThis.String(object.account) : "",
|
|
934
|
-
warehouse: isSet(object.warehouse) ? globalThis.String(object.warehouse) : "",
|
|
935
|
-
database: isSet(object.database) ? globalThis.String(object.database) : "",
|
|
936
|
-
schema: isSet(object.schema) ? globalThis.String(object.schema) : "",
|
|
937
|
-
role: isSet(object.role) ? globalThis.String(object.role) : "",
|
|
938
|
-
username: isSet(object.username) ? globalThis.String(object.username) : "",
|
|
939
|
-
password: isSet(object.password) ? globalThis.String(object.password) : "",
|
|
940
|
-
};
|
|
941
|
-
},
|
|
942
|
-
toJSON(message) {
|
|
943
|
-
const obj = {};
|
|
944
|
-
if (message.account !== "") {
|
|
945
|
-
obj.account = message.account;
|
|
946
|
-
}
|
|
947
|
-
if (message.warehouse !== "") {
|
|
948
|
-
obj.warehouse = message.warehouse;
|
|
949
|
-
}
|
|
950
|
-
if (message.database !== "") {
|
|
951
|
-
obj.database = message.database;
|
|
952
|
-
}
|
|
953
|
-
if (message.schema !== "") {
|
|
954
|
-
obj.schema = message.schema;
|
|
955
|
-
}
|
|
956
|
-
if (message.role !== "") {
|
|
957
|
-
obj.role = message.role;
|
|
958
|
-
}
|
|
959
|
-
if (message.username !== "") {
|
|
960
|
-
obj.username = message.username;
|
|
961
|
-
}
|
|
962
|
-
if (message.password !== "") {
|
|
963
|
-
obj.password = message.password;
|
|
964
|
-
}
|
|
965
|
-
return obj;
|
|
966
|
-
},
|
|
967
|
-
create(base) {
|
|
968
|
-
return exports.Snowflake.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
969
|
-
},
|
|
970
|
-
fromPartial(object) {
|
|
971
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
972
|
-
const message = createBaseSnowflake();
|
|
973
|
-
message.account = (_a = object.account) !== null && _a !== void 0 ? _a : "";
|
|
974
|
-
message.warehouse = (_b = object.warehouse) !== null && _b !== void 0 ? _b : "";
|
|
975
|
-
message.database = (_c = object.database) !== null && _c !== void 0 ? _c : "";
|
|
976
|
-
message.schema = (_d = object.schema) !== null && _d !== void 0 ? _d : "";
|
|
977
|
-
message.role = (_e = object.role) !== null && _e !== void 0 ? _e : "";
|
|
978
|
-
message.username = (_f = object.username) !== null && _f !== void 0 ? _f : "";
|
|
979
|
-
message.password = (_g = object.password) !== null && _g !== void 0 ? _g : "";
|
|
980
|
-
return message;
|
|
981
|
-
},
|
|
982
|
-
};
|
|
983
|
-
function createBaseBigQuery() {
|
|
984
|
-
return { projectId: "", dataset: "", serviceAccountJson: undefined, useApplicationDefault: undefined };
|
|
985
|
-
}
|
|
986
|
-
exports.BigQuery = {
|
|
987
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
988
|
-
if (message.projectId !== "") {
|
|
989
|
-
writer.uint32(10).string(message.projectId);
|
|
990
|
-
}
|
|
991
|
-
if (message.dataset !== "") {
|
|
992
|
-
writer.uint32(18).string(message.dataset);
|
|
993
|
-
}
|
|
994
|
-
if (message.serviceAccountJson !== undefined) {
|
|
995
|
-
writer.uint32(82).string(message.serviceAccountJson);
|
|
996
|
-
}
|
|
997
|
-
if (message.useApplicationDefault !== undefined) {
|
|
998
|
-
writer.uint32(88).bool(message.useApplicationDefault);
|
|
999
|
-
}
|
|
1000
|
-
return writer;
|
|
1001
|
-
},
|
|
1002
|
-
decode(input, length) {
|
|
1003
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1004
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1005
|
-
const message = createBaseBigQuery();
|
|
1006
|
-
while (reader.pos < end) {
|
|
1007
|
-
const tag = reader.uint32();
|
|
1008
|
-
switch (tag >>> 3) {
|
|
1009
|
-
case 1: {
|
|
1010
|
-
if (tag !== 10) {
|
|
1011
|
-
break;
|
|
1012
|
-
}
|
|
1013
|
-
message.projectId = reader.string();
|
|
1014
|
-
continue;
|
|
1015
|
-
}
|
|
1016
|
-
case 2: {
|
|
1017
|
-
if (tag !== 18) {
|
|
1018
|
-
break;
|
|
1019
|
-
}
|
|
1020
|
-
message.dataset = reader.string();
|
|
1021
|
-
continue;
|
|
1022
|
-
}
|
|
1023
|
-
case 10: {
|
|
1024
|
-
if (tag !== 82) {
|
|
1025
|
-
break;
|
|
1026
|
-
}
|
|
1027
|
-
message.serviceAccountJson = reader.string();
|
|
1028
|
-
continue;
|
|
1029
|
-
}
|
|
1030
|
-
case 11: {
|
|
1031
|
-
if (tag !== 88) {
|
|
1032
|
-
break;
|
|
1033
|
-
}
|
|
1034
|
-
message.useApplicationDefault = reader.bool();
|
|
1035
|
-
continue;
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1039
|
-
break;
|
|
1040
|
-
}
|
|
1041
|
-
reader.skip(tag & 7);
|
|
1042
|
-
}
|
|
1043
|
-
return message;
|
|
1044
|
-
},
|
|
1045
|
-
fromJSON(object) {
|
|
1046
|
-
return {
|
|
1047
|
-
projectId: isSet(object.projectId)
|
|
1048
|
-
? globalThis.String(object.projectId)
|
|
1049
|
-
: isSet(object.project_id)
|
|
1050
|
-
? globalThis.String(object.project_id)
|
|
1051
|
-
: "",
|
|
1052
|
-
dataset: isSet(object.dataset) ? globalThis.String(object.dataset) : "",
|
|
1053
|
-
serviceAccountJson: isSet(object.serviceAccountJson)
|
|
1054
|
-
? globalThis.String(object.serviceAccountJson)
|
|
1055
|
-
: isSet(object.service_account_json)
|
|
1056
|
-
? globalThis.String(object.service_account_json)
|
|
1057
|
-
: undefined,
|
|
1058
|
-
useApplicationDefault: isSet(object.useApplicationDefault)
|
|
1059
|
-
? globalThis.Boolean(object.useApplicationDefault)
|
|
1060
|
-
: isSet(object.use_application_default)
|
|
1061
|
-
? globalThis.Boolean(object.use_application_default)
|
|
1062
|
-
: undefined,
|
|
1063
|
-
};
|
|
1064
|
-
},
|
|
1065
|
-
toJSON(message) {
|
|
1066
|
-
const obj = {};
|
|
1067
|
-
if (message.projectId !== "") {
|
|
1068
|
-
obj.projectId = message.projectId;
|
|
1069
|
-
}
|
|
1070
|
-
if (message.dataset !== "") {
|
|
1071
|
-
obj.dataset = message.dataset;
|
|
1072
|
-
}
|
|
1073
|
-
if (message.serviceAccountJson !== undefined) {
|
|
1074
|
-
obj.serviceAccountJson = message.serviceAccountJson;
|
|
1075
|
-
}
|
|
1076
|
-
if (message.useApplicationDefault !== undefined) {
|
|
1077
|
-
obj.useApplicationDefault = message.useApplicationDefault;
|
|
1078
|
-
}
|
|
1079
|
-
return obj;
|
|
1080
|
-
},
|
|
1081
|
-
create(base) {
|
|
1082
|
-
return exports.BigQuery.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1083
|
-
},
|
|
1084
|
-
fromPartial(object) {
|
|
1085
|
-
var _a, _b, _c, _d;
|
|
1086
|
-
const message = createBaseBigQuery();
|
|
1087
|
-
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
1088
|
-
message.dataset = (_b = object.dataset) !== null && _b !== void 0 ? _b : "";
|
|
1089
|
-
message.serviceAccountJson = (_c = object.serviceAccountJson) !== null && _c !== void 0 ? _c : undefined;
|
|
1090
|
-
message.useApplicationDefault = (_d = object.useApplicationDefault) !== null && _d !== void 0 ? _d : undefined;
|
|
1091
|
-
return message;
|
|
1092
|
-
},
|
|
1093
|
-
};
|
|
1094
|
-
function createBaseDatabricks() {
|
|
1095
|
-
return { host: "", httpPath: "", token: "" };
|
|
1096
|
-
}
|
|
1097
|
-
exports.Databricks = {
|
|
1098
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1099
|
-
if (message.host !== "") {
|
|
1100
|
-
writer.uint32(10).string(message.host);
|
|
1101
|
-
}
|
|
1102
|
-
if (message.httpPath !== "") {
|
|
1103
|
-
writer.uint32(18).string(message.httpPath);
|
|
1104
|
-
}
|
|
1105
|
-
if (message.token !== "") {
|
|
1106
|
-
writer.uint32(26).string(message.token);
|
|
1107
|
-
}
|
|
1108
|
-
return writer;
|
|
1109
|
-
},
|
|
1110
|
-
decode(input, length) {
|
|
1111
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1112
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1113
|
-
const message = createBaseDatabricks();
|
|
1114
|
-
while (reader.pos < end) {
|
|
1115
|
-
const tag = reader.uint32();
|
|
1116
|
-
switch (tag >>> 3) {
|
|
1117
|
-
case 1: {
|
|
1118
|
-
if (tag !== 10) {
|
|
1119
|
-
break;
|
|
1120
|
-
}
|
|
1121
|
-
message.host = reader.string();
|
|
1122
|
-
continue;
|
|
1123
|
-
}
|
|
1124
|
-
case 2: {
|
|
1125
|
-
if (tag !== 18) {
|
|
1126
|
-
break;
|
|
1127
|
-
}
|
|
1128
|
-
message.httpPath = reader.string();
|
|
1129
|
-
continue;
|
|
1130
|
-
}
|
|
1131
|
-
case 3: {
|
|
1132
|
-
if (tag !== 26) {
|
|
1133
|
-
break;
|
|
1134
|
-
}
|
|
1135
|
-
message.token = reader.string();
|
|
1136
|
-
continue;
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1139
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
1140
|
-
break;
|
|
1141
|
-
}
|
|
1142
|
-
reader.skip(tag & 7);
|
|
1143
|
-
}
|
|
1144
|
-
return message;
|
|
1145
|
-
},
|
|
1146
|
-
fromJSON(object) {
|
|
1147
|
-
return {
|
|
1148
|
-
host: isSet(object.host) ? globalThis.String(object.host) : "",
|
|
1149
|
-
httpPath: isSet(object.httpPath)
|
|
1150
|
-
? globalThis.String(object.httpPath)
|
|
1151
|
-
: isSet(object.http_path)
|
|
1152
|
-
? globalThis.String(object.http_path)
|
|
1153
|
-
: "",
|
|
1154
|
-
token: isSet(object.token) ? globalThis.String(object.token) : "",
|
|
1155
|
-
};
|
|
1156
|
-
},
|
|
1157
|
-
toJSON(message) {
|
|
1158
|
-
const obj = {};
|
|
1159
|
-
if (message.host !== "") {
|
|
1160
|
-
obj.host = message.host;
|
|
1161
|
-
}
|
|
1162
|
-
if (message.httpPath !== "") {
|
|
1163
|
-
obj.httpPath = message.httpPath;
|
|
1164
|
-
}
|
|
1165
|
-
if (message.token !== "") {
|
|
1166
|
-
obj.token = message.token;
|
|
1167
|
-
}
|
|
1168
|
-
return obj;
|
|
1169
|
-
},
|
|
1170
|
-
create(base) {
|
|
1171
|
-
return exports.Databricks.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1172
|
-
},
|
|
1173
|
-
fromPartial(object) {
|
|
1174
|
-
var _a, _b, _c;
|
|
1175
|
-
const message = createBaseDatabricks();
|
|
1176
|
-
message.host = (_a = object.host) !== null && _a !== void 0 ? _a : "";
|
|
1177
|
-
message.httpPath = (_b = object.httpPath) !== null && _b !== void 0 ? _b : "";
|
|
1178
|
-
message.token = (_c = object.token) !== null && _c !== void 0 ? _c : "";
|
|
1179
|
-
return message;
|
|
1180
|
-
},
|
|
1181
|
-
};
|
|
1182
|
-
function isSet(value) {
|
|
1183
|
-
return value !== null && value !== undefined;
|
|
1184
|
-
}
|