@marleena/trb-proto 1.0.28 → 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.
- package/README.md +15 -3
- package/gen/js-ts/{tinvest → api/tinvest}/InstrumentsServiceClientPb.ts +432 -432
- package/gen/js-ts/{tinvest → api/tinvest}/MarketdataServiceClientPb.ts +98 -98
- package/gen/js-ts/{tinvest → api/tinvest}/OperationsServiceClientPb.ts +90 -90
- package/gen/js-ts/{tinvest → api/tinvest}/OrdersServiceClientPb.ts +94 -94
- package/gen/js-ts/{tinvest → api/tinvest}/SandboxServiceClientPb.ts +206 -206
- package/gen/js-ts/{tinvest → api/tinvest}/SignalsServiceClientPb.ts +22 -22
- package/gen/js-ts/{tinvest → api/tinvest}/StopordersServiceClientPb.ts +32 -32
- package/gen/js-ts/{tinvest → api/tinvest}/UsersServiceClientPb.ts +82 -82
- package/gen/js-ts/{tinvest → api/tinvest}/common_pb.js +1 -1
- package/gen/js-ts/{tinvest → api/tinvest}/instruments_pb.d.ts +560 -560
- package/gen/js-ts/{tinvest → api/tinvest}/instruments_pb.js +804 -804
- package/gen/js-ts/{tinvest → api/tinvest}/marketdata_pb.d.ts +104 -104
- package/gen/js-ts/{tinvest → api/tinvest}/marketdata_pb.js +154 -154
- package/gen/js-ts/{tinvest → api/tinvest}/operations_pb.d.ts +229 -229
- package/gen/js-ts/{tinvest → api/tinvest}/operations_pb.js +364 -364
- package/gen/js-ts/{tinvest → api/tinvest}/orders_pb.d.ts +153 -153
- package/gen/js-ts/{tinvest → api/tinvest}/orders_pb.js +226 -226
- package/gen/js-ts/{tinvest → api/tinvest}/sandbox_pb.d.ts +12 -12
- package/gen/js-ts/{tinvest → api/tinvest}/sandbox_pb.js +22 -22
- package/gen/js-ts/{tinvest → api/tinvest}/signals_pb.d.ts +32 -32
- package/gen/js-ts/{tinvest → api/tinvest}/signals_pb.js +54 -54
- package/gen/js-ts/{tinvest → api/tinvest}/stoporders_pb.d.ts +38 -38
- package/gen/js-ts/{tinvest → api/tinvest}/stoporders_pb.js +59 -59
- package/gen/js-ts/{tinvest → api/tinvest}/users_pb.d.ts +36 -36
- package/gen/js-ts/{tinvest → api/tinvest}/users_pb.js +59 -59
- package/gen/js-ts/clickhouse/AdminServiceClientPb.ts +1161 -0
- package/gen/js-ts/clickhouse/ClickhouseServiceClientPb.ts +216 -0
- package/gen/js-ts/{api/clickhouse/manager_pb.d.ts → clickhouse/admin_pb.d.ts} +2 -2
- package/gen/js-ts/{api/clickhouse/manager_pb.js → clickhouse/admin_pb.js} +1551 -1551
- package/gen/js-ts/{api/db_api/db_api_pb.d.ts → clickhouse/clickhouse_pb.d.ts} +8 -158
- package/gen/js-ts/clickhouse/clickhouse_pb.js +2440 -0
- package/gen/js-ts/nats/NatsServiceClientPb.ts +1032 -0
- package/gen/js-ts/{api/nats/manager_pb.d.ts → nats/nats_pb.d.ts} +1 -1
- package/gen/js-ts/{api/nats/manager_pb.js → nats/nats_pb.js} +1784 -1784
- package/gen/js-ts/postgresql/AdminServiceClientPb.ts +1591 -0
- package/gen/js-ts/postgresql/PostgresqlServiceClientPb.ts +129 -0
- package/gen/js-ts/postgresql/admin_pb.d.ts +1895 -0
- package/gen/js-ts/postgresql/admin_pb.js +15465 -0
- package/gen/js-ts/postgresql/postgresql_pb.d.ts +156 -0
- package/gen/js-ts/postgresql/postgresql_pb.js +1311 -0
- package/gen/js-ts/{api/test → test}/TestServiceClientPb.ts +16 -16
- package/gen/js-ts/{api/test → test}/test_pb.d.ts +5 -5
- package/gen/js-ts/{api/test → test}/test_pb.js +58 -58
- package/package.json +1 -1
- package/gen/js-ts/api/clickhouse/ManagerServiceClientPb.ts +0 -1161
- package/gen/js-ts/api/db_api/Db_apiServiceClientPb.ts +0 -302
- package/gen/js-ts/api/db_api/db_api_pb.js +0 -3723
- package/gen/js-ts/api/nats/ManagerServiceClientPb.ts +0 -1032
- /package/gen/js-ts/{tinvest → api/tinvest}/common_pb.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @fileoverview gRPC-Web generated client stub for trb.test.
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for trb.test.v1
|
|
3
3
|
* @enhanceable
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// versions:
|
|
9
9
|
// protoc-gen-grpc-web v1.5.0
|
|
10
10
|
// protoc v7.34.1
|
|
11
|
-
// source:
|
|
11
|
+
// source: test/test.proto
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
/* eslint-disable */
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
import * as grpcWeb from 'grpc-web';
|
|
19
19
|
|
|
20
|
-
import * as
|
|
20
|
+
import * as test_test_pb from '../test/test_pb'; // proto import: "test/test.proto"
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
export class TestClient {
|
|
@@ -40,35 +40,35 @@ export class TestClient {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
methodDescriptorSyncInstruments = new grpcWeb.MethodDescriptor(
|
|
43
|
-
'/trb.test.
|
|
43
|
+
'/trb.test.v1.Test/SyncInstruments',
|
|
44
44
|
grpcWeb.MethodType.UNARY,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
(request:
|
|
45
|
+
test_test_pb.SyncInstrumentsRequest,
|
|
46
|
+
test_test_pb.SyncInstrumentsResponse,
|
|
47
|
+
(request: test_test_pb.SyncInstrumentsRequest) => {
|
|
48
48
|
return request.serializeBinary();
|
|
49
49
|
},
|
|
50
|
-
|
|
50
|
+
test_test_pb.SyncInstrumentsResponse.deserializeBinary
|
|
51
51
|
);
|
|
52
52
|
|
|
53
53
|
syncInstruments(
|
|
54
|
-
request:
|
|
55
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
54
|
+
request: test_test_pb.SyncInstrumentsRequest,
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<test_test_pb.SyncInstrumentsResponse>;
|
|
56
56
|
|
|
57
57
|
syncInstruments(
|
|
58
|
-
request:
|
|
58
|
+
request: test_test_pb.SyncInstrumentsRequest,
|
|
59
59
|
metadata: grpcWeb.Metadata | null,
|
|
60
60
|
callback: (err: grpcWeb.RpcError,
|
|
61
|
-
response:
|
|
61
|
+
response: test_test_pb.SyncInstrumentsResponse) => void): grpcWeb.ClientReadableStream<test_test_pb.SyncInstrumentsResponse>;
|
|
62
62
|
|
|
63
63
|
syncInstruments(
|
|
64
|
-
request:
|
|
64
|
+
request: test_test_pb.SyncInstrumentsRequest,
|
|
65
65
|
metadata?: grpcWeb.Metadata | null,
|
|
66
66
|
callback?: (err: grpcWeb.RpcError,
|
|
67
|
-
response:
|
|
67
|
+
response: test_test_pb.SyncInstrumentsResponse) => void) {
|
|
68
68
|
if (callback !== undefined) {
|
|
69
69
|
return this.client_.rpcCall(
|
|
70
70
|
this.hostname_ +
|
|
71
|
-
'/trb.test.
|
|
71
|
+
'/trb.test.v1.Test/SyncInstruments',
|
|
72
72
|
request,
|
|
73
73
|
metadata || {},
|
|
74
74
|
this.methodDescriptorSyncInstruments,
|
|
@@ -76,7 +76,7 @@ export class TestClient {
|
|
|
76
76
|
}
|
|
77
77
|
return this.client_.unaryCall(
|
|
78
78
|
this.hostname_ +
|
|
79
|
-
'/trb.test.
|
|
79
|
+
'/trb.test.v1.Test/SyncInstruments',
|
|
80
80
|
request,
|
|
81
81
|
metadata || {},
|
|
82
82
|
this.methodDescriptorSyncInstruments);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
|
-
import * as google_api_annotations_pb from '
|
|
4
|
-
import * as
|
|
3
|
+
import * as google_api_annotations_pb from '../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
|
|
4
|
+
import * as clickhouse_clickhouse_pb from '../clickhouse/clickhouse_pb'; // proto import: "clickhouse/clickhouse.proto"
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
export class SyncInstrumentsRequest extends jspb.Message {
|
|
@@ -19,8 +19,8 @@ export namespace SyncInstrumentsRequest {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export class SyncInstrumentsResponse extends jspb.Message {
|
|
22
|
-
getUpsert():
|
|
23
|
-
setUpsert(value?:
|
|
22
|
+
getUpsert(): clickhouse_clickhouse_pb.UpsertInstrumentsResponse | undefined;
|
|
23
|
+
setUpsert(value?: clickhouse_clickhouse_pb.UpsertInstrumentsResponse): SyncInstrumentsResponse;
|
|
24
24
|
hasUpsert(): boolean;
|
|
25
25
|
clearUpsert(): SyncInstrumentsResponse;
|
|
26
26
|
|
|
@@ -34,7 +34,7 @@ export class SyncInstrumentsResponse extends jspb.Message {
|
|
|
34
34
|
|
|
35
35
|
export namespace SyncInstrumentsResponse {
|
|
36
36
|
export type AsObject = {
|
|
37
|
-
upsert?:
|
|
37
|
+
upsert?: clickhouse_clickhouse_pb.UpsertInstrumentsResponse.AsObject,
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// source:
|
|
1
|
+
// source: test/test.proto
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview
|
|
4
4
|
* @enhanceable
|
|
@@ -21,12 +21,12 @@ var global =
|
|
|
21
21
|
(function () { return this; }).call(null) ||
|
|
22
22
|
Function('return this')();
|
|
23
23
|
|
|
24
|
-
var google_api_annotations_pb = require('
|
|
24
|
+
var google_api_annotations_pb = require('../google/api/annotations_pb.js');
|
|
25
25
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
26
|
-
var
|
|
27
|
-
goog.object.extend(proto,
|
|
28
|
-
goog.exportSymbol('proto.trb.test.
|
|
29
|
-
goog.exportSymbol('proto.trb.test.
|
|
26
|
+
var clickhouse_clickhouse_pb = require('../clickhouse/clickhouse_pb.js');
|
|
27
|
+
goog.object.extend(proto, clickhouse_clickhouse_pb);
|
|
28
|
+
goog.exportSymbol('proto.trb.test.v1.SyncInstrumentsRequest', null, global);
|
|
29
|
+
goog.exportSymbol('proto.trb.test.v1.SyncInstrumentsResponse', null, global);
|
|
30
30
|
/**
|
|
31
31
|
* Generated by JsPbCodeGenerator.
|
|
32
32
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -37,16 +37,16 @@ goog.exportSymbol('proto.trb.test.public.contract.v1.SyncInstrumentsResponse', n
|
|
|
37
37
|
* @extends {jspb.Message}
|
|
38
38
|
* @constructor
|
|
39
39
|
*/
|
|
40
|
-
proto.trb.test.
|
|
40
|
+
proto.trb.test.v1.SyncInstrumentsRequest = function(opt_data) {
|
|
41
41
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
42
42
|
};
|
|
43
|
-
goog.inherits(proto.trb.test.
|
|
43
|
+
goog.inherits(proto.trb.test.v1.SyncInstrumentsRequest, jspb.Message);
|
|
44
44
|
if (goog.DEBUG && !COMPILED) {
|
|
45
45
|
/**
|
|
46
46
|
* @public
|
|
47
47
|
* @override
|
|
48
48
|
*/
|
|
49
|
-
proto.trb.test.
|
|
49
|
+
proto.trb.test.v1.SyncInstrumentsRequest.displayName = 'proto.trb.test.v1.SyncInstrumentsRequest';
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
52
|
* Generated by JsPbCodeGenerator.
|
|
@@ -58,16 +58,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
58
58
|
* @extends {jspb.Message}
|
|
59
59
|
* @constructor
|
|
60
60
|
*/
|
|
61
|
-
proto.trb.test.
|
|
61
|
+
proto.trb.test.v1.SyncInstrumentsResponse = function(opt_data) {
|
|
62
62
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
63
63
|
};
|
|
64
|
-
goog.inherits(proto.trb.test.
|
|
64
|
+
goog.inherits(proto.trb.test.v1.SyncInstrumentsResponse, jspb.Message);
|
|
65
65
|
if (goog.DEBUG && !COMPILED) {
|
|
66
66
|
/**
|
|
67
67
|
* @public
|
|
68
68
|
* @override
|
|
69
69
|
*/
|
|
70
|
-
proto.trb.test.
|
|
70
|
+
proto.trb.test.v1.SyncInstrumentsResponse.displayName = 'proto.trb.test.v1.SyncInstrumentsResponse';
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
|
|
@@ -85,8 +85,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
85
85
|
* http://goto/soy-param-migration
|
|
86
86
|
* @return {!Object}
|
|
87
87
|
*/
|
|
88
|
-
proto.trb.test.
|
|
89
|
-
return proto.trb.test.
|
|
88
|
+
proto.trb.test.v1.SyncInstrumentsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
89
|
+
return proto.trb.test.v1.SyncInstrumentsRequest.toObject(opt_includeInstance, this);
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
|
|
@@ -95,11 +95,11 @@ proto.trb.test.public.contract.v1.SyncInstrumentsRequest.prototype.toObject = fu
|
|
|
95
95
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
96
96
|
* the JSPB instance for transitional soy proto support:
|
|
97
97
|
* http://goto/soy-param-migration
|
|
98
|
-
* @param {!proto.trb.test.
|
|
98
|
+
* @param {!proto.trb.test.v1.SyncInstrumentsRequest} msg The msg instance to transform.
|
|
99
99
|
* @return {!Object}
|
|
100
100
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
101
101
|
*/
|
|
102
|
-
proto.trb.test.
|
|
102
|
+
proto.trb.test.v1.SyncInstrumentsRequest.toObject = function(includeInstance, msg) {
|
|
103
103
|
var f, obj = {
|
|
104
104
|
|
|
105
105
|
};
|
|
@@ -115,23 +115,23 @@ proto.trb.test.public.contract.v1.SyncInstrumentsRequest.toObject = function(inc
|
|
|
115
115
|
/**
|
|
116
116
|
* Deserializes binary data (in protobuf wire format).
|
|
117
117
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
118
|
-
* @return {!proto.trb.test.
|
|
118
|
+
* @return {!proto.trb.test.v1.SyncInstrumentsRequest}
|
|
119
119
|
*/
|
|
120
|
-
proto.trb.test.
|
|
120
|
+
proto.trb.test.v1.SyncInstrumentsRequest.deserializeBinary = function(bytes) {
|
|
121
121
|
var reader = new jspb.BinaryReader(bytes);
|
|
122
|
-
var msg = new proto.trb.test.
|
|
123
|
-
return proto.trb.test.
|
|
122
|
+
var msg = new proto.trb.test.v1.SyncInstrumentsRequest;
|
|
123
|
+
return proto.trb.test.v1.SyncInstrumentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
124
124
|
};
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
128
|
* Deserializes binary data (in protobuf wire format) from the
|
|
129
129
|
* given reader into the given message object.
|
|
130
|
-
* @param {!proto.trb.test.
|
|
130
|
+
* @param {!proto.trb.test.v1.SyncInstrumentsRequest} msg The message object to deserialize into.
|
|
131
131
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
132
|
-
* @return {!proto.trb.test.
|
|
132
|
+
* @return {!proto.trb.test.v1.SyncInstrumentsRequest}
|
|
133
133
|
*/
|
|
134
|
-
proto.trb.test.
|
|
134
|
+
proto.trb.test.v1.SyncInstrumentsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
135
135
|
while (reader.nextField()) {
|
|
136
136
|
if (reader.isEndGroup()) {
|
|
137
137
|
break;
|
|
@@ -151,9 +151,9 @@ proto.trb.test.public.contract.v1.SyncInstrumentsRequest.deserializeBinaryFromRe
|
|
|
151
151
|
* Serializes the message to binary data (in protobuf wire format).
|
|
152
152
|
* @return {!Uint8Array}
|
|
153
153
|
*/
|
|
154
|
-
proto.trb.test.
|
|
154
|
+
proto.trb.test.v1.SyncInstrumentsRequest.prototype.serializeBinary = function() {
|
|
155
155
|
var writer = new jspb.BinaryWriter();
|
|
156
|
-
proto.trb.test.
|
|
156
|
+
proto.trb.test.v1.SyncInstrumentsRequest.serializeBinaryToWriter(this, writer);
|
|
157
157
|
return writer.getResultBuffer();
|
|
158
158
|
};
|
|
159
159
|
|
|
@@ -161,11 +161,11 @@ proto.trb.test.public.contract.v1.SyncInstrumentsRequest.prototype.serializeBina
|
|
|
161
161
|
/**
|
|
162
162
|
* Serializes the given message to binary data (in protobuf wire
|
|
163
163
|
* format), writing to the given BinaryWriter.
|
|
164
|
-
* @param {!proto.trb.test.
|
|
164
|
+
* @param {!proto.trb.test.v1.SyncInstrumentsRequest} message
|
|
165
165
|
* @param {!jspb.BinaryWriter} writer
|
|
166
166
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
167
167
|
*/
|
|
168
|
-
proto.trb.test.
|
|
168
|
+
proto.trb.test.v1.SyncInstrumentsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
169
169
|
var f = undefined;
|
|
170
170
|
};
|
|
171
171
|
|
|
@@ -186,8 +186,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
186
186
|
* http://goto/soy-param-migration
|
|
187
187
|
* @return {!Object}
|
|
188
188
|
*/
|
|
189
|
-
proto.trb.test.
|
|
190
|
-
return proto.trb.test.
|
|
189
|
+
proto.trb.test.v1.SyncInstrumentsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
190
|
+
return proto.trb.test.v1.SyncInstrumentsResponse.toObject(opt_includeInstance, this);
|
|
191
191
|
};
|
|
192
192
|
|
|
193
193
|
|
|
@@ -196,13 +196,13 @@ proto.trb.test.public.contract.v1.SyncInstrumentsResponse.prototype.toObject = f
|
|
|
196
196
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
197
197
|
* the JSPB instance for transitional soy proto support:
|
|
198
198
|
* http://goto/soy-param-migration
|
|
199
|
-
* @param {!proto.trb.test.
|
|
199
|
+
* @param {!proto.trb.test.v1.SyncInstrumentsResponse} msg The msg instance to transform.
|
|
200
200
|
* @return {!Object}
|
|
201
201
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
202
202
|
*/
|
|
203
|
-
proto.trb.test.
|
|
203
|
+
proto.trb.test.v1.SyncInstrumentsResponse.toObject = function(includeInstance, msg) {
|
|
204
204
|
var f, obj = {
|
|
205
|
-
upsert: (f = msg.getUpsert()) &&
|
|
205
|
+
upsert: (f = msg.getUpsert()) && clickhouse_clickhouse_pb.UpsertInstrumentsResponse.toObject(includeInstance, f)
|
|
206
206
|
};
|
|
207
207
|
|
|
208
208
|
if (includeInstance) {
|
|
@@ -216,23 +216,23 @@ upsert: (f = msg.getUpsert()) && api_db_api_db_api_pb.UpsertInstrumentsResponse.
|
|
|
216
216
|
/**
|
|
217
217
|
* Deserializes binary data (in protobuf wire format).
|
|
218
218
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
219
|
-
* @return {!proto.trb.test.
|
|
219
|
+
* @return {!proto.trb.test.v1.SyncInstrumentsResponse}
|
|
220
220
|
*/
|
|
221
|
-
proto.trb.test.
|
|
221
|
+
proto.trb.test.v1.SyncInstrumentsResponse.deserializeBinary = function(bytes) {
|
|
222
222
|
var reader = new jspb.BinaryReader(bytes);
|
|
223
|
-
var msg = new proto.trb.test.
|
|
224
|
-
return proto.trb.test.
|
|
223
|
+
var msg = new proto.trb.test.v1.SyncInstrumentsResponse;
|
|
224
|
+
return proto.trb.test.v1.SyncInstrumentsResponse.deserializeBinaryFromReader(msg, reader);
|
|
225
225
|
};
|
|
226
226
|
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
229
|
* Deserializes binary data (in protobuf wire format) from the
|
|
230
230
|
* given reader into the given message object.
|
|
231
|
-
* @param {!proto.trb.test.
|
|
231
|
+
* @param {!proto.trb.test.v1.SyncInstrumentsResponse} msg The message object to deserialize into.
|
|
232
232
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
233
|
-
* @return {!proto.trb.test.
|
|
233
|
+
* @return {!proto.trb.test.v1.SyncInstrumentsResponse}
|
|
234
234
|
*/
|
|
235
|
-
proto.trb.test.
|
|
235
|
+
proto.trb.test.v1.SyncInstrumentsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
236
236
|
while (reader.nextField()) {
|
|
237
237
|
if (reader.isEndGroup()) {
|
|
238
238
|
break;
|
|
@@ -240,8 +240,8 @@ proto.trb.test.public.contract.v1.SyncInstrumentsResponse.deserializeBinaryFromR
|
|
|
240
240
|
var field = reader.getFieldNumber();
|
|
241
241
|
switch (field) {
|
|
242
242
|
case 1:
|
|
243
|
-
var value = new
|
|
244
|
-
reader.readMessage(value,
|
|
243
|
+
var value = new clickhouse_clickhouse_pb.UpsertInstrumentsResponse;
|
|
244
|
+
reader.readMessage(value,clickhouse_clickhouse_pb.UpsertInstrumentsResponse.deserializeBinaryFromReader);
|
|
245
245
|
msg.setUpsert(value);
|
|
246
246
|
break;
|
|
247
247
|
default:
|
|
@@ -257,9 +257,9 @@ proto.trb.test.public.contract.v1.SyncInstrumentsResponse.deserializeBinaryFromR
|
|
|
257
257
|
* Serializes the message to binary data (in protobuf wire format).
|
|
258
258
|
* @return {!Uint8Array}
|
|
259
259
|
*/
|
|
260
|
-
proto.trb.test.
|
|
260
|
+
proto.trb.test.v1.SyncInstrumentsResponse.prototype.serializeBinary = function() {
|
|
261
261
|
var writer = new jspb.BinaryWriter();
|
|
262
|
-
proto.trb.test.
|
|
262
|
+
proto.trb.test.v1.SyncInstrumentsResponse.serializeBinaryToWriter(this, writer);
|
|
263
263
|
return writer.getResultBuffer();
|
|
264
264
|
};
|
|
265
265
|
|
|
@@ -267,47 +267,47 @@ proto.trb.test.public.contract.v1.SyncInstrumentsResponse.prototype.serializeBin
|
|
|
267
267
|
/**
|
|
268
268
|
* Serializes the given message to binary data (in protobuf wire
|
|
269
269
|
* format), writing to the given BinaryWriter.
|
|
270
|
-
* @param {!proto.trb.test.
|
|
270
|
+
* @param {!proto.trb.test.v1.SyncInstrumentsResponse} message
|
|
271
271
|
* @param {!jspb.BinaryWriter} writer
|
|
272
272
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
273
273
|
*/
|
|
274
|
-
proto.trb.test.
|
|
274
|
+
proto.trb.test.v1.SyncInstrumentsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
275
275
|
var f = undefined;
|
|
276
276
|
f = message.getUpsert();
|
|
277
277
|
if (f != null) {
|
|
278
278
|
writer.writeMessage(
|
|
279
279
|
1,
|
|
280
280
|
f,
|
|
281
|
-
|
|
281
|
+
clickhouse_clickhouse_pb.UpsertInstrumentsResponse.serializeBinaryToWriter
|
|
282
282
|
);
|
|
283
283
|
}
|
|
284
284
|
};
|
|
285
285
|
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
|
-
* optional trb.
|
|
289
|
-
* @return {?proto.trb.
|
|
288
|
+
* optional trb.clickhouse.v1.UpsertInstrumentsResponse upsert = 1;
|
|
289
|
+
* @return {?proto.trb.clickhouse.v1.UpsertInstrumentsResponse}
|
|
290
290
|
*/
|
|
291
|
-
proto.trb.test.
|
|
292
|
-
return /** @type{?proto.trb.
|
|
293
|
-
jspb.Message.getWrapperField(this,
|
|
291
|
+
proto.trb.test.v1.SyncInstrumentsResponse.prototype.getUpsert = function() {
|
|
292
|
+
return /** @type{?proto.trb.clickhouse.v1.UpsertInstrumentsResponse} */ (
|
|
293
|
+
jspb.Message.getWrapperField(this, clickhouse_clickhouse_pb.UpsertInstrumentsResponse, 1));
|
|
294
294
|
};
|
|
295
295
|
|
|
296
296
|
|
|
297
297
|
/**
|
|
298
|
-
* @param {?proto.trb.
|
|
299
|
-
* @return {!proto.trb.test.
|
|
298
|
+
* @param {?proto.trb.clickhouse.v1.UpsertInstrumentsResponse|undefined} value
|
|
299
|
+
* @return {!proto.trb.test.v1.SyncInstrumentsResponse} returns this
|
|
300
300
|
*/
|
|
301
|
-
proto.trb.test.
|
|
301
|
+
proto.trb.test.v1.SyncInstrumentsResponse.prototype.setUpsert = function(value) {
|
|
302
302
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
303
303
|
};
|
|
304
304
|
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* Clears the message field making it undefined.
|
|
308
|
-
* @return {!proto.trb.test.
|
|
308
|
+
* @return {!proto.trb.test.v1.SyncInstrumentsResponse} returns this
|
|
309
309
|
*/
|
|
310
|
-
proto.trb.test.
|
|
310
|
+
proto.trb.test.v1.SyncInstrumentsResponse.prototype.clearUpsert = function() {
|
|
311
311
|
return this.setUpsert(undefined);
|
|
312
312
|
};
|
|
313
313
|
|
|
@@ -316,9 +316,9 @@ proto.trb.test.public.contract.v1.SyncInstrumentsResponse.prototype.clearUpsert
|
|
|
316
316
|
* Returns whether this field is set.
|
|
317
317
|
* @return {boolean}
|
|
318
318
|
*/
|
|
319
|
-
proto.trb.test.
|
|
319
|
+
proto.trb.test.v1.SyncInstrumentsResponse.prototype.hasUpsert = function() {
|
|
320
320
|
return jspb.Message.getField(this, 1) != null;
|
|
321
321
|
};
|
|
322
322
|
|
|
323
323
|
|
|
324
|
-
goog.object.extend(exports, proto.trb.test.
|
|
324
|
+
goog.object.extend(exports, proto.trb.test.v1);
|