@marleena/trb-proto 1.0.29 → 1.0.30

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.
@@ -0,0 +1,1591 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for trb.postgresql.v1
3
+ * @enhanceable
4
+ * @public
5
+ */
6
+
7
+ // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
+ // versions:
9
+ // protoc-gen-grpc-web v1.5.0
10
+ // protoc v7.34.1
11
+ // source: postgresql/admin.proto
12
+
13
+
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+
18
+ import * as grpcWeb from 'grpc-web';
19
+
20
+ import * as postgresql_admin_pb from '../postgresql/admin_pb'; // proto import: "postgresql/admin.proto"
21
+
22
+
23
+ export class PostgreSQL_AdminClient {
24
+ client_: grpcWeb.AbstractClientBase;
25
+ hostname_: string;
26
+ credentials_: null | { [index: string]: string; };
27
+ options_: null | { [index: string]: any; };
28
+
29
+ constructor (hostname: string,
30
+ credentials?: null | { [index: string]: string; },
31
+ options?: null | { [index: string]: any; }) {
32
+ if (!options) options = {};
33
+ if (!credentials) credentials = {};
34
+ options['format'] = 'binary';
35
+
36
+ this.client_ = new grpcWeb.GrpcWebClientBase(options);
37
+ this.hostname_ = hostname.replace(/\/+$/, '');
38
+ this.credentials_ = credentials;
39
+ this.options_ = options;
40
+ }
41
+
42
+ methodDescriptorPing = new grpcWeb.MethodDescriptor(
43
+ '/trb.postgresql.v1.PostgreSQL_Admin/Ping',
44
+ grpcWeb.MethodType.UNARY,
45
+ postgresql_admin_pb.PingRequest,
46
+ postgresql_admin_pb.PingResponse,
47
+ (request: postgresql_admin_pb.PingRequest) => {
48
+ return request.serializeBinary();
49
+ },
50
+ postgresql_admin_pb.PingResponse.deserializeBinary
51
+ );
52
+
53
+ ping(
54
+ request: postgresql_admin_pb.PingRequest,
55
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.PingResponse>;
56
+
57
+ ping(
58
+ request: postgresql_admin_pb.PingRequest,
59
+ metadata: grpcWeb.Metadata | null,
60
+ callback: (err: grpcWeb.RpcError,
61
+ response: postgresql_admin_pb.PingResponse) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.PingResponse>;
62
+
63
+ ping(
64
+ request: postgresql_admin_pb.PingRequest,
65
+ metadata?: grpcWeb.Metadata | null,
66
+ callback?: (err: grpcWeb.RpcError,
67
+ response: postgresql_admin_pb.PingResponse) => void) {
68
+ if (callback !== undefined) {
69
+ return this.client_.rpcCall(
70
+ this.hostname_ +
71
+ '/trb.postgresql.v1.PostgreSQL_Admin/Ping',
72
+ request,
73
+ metadata || {},
74
+ this.methodDescriptorPing,
75
+ callback);
76
+ }
77
+ return this.client_.unaryCall(
78
+ this.hostname_ +
79
+ '/trb.postgresql.v1.PostgreSQL_Admin/Ping',
80
+ request,
81
+ metadata || {},
82
+ this.methodDescriptorPing);
83
+ }
84
+
85
+ methodDescriptorServerInfo = new grpcWeb.MethodDescriptor(
86
+ '/trb.postgresql.v1.PostgreSQL_Admin/ServerInfo',
87
+ grpcWeb.MethodType.UNARY,
88
+ postgresql_admin_pb.ServerInfoRequest,
89
+ postgresql_admin_pb.ServerInfoResponse,
90
+ (request: postgresql_admin_pb.ServerInfoRequest) => {
91
+ return request.serializeBinary();
92
+ },
93
+ postgresql_admin_pb.ServerInfoResponse.deserializeBinary
94
+ );
95
+
96
+ serverInfo(
97
+ request: postgresql_admin_pb.ServerInfoRequest,
98
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.ServerInfoResponse>;
99
+
100
+ serverInfo(
101
+ request: postgresql_admin_pb.ServerInfoRequest,
102
+ metadata: grpcWeb.Metadata | null,
103
+ callback: (err: grpcWeb.RpcError,
104
+ response: postgresql_admin_pb.ServerInfoResponse) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.ServerInfoResponse>;
105
+
106
+ serverInfo(
107
+ request: postgresql_admin_pb.ServerInfoRequest,
108
+ metadata?: grpcWeb.Metadata | null,
109
+ callback?: (err: grpcWeb.RpcError,
110
+ response: postgresql_admin_pb.ServerInfoResponse) => void) {
111
+ if (callback !== undefined) {
112
+ return this.client_.rpcCall(
113
+ this.hostname_ +
114
+ '/trb.postgresql.v1.PostgreSQL_Admin/ServerInfo',
115
+ request,
116
+ metadata || {},
117
+ this.methodDescriptorServerInfo,
118
+ callback);
119
+ }
120
+ return this.client_.unaryCall(
121
+ this.hostname_ +
122
+ '/trb.postgresql.v1.PostgreSQL_Admin/ServerInfo',
123
+ request,
124
+ metadata || {},
125
+ this.methodDescriptorServerInfo);
126
+ }
127
+
128
+ methodDescriptorCreateDatabase = new grpcWeb.MethodDescriptor(
129
+ '/trb.postgresql.v1.PostgreSQL_Admin/CreateDatabase',
130
+ grpcWeb.MethodType.UNARY,
131
+ postgresql_admin_pb.DatabaseSpec,
132
+ postgresql_admin_pb.Status,
133
+ (request: postgresql_admin_pb.DatabaseSpec) => {
134
+ return request.serializeBinary();
135
+ },
136
+ postgresql_admin_pb.Status.deserializeBinary
137
+ );
138
+
139
+ createDatabase(
140
+ request: postgresql_admin_pb.DatabaseSpec,
141
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
142
+
143
+ createDatabase(
144
+ request: postgresql_admin_pb.DatabaseSpec,
145
+ metadata: grpcWeb.Metadata | null,
146
+ callback: (err: grpcWeb.RpcError,
147
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
148
+
149
+ createDatabase(
150
+ request: postgresql_admin_pb.DatabaseSpec,
151
+ metadata?: grpcWeb.Metadata | null,
152
+ callback?: (err: grpcWeb.RpcError,
153
+ response: postgresql_admin_pb.Status) => void) {
154
+ if (callback !== undefined) {
155
+ return this.client_.rpcCall(
156
+ this.hostname_ +
157
+ '/trb.postgresql.v1.PostgreSQL_Admin/CreateDatabase',
158
+ request,
159
+ metadata || {},
160
+ this.methodDescriptorCreateDatabase,
161
+ callback);
162
+ }
163
+ return this.client_.unaryCall(
164
+ this.hostname_ +
165
+ '/trb.postgresql.v1.PostgreSQL_Admin/CreateDatabase',
166
+ request,
167
+ metadata || {},
168
+ this.methodDescriptorCreateDatabase);
169
+ }
170
+
171
+ methodDescriptorDropDatabase = new grpcWeb.MethodDescriptor(
172
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropDatabase',
173
+ grpcWeb.MethodType.UNARY,
174
+ postgresql_admin_pb.DatabaseName,
175
+ postgresql_admin_pb.Status,
176
+ (request: postgresql_admin_pb.DatabaseName) => {
177
+ return request.serializeBinary();
178
+ },
179
+ postgresql_admin_pb.Status.deserializeBinary
180
+ );
181
+
182
+ dropDatabase(
183
+ request: postgresql_admin_pb.DatabaseName,
184
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
185
+
186
+ dropDatabase(
187
+ request: postgresql_admin_pb.DatabaseName,
188
+ metadata: grpcWeb.Metadata | null,
189
+ callback: (err: grpcWeb.RpcError,
190
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
191
+
192
+ dropDatabase(
193
+ request: postgresql_admin_pb.DatabaseName,
194
+ metadata?: grpcWeb.Metadata | null,
195
+ callback?: (err: grpcWeb.RpcError,
196
+ response: postgresql_admin_pb.Status) => void) {
197
+ if (callback !== undefined) {
198
+ return this.client_.rpcCall(
199
+ this.hostname_ +
200
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropDatabase',
201
+ request,
202
+ metadata || {},
203
+ this.methodDescriptorDropDatabase,
204
+ callback);
205
+ }
206
+ return this.client_.unaryCall(
207
+ this.hostname_ +
208
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropDatabase',
209
+ request,
210
+ metadata || {},
211
+ this.methodDescriptorDropDatabase);
212
+ }
213
+
214
+ methodDescriptorListDatabases = new grpcWeb.MethodDescriptor(
215
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListDatabases',
216
+ grpcWeb.MethodType.UNARY,
217
+ postgresql_admin_pb.ListDatabasesRequest,
218
+ postgresql_admin_pb.DatabaseList,
219
+ (request: postgresql_admin_pb.ListDatabasesRequest) => {
220
+ return request.serializeBinary();
221
+ },
222
+ postgresql_admin_pb.DatabaseList.deserializeBinary
223
+ );
224
+
225
+ listDatabases(
226
+ request: postgresql_admin_pb.ListDatabasesRequest,
227
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.DatabaseList>;
228
+
229
+ listDatabases(
230
+ request: postgresql_admin_pb.ListDatabasesRequest,
231
+ metadata: grpcWeb.Metadata | null,
232
+ callback: (err: grpcWeb.RpcError,
233
+ response: postgresql_admin_pb.DatabaseList) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.DatabaseList>;
234
+
235
+ listDatabases(
236
+ request: postgresql_admin_pb.ListDatabasesRequest,
237
+ metadata?: grpcWeb.Metadata | null,
238
+ callback?: (err: grpcWeb.RpcError,
239
+ response: postgresql_admin_pb.DatabaseList) => void) {
240
+ if (callback !== undefined) {
241
+ return this.client_.rpcCall(
242
+ this.hostname_ +
243
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListDatabases',
244
+ request,
245
+ metadata || {},
246
+ this.methodDescriptorListDatabases,
247
+ callback);
248
+ }
249
+ return this.client_.unaryCall(
250
+ this.hostname_ +
251
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListDatabases',
252
+ request,
253
+ metadata || {},
254
+ this.methodDescriptorListDatabases);
255
+ }
256
+
257
+ methodDescriptorDatabaseInfo = new grpcWeb.MethodDescriptor(
258
+ '/trb.postgresql.v1.PostgreSQL_Admin/DatabaseInfo',
259
+ grpcWeb.MethodType.UNARY,
260
+ postgresql_admin_pb.DatabaseName,
261
+ postgresql_admin_pb.Database,
262
+ (request: postgresql_admin_pb.DatabaseName) => {
263
+ return request.serializeBinary();
264
+ },
265
+ postgresql_admin_pb.Database.deserializeBinary
266
+ );
267
+
268
+ databaseInfo(
269
+ request: postgresql_admin_pb.DatabaseName,
270
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Database>;
271
+
272
+ databaseInfo(
273
+ request: postgresql_admin_pb.DatabaseName,
274
+ metadata: grpcWeb.Metadata | null,
275
+ callback: (err: grpcWeb.RpcError,
276
+ response: postgresql_admin_pb.Database) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Database>;
277
+
278
+ databaseInfo(
279
+ request: postgresql_admin_pb.DatabaseName,
280
+ metadata?: grpcWeb.Metadata | null,
281
+ callback?: (err: grpcWeb.RpcError,
282
+ response: postgresql_admin_pb.Database) => void) {
283
+ if (callback !== undefined) {
284
+ return this.client_.rpcCall(
285
+ this.hostname_ +
286
+ '/trb.postgresql.v1.PostgreSQL_Admin/DatabaseInfo',
287
+ request,
288
+ metadata || {},
289
+ this.methodDescriptorDatabaseInfo,
290
+ callback);
291
+ }
292
+ return this.client_.unaryCall(
293
+ this.hostname_ +
294
+ '/trb.postgresql.v1.PostgreSQL_Admin/DatabaseInfo',
295
+ request,
296
+ metadata || {},
297
+ this.methodDescriptorDatabaseInfo);
298
+ }
299
+
300
+ methodDescriptorCreateSchema = new grpcWeb.MethodDescriptor(
301
+ '/trb.postgresql.v1.PostgreSQL_Admin/CreateSchema',
302
+ grpcWeb.MethodType.UNARY,
303
+ postgresql_admin_pb.SchemaSpec,
304
+ postgresql_admin_pb.Status,
305
+ (request: postgresql_admin_pb.SchemaSpec) => {
306
+ return request.serializeBinary();
307
+ },
308
+ postgresql_admin_pb.Status.deserializeBinary
309
+ );
310
+
311
+ createSchema(
312
+ request: postgresql_admin_pb.SchemaSpec,
313
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
314
+
315
+ createSchema(
316
+ request: postgresql_admin_pb.SchemaSpec,
317
+ metadata: grpcWeb.Metadata | null,
318
+ callback: (err: grpcWeb.RpcError,
319
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
320
+
321
+ createSchema(
322
+ request: postgresql_admin_pb.SchemaSpec,
323
+ metadata?: grpcWeb.Metadata | null,
324
+ callback?: (err: grpcWeb.RpcError,
325
+ response: postgresql_admin_pb.Status) => void) {
326
+ if (callback !== undefined) {
327
+ return this.client_.rpcCall(
328
+ this.hostname_ +
329
+ '/trb.postgresql.v1.PostgreSQL_Admin/CreateSchema',
330
+ request,
331
+ metadata || {},
332
+ this.methodDescriptorCreateSchema,
333
+ callback);
334
+ }
335
+ return this.client_.unaryCall(
336
+ this.hostname_ +
337
+ '/trb.postgresql.v1.PostgreSQL_Admin/CreateSchema',
338
+ request,
339
+ metadata || {},
340
+ this.methodDescriptorCreateSchema);
341
+ }
342
+
343
+ methodDescriptorDropSchema = new grpcWeb.MethodDescriptor(
344
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropSchema',
345
+ grpcWeb.MethodType.UNARY,
346
+ postgresql_admin_pb.SchemaName,
347
+ postgresql_admin_pb.Status,
348
+ (request: postgresql_admin_pb.SchemaName) => {
349
+ return request.serializeBinary();
350
+ },
351
+ postgresql_admin_pb.Status.deserializeBinary
352
+ );
353
+
354
+ dropSchema(
355
+ request: postgresql_admin_pb.SchemaName,
356
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
357
+
358
+ dropSchema(
359
+ request: postgresql_admin_pb.SchemaName,
360
+ metadata: grpcWeb.Metadata | null,
361
+ callback: (err: grpcWeb.RpcError,
362
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
363
+
364
+ dropSchema(
365
+ request: postgresql_admin_pb.SchemaName,
366
+ metadata?: grpcWeb.Metadata | null,
367
+ callback?: (err: grpcWeb.RpcError,
368
+ response: postgresql_admin_pb.Status) => void) {
369
+ if (callback !== undefined) {
370
+ return this.client_.rpcCall(
371
+ this.hostname_ +
372
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropSchema',
373
+ request,
374
+ metadata || {},
375
+ this.methodDescriptorDropSchema,
376
+ callback);
377
+ }
378
+ return this.client_.unaryCall(
379
+ this.hostname_ +
380
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropSchema',
381
+ request,
382
+ metadata || {},
383
+ this.methodDescriptorDropSchema);
384
+ }
385
+
386
+ methodDescriptorListSchemas = new grpcWeb.MethodDescriptor(
387
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListSchemas',
388
+ grpcWeb.MethodType.UNARY,
389
+ postgresql_admin_pb.ListSchemasRequest,
390
+ postgresql_admin_pb.SchemaList,
391
+ (request: postgresql_admin_pb.ListSchemasRequest) => {
392
+ return request.serializeBinary();
393
+ },
394
+ postgresql_admin_pb.SchemaList.deserializeBinary
395
+ );
396
+
397
+ listSchemas(
398
+ request: postgresql_admin_pb.ListSchemasRequest,
399
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.SchemaList>;
400
+
401
+ listSchemas(
402
+ request: postgresql_admin_pb.ListSchemasRequest,
403
+ metadata: grpcWeb.Metadata | null,
404
+ callback: (err: grpcWeb.RpcError,
405
+ response: postgresql_admin_pb.SchemaList) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.SchemaList>;
406
+
407
+ listSchemas(
408
+ request: postgresql_admin_pb.ListSchemasRequest,
409
+ metadata?: grpcWeb.Metadata | null,
410
+ callback?: (err: grpcWeb.RpcError,
411
+ response: postgresql_admin_pb.SchemaList) => void) {
412
+ if (callback !== undefined) {
413
+ return this.client_.rpcCall(
414
+ this.hostname_ +
415
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListSchemas',
416
+ request,
417
+ metadata || {},
418
+ this.methodDescriptorListSchemas,
419
+ callback);
420
+ }
421
+ return this.client_.unaryCall(
422
+ this.hostname_ +
423
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListSchemas',
424
+ request,
425
+ metadata || {},
426
+ this.methodDescriptorListSchemas);
427
+ }
428
+
429
+ methodDescriptorSchemaInfo = new grpcWeb.MethodDescriptor(
430
+ '/trb.postgresql.v1.PostgreSQL_Admin/SchemaInfo',
431
+ grpcWeb.MethodType.UNARY,
432
+ postgresql_admin_pb.SchemaName,
433
+ postgresql_admin_pb.Schema,
434
+ (request: postgresql_admin_pb.SchemaName) => {
435
+ return request.serializeBinary();
436
+ },
437
+ postgresql_admin_pb.Schema.deserializeBinary
438
+ );
439
+
440
+ schemaInfo(
441
+ request: postgresql_admin_pb.SchemaName,
442
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Schema>;
443
+
444
+ schemaInfo(
445
+ request: postgresql_admin_pb.SchemaName,
446
+ metadata: grpcWeb.Metadata | null,
447
+ callback: (err: grpcWeb.RpcError,
448
+ response: postgresql_admin_pb.Schema) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Schema>;
449
+
450
+ schemaInfo(
451
+ request: postgresql_admin_pb.SchemaName,
452
+ metadata?: grpcWeb.Metadata | null,
453
+ callback?: (err: grpcWeb.RpcError,
454
+ response: postgresql_admin_pb.Schema) => void) {
455
+ if (callback !== undefined) {
456
+ return this.client_.rpcCall(
457
+ this.hostname_ +
458
+ '/trb.postgresql.v1.PostgreSQL_Admin/SchemaInfo',
459
+ request,
460
+ metadata || {},
461
+ this.methodDescriptorSchemaInfo,
462
+ callback);
463
+ }
464
+ return this.client_.unaryCall(
465
+ this.hostname_ +
466
+ '/trb.postgresql.v1.PostgreSQL_Admin/SchemaInfo',
467
+ request,
468
+ metadata || {},
469
+ this.methodDescriptorSchemaInfo);
470
+ }
471
+
472
+ methodDescriptorCreateTable = new grpcWeb.MethodDescriptor(
473
+ '/trb.postgresql.v1.PostgreSQL_Admin/CreateTable',
474
+ grpcWeb.MethodType.UNARY,
475
+ postgresql_admin_pb.TableSpec,
476
+ postgresql_admin_pb.Status,
477
+ (request: postgresql_admin_pb.TableSpec) => {
478
+ return request.serializeBinary();
479
+ },
480
+ postgresql_admin_pb.Status.deserializeBinary
481
+ );
482
+
483
+ createTable(
484
+ request: postgresql_admin_pb.TableSpec,
485
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
486
+
487
+ createTable(
488
+ request: postgresql_admin_pb.TableSpec,
489
+ metadata: grpcWeb.Metadata | null,
490
+ callback: (err: grpcWeb.RpcError,
491
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
492
+
493
+ createTable(
494
+ request: postgresql_admin_pb.TableSpec,
495
+ metadata?: grpcWeb.Metadata | null,
496
+ callback?: (err: grpcWeb.RpcError,
497
+ response: postgresql_admin_pb.Status) => void) {
498
+ if (callback !== undefined) {
499
+ return this.client_.rpcCall(
500
+ this.hostname_ +
501
+ '/trb.postgresql.v1.PostgreSQL_Admin/CreateTable',
502
+ request,
503
+ metadata || {},
504
+ this.methodDescriptorCreateTable,
505
+ callback);
506
+ }
507
+ return this.client_.unaryCall(
508
+ this.hostname_ +
509
+ '/trb.postgresql.v1.PostgreSQL_Admin/CreateTable',
510
+ request,
511
+ metadata || {},
512
+ this.methodDescriptorCreateTable);
513
+ }
514
+
515
+ methodDescriptorDropTable = new grpcWeb.MethodDescriptor(
516
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropTable',
517
+ grpcWeb.MethodType.UNARY,
518
+ postgresql_admin_pb.TableName,
519
+ postgresql_admin_pb.Status,
520
+ (request: postgresql_admin_pb.TableName) => {
521
+ return request.serializeBinary();
522
+ },
523
+ postgresql_admin_pb.Status.deserializeBinary
524
+ );
525
+
526
+ dropTable(
527
+ request: postgresql_admin_pb.TableName,
528
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
529
+
530
+ dropTable(
531
+ request: postgresql_admin_pb.TableName,
532
+ metadata: grpcWeb.Metadata | null,
533
+ callback: (err: grpcWeb.RpcError,
534
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
535
+
536
+ dropTable(
537
+ request: postgresql_admin_pb.TableName,
538
+ metadata?: grpcWeb.Metadata | null,
539
+ callback?: (err: grpcWeb.RpcError,
540
+ response: postgresql_admin_pb.Status) => void) {
541
+ if (callback !== undefined) {
542
+ return this.client_.rpcCall(
543
+ this.hostname_ +
544
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropTable',
545
+ request,
546
+ metadata || {},
547
+ this.methodDescriptorDropTable,
548
+ callback);
549
+ }
550
+ return this.client_.unaryCall(
551
+ this.hostname_ +
552
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropTable',
553
+ request,
554
+ metadata || {},
555
+ this.methodDescriptorDropTable);
556
+ }
557
+
558
+ methodDescriptorTruncateTable = new grpcWeb.MethodDescriptor(
559
+ '/trb.postgresql.v1.PostgreSQL_Admin/TruncateTable',
560
+ grpcWeb.MethodType.UNARY,
561
+ postgresql_admin_pb.TableName,
562
+ postgresql_admin_pb.Status,
563
+ (request: postgresql_admin_pb.TableName) => {
564
+ return request.serializeBinary();
565
+ },
566
+ postgresql_admin_pb.Status.deserializeBinary
567
+ );
568
+
569
+ truncateTable(
570
+ request: postgresql_admin_pb.TableName,
571
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
572
+
573
+ truncateTable(
574
+ request: postgresql_admin_pb.TableName,
575
+ metadata: grpcWeb.Metadata | null,
576
+ callback: (err: grpcWeb.RpcError,
577
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
578
+
579
+ truncateTable(
580
+ request: postgresql_admin_pb.TableName,
581
+ metadata?: grpcWeb.Metadata | null,
582
+ callback?: (err: grpcWeb.RpcError,
583
+ response: postgresql_admin_pb.Status) => void) {
584
+ if (callback !== undefined) {
585
+ return this.client_.rpcCall(
586
+ this.hostname_ +
587
+ '/trb.postgresql.v1.PostgreSQL_Admin/TruncateTable',
588
+ request,
589
+ metadata || {},
590
+ this.methodDescriptorTruncateTable,
591
+ callback);
592
+ }
593
+ return this.client_.unaryCall(
594
+ this.hostname_ +
595
+ '/trb.postgresql.v1.PostgreSQL_Admin/TruncateTable',
596
+ request,
597
+ metadata || {},
598
+ this.methodDescriptorTruncateTable);
599
+ }
600
+
601
+ methodDescriptorRenameTable = new grpcWeb.MethodDescriptor(
602
+ '/trb.postgresql.v1.PostgreSQL_Admin/RenameTable',
603
+ grpcWeb.MethodType.UNARY,
604
+ postgresql_admin_pb.RenameTableRequest,
605
+ postgresql_admin_pb.Status,
606
+ (request: postgresql_admin_pb.RenameTableRequest) => {
607
+ return request.serializeBinary();
608
+ },
609
+ postgresql_admin_pb.Status.deserializeBinary
610
+ );
611
+
612
+ renameTable(
613
+ request: postgresql_admin_pb.RenameTableRequest,
614
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
615
+
616
+ renameTable(
617
+ request: postgresql_admin_pb.RenameTableRequest,
618
+ metadata: grpcWeb.Metadata | null,
619
+ callback: (err: grpcWeb.RpcError,
620
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
621
+
622
+ renameTable(
623
+ request: postgresql_admin_pb.RenameTableRequest,
624
+ metadata?: grpcWeb.Metadata | null,
625
+ callback?: (err: grpcWeb.RpcError,
626
+ response: postgresql_admin_pb.Status) => void) {
627
+ if (callback !== undefined) {
628
+ return this.client_.rpcCall(
629
+ this.hostname_ +
630
+ '/trb.postgresql.v1.PostgreSQL_Admin/RenameTable',
631
+ request,
632
+ metadata || {},
633
+ this.methodDescriptorRenameTable,
634
+ callback);
635
+ }
636
+ return this.client_.unaryCall(
637
+ this.hostname_ +
638
+ '/trb.postgresql.v1.PostgreSQL_Admin/RenameTable',
639
+ request,
640
+ metadata || {},
641
+ this.methodDescriptorRenameTable);
642
+ }
643
+
644
+ methodDescriptorVacuumTable = new grpcWeb.MethodDescriptor(
645
+ '/trb.postgresql.v1.PostgreSQL_Admin/VacuumTable',
646
+ grpcWeb.MethodType.UNARY,
647
+ postgresql_admin_pb.VacuumTableRequest,
648
+ postgresql_admin_pb.Status,
649
+ (request: postgresql_admin_pb.VacuumTableRequest) => {
650
+ return request.serializeBinary();
651
+ },
652
+ postgresql_admin_pb.Status.deserializeBinary
653
+ );
654
+
655
+ vacuumTable(
656
+ request: postgresql_admin_pb.VacuumTableRequest,
657
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
658
+
659
+ vacuumTable(
660
+ request: postgresql_admin_pb.VacuumTableRequest,
661
+ metadata: grpcWeb.Metadata | null,
662
+ callback: (err: grpcWeb.RpcError,
663
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
664
+
665
+ vacuumTable(
666
+ request: postgresql_admin_pb.VacuumTableRequest,
667
+ metadata?: grpcWeb.Metadata | null,
668
+ callback?: (err: grpcWeb.RpcError,
669
+ response: postgresql_admin_pb.Status) => void) {
670
+ if (callback !== undefined) {
671
+ return this.client_.rpcCall(
672
+ this.hostname_ +
673
+ '/trb.postgresql.v1.PostgreSQL_Admin/VacuumTable',
674
+ request,
675
+ metadata || {},
676
+ this.methodDescriptorVacuumTable,
677
+ callback);
678
+ }
679
+ return this.client_.unaryCall(
680
+ this.hostname_ +
681
+ '/trb.postgresql.v1.PostgreSQL_Admin/VacuumTable',
682
+ request,
683
+ metadata || {},
684
+ this.methodDescriptorVacuumTable);
685
+ }
686
+
687
+ methodDescriptorAnalyzeTable = new grpcWeb.MethodDescriptor(
688
+ '/trb.postgresql.v1.PostgreSQL_Admin/AnalyzeTable',
689
+ grpcWeb.MethodType.UNARY,
690
+ postgresql_admin_pb.AnalyzeTableRequest,
691
+ postgresql_admin_pb.Status,
692
+ (request: postgresql_admin_pb.AnalyzeTableRequest) => {
693
+ return request.serializeBinary();
694
+ },
695
+ postgresql_admin_pb.Status.deserializeBinary
696
+ );
697
+
698
+ analyzeTable(
699
+ request: postgresql_admin_pb.AnalyzeTableRequest,
700
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
701
+
702
+ analyzeTable(
703
+ request: postgresql_admin_pb.AnalyzeTableRequest,
704
+ metadata: grpcWeb.Metadata | null,
705
+ callback: (err: grpcWeb.RpcError,
706
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
707
+
708
+ analyzeTable(
709
+ request: postgresql_admin_pb.AnalyzeTableRequest,
710
+ metadata?: grpcWeb.Metadata | null,
711
+ callback?: (err: grpcWeb.RpcError,
712
+ response: postgresql_admin_pb.Status) => void) {
713
+ if (callback !== undefined) {
714
+ return this.client_.rpcCall(
715
+ this.hostname_ +
716
+ '/trb.postgresql.v1.PostgreSQL_Admin/AnalyzeTable',
717
+ request,
718
+ metadata || {},
719
+ this.methodDescriptorAnalyzeTable,
720
+ callback);
721
+ }
722
+ return this.client_.unaryCall(
723
+ this.hostname_ +
724
+ '/trb.postgresql.v1.PostgreSQL_Admin/AnalyzeTable',
725
+ request,
726
+ metadata || {},
727
+ this.methodDescriptorAnalyzeTable);
728
+ }
729
+
730
+ methodDescriptorListTables = new grpcWeb.MethodDescriptor(
731
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListTables',
732
+ grpcWeb.MethodType.UNARY,
733
+ postgresql_admin_pb.ListTablesRequest,
734
+ postgresql_admin_pb.TableList,
735
+ (request: postgresql_admin_pb.ListTablesRequest) => {
736
+ return request.serializeBinary();
737
+ },
738
+ postgresql_admin_pb.TableList.deserializeBinary
739
+ );
740
+
741
+ listTables(
742
+ request: postgresql_admin_pb.ListTablesRequest,
743
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.TableList>;
744
+
745
+ listTables(
746
+ request: postgresql_admin_pb.ListTablesRequest,
747
+ metadata: grpcWeb.Metadata | null,
748
+ callback: (err: grpcWeb.RpcError,
749
+ response: postgresql_admin_pb.TableList) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.TableList>;
750
+
751
+ listTables(
752
+ request: postgresql_admin_pb.ListTablesRequest,
753
+ metadata?: grpcWeb.Metadata | null,
754
+ callback?: (err: grpcWeb.RpcError,
755
+ response: postgresql_admin_pb.TableList) => void) {
756
+ if (callback !== undefined) {
757
+ return this.client_.rpcCall(
758
+ this.hostname_ +
759
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListTables',
760
+ request,
761
+ metadata || {},
762
+ this.methodDescriptorListTables,
763
+ callback);
764
+ }
765
+ return this.client_.unaryCall(
766
+ this.hostname_ +
767
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListTables',
768
+ request,
769
+ metadata || {},
770
+ this.methodDescriptorListTables);
771
+ }
772
+
773
+ methodDescriptorTableInfo = new grpcWeb.MethodDescriptor(
774
+ '/trb.postgresql.v1.PostgreSQL_Admin/TableInfo',
775
+ grpcWeb.MethodType.UNARY,
776
+ postgresql_admin_pb.TableName,
777
+ postgresql_admin_pb.Table,
778
+ (request: postgresql_admin_pb.TableName) => {
779
+ return request.serializeBinary();
780
+ },
781
+ postgresql_admin_pb.Table.deserializeBinary
782
+ );
783
+
784
+ tableInfo(
785
+ request: postgresql_admin_pb.TableName,
786
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Table>;
787
+
788
+ tableInfo(
789
+ request: postgresql_admin_pb.TableName,
790
+ metadata: grpcWeb.Metadata | null,
791
+ callback: (err: grpcWeb.RpcError,
792
+ response: postgresql_admin_pb.Table) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Table>;
793
+
794
+ tableInfo(
795
+ request: postgresql_admin_pb.TableName,
796
+ metadata?: grpcWeb.Metadata | null,
797
+ callback?: (err: grpcWeb.RpcError,
798
+ response: postgresql_admin_pb.Table) => void) {
799
+ if (callback !== undefined) {
800
+ return this.client_.rpcCall(
801
+ this.hostname_ +
802
+ '/trb.postgresql.v1.PostgreSQL_Admin/TableInfo',
803
+ request,
804
+ metadata || {},
805
+ this.methodDescriptorTableInfo,
806
+ callback);
807
+ }
808
+ return this.client_.unaryCall(
809
+ this.hostname_ +
810
+ '/trb.postgresql.v1.PostgreSQL_Admin/TableInfo',
811
+ request,
812
+ metadata || {},
813
+ this.methodDescriptorTableInfo);
814
+ }
815
+
816
+ methodDescriptorAddColumn = new grpcWeb.MethodDescriptor(
817
+ '/trb.postgresql.v1.PostgreSQL_Admin/AddColumn',
818
+ grpcWeb.MethodType.UNARY,
819
+ postgresql_admin_pb.AddColumnRequest,
820
+ postgresql_admin_pb.Status,
821
+ (request: postgresql_admin_pb.AddColumnRequest) => {
822
+ return request.serializeBinary();
823
+ },
824
+ postgresql_admin_pb.Status.deserializeBinary
825
+ );
826
+
827
+ addColumn(
828
+ request: postgresql_admin_pb.AddColumnRequest,
829
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
830
+
831
+ addColumn(
832
+ request: postgresql_admin_pb.AddColumnRequest,
833
+ metadata: grpcWeb.Metadata | null,
834
+ callback: (err: grpcWeb.RpcError,
835
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
836
+
837
+ addColumn(
838
+ request: postgresql_admin_pb.AddColumnRequest,
839
+ metadata?: grpcWeb.Metadata | null,
840
+ callback?: (err: grpcWeb.RpcError,
841
+ response: postgresql_admin_pb.Status) => void) {
842
+ if (callback !== undefined) {
843
+ return this.client_.rpcCall(
844
+ this.hostname_ +
845
+ '/trb.postgresql.v1.PostgreSQL_Admin/AddColumn',
846
+ request,
847
+ metadata || {},
848
+ this.methodDescriptorAddColumn,
849
+ callback);
850
+ }
851
+ return this.client_.unaryCall(
852
+ this.hostname_ +
853
+ '/trb.postgresql.v1.PostgreSQL_Admin/AddColumn',
854
+ request,
855
+ metadata || {},
856
+ this.methodDescriptorAddColumn);
857
+ }
858
+
859
+ methodDescriptorDropColumn = new grpcWeb.MethodDescriptor(
860
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropColumn',
861
+ grpcWeb.MethodType.UNARY,
862
+ postgresql_admin_pb.DropColumnRequest,
863
+ postgresql_admin_pb.Status,
864
+ (request: postgresql_admin_pb.DropColumnRequest) => {
865
+ return request.serializeBinary();
866
+ },
867
+ postgresql_admin_pb.Status.deserializeBinary
868
+ );
869
+
870
+ dropColumn(
871
+ request: postgresql_admin_pb.DropColumnRequest,
872
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
873
+
874
+ dropColumn(
875
+ request: postgresql_admin_pb.DropColumnRequest,
876
+ metadata: grpcWeb.Metadata | null,
877
+ callback: (err: grpcWeb.RpcError,
878
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
879
+
880
+ dropColumn(
881
+ request: postgresql_admin_pb.DropColumnRequest,
882
+ metadata?: grpcWeb.Metadata | null,
883
+ callback?: (err: grpcWeb.RpcError,
884
+ response: postgresql_admin_pb.Status) => void) {
885
+ if (callback !== undefined) {
886
+ return this.client_.rpcCall(
887
+ this.hostname_ +
888
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropColumn',
889
+ request,
890
+ metadata || {},
891
+ this.methodDescriptorDropColumn,
892
+ callback);
893
+ }
894
+ return this.client_.unaryCall(
895
+ this.hostname_ +
896
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropColumn',
897
+ request,
898
+ metadata || {},
899
+ this.methodDescriptorDropColumn);
900
+ }
901
+
902
+ methodDescriptorRenameColumn = new grpcWeb.MethodDescriptor(
903
+ '/trb.postgresql.v1.PostgreSQL_Admin/RenameColumn',
904
+ grpcWeb.MethodType.UNARY,
905
+ postgresql_admin_pb.RenameColumnRequest,
906
+ postgresql_admin_pb.Status,
907
+ (request: postgresql_admin_pb.RenameColumnRequest) => {
908
+ return request.serializeBinary();
909
+ },
910
+ postgresql_admin_pb.Status.deserializeBinary
911
+ );
912
+
913
+ renameColumn(
914
+ request: postgresql_admin_pb.RenameColumnRequest,
915
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
916
+
917
+ renameColumn(
918
+ request: postgresql_admin_pb.RenameColumnRequest,
919
+ metadata: grpcWeb.Metadata | null,
920
+ callback: (err: grpcWeb.RpcError,
921
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
922
+
923
+ renameColumn(
924
+ request: postgresql_admin_pb.RenameColumnRequest,
925
+ metadata?: grpcWeb.Metadata | null,
926
+ callback?: (err: grpcWeb.RpcError,
927
+ response: postgresql_admin_pb.Status) => void) {
928
+ if (callback !== undefined) {
929
+ return this.client_.rpcCall(
930
+ this.hostname_ +
931
+ '/trb.postgresql.v1.PostgreSQL_Admin/RenameColumn',
932
+ request,
933
+ metadata || {},
934
+ this.methodDescriptorRenameColumn,
935
+ callback);
936
+ }
937
+ return this.client_.unaryCall(
938
+ this.hostname_ +
939
+ '/trb.postgresql.v1.PostgreSQL_Admin/RenameColumn',
940
+ request,
941
+ metadata || {},
942
+ this.methodDescriptorRenameColumn);
943
+ }
944
+
945
+ methodDescriptorModifyColumn = new grpcWeb.MethodDescriptor(
946
+ '/trb.postgresql.v1.PostgreSQL_Admin/ModifyColumn',
947
+ grpcWeb.MethodType.UNARY,
948
+ postgresql_admin_pb.ModifyColumnRequest,
949
+ postgresql_admin_pb.Status,
950
+ (request: postgresql_admin_pb.ModifyColumnRequest) => {
951
+ return request.serializeBinary();
952
+ },
953
+ postgresql_admin_pb.Status.deserializeBinary
954
+ );
955
+
956
+ modifyColumn(
957
+ request: postgresql_admin_pb.ModifyColumnRequest,
958
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
959
+
960
+ modifyColumn(
961
+ request: postgresql_admin_pb.ModifyColumnRequest,
962
+ metadata: grpcWeb.Metadata | null,
963
+ callback: (err: grpcWeb.RpcError,
964
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
965
+
966
+ modifyColumn(
967
+ request: postgresql_admin_pb.ModifyColumnRequest,
968
+ metadata?: grpcWeb.Metadata | null,
969
+ callback?: (err: grpcWeb.RpcError,
970
+ response: postgresql_admin_pb.Status) => void) {
971
+ if (callback !== undefined) {
972
+ return this.client_.rpcCall(
973
+ this.hostname_ +
974
+ '/trb.postgresql.v1.PostgreSQL_Admin/ModifyColumn',
975
+ request,
976
+ metadata || {},
977
+ this.methodDescriptorModifyColumn,
978
+ callback);
979
+ }
980
+ return this.client_.unaryCall(
981
+ this.hostname_ +
982
+ '/trb.postgresql.v1.PostgreSQL_Admin/ModifyColumn',
983
+ request,
984
+ metadata || {},
985
+ this.methodDescriptorModifyColumn);
986
+ }
987
+
988
+ methodDescriptorCreateIndex = new grpcWeb.MethodDescriptor(
989
+ '/trb.postgresql.v1.PostgreSQL_Admin/CreateIndex',
990
+ grpcWeb.MethodType.UNARY,
991
+ postgresql_admin_pb.IndexSpec,
992
+ postgresql_admin_pb.Status,
993
+ (request: postgresql_admin_pb.IndexSpec) => {
994
+ return request.serializeBinary();
995
+ },
996
+ postgresql_admin_pb.Status.deserializeBinary
997
+ );
998
+
999
+ createIndex(
1000
+ request: postgresql_admin_pb.IndexSpec,
1001
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
1002
+
1003
+ createIndex(
1004
+ request: postgresql_admin_pb.IndexSpec,
1005
+ metadata: grpcWeb.Metadata | null,
1006
+ callback: (err: grpcWeb.RpcError,
1007
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
1008
+
1009
+ createIndex(
1010
+ request: postgresql_admin_pb.IndexSpec,
1011
+ metadata?: grpcWeb.Metadata | null,
1012
+ callback?: (err: grpcWeb.RpcError,
1013
+ response: postgresql_admin_pb.Status) => void) {
1014
+ if (callback !== undefined) {
1015
+ return this.client_.rpcCall(
1016
+ this.hostname_ +
1017
+ '/trb.postgresql.v1.PostgreSQL_Admin/CreateIndex',
1018
+ request,
1019
+ metadata || {},
1020
+ this.methodDescriptorCreateIndex,
1021
+ callback);
1022
+ }
1023
+ return this.client_.unaryCall(
1024
+ this.hostname_ +
1025
+ '/trb.postgresql.v1.PostgreSQL_Admin/CreateIndex',
1026
+ request,
1027
+ metadata || {},
1028
+ this.methodDescriptorCreateIndex);
1029
+ }
1030
+
1031
+ methodDescriptorDropIndex = new grpcWeb.MethodDescriptor(
1032
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropIndex',
1033
+ grpcWeb.MethodType.UNARY,
1034
+ postgresql_admin_pb.IndexName,
1035
+ postgresql_admin_pb.Status,
1036
+ (request: postgresql_admin_pb.IndexName) => {
1037
+ return request.serializeBinary();
1038
+ },
1039
+ postgresql_admin_pb.Status.deserializeBinary
1040
+ );
1041
+
1042
+ dropIndex(
1043
+ request: postgresql_admin_pb.IndexName,
1044
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
1045
+
1046
+ dropIndex(
1047
+ request: postgresql_admin_pb.IndexName,
1048
+ metadata: grpcWeb.Metadata | null,
1049
+ callback: (err: grpcWeb.RpcError,
1050
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
1051
+
1052
+ dropIndex(
1053
+ request: postgresql_admin_pb.IndexName,
1054
+ metadata?: grpcWeb.Metadata | null,
1055
+ callback?: (err: grpcWeb.RpcError,
1056
+ response: postgresql_admin_pb.Status) => void) {
1057
+ if (callback !== undefined) {
1058
+ return this.client_.rpcCall(
1059
+ this.hostname_ +
1060
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropIndex',
1061
+ request,
1062
+ metadata || {},
1063
+ this.methodDescriptorDropIndex,
1064
+ callback);
1065
+ }
1066
+ return this.client_.unaryCall(
1067
+ this.hostname_ +
1068
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropIndex',
1069
+ request,
1070
+ metadata || {},
1071
+ this.methodDescriptorDropIndex);
1072
+ }
1073
+
1074
+ methodDescriptorListIndexes = new grpcWeb.MethodDescriptor(
1075
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListIndexes',
1076
+ grpcWeb.MethodType.UNARY,
1077
+ postgresql_admin_pb.ListIndexesRequest,
1078
+ postgresql_admin_pb.IndexList,
1079
+ (request: postgresql_admin_pb.ListIndexesRequest) => {
1080
+ return request.serializeBinary();
1081
+ },
1082
+ postgresql_admin_pb.IndexList.deserializeBinary
1083
+ );
1084
+
1085
+ listIndexes(
1086
+ request: postgresql_admin_pb.ListIndexesRequest,
1087
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.IndexList>;
1088
+
1089
+ listIndexes(
1090
+ request: postgresql_admin_pb.ListIndexesRequest,
1091
+ metadata: grpcWeb.Metadata | null,
1092
+ callback: (err: grpcWeb.RpcError,
1093
+ response: postgresql_admin_pb.IndexList) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.IndexList>;
1094
+
1095
+ listIndexes(
1096
+ request: postgresql_admin_pb.ListIndexesRequest,
1097
+ metadata?: grpcWeb.Metadata | null,
1098
+ callback?: (err: grpcWeb.RpcError,
1099
+ response: postgresql_admin_pb.IndexList) => void) {
1100
+ if (callback !== undefined) {
1101
+ return this.client_.rpcCall(
1102
+ this.hostname_ +
1103
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListIndexes',
1104
+ request,
1105
+ metadata || {},
1106
+ this.methodDescriptorListIndexes,
1107
+ callback);
1108
+ }
1109
+ return this.client_.unaryCall(
1110
+ this.hostname_ +
1111
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListIndexes',
1112
+ request,
1113
+ metadata || {},
1114
+ this.methodDescriptorListIndexes);
1115
+ }
1116
+
1117
+ methodDescriptorReindex = new grpcWeb.MethodDescriptor(
1118
+ '/trb.postgresql.v1.PostgreSQL_Admin/Reindex',
1119
+ grpcWeb.MethodType.UNARY,
1120
+ postgresql_admin_pb.ReindexRequest,
1121
+ postgresql_admin_pb.Status,
1122
+ (request: postgresql_admin_pb.ReindexRequest) => {
1123
+ return request.serializeBinary();
1124
+ },
1125
+ postgresql_admin_pb.Status.deserializeBinary
1126
+ );
1127
+
1128
+ reindex(
1129
+ request: postgresql_admin_pb.ReindexRequest,
1130
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
1131
+
1132
+ reindex(
1133
+ request: postgresql_admin_pb.ReindexRequest,
1134
+ metadata: grpcWeb.Metadata | null,
1135
+ callback: (err: grpcWeb.RpcError,
1136
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
1137
+
1138
+ reindex(
1139
+ request: postgresql_admin_pb.ReindexRequest,
1140
+ metadata?: grpcWeb.Metadata | null,
1141
+ callback?: (err: grpcWeb.RpcError,
1142
+ response: postgresql_admin_pb.Status) => void) {
1143
+ if (callback !== undefined) {
1144
+ return this.client_.rpcCall(
1145
+ this.hostname_ +
1146
+ '/trb.postgresql.v1.PostgreSQL_Admin/Reindex',
1147
+ request,
1148
+ metadata || {},
1149
+ this.methodDescriptorReindex,
1150
+ callback);
1151
+ }
1152
+ return this.client_.unaryCall(
1153
+ this.hostname_ +
1154
+ '/trb.postgresql.v1.PostgreSQL_Admin/Reindex',
1155
+ request,
1156
+ metadata || {},
1157
+ this.methodDescriptorReindex);
1158
+ }
1159
+
1160
+ methodDescriptorExecuteQuery = new grpcWeb.MethodDescriptor(
1161
+ '/trb.postgresql.v1.PostgreSQL_Admin/ExecuteQuery',
1162
+ grpcWeb.MethodType.UNARY,
1163
+ postgresql_admin_pb.ExecuteQueryRequest,
1164
+ postgresql_admin_pb.ExecuteQueryResponse,
1165
+ (request: postgresql_admin_pb.ExecuteQueryRequest) => {
1166
+ return request.serializeBinary();
1167
+ },
1168
+ postgresql_admin_pb.ExecuteQueryResponse.deserializeBinary
1169
+ );
1170
+
1171
+ executeQuery(
1172
+ request: postgresql_admin_pb.ExecuteQueryRequest,
1173
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.ExecuteQueryResponse>;
1174
+
1175
+ executeQuery(
1176
+ request: postgresql_admin_pb.ExecuteQueryRequest,
1177
+ metadata: grpcWeb.Metadata | null,
1178
+ callback: (err: grpcWeb.RpcError,
1179
+ response: postgresql_admin_pb.ExecuteQueryResponse) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.ExecuteQueryResponse>;
1180
+
1181
+ executeQuery(
1182
+ request: postgresql_admin_pb.ExecuteQueryRequest,
1183
+ metadata?: grpcWeb.Metadata | null,
1184
+ callback?: (err: grpcWeb.RpcError,
1185
+ response: postgresql_admin_pb.ExecuteQueryResponse) => void) {
1186
+ if (callback !== undefined) {
1187
+ return this.client_.rpcCall(
1188
+ this.hostname_ +
1189
+ '/trb.postgresql.v1.PostgreSQL_Admin/ExecuteQuery',
1190
+ request,
1191
+ metadata || {},
1192
+ this.methodDescriptorExecuteQuery,
1193
+ callback);
1194
+ }
1195
+ return this.client_.unaryCall(
1196
+ this.hostname_ +
1197
+ '/trb.postgresql.v1.PostgreSQL_Admin/ExecuteQuery',
1198
+ request,
1199
+ metadata || {},
1200
+ this.methodDescriptorExecuteQuery);
1201
+ }
1202
+
1203
+ methodDescriptorPreviewTableData = new grpcWeb.MethodDescriptor(
1204
+ '/trb.postgresql.v1.PostgreSQL_Admin/PreviewTableData',
1205
+ grpcWeb.MethodType.UNARY,
1206
+ postgresql_admin_pb.PreviewTableDataRequest,
1207
+ postgresql_admin_pb.ExecuteQueryResponse,
1208
+ (request: postgresql_admin_pb.PreviewTableDataRequest) => {
1209
+ return request.serializeBinary();
1210
+ },
1211
+ postgresql_admin_pb.ExecuteQueryResponse.deserializeBinary
1212
+ );
1213
+
1214
+ previewTableData(
1215
+ request: postgresql_admin_pb.PreviewTableDataRequest,
1216
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.ExecuteQueryResponse>;
1217
+
1218
+ previewTableData(
1219
+ request: postgresql_admin_pb.PreviewTableDataRequest,
1220
+ metadata: grpcWeb.Metadata | null,
1221
+ callback: (err: grpcWeb.RpcError,
1222
+ response: postgresql_admin_pb.ExecuteQueryResponse) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.ExecuteQueryResponse>;
1223
+
1224
+ previewTableData(
1225
+ request: postgresql_admin_pb.PreviewTableDataRequest,
1226
+ metadata?: grpcWeb.Metadata | null,
1227
+ callback?: (err: grpcWeb.RpcError,
1228
+ response: postgresql_admin_pb.ExecuteQueryResponse) => void) {
1229
+ if (callback !== undefined) {
1230
+ return this.client_.rpcCall(
1231
+ this.hostname_ +
1232
+ '/trb.postgresql.v1.PostgreSQL_Admin/PreviewTableData',
1233
+ request,
1234
+ metadata || {},
1235
+ this.methodDescriptorPreviewTableData,
1236
+ callback);
1237
+ }
1238
+ return this.client_.unaryCall(
1239
+ this.hostname_ +
1240
+ '/trb.postgresql.v1.PostgreSQL_Admin/PreviewTableData',
1241
+ request,
1242
+ metadata || {},
1243
+ this.methodDescriptorPreviewTableData);
1244
+ }
1245
+
1246
+ methodDescriptorListPartitions = new grpcWeb.MethodDescriptor(
1247
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListPartitions',
1248
+ grpcWeb.MethodType.UNARY,
1249
+ postgresql_admin_pb.ListPartitionsRequest,
1250
+ postgresql_admin_pb.PartitionList,
1251
+ (request: postgresql_admin_pb.ListPartitionsRequest) => {
1252
+ return request.serializeBinary();
1253
+ },
1254
+ postgresql_admin_pb.PartitionList.deserializeBinary
1255
+ );
1256
+
1257
+ listPartitions(
1258
+ request: postgresql_admin_pb.ListPartitionsRequest,
1259
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.PartitionList>;
1260
+
1261
+ listPartitions(
1262
+ request: postgresql_admin_pb.ListPartitionsRequest,
1263
+ metadata: grpcWeb.Metadata | null,
1264
+ callback: (err: grpcWeb.RpcError,
1265
+ response: postgresql_admin_pb.PartitionList) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.PartitionList>;
1266
+
1267
+ listPartitions(
1268
+ request: postgresql_admin_pb.ListPartitionsRequest,
1269
+ metadata?: grpcWeb.Metadata | null,
1270
+ callback?: (err: grpcWeb.RpcError,
1271
+ response: postgresql_admin_pb.PartitionList) => void) {
1272
+ if (callback !== undefined) {
1273
+ return this.client_.rpcCall(
1274
+ this.hostname_ +
1275
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListPartitions',
1276
+ request,
1277
+ metadata || {},
1278
+ this.methodDescriptorListPartitions,
1279
+ callback);
1280
+ }
1281
+ return this.client_.unaryCall(
1282
+ this.hostname_ +
1283
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListPartitions',
1284
+ request,
1285
+ metadata || {},
1286
+ this.methodDescriptorListPartitions);
1287
+ }
1288
+
1289
+ methodDescriptorDropPartition = new grpcWeb.MethodDescriptor(
1290
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropPartition',
1291
+ grpcWeb.MethodType.UNARY,
1292
+ postgresql_admin_pb.DropPartitionRequest,
1293
+ postgresql_admin_pb.Status,
1294
+ (request: postgresql_admin_pb.DropPartitionRequest) => {
1295
+ return request.serializeBinary();
1296
+ },
1297
+ postgresql_admin_pb.Status.deserializeBinary
1298
+ );
1299
+
1300
+ dropPartition(
1301
+ request: postgresql_admin_pb.DropPartitionRequest,
1302
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
1303
+
1304
+ dropPartition(
1305
+ request: postgresql_admin_pb.DropPartitionRequest,
1306
+ metadata: grpcWeb.Metadata | null,
1307
+ callback: (err: grpcWeb.RpcError,
1308
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
1309
+
1310
+ dropPartition(
1311
+ request: postgresql_admin_pb.DropPartitionRequest,
1312
+ metadata?: grpcWeb.Metadata | null,
1313
+ callback?: (err: grpcWeb.RpcError,
1314
+ response: postgresql_admin_pb.Status) => void) {
1315
+ if (callback !== undefined) {
1316
+ return this.client_.rpcCall(
1317
+ this.hostname_ +
1318
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropPartition',
1319
+ request,
1320
+ metadata || {},
1321
+ this.methodDescriptorDropPartition,
1322
+ callback);
1323
+ }
1324
+ return this.client_.unaryCall(
1325
+ this.hostname_ +
1326
+ '/trb.postgresql.v1.PostgreSQL_Admin/DropPartition',
1327
+ request,
1328
+ metadata || {},
1329
+ this.methodDescriptorDropPartition);
1330
+ }
1331
+
1332
+ methodDescriptorListProcesses = new grpcWeb.MethodDescriptor(
1333
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListProcesses',
1334
+ grpcWeb.MethodType.UNARY,
1335
+ postgresql_admin_pb.ListProcessesRequest,
1336
+ postgresql_admin_pb.ProcessList,
1337
+ (request: postgresql_admin_pb.ListProcessesRequest) => {
1338
+ return request.serializeBinary();
1339
+ },
1340
+ postgresql_admin_pb.ProcessList.deserializeBinary
1341
+ );
1342
+
1343
+ listProcesses(
1344
+ request: postgresql_admin_pb.ListProcessesRequest,
1345
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.ProcessList>;
1346
+
1347
+ listProcesses(
1348
+ request: postgresql_admin_pb.ListProcessesRequest,
1349
+ metadata: grpcWeb.Metadata | null,
1350
+ callback: (err: grpcWeb.RpcError,
1351
+ response: postgresql_admin_pb.ProcessList) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.ProcessList>;
1352
+
1353
+ listProcesses(
1354
+ request: postgresql_admin_pb.ListProcessesRequest,
1355
+ metadata?: grpcWeb.Metadata | null,
1356
+ callback?: (err: grpcWeb.RpcError,
1357
+ response: postgresql_admin_pb.ProcessList) => void) {
1358
+ if (callback !== undefined) {
1359
+ return this.client_.rpcCall(
1360
+ this.hostname_ +
1361
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListProcesses',
1362
+ request,
1363
+ metadata || {},
1364
+ this.methodDescriptorListProcesses,
1365
+ callback);
1366
+ }
1367
+ return this.client_.unaryCall(
1368
+ this.hostname_ +
1369
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListProcesses',
1370
+ request,
1371
+ metadata || {},
1372
+ this.methodDescriptorListProcesses);
1373
+ }
1374
+
1375
+ methodDescriptorKillProcess = new grpcWeb.MethodDescriptor(
1376
+ '/trb.postgresql.v1.PostgreSQL_Admin/KillProcess',
1377
+ grpcWeb.MethodType.UNARY,
1378
+ postgresql_admin_pb.KillProcessRequest,
1379
+ postgresql_admin_pb.Status,
1380
+ (request: postgresql_admin_pb.KillProcessRequest) => {
1381
+ return request.serializeBinary();
1382
+ },
1383
+ postgresql_admin_pb.Status.deserializeBinary
1384
+ );
1385
+
1386
+ killProcess(
1387
+ request: postgresql_admin_pb.KillProcessRequest,
1388
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.Status>;
1389
+
1390
+ killProcess(
1391
+ request: postgresql_admin_pb.KillProcessRequest,
1392
+ metadata: grpcWeb.Metadata | null,
1393
+ callback: (err: grpcWeb.RpcError,
1394
+ response: postgresql_admin_pb.Status) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.Status>;
1395
+
1396
+ killProcess(
1397
+ request: postgresql_admin_pb.KillProcessRequest,
1398
+ metadata?: grpcWeb.Metadata | null,
1399
+ callback?: (err: grpcWeb.RpcError,
1400
+ response: postgresql_admin_pb.Status) => void) {
1401
+ if (callback !== undefined) {
1402
+ return this.client_.rpcCall(
1403
+ this.hostname_ +
1404
+ '/trb.postgresql.v1.PostgreSQL_Admin/KillProcess',
1405
+ request,
1406
+ metadata || {},
1407
+ this.methodDescriptorKillProcess,
1408
+ callback);
1409
+ }
1410
+ return this.client_.unaryCall(
1411
+ this.hostname_ +
1412
+ '/trb.postgresql.v1.PostgreSQL_Admin/KillProcess',
1413
+ request,
1414
+ metadata || {},
1415
+ this.methodDescriptorKillProcess);
1416
+ }
1417
+
1418
+ methodDescriptorListLocks = new grpcWeb.MethodDescriptor(
1419
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListLocks',
1420
+ grpcWeb.MethodType.UNARY,
1421
+ postgresql_admin_pb.ListLocksRequest,
1422
+ postgresql_admin_pb.LockList,
1423
+ (request: postgresql_admin_pb.ListLocksRequest) => {
1424
+ return request.serializeBinary();
1425
+ },
1426
+ postgresql_admin_pb.LockList.deserializeBinary
1427
+ );
1428
+
1429
+ listLocks(
1430
+ request: postgresql_admin_pb.ListLocksRequest,
1431
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.LockList>;
1432
+
1433
+ listLocks(
1434
+ request: postgresql_admin_pb.ListLocksRequest,
1435
+ metadata: grpcWeb.Metadata | null,
1436
+ callback: (err: grpcWeb.RpcError,
1437
+ response: postgresql_admin_pb.LockList) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.LockList>;
1438
+
1439
+ listLocks(
1440
+ request: postgresql_admin_pb.ListLocksRequest,
1441
+ metadata?: grpcWeb.Metadata | null,
1442
+ callback?: (err: grpcWeb.RpcError,
1443
+ response: postgresql_admin_pb.LockList) => void) {
1444
+ if (callback !== undefined) {
1445
+ return this.client_.rpcCall(
1446
+ this.hostname_ +
1447
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListLocks',
1448
+ request,
1449
+ metadata || {},
1450
+ this.methodDescriptorListLocks,
1451
+ callback);
1452
+ }
1453
+ return this.client_.unaryCall(
1454
+ this.hostname_ +
1455
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListLocks',
1456
+ request,
1457
+ metadata || {},
1458
+ this.methodDescriptorListLocks);
1459
+ }
1460
+
1461
+ methodDescriptorListTablespaces = new grpcWeb.MethodDescriptor(
1462
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListTablespaces',
1463
+ grpcWeb.MethodType.UNARY,
1464
+ postgresql_admin_pb.ListTablespacesRequest,
1465
+ postgresql_admin_pb.TablespaceList,
1466
+ (request: postgresql_admin_pb.ListTablespacesRequest) => {
1467
+ return request.serializeBinary();
1468
+ },
1469
+ postgresql_admin_pb.TablespaceList.deserializeBinary
1470
+ );
1471
+
1472
+ listTablespaces(
1473
+ request: postgresql_admin_pb.ListTablespacesRequest,
1474
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.TablespaceList>;
1475
+
1476
+ listTablespaces(
1477
+ request: postgresql_admin_pb.ListTablespacesRequest,
1478
+ metadata: grpcWeb.Metadata | null,
1479
+ callback: (err: grpcWeb.RpcError,
1480
+ response: postgresql_admin_pb.TablespaceList) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.TablespaceList>;
1481
+
1482
+ listTablespaces(
1483
+ request: postgresql_admin_pb.ListTablespacesRequest,
1484
+ metadata?: grpcWeb.Metadata | null,
1485
+ callback?: (err: grpcWeb.RpcError,
1486
+ response: postgresql_admin_pb.TablespaceList) => void) {
1487
+ if (callback !== undefined) {
1488
+ return this.client_.rpcCall(
1489
+ this.hostname_ +
1490
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListTablespaces',
1491
+ request,
1492
+ metadata || {},
1493
+ this.methodDescriptorListTablespaces,
1494
+ callback);
1495
+ }
1496
+ return this.client_.unaryCall(
1497
+ this.hostname_ +
1498
+ '/trb.postgresql.v1.PostgreSQL_Admin/ListTablespaces',
1499
+ request,
1500
+ metadata || {},
1501
+ this.methodDescriptorListTablespaces);
1502
+ }
1503
+
1504
+ methodDescriptorGetMetrics = new grpcWeb.MethodDescriptor(
1505
+ '/trb.postgresql.v1.PostgreSQL_Admin/GetMetrics',
1506
+ grpcWeb.MethodType.UNARY,
1507
+ postgresql_admin_pb.GetMetricsRequest,
1508
+ postgresql_admin_pb.MetricsResponse,
1509
+ (request: postgresql_admin_pb.GetMetricsRequest) => {
1510
+ return request.serializeBinary();
1511
+ },
1512
+ postgresql_admin_pb.MetricsResponse.deserializeBinary
1513
+ );
1514
+
1515
+ getMetrics(
1516
+ request: postgresql_admin_pb.GetMetricsRequest,
1517
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.MetricsResponse>;
1518
+
1519
+ getMetrics(
1520
+ request: postgresql_admin_pb.GetMetricsRequest,
1521
+ metadata: grpcWeb.Metadata | null,
1522
+ callback: (err: grpcWeb.RpcError,
1523
+ response: postgresql_admin_pb.MetricsResponse) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.MetricsResponse>;
1524
+
1525
+ getMetrics(
1526
+ request: postgresql_admin_pb.GetMetricsRequest,
1527
+ metadata?: grpcWeb.Metadata | null,
1528
+ callback?: (err: grpcWeb.RpcError,
1529
+ response: postgresql_admin_pb.MetricsResponse) => void) {
1530
+ if (callback !== undefined) {
1531
+ return this.client_.rpcCall(
1532
+ this.hostname_ +
1533
+ '/trb.postgresql.v1.PostgreSQL_Admin/GetMetrics',
1534
+ request,
1535
+ metadata || {},
1536
+ this.methodDescriptorGetMetrics,
1537
+ callback);
1538
+ }
1539
+ return this.client_.unaryCall(
1540
+ this.hostname_ +
1541
+ '/trb.postgresql.v1.PostgreSQL_Admin/GetMetrics',
1542
+ request,
1543
+ metadata || {},
1544
+ this.methodDescriptorGetMetrics);
1545
+ }
1546
+
1547
+ methodDescriptorGetTableOptions = new grpcWeb.MethodDescriptor(
1548
+ '/trb.postgresql.v1.PostgreSQL_Admin/GetTableOptions',
1549
+ grpcWeb.MethodType.UNARY,
1550
+ postgresql_admin_pb.TableOptionsRequest,
1551
+ postgresql_admin_pb.TableOptionsResponse,
1552
+ (request: postgresql_admin_pb.TableOptionsRequest) => {
1553
+ return request.serializeBinary();
1554
+ },
1555
+ postgresql_admin_pb.TableOptionsResponse.deserializeBinary
1556
+ );
1557
+
1558
+ getTableOptions(
1559
+ request: postgresql_admin_pb.TableOptionsRequest,
1560
+ metadata?: grpcWeb.Metadata | null): Promise<postgresql_admin_pb.TableOptionsResponse>;
1561
+
1562
+ getTableOptions(
1563
+ request: postgresql_admin_pb.TableOptionsRequest,
1564
+ metadata: grpcWeb.Metadata | null,
1565
+ callback: (err: grpcWeb.RpcError,
1566
+ response: postgresql_admin_pb.TableOptionsResponse) => void): grpcWeb.ClientReadableStream<postgresql_admin_pb.TableOptionsResponse>;
1567
+
1568
+ getTableOptions(
1569
+ request: postgresql_admin_pb.TableOptionsRequest,
1570
+ metadata?: grpcWeb.Metadata | null,
1571
+ callback?: (err: grpcWeb.RpcError,
1572
+ response: postgresql_admin_pb.TableOptionsResponse) => void) {
1573
+ if (callback !== undefined) {
1574
+ return this.client_.rpcCall(
1575
+ this.hostname_ +
1576
+ '/trb.postgresql.v1.PostgreSQL_Admin/GetTableOptions',
1577
+ request,
1578
+ metadata || {},
1579
+ this.methodDescriptorGetTableOptions,
1580
+ callback);
1581
+ }
1582
+ return this.client_.unaryCall(
1583
+ this.hostname_ +
1584
+ '/trb.postgresql.v1.PostgreSQL_Admin/GetTableOptions',
1585
+ request,
1586
+ metadata || {},
1587
+ this.methodDescriptorGetTableOptions);
1588
+ }
1589
+
1590
+ }
1591
+