@marleena/trb-proto 0.1.4 → 0.1.5
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.
|
@@ -1114,5 +1114,48 @@ export class ClickHouseManagerClient {
|
|
|
1114
1114
|
this.methodDescriptorGetMetrics);
|
|
1115
1115
|
}
|
|
1116
1116
|
|
|
1117
|
+
methodDescriptorGetTableOptions = new grpcWeb.MethodDescriptor(
|
|
1118
|
+
'/trb.clickhouse.manager.public.contract.v1.ClickHouseManager/GetTableOptions',
|
|
1119
|
+
grpcWeb.MethodType.UNARY,
|
|
1120
|
+
clickhouse_manager_manager_pb.TableOptionsRequest,
|
|
1121
|
+
clickhouse_manager_manager_pb.TableOptionsResponse,
|
|
1122
|
+
(request: clickhouse_manager_manager_pb.TableOptionsRequest) => {
|
|
1123
|
+
return request.serializeBinary();
|
|
1124
|
+
},
|
|
1125
|
+
clickhouse_manager_manager_pb.TableOptionsResponse.deserializeBinary
|
|
1126
|
+
);
|
|
1127
|
+
|
|
1128
|
+
getTableOptions(
|
|
1129
|
+
request: clickhouse_manager_manager_pb.TableOptionsRequest,
|
|
1130
|
+
metadata?: grpcWeb.Metadata | null): Promise<clickhouse_manager_manager_pb.TableOptionsResponse>;
|
|
1131
|
+
|
|
1132
|
+
getTableOptions(
|
|
1133
|
+
request: clickhouse_manager_manager_pb.TableOptionsRequest,
|
|
1134
|
+
metadata: grpcWeb.Metadata | null,
|
|
1135
|
+
callback: (err: grpcWeb.RpcError,
|
|
1136
|
+
response: clickhouse_manager_manager_pb.TableOptionsResponse) => void): grpcWeb.ClientReadableStream<clickhouse_manager_manager_pb.TableOptionsResponse>;
|
|
1137
|
+
|
|
1138
|
+
getTableOptions(
|
|
1139
|
+
request: clickhouse_manager_manager_pb.TableOptionsRequest,
|
|
1140
|
+
metadata?: grpcWeb.Metadata | null,
|
|
1141
|
+
callback?: (err: grpcWeb.RpcError,
|
|
1142
|
+
response: clickhouse_manager_manager_pb.TableOptionsResponse) => void) {
|
|
1143
|
+
if (callback !== undefined) {
|
|
1144
|
+
return this.client_.rpcCall(
|
|
1145
|
+
this.hostname_ +
|
|
1146
|
+
'/trb.clickhouse.manager.public.contract.v1.ClickHouseManager/GetTableOptions',
|
|
1147
|
+
request,
|
|
1148
|
+
metadata || {},
|
|
1149
|
+
this.methodDescriptorGetTableOptions,
|
|
1150
|
+
callback);
|
|
1151
|
+
}
|
|
1152
|
+
return this.client_.unaryCall(
|
|
1153
|
+
this.hostname_ +
|
|
1154
|
+
'/trb.clickhouse.manager.public.contract.v1.ClickHouseManager/GetTableOptions',
|
|
1155
|
+
request,
|
|
1156
|
+
metadata || {},
|
|
1157
|
+
this.methodDescriptorGetTableOptions);
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1117
1160
|
}
|
|
1118
1161
|
|
|
@@ -1261,3 +1261,55 @@ export namespace MetricsResponse {
|
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
1263
|
|
|
1264
|
+
export class TableOptionsRequest extends jspb.Message {
|
|
1265
|
+
serializeBinary(): Uint8Array;
|
|
1266
|
+
toObject(includeInstance?: boolean): TableOptionsRequest.AsObject;
|
|
1267
|
+
static toObject(includeInstance: boolean, msg: TableOptionsRequest): TableOptionsRequest.AsObject;
|
|
1268
|
+
static serializeBinaryToWriter(message: TableOptionsRequest, writer: jspb.BinaryWriter): void;
|
|
1269
|
+
static deserializeBinary(bytes: Uint8Array): TableOptionsRequest;
|
|
1270
|
+
static deserializeBinaryFromReader(message: TableOptionsRequest, reader: jspb.BinaryReader): TableOptionsRequest;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
export namespace TableOptionsRequest {
|
|
1274
|
+
export type AsObject = {
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
export class TableOptionsResponse extends jspb.Message {
|
|
1279
|
+
getEnginesList(): Array<string>;
|
|
1280
|
+
setEnginesList(value: Array<string>): TableOptionsResponse;
|
|
1281
|
+
clearEnginesList(): TableOptionsResponse;
|
|
1282
|
+
addEngines(value: string, index?: number): TableOptionsResponse;
|
|
1283
|
+
|
|
1284
|
+
getDataTypesList(): Array<string>;
|
|
1285
|
+
setDataTypesList(value: Array<string>): TableOptionsResponse;
|
|
1286
|
+
clearDataTypesList(): TableOptionsResponse;
|
|
1287
|
+
addDataTypes(value: string, index?: number): TableOptionsResponse;
|
|
1288
|
+
|
|
1289
|
+
getMergeTreeSettingsList(): Array<string>;
|
|
1290
|
+
setMergeTreeSettingsList(value: Array<string>): TableOptionsResponse;
|
|
1291
|
+
clearMergeTreeSettingsList(): TableOptionsResponse;
|
|
1292
|
+
addMergeTreeSettings(value: string, index?: number): TableOptionsResponse;
|
|
1293
|
+
|
|
1294
|
+
getCodecsList(): Array<string>;
|
|
1295
|
+
setCodecsList(value: Array<string>): TableOptionsResponse;
|
|
1296
|
+
clearCodecsList(): TableOptionsResponse;
|
|
1297
|
+
addCodecs(value: string, index?: number): TableOptionsResponse;
|
|
1298
|
+
|
|
1299
|
+
serializeBinary(): Uint8Array;
|
|
1300
|
+
toObject(includeInstance?: boolean): TableOptionsResponse.AsObject;
|
|
1301
|
+
static toObject(includeInstance: boolean, msg: TableOptionsResponse): TableOptionsResponse.AsObject;
|
|
1302
|
+
static serializeBinaryToWriter(message: TableOptionsResponse, writer: jspb.BinaryWriter): void;
|
|
1303
|
+
static deserializeBinary(bytes: Uint8Array): TableOptionsResponse;
|
|
1304
|
+
static deserializeBinaryFromReader(message: TableOptionsResponse, reader: jspb.BinaryReader): TableOptionsResponse;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
export namespace TableOptionsResponse {
|
|
1308
|
+
export type AsObject = {
|
|
1309
|
+
enginesList: Array<string>,
|
|
1310
|
+
dataTypesList: Array<string>,
|
|
1311
|
+
mergeTreeSettingsList: Array<string>,
|
|
1312
|
+
codecsList: Array<string>,
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
|
|
@@ -66,6 +66,8 @@ goog.exportSymbol('proto.trb.clickhouse.manager.public.contract.v1.Table', null,
|
|
|
66
66
|
goog.exportSymbol('proto.trb.clickhouse.manager.public.contract.v1.TableEngine', null, global);
|
|
67
67
|
goog.exportSymbol('proto.trb.clickhouse.manager.public.contract.v1.TableList', null, global);
|
|
68
68
|
goog.exportSymbol('proto.trb.clickhouse.manager.public.contract.v1.TableName', null, global);
|
|
69
|
+
goog.exportSymbol('proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest', null, global);
|
|
70
|
+
goog.exportSymbol('proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse', null, global);
|
|
69
71
|
goog.exportSymbol('proto.trb.clickhouse.manager.public.contract.v1.TablePart', null, global);
|
|
70
72
|
goog.exportSymbol('proto.trb.clickhouse.manager.public.contract.v1.TableSpec', null, global);
|
|
71
73
|
/**
|
|
@@ -929,6 +931,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
929
931
|
*/
|
|
930
932
|
proto.trb.clickhouse.manager.public.contract.v1.MetricsResponse.displayName = 'proto.trb.clickhouse.manager.public.contract.v1.MetricsResponse';
|
|
931
933
|
}
|
|
934
|
+
/**
|
|
935
|
+
* Generated by JsPbCodeGenerator.
|
|
936
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
937
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
938
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
939
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
940
|
+
* valid.
|
|
941
|
+
* @extends {jspb.Message}
|
|
942
|
+
* @constructor
|
|
943
|
+
*/
|
|
944
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest = function(opt_data) {
|
|
945
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
946
|
+
};
|
|
947
|
+
goog.inherits(proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest, jspb.Message);
|
|
948
|
+
if (goog.DEBUG && !COMPILED) {
|
|
949
|
+
/**
|
|
950
|
+
* @public
|
|
951
|
+
* @override
|
|
952
|
+
*/
|
|
953
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest.displayName = 'proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest';
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* Generated by JsPbCodeGenerator.
|
|
957
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
958
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
959
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
960
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
961
|
+
* valid.
|
|
962
|
+
* @extends {jspb.Message}
|
|
963
|
+
* @constructor
|
|
964
|
+
*/
|
|
965
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse = function(opt_data) {
|
|
966
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.repeatedFields_, null);
|
|
967
|
+
};
|
|
968
|
+
goog.inherits(proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse, jspb.Message);
|
|
969
|
+
if (goog.DEBUG && !COMPILED) {
|
|
970
|
+
/**
|
|
971
|
+
* @public
|
|
972
|
+
* @override
|
|
973
|
+
*/
|
|
974
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.displayName = 'proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse';
|
|
975
|
+
}
|
|
932
976
|
|
|
933
977
|
|
|
934
978
|
|
|
@@ -10356,4 +10400,408 @@ proto.trb.clickhouse.manager.public.contract.v1.MetricsResponse.prototype.clearA
|
|
|
10356
10400
|
};
|
|
10357
10401
|
|
|
10358
10402
|
|
|
10403
|
+
|
|
10404
|
+
|
|
10405
|
+
|
|
10406
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10407
|
+
/**
|
|
10408
|
+
* Creates an object representation of this proto.
|
|
10409
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10410
|
+
* Optional fields that are not set will be set to undefined.
|
|
10411
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10412
|
+
* For the list of reserved names please see:
|
|
10413
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10414
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10415
|
+
* JSPB instance for transitional soy proto support:
|
|
10416
|
+
* http://goto/soy-param-migration
|
|
10417
|
+
* @return {!Object}
|
|
10418
|
+
*/
|
|
10419
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10420
|
+
return proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest.toObject(opt_includeInstance, this);
|
|
10421
|
+
};
|
|
10422
|
+
|
|
10423
|
+
|
|
10424
|
+
/**
|
|
10425
|
+
* Static version of the {@see toObject} method.
|
|
10426
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10427
|
+
* the JSPB instance for transitional soy proto support:
|
|
10428
|
+
* http://goto/soy-param-migration
|
|
10429
|
+
* @param {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest} msg The msg instance to transform.
|
|
10430
|
+
* @return {!Object}
|
|
10431
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10432
|
+
*/
|
|
10433
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest.toObject = function(includeInstance, msg) {
|
|
10434
|
+
var f, obj = {
|
|
10435
|
+
|
|
10436
|
+
};
|
|
10437
|
+
|
|
10438
|
+
if (includeInstance) {
|
|
10439
|
+
obj.$jspbMessageInstance = msg;
|
|
10440
|
+
}
|
|
10441
|
+
return obj;
|
|
10442
|
+
};
|
|
10443
|
+
}
|
|
10444
|
+
|
|
10445
|
+
|
|
10446
|
+
/**
|
|
10447
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10448
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10449
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest}
|
|
10450
|
+
*/
|
|
10451
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest.deserializeBinary = function(bytes) {
|
|
10452
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10453
|
+
var msg = new proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest;
|
|
10454
|
+
return proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest.deserializeBinaryFromReader(msg, reader);
|
|
10455
|
+
};
|
|
10456
|
+
|
|
10457
|
+
|
|
10458
|
+
/**
|
|
10459
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10460
|
+
* given reader into the given message object.
|
|
10461
|
+
* @param {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest} msg The message object to deserialize into.
|
|
10462
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10463
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest}
|
|
10464
|
+
*/
|
|
10465
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10466
|
+
while (reader.nextField()) {
|
|
10467
|
+
if (reader.isEndGroup()) {
|
|
10468
|
+
break;
|
|
10469
|
+
}
|
|
10470
|
+
var field = reader.getFieldNumber();
|
|
10471
|
+
switch (field) {
|
|
10472
|
+
default:
|
|
10473
|
+
reader.skipField();
|
|
10474
|
+
break;
|
|
10475
|
+
}
|
|
10476
|
+
}
|
|
10477
|
+
return msg;
|
|
10478
|
+
};
|
|
10479
|
+
|
|
10480
|
+
|
|
10481
|
+
/**
|
|
10482
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10483
|
+
* @return {!Uint8Array}
|
|
10484
|
+
*/
|
|
10485
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest.prototype.serializeBinary = function() {
|
|
10486
|
+
var writer = new jspb.BinaryWriter();
|
|
10487
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest.serializeBinaryToWriter(this, writer);
|
|
10488
|
+
return writer.getResultBuffer();
|
|
10489
|
+
};
|
|
10490
|
+
|
|
10491
|
+
|
|
10492
|
+
/**
|
|
10493
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10494
|
+
* format), writing to the given BinaryWriter.
|
|
10495
|
+
* @param {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest} message
|
|
10496
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10497
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10498
|
+
*/
|
|
10499
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10500
|
+
var f = undefined;
|
|
10501
|
+
};
|
|
10502
|
+
|
|
10503
|
+
|
|
10504
|
+
|
|
10505
|
+
/**
|
|
10506
|
+
* List of repeated fields within this message type.
|
|
10507
|
+
* @private {!Array<number>}
|
|
10508
|
+
* @const
|
|
10509
|
+
*/
|
|
10510
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.repeatedFields_ = [1,2,3,4];
|
|
10511
|
+
|
|
10512
|
+
|
|
10513
|
+
|
|
10514
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10515
|
+
/**
|
|
10516
|
+
* Creates an object representation of this proto.
|
|
10517
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10518
|
+
* Optional fields that are not set will be set to undefined.
|
|
10519
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10520
|
+
* For the list of reserved names please see:
|
|
10521
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10522
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10523
|
+
* JSPB instance for transitional soy proto support:
|
|
10524
|
+
* http://goto/soy-param-migration
|
|
10525
|
+
* @return {!Object}
|
|
10526
|
+
*/
|
|
10527
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10528
|
+
return proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.toObject(opt_includeInstance, this);
|
|
10529
|
+
};
|
|
10530
|
+
|
|
10531
|
+
|
|
10532
|
+
/**
|
|
10533
|
+
* Static version of the {@see toObject} method.
|
|
10534
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10535
|
+
* the JSPB instance for transitional soy proto support:
|
|
10536
|
+
* http://goto/soy-param-migration
|
|
10537
|
+
* @param {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} msg The msg instance to transform.
|
|
10538
|
+
* @return {!Object}
|
|
10539
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10540
|
+
*/
|
|
10541
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.toObject = function(includeInstance, msg) {
|
|
10542
|
+
var f, obj = {
|
|
10543
|
+
enginesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
10544
|
+
dataTypesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
10545
|
+
mergeTreeSettingsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
10546
|
+
codecsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
10547
|
+
};
|
|
10548
|
+
|
|
10549
|
+
if (includeInstance) {
|
|
10550
|
+
obj.$jspbMessageInstance = msg;
|
|
10551
|
+
}
|
|
10552
|
+
return obj;
|
|
10553
|
+
};
|
|
10554
|
+
}
|
|
10555
|
+
|
|
10556
|
+
|
|
10557
|
+
/**
|
|
10558
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10559
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10560
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse}
|
|
10561
|
+
*/
|
|
10562
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.deserializeBinary = function(bytes) {
|
|
10563
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10564
|
+
var msg = new proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse;
|
|
10565
|
+
return proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.deserializeBinaryFromReader(msg, reader);
|
|
10566
|
+
};
|
|
10567
|
+
|
|
10568
|
+
|
|
10569
|
+
/**
|
|
10570
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10571
|
+
* given reader into the given message object.
|
|
10572
|
+
* @param {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} msg The message object to deserialize into.
|
|
10573
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10574
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse}
|
|
10575
|
+
*/
|
|
10576
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10577
|
+
while (reader.nextField()) {
|
|
10578
|
+
if (reader.isEndGroup()) {
|
|
10579
|
+
break;
|
|
10580
|
+
}
|
|
10581
|
+
var field = reader.getFieldNumber();
|
|
10582
|
+
switch (field) {
|
|
10583
|
+
case 1:
|
|
10584
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10585
|
+
msg.addEngines(value);
|
|
10586
|
+
break;
|
|
10587
|
+
case 2:
|
|
10588
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10589
|
+
msg.addDataTypes(value);
|
|
10590
|
+
break;
|
|
10591
|
+
case 3:
|
|
10592
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10593
|
+
msg.addMergeTreeSettings(value);
|
|
10594
|
+
break;
|
|
10595
|
+
case 4:
|
|
10596
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10597
|
+
msg.addCodecs(value);
|
|
10598
|
+
break;
|
|
10599
|
+
default:
|
|
10600
|
+
reader.skipField();
|
|
10601
|
+
break;
|
|
10602
|
+
}
|
|
10603
|
+
}
|
|
10604
|
+
return msg;
|
|
10605
|
+
};
|
|
10606
|
+
|
|
10607
|
+
|
|
10608
|
+
/**
|
|
10609
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10610
|
+
* @return {!Uint8Array}
|
|
10611
|
+
*/
|
|
10612
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.serializeBinary = function() {
|
|
10613
|
+
var writer = new jspb.BinaryWriter();
|
|
10614
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.serializeBinaryToWriter(this, writer);
|
|
10615
|
+
return writer.getResultBuffer();
|
|
10616
|
+
};
|
|
10617
|
+
|
|
10618
|
+
|
|
10619
|
+
/**
|
|
10620
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10621
|
+
* format), writing to the given BinaryWriter.
|
|
10622
|
+
* @param {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} message
|
|
10623
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10624
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10625
|
+
*/
|
|
10626
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10627
|
+
var f = undefined;
|
|
10628
|
+
f = message.getEnginesList();
|
|
10629
|
+
if (f.length > 0) {
|
|
10630
|
+
writer.writeRepeatedString(
|
|
10631
|
+
1,
|
|
10632
|
+
f
|
|
10633
|
+
);
|
|
10634
|
+
}
|
|
10635
|
+
f = message.getDataTypesList();
|
|
10636
|
+
if (f.length > 0) {
|
|
10637
|
+
writer.writeRepeatedString(
|
|
10638
|
+
2,
|
|
10639
|
+
f
|
|
10640
|
+
);
|
|
10641
|
+
}
|
|
10642
|
+
f = message.getMergeTreeSettingsList();
|
|
10643
|
+
if (f.length > 0) {
|
|
10644
|
+
writer.writeRepeatedString(
|
|
10645
|
+
3,
|
|
10646
|
+
f
|
|
10647
|
+
);
|
|
10648
|
+
}
|
|
10649
|
+
f = message.getCodecsList();
|
|
10650
|
+
if (f.length > 0) {
|
|
10651
|
+
writer.writeRepeatedString(
|
|
10652
|
+
4,
|
|
10653
|
+
f
|
|
10654
|
+
);
|
|
10655
|
+
}
|
|
10656
|
+
};
|
|
10657
|
+
|
|
10658
|
+
|
|
10659
|
+
/**
|
|
10660
|
+
* repeated string engines = 1;
|
|
10661
|
+
* @return {!Array<string>}
|
|
10662
|
+
*/
|
|
10663
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.getEnginesList = function() {
|
|
10664
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
10665
|
+
};
|
|
10666
|
+
|
|
10667
|
+
|
|
10668
|
+
/**
|
|
10669
|
+
* @param {!Array<string>} value
|
|
10670
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} returns this
|
|
10671
|
+
*/
|
|
10672
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.setEnginesList = function(value) {
|
|
10673
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
10674
|
+
};
|
|
10675
|
+
|
|
10676
|
+
|
|
10677
|
+
/**
|
|
10678
|
+
* @param {string} value
|
|
10679
|
+
* @param {number=} opt_index
|
|
10680
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} returns this
|
|
10681
|
+
*/
|
|
10682
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.addEngines = function(value, opt_index) {
|
|
10683
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
10684
|
+
};
|
|
10685
|
+
|
|
10686
|
+
|
|
10687
|
+
/**
|
|
10688
|
+
* Clears the list making it empty but non-null.
|
|
10689
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} returns this
|
|
10690
|
+
*/
|
|
10691
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.clearEnginesList = function() {
|
|
10692
|
+
return this.setEnginesList([]);
|
|
10693
|
+
};
|
|
10694
|
+
|
|
10695
|
+
|
|
10696
|
+
/**
|
|
10697
|
+
* repeated string data_types = 2;
|
|
10698
|
+
* @return {!Array<string>}
|
|
10699
|
+
*/
|
|
10700
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.getDataTypesList = function() {
|
|
10701
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
10702
|
+
};
|
|
10703
|
+
|
|
10704
|
+
|
|
10705
|
+
/**
|
|
10706
|
+
* @param {!Array<string>} value
|
|
10707
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} returns this
|
|
10708
|
+
*/
|
|
10709
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.setDataTypesList = function(value) {
|
|
10710
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
10711
|
+
};
|
|
10712
|
+
|
|
10713
|
+
|
|
10714
|
+
/**
|
|
10715
|
+
* @param {string} value
|
|
10716
|
+
* @param {number=} opt_index
|
|
10717
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} returns this
|
|
10718
|
+
*/
|
|
10719
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.addDataTypes = function(value, opt_index) {
|
|
10720
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
10721
|
+
};
|
|
10722
|
+
|
|
10723
|
+
|
|
10724
|
+
/**
|
|
10725
|
+
* Clears the list making it empty but non-null.
|
|
10726
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} returns this
|
|
10727
|
+
*/
|
|
10728
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.clearDataTypesList = function() {
|
|
10729
|
+
return this.setDataTypesList([]);
|
|
10730
|
+
};
|
|
10731
|
+
|
|
10732
|
+
|
|
10733
|
+
/**
|
|
10734
|
+
* repeated string merge_tree_settings = 3;
|
|
10735
|
+
* @return {!Array<string>}
|
|
10736
|
+
*/
|
|
10737
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.getMergeTreeSettingsList = function() {
|
|
10738
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
10739
|
+
};
|
|
10740
|
+
|
|
10741
|
+
|
|
10742
|
+
/**
|
|
10743
|
+
* @param {!Array<string>} value
|
|
10744
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} returns this
|
|
10745
|
+
*/
|
|
10746
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.setMergeTreeSettingsList = function(value) {
|
|
10747
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
10748
|
+
};
|
|
10749
|
+
|
|
10750
|
+
|
|
10751
|
+
/**
|
|
10752
|
+
* @param {string} value
|
|
10753
|
+
* @param {number=} opt_index
|
|
10754
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} returns this
|
|
10755
|
+
*/
|
|
10756
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.addMergeTreeSettings = function(value, opt_index) {
|
|
10757
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
10758
|
+
};
|
|
10759
|
+
|
|
10760
|
+
|
|
10761
|
+
/**
|
|
10762
|
+
* Clears the list making it empty but non-null.
|
|
10763
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} returns this
|
|
10764
|
+
*/
|
|
10765
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.clearMergeTreeSettingsList = function() {
|
|
10766
|
+
return this.setMergeTreeSettingsList([]);
|
|
10767
|
+
};
|
|
10768
|
+
|
|
10769
|
+
|
|
10770
|
+
/**
|
|
10771
|
+
* repeated string codecs = 4;
|
|
10772
|
+
* @return {!Array<string>}
|
|
10773
|
+
*/
|
|
10774
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.getCodecsList = function() {
|
|
10775
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
10776
|
+
};
|
|
10777
|
+
|
|
10778
|
+
|
|
10779
|
+
/**
|
|
10780
|
+
* @param {!Array<string>} value
|
|
10781
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} returns this
|
|
10782
|
+
*/
|
|
10783
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.setCodecsList = function(value) {
|
|
10784
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
10785
|
+
};
|
|
10786
|
+
|
|
10787
|
+
|
|
10788
|
+
/**
|
|
10789
|
+
* @param {string} value
|
|
10790
|
+
* @param {number=} opt_index
|
|
10791
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} returns this
|
|
10792
|
+
*/
|
|
10793
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.addCodecs = function(value, opt_index) {
|
|
10794
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
10795
|
+
};
|
|
10796
|
+
|
|
10797
|
+
|
|
10798
|
+
/**
|
|
10799
|
+
* Clears the list making it empty but non-null.
|
|
10800
|
+
* @return {!proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse} returns this
|
|
10801
|
+
*/
|
|
10802
|
+
proto.trb.clickhouse.manager.public.contract.v1.TableOptionsResponse.prototype.clearCodecsList = function() {
|
|
10803
|
+
return this.setCodecsList([]);
|
|
10804
|
+
};
|
|
10805
|
+
|
|
10806
|
+
|
|
10359
10807
|
goog.object.extend(exports, proto.trb.clickhouse.manager.public.contract.v1);
|