@milaboratories/pl-client 2.7.13 → 2.7.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/auth.d.ts.map +1 -1
- package/dist/core/cache.d.ts.map +1 -1
- package/dist/core/client.d.ts +1 -1
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/default_client.d.ts.map +1 -1
- package/dist/core/driver.d.ts.map +1 -1
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/final.d.ts.map +1 -1
- package/dist/core/ll_client.d.ts.map +1 -1
- package/dist/core/ll_transaction.d.ts.map +1 -1
- package/dist/core/transaction.d.ts +1 -1
- package/dist/core/transaction.d.ts.map +1 -1
- package/dist/core/type_conversion.d.ts.map +1 -1
- package/dist/core/types.d.ts +1 -1
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/unauth_client.d.ts.map +1 -1
- package/dist/helpers/pl.d.ts.map +1 -1
- package/dist/helpers/poll.d.ts.map +1 -1
- package/dist/helpers/state_helpers.d.ts.map +1 -1
- package/dist/helpers/tx_helpers.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4069 -4075
- package/dist/index.mjs.map +1 -1
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +15 -15
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +4 -4
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +16 -16
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +4 -4
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +59 -59
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +8 -8
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +22 -22
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +72 -72
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +152 -152
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +156 -156
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +773 -773
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +163 -163
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +22 -22
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +32 -32
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +78 -78
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -1
- package/dist/proto/google/api/http.d.ts +89 -89
- package/dist/proto/google/api/http.d.ts.map +1 -1
- package/dist/proto/google/protobuf/any.d.ts +52 -52
- package/dist/proto/google/protobuf/any.d.ts.map +1 -1
- package/dist/proto/google/protobuf/descriptor.d.ts +1151 -1151
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.d.ts +19 -19
- package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
- package/dist/proto/google/protobuf/empty.d.ts.map +1 -1
- package/dist/proto/google/protobuf/struct.d.ts +56 -56
- package/dist/proto/google/protobuf/struct.d.ts.map +1 -1
- package/dist/proto/google/protobuf/timestamp.d.ts +25 -25
- package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/proto/google/protobuf/wrappers.d.ts +72 -72
- package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -1
- package/dist/test/test_config.d.ts.map +1 -1
- package/dist/util/util.d.ts.map +1 -1
- package/package.json +7 -3
- package/src/core/auth.ts +3 -3
- package/src/core/cache.ts +1 -1
- package/src/core/client.ts +39 -31
- package/src/core/config.ts +21 -21
- package/src/core/default_client.ts +15 -14
- package/src/core/driver.ts +4 -4
- package/src/core/errors.ts +3 -3
- package/src/core/final.ts +7 -4
- package/src/core/ll_client.ts +31 -27
- package/src/core/ll_transaction.ts +17 -17
- package/src/core/stat.ts +2 -2
- package/src/core/transaction.ts +93 -95
- package/src/core/type_conversion.ts +11 -8
- package/src/core/types.ts +25 -26
- package/src/core/unauth_client.ts +6 -6
- package/src/helpers/pl.ts +8 -7
- package/src/helpers/poll.ts +25 -21
- package/src/helpers/state_helpers.ts +2 -1
- package/src/helpers/tx_helpers.ts +4 -3
- package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +74 -71
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +21 -20
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +240 -225
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +21 -20
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +290 -275
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +32 -30
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +388 -364
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +58 -53
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +490 -469
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +262 -237
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +11751 -11032
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +1155 -1114
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +131 -125
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +203 -200
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +559 -540
- package/src/proto/google/api/http.ts +280 -271
- package/src/proto/google/protobuf/any.ts +149 -139
- package/src/proto/google/protobuf/descriptor.ts +2952 -2853
- package/src/proto/google/protobuf/duration.ts +107 -102
- package/src/proto/google/protobuf/empty.ts +41 -38
- package/src/proto/google/protobuf/struct.ts +336 -322
- package/src/proto/google/protobuf/timestamp.ts +131 -123
- package/src/proto/google/protobuf/wrappers.ts +536 -491
- package/src/test/test_config.ts +21 -19
- package/src/util/util.ts +1 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "github.com/milaboratory/pl/plapi/plapiproto/import.proto" (package "MiLaboratories.PL._Stub", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
|
-
import type { BinaryWriteOptions } from
|
|
5
|
-
import type { IBinaryWriter } from
|
|
6
|
-
import { WireType } from
|
|
7
|
-
import type { BinaryReadOptions } from
|
|
8
|
-
import type { IBinaryReader } from
|
|
9
|
-
import { UnknownFieldHandler } from
|
|
10
|
-
import type { PartialMessage } from
|
|
11
|
-
import { reflectionMergePartial } from
|
|
12
|
-
import { MessageType } from
|
|
13
|
-
import { Struct } from
|
|
14
|
-
import { ListValue } from
|
|
15
|
-
import { Value } from
|
|
16
|
-
import { Timestamp } from
|
|
17
|
-
import { Duration } from
|
|
18
|
-
import { DoubleValue } from
|
|
19
|
-
import { FloatValue } from
|
|
20
|
-
import { UInt64Value } from
|
|
21
|
-
import { Int64Value } from
|
|
22
|
-
import { UInt32Value } from
|
|
23
|
-
import { Int32Value } from
|
|
24
|
-
import { StringValue } from
|
|
25
|
-
import { BoolValue } from
|
|
26
|
-
import { BytesValue } from
|
|
27
|
-
import { Any } from
|
|
28
|
-
import { Empty } from
|
|
4
|
+
import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
|
|
5
|
+
import type { IBinaryWriter } from '@protobuf-ts/runtime';
|
|
6
|
+
import { WireType } from '@protobuf-ts/runtime';
|
|
7
|
+
import type { BinaryReadOptions } from '@protobuf-ts/runtime';
|
|
8
|
+
import type { IBinaryReader } from '@protobuf-ts/runtime';
|
|
9
|
+
import { UnknownFieldHandler } from '@protobuf-ts/runtime';
|
|
10
|
+
import type { PartialMessage } from '@protobuf-ts/runtime';
|
|
11
|
+
import { reflectionMergePartial } from '@protobuf-ts/runtime';
|
|
12
|
+
import { MessageType } from '@protobuf-ts/runtime';
|
|
13
|
+
import { Struct } from '../../../../../google/protobuf/struct';
|
|
14
|
+
import { ListValue } from '../../../../../google/protobuf/struct';
|
|
15
|
+
import { Value } from '../../../../../google/protobuf/struct';
|
|
16
|
+
import { Timestamp } from '../../../../../google/protobuf/timestamp';
|
|
17
|
+
import { Duration } from '../../../../../google/protobuf/duration';
|
|
18
|
+
import { DoubleValue } from '../../../../../google/protobuf/wrappers';
|
|
19
|
+
import { FloatValue } from '../../../../../google/protobuf/wrappers';
|
|
20
|
+
import { UInt64Value } from '../../../../../google/protobuf/wrappers';
|
|
21
|
+
import { Int64Value } from '../../../../../google/protobuf/wrappers';
|
|
22
|
+
import { UInt32Value } from '../../../../../google/protobuf/wrappers';
|
|
23
|
+
import { Int32Value } from '../../../../../google/protobuf/wrappers';
|
|
24
|
+
import { StringValue } from '../../../../../google/protobuf/wrappers';
|
|
25
|
+
import { BoolValue } from '../../../../../google/protobuf/wrappers';
|
|
26
|
+
import { BytesValue } from '../../../../../google/protobuf/wrappers';
|
|
27
|
+
import { Any } from '../../../../../google/protobuf/any';
|
|
28
|
+
import { Empty } from '../../../../../google/protobuf/empty';
|
|
29
29
|
/**
|
|
30
30
|
* Makes protobuf to forcefully compile all well-known types into code (for TS)
|
|
31
31
|
* or just add dependencies on them (for go)
|
|
@@ -33,217 +33,220 @@ import { Empty } from "../../../../../google/protobuf/empty";
|
|
|
33
33
|
* @generated from protobuf message MiLaboratories.PL._Stub._ImportWellKnown
|
|
34
34
|
*/
|
|
35
35
|
export interface _ImportWellKnown {
|
|
36
|
-
|
|
36
|
+
/**
|
|
37
37
|
* @generated from protobuf field: google.protobuf.Empty empty = 1;
|
|
38
38
|
*/
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
empty?: Empty;
|
|
40
|
+
/**
|
|
41
41
|
* @generated from protobuf field: google.protobuf.Any any = 2;
|
|
42
42
|
*/
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
any?: Any;
|
|
44
|
+
/**
|
|
45
45
|
* @generated from protobuf field: google.protobuf.BytesValue bytes = 3;
|
|
46
46
|
*/
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
bytes?: BytesValue;
|
|
48
|
+
/**
|
|
49
49
|
* @generated from protobuf field: google.protobuf.BoolValue bool = 4;
|
|
50
50
|
*/
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
bool?: BoolValue;
|
|
52
|
+
/**
|
|
53
53
|
* @generated from protobuf field: google.protobuf.StringValue string = 5;
|
|
54
54
|
*/
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
string?: StringValue;
|
|
56
|
+
/**
|
|
57
57
|
* @generated from protobuf field: google.protobuf.Int32Value int32 = 6;
|
|
58
58
|
*/
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
int32?: Int32Value;
|
|
60
|
+
/**
|
|
61
61
|
* @generated from protobuf field: google.protobuf.UInt32Value uint32 = 7;
|
|
62
62
|
*/
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
uint32?: UInt32Value;
|
|
64
|
+
/**
|
|
65
65
|
* @generated from protobuf field: google.protobuf.Int64Value int64 = 8;
|
|
66
66
|
*/
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
int64?: Int64Value;
|
|
68
|
+
/**
|
|
69
69
|
* @generated from protobuf field: google.protobuf.UInt64Value uint64 = 9;
|
|
70
70
|
*/
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
uint64?: UInt64Value;
|
|
72
|
+
/**
|
|
73
73
|
* @generated from protobuf field: google.protobuf.FloatValue float = 10;
|
|
74
74
|
*/
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
float?: FloatValue;
|
|
76
|
+
/**
|
|
77
77
|
* @generated from protobuf field: google.protobuf.DoubleValue double = 11;
|
|
78
78
|
*/
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
double?: DoubleValue;
|
|
80
|
+
/**
|
|
81
81
|
* @generated from protobuf field: google.protobuf.Duration duration = 12;
|
|
82
82
|
*/
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
duration?: Duration;
|
|
84
|
+
/**
|
|
85
85
|
* @generated from protobuf field: google.protobuf.Timestamp timestamp = 13;
|
|
86
86
|
*/
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
timestamp?: Timestamp;
|
|
88
|
+
/**
|
|
89
89
|
* @generated from protobuf field: google.protobuf.Value value = 14;
|
|
90
90
|
*/
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
value?: Value;
|
|
92
|
+
/**
|
|
93
93
|
* @generated from protobuf field: google.protobuf.ListValue list = 15;
|
|
94
94
|
*/
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
list?: ListValue;
|
|
96
|
+
/**
|
|
97
97
|
* @generated from protobuf field: google.protobuf.Struct struct = 16;
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
struct?: Struct;
|
|
100
100
|
}
|
|
101
101
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
102
102
|
class _ImportWellKnown$Type extends MessageType<_ImportWellKnown> {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
193
|
-
internalBinaryWrite(message: _ImportWellKnown, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
194
|
-
/* google.protobuf.Empty empty = 1; */
|
|
195
|
-
if (message.empty)
|
|
196
|
-
Empty.internalBinaryWrite(message.empty, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
197
|
-
/* google.protobuf.Any any = 2; */
|
|
198
|
-
if (message.any)
|
|
199
|
-
Any.internalBinaryWrite(message.any, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
200
|
-
/* google.protobuf.BytesValue bytes = 3; */
|
|
201
|
-
if (message.bytes)
|
|
202
|
-
BytesValue.internalBinaryWrite(message.bytes, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
203
|
-
/* google.protobuf.BoolValue bool = 4; */
|
|
204
|
-
if (message.bool)
|
|
205
|
-
BoolValue.internalBinaryWrite(message.bool, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
206
|
-
/* google.protobuf.StringValue string = 5; */
|
|
207
|
-
if (message.string)
|
|
208
|
-
StringValue.internalBinaryWrite(message.string, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
209
|
-
/* google.protobuf.Int32Value int32 = 6; */
|
|
210
|
-
if (message.int32)
|
|
211
|
-
Int32Value.internalBinaryWrite(message.int32, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
212
|
-
/* google.protobuf.UInt32Value uint32 = 7; */
|
|
213
|
-
if (message.uint32)
|
|
214
|
-
UInt32Value.internalBinaryWrite(message.uint32, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
215
|
-
/* google.protobuf.Int64Value int64 = 8; */
|
|
216
|
-
if (message.int64)
|
|
217
|
-
Int64Value.internalBinaryWrite(message.int64, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
218
|
-
/* google.protobuf.UInt64Value uint64 = 9; */
|
|
219
|
-
if (message.uint64)
|
|
220
|
-
UInt64Value.internalBinaryWrite(message.uint64, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
221
|
-
/* google.protobuf.FloatValue float = 10; */
|
|
222
|
-
if (message.float)
|
|
223
|
-
FloatValue.internalBinaryWrite(message.float, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
|
224
|
-
/* google.protobuf.DoubleValue double = 11; */
|
|
225
|
-
if (message.double)
|
|
226
|
-
DoubleValue.internalBinaryWrite(message.double, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
227
|
-
/* google.protobuf.Duration duration = 12; */
|
|
228
|
-
if (message.duration)
|
|
229
|
-
Duration.internalBinaryWrite(message.duration, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
|
230
|
-
/* google.protobuf.Timestamp timestamp = 13; */
|
|
231
|
-
if (message.timestamp)
|
|
232
|
-
Timestamp.internalBinaryWrite(message.timestamp, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
|
|
233
|
-
/* google.protobuf.Value value = 14; */
|
|
234
|
-
if (message.value)
|
|
235
|
-
Value.internalBinaryWrite(message.value, writer.tag(14, WireType.LengthDelimited).fork(), options).join();
|
|
236
|
-
/* google.protobuf.ListValue list = 15; */
|
|
237
|
-
if (message.list)
|
|
238
|
-
ListValue.internalBinaryWrite(message.list, writer.tag(15, WireType.LengthDelimited).fork(), options).join();
|
|
239
|
-
/* google.protobuf.Struct struct = 16; */
|
|
240
|
-
if (message.struct)
|
|
241
|
-
Struct.internalBinaryWrite(message.struct, writer.tag(16, WireType.LengthDelimited).fork(), options).join();
|
|
242
|
-
let u = options.writeUnknownFields;
|
|
243
|
-
if (u !== false)
|
|
244
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
245
|
-
return writer;
|
|
103
|
+
constructor() {
|
|
104
|
+
super('MiLaboratories.PL._Stub._ImportWellKnown', [
|
|
105
|
+
{ no: 1, name: 'empty', kind: 'message', T: () => Empty },
|
|
106
|
+
{ no: 2, name: 'any', kind: 'message', T: () => Any },
|
|
107
|
+
{ no: 3, name: 'bytes', kind: 'message', T: () => BytesValue },
|
|
108
|
+
{ no: 4, name: 'bool', kind: 'message', T: () => BoolValue },
|
|
109
|
+
{ no: 5, name: 'string', kind: 'message', T: () => StringValue },
|
|
110
|
+
{ no: 6, name: 'int32', kind: 'message', T: () => Int32Value },
|
|
111
|
+
{ no: 7, name: 'uint32', kind: 'message', T: () => UInt32Value },
|
|
112
|
+
{ no: 8, name: 'int64', kind: 'message', T: () => Int64Value },
|
|
113
|
+
{ no: 9, name: 'uint64', kind: 'message', T: () => UInt64Value },
|
|
114
|
+
{ no: 10, name: 'float', kind: 'message', T: () => FloatValue },
|
|
115
|
+
{ no: 11, name: 'double', kind: 'message', T: () => DoubleValue },
|
|
116
|
+
{ no: 12, name: 'duration', kind: 'message', T: () => Duration },
|
|
117
|
+
{ no: 13, name: 'timestamp', kind: 'message', T: () => Timestamp },
|
|
118
|
+
{ no: 14, name: 'value', kind: 'message', T: () => Value },
|
|
119
|
+
{ no: 15, name: 'list', kind: 'message', T: () => ListValue },
|
|
120
|
+
{ no: 16, name: 'struct', kind: 'message', T: () => Struct },
|
|
121
|
+
]);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
create(value?: PartialMessage<_ImportWellKnown>): _ImportWellKnown {
|
|
125
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
126
|
+
if (value !== undefined)
|
|
127
|
+
reflectionMergePartial<_ImportWellKnown>(this, message, value);
|
|
128
|
+
return message;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: _ImportWellKnown): _ImportWellKnown {
|
|
132
|
+
const message = target ?? this.create(), end = reader.pos + length;
|
|
133
|
+
while (reader.pos < end) {
|
|
134
|
+
const [fieldNo, wireType] = reader.tag();
|
|
135
|
+
switch (fieldNo) {
|
|
136
|
+
case /* google.protobuf.Empty empty */ 1:
|
|
137
|
+
message.empty = Empty.internalBinaryRead(reader, reader.uint32(), options, message.empty);
|
|
138
|
+
break;
|
|
139
|
+
case /* google.protobuf.Any any */ 2:
|
|
140
|
+
message.any = Any.internalBinaryRead(reader, reader.uint32(), options, message.any);
|
|
141
|
+
break;
|
|
142
|
+
case /* google.protobuf.BytesValue bytes */ 3:
|
|
143
|
+
message.bytes = BytesValue.internalBinaryRead(reader, reader.uint32(), options, message.bytes);
|
|
144
|
+
break;
|
|
145
|
+
case /* google.protobuf.BoolValue bool */ 4:
|
|
146
|
+
message.bool = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.bool);
|
|
147
|
+
break;
|
|
148
|
+
case /* google.protobuf.StringValue string */ 5:
|
|
149
|
+
message.string = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.string);
|
|
150
|
+
break;
|
|
151
|
+
case /* google.protobuf.Int32Value int32 */ 6:
|
|
152
|
+
message.int32 = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.int32);
|
|
153
|
+
break;
|
|
154
|
+
case /* google.protobuf.UInt32Value uint32 */ 7:
|
|
155
|
+
message.uint32 = UInt32Value.internalBinaryRead(reader, reader.uint32(), options, message.uint32);
|
|
156
|
+
break;
|
|
157
|
+
case /* google.protobuf.Int64Value int64 */ 8:
|
|
158
|
+
message.int64 = Int64Value.internalBinaryRead(reader, reader.uint32(), options, message.int64);
|
|
159
|
+
break;
|
|
160
|
+
case /* google.protobuf.UInt64Value uint64 */ 9:
|
|
161
|
+
message.uint64 = UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.uint64);
|
|
162
|
+
break;
|
|
163
|
+
case /* google.protobuf.FloatValue float */ 10:
|
|
164
|
+
message.float = FloatValue.internalBinaryRead(reader, reader.uint32(), options, message.float);
|
|
165
|
+
break;
|
|
166
|
+
case /* google.protobuf.DoubleValue double */ 11:
|
|
167
|
+
message.double = DoubleValue.internalBinaryRead(reader, reader.uint32(), options, message.double);
|
|
168
|
+
break;
|
|
169
|
+
case /* google.protobuf.Duration duration */ 12:
|
|
170
|
+
message.duration = Duration.internalBinaryRead(reader, reader.uint32(), options, message.duration);
|
|
171
|
+
break;
|
|
172
|
+
case /* google.protobuf.Timestamp timestamp */ 13:
|
|
173
|
+
message.timestamp = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.timestamp);
|
|
174
|
+
break;
|
|
175
|
+
case /* google.protobuf.Value value */ 14:
|
|
176
|
+
message.value = Value.internalBinaryRead(reader, reader.uint32(), options, message.value);
|
|
177
|
+
break;
|
|
178
|
+
case /* google.protobuf.ListValue list */ 15:
|
|
179
|
+
message.list = ListValue.internalBinaryRead(reader, reader.uint32(), options, message.list);
|
|
180
|
+
break;
|
|
181
|
+
case /* google.protobuf.Struct struct */ 16:
|
|
182
|
+
message.struct = Struct.internalBinaryRead(reader, reader.uint32(), options, message.struct);
|
|
183
|
+
break;
|
|
184
|
+
default:
|
|
185
|
+
const u = options.readUnknownField;
|
|
186
|
+
if (u === 'throw')
|
|
187
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
188
|
+
const d = reader.skip(wireType);
|
|
189
|
+
if (u !== false)
|
|
190
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
191
|
+
}
|
|
246
192
|
}
|
|
193
|
+
return message;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
internalBinaryWrite(message: _ImportWellKnown, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
197
|
+
/* google.protobuf.Empty empty = 1; */
|
|
198
|
+
if (message.empty)
|
|
199
|
+
Empty.internalBinaryWrite(message.empty, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
200
|
+
/* google.protobuf.Any any = 2; */
|
|
201
|
+
if (message.any)
|
|
202
|
+
Any.internalBinaryWrite(message.any, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
203
|
+
/* google.protobuf.BytesValue bytes = 3; */
|
|
204
|
+
if (message.bytes)
|
|
205
|
+
BytesValue.internalBinaryWrite(message.bytes, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
206
|
+
/* google.protobuf.BoolValue bool = 4; */
|
|
207
|
+
if (message.bool)
|
|
208
|
+
BoolValue.internalBinaryWrite(message.bool, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
209
|
+
/* google.protobuf.StringValue string = 5; */
|
|
210
|
+
if (message.string)
|
|
211
|
+
StringValue.internalBinaryWrite(message.string, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
212
|
+
/* google.protobuf.Int32Value int32 = 6; */
|
|
213
|
+
if (message.int32)
|
|
214
|
+
Int32Value.internalBinaryWrite(message.int32, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
215
|
+
/* google.protobuf.UInt32Value uint32 = 7; */
|
|
216
|
+
if (message.uint32)
|
|
217
|
+
UInt32Value.internalBinaryWrite(message.uint32, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
218
|
+
/* google.protobuf.Int64Value int64 = 8; */
|
|
219
|
+
if (message.int64)
|
|
220
|
+
Int64Value.internalBinaryWrite(message.int64, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
221
|
+
/* google.protobuf.UInt64Value uint64 = 9; */
|
|
222
|
+
if (message.uint64)
|
|
223
|
+
UInt64Value.internalBinaryWrite(message.uint64, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
224
|
+
/* google.protobuf.FloatValue float = 10; */
|
|
225
|
+
if (message.float)
|
|
226
|
+
FloatValue.internalBinaryWrite(message.float, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
|
227
|
+
/* google.protobuf.DoubleValue double = 11; */
|
|
228
|
+
if (message.double)
|
|
229
|
+
DoubleValue.internalBinaryWrite(message.double, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
230
|
+
/* google.protobuf.Duration duration = 12; */
|
|
231
|
+
if (message.duration)
|
|
232
|
+
Duration.internalBinaryWrite(message.duration, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
|
233
|
+
/* google.protobuf.Timestamp timestamp = 13; */
|
|
234
|
+
if (message.timestamp)
|
|
235
|
+
Timestamp.internalBinaryWrite(message.timestamp, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
|
|
236
|
+
/* google.protobuf.Value value = 14; */
|
|
237
|
+
if (message.value)
|
|
238
|
+
Value.internalBinaryWrite(message.value, writer.tag(14, WireType.LengthDelimited).fork(), options).join();
|
|
239
|
+
/* google.protobuf.ListValue list = 15; */
|
|
240
|
+
if (message.list)
|
|
241
|
+
ListValue.internalBinaryWrite(message.list, writer.tag(15, WireType.LengthDelimited).fork(), options).join();
|
|
242
|
+
/* google.protobuf.Struct struct = 16; */
|
|
243
|
+
if (message.struct)
|
|
244
|
+
Struct.internalBinaryWrite(message.struct, writer.tag(16, WireType.LengthDelimited).fork(), options).join();
|
|
245
|
+
const u = options.writeUnknownFields;
|
|
246
|
+
if (u !== false)
|
|
247
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
248
|
+
return writer;
|
|
249
|
+
}
|
|
247
250
|
}
|
|
248
251
|
/**
|
|
249
252
|
* @generated MessageType for protobuf message MiLaboratories.PL._Stub._ImportWellKnown
|