@milaboratories/pl-drivers 1.6.4 → 1.6.6
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2026 -2480
- package/dist/index.mjs.map +1 -1
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts +48 -0
- package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +2 -2
- 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 +13 -5
- 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 +2 -2
- 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 +11 -11
- 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 +4 -4
- 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 +10 -10
- 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 +10 -10
- 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 +25 -25
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts +8 -8
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts +24 -16
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts +277 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +5344 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +530 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts +82 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts +91 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/import.d.ts.map +1 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts +251 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.d.ts.map +1 -0
- package/dist/proto/google/api/http.d.ts +46 -42
- package/dist/proto/google/api/http.d.ts.map +1 -1
- package/dist/proto/google/protobuf/any.d.ts +172 -0
- package/dist/proto/google/protobuf/any.d.ts.map +1 -0
- package/dist/proto/google/protobuf/descriptor.d.ts +1003 -170
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/proto/google/protobuf/duration.d.ts +2 -3
- package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
- package/dist/proto/google/protobuf/empty.d.ts +27 -0
- package/dist/proto/google/protobuf/empty.d.ts.map +1 -0
- package/dist/proto/google/protobuf/struct.d.ts +179 -0
- package/dist/proto/google/protobuf/struct.d.ts.map +1 -0
- package/dist/proto/google/protobuf/timestamp.d.ts +3 -6
- package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/proto/google/protobuf/wrappers.d.ts +327 -0
- package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -0
- package/package.json +5 -5
- package/src/clients/download.ts +1 -1
- package/src/clients/upload.ts +1 -1
- package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +125 -0
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +25 -40
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +252 -396
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +25 -37
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +341 -453
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +39 -65
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +398 -630
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +126 -194
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +626 -964
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.ts +102 -153
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts +741 -1082
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +406 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +14986 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +1474 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +181 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +251 -0
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +693 -0
- package/src/proto/google/api/http.ts +336 -492
- package/src/proto/google/protobuf/any.ts +326 -0
- package/src/proto/google/protobuf/descriptor.ts +4383 -4772
- package/src/proto/google/protobuf/duration.ts +122 -169
- package/src/proto/google/protobuf/empty.ts +94 -0
- package/src/proto/google/protobuf/struct.ts +484 -0
- package/src/proto/google/protobuf/timestamp.ts +150 -225
- package/src/proto/google/protobuf/wrappers.ts +785 -0
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
|
+
// @generated from protobuf file "github.com/milaboratory/pl/plapi/plapiproto/base_types.proto" (package "MiLaboratories.PL.Base", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
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
|
+
/**
|
|
14
|
+
* @generated from protobuf message MiLaboratories.PL.Base.ResourceType
|
|
15
|
+
*/
|
|
16
|
+
export interface ResourceType {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from protobuf field: string name = 1
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from protobuf field: string version = 2
|
|
23
|
+
*/
|
|
24
|
+
version: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @generated from protobuf message MiLaboratories.PL.Base.FieldRef
|
|
28
|
+
*/
|
|
29
|
+
export interface FieldRef {
|
|
30
|
+
/**
|
|
31
|
+
* @generated from protobuf field: uint64 resource_id = 2
|
|
32
|
+
*/
|
|
33
|
+
resourceId: bigint;
|
|
34
|
+
/**
|
|
35
|
+
* @generated from protobuf field: string field_name = 3
|
|
36
|
+
*/
|
|
37
|
+
fieldName: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @generated from protobuf enum MiLaboratories.PL.Base.FieldType
|
|
41
|
+
*/
|
|
42
|
+
export enum FieldType {
|
|
43
|
+
/**
|
|
44
|
+
* @generated from protobuf enum value: INVALID = 0;
|
|
45
|
+
*/
|
|
46
|
+
INVALID = 0,
|
|
47
|
+
/**
|
|
48
|
+
* @generated from protobuf enum value: INPUT = 1;
|
|
49
|
+
*/
|
|
50
|
+
INPUT = 1,
|
|
51
|
+
/**
|
|
52
|
+
* @generated from protobuf enum value: OUTPUT = 2;
|
|
53
|
+
*/
|
|
54
|
+
OUTPUT = 2,
|
|
55
|
+
/**
|
|
56
|
+
* @generated from protobuf enum value: SERVICE = 6;
|
|
57
|
+
*/
|
|
58
|
+
SERVICE = 6,
|
|
59
|
+
/**
|
|
60
|
+
* @generated from protobuf enum value: ONE_TIME_WRITABLE = 4;
|
|
61
|
+
*/
|
|
62
|
+
ONE_TIME_WRITABLE = 4,
|
|
63
|
+
/**
|
|
64
|
+
* @generated from protobuf enum value: DYNAMIC = 3;
|
|
65
|
+
*/
|
|
66
|
+
DYNAMIC = 3,
|
|
67
|
+
/**
|
|
68
|
+
* @generated from protobuf enum value: MULTIPLE_TIMES_WRITABLE = 5;
|
|
69
|
+
*/
|
|
70
|
+
MULTIPLE_TIMES_WRITABLE = 5
|
|
71
|
+
}
|
|
72
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
73
|
+
class ResourceType$Type extends MessageType<ResourceType> {
|
|
74
|
+
constructor() {
|
|
75
|
+
super("MiLaboratories.PL.Base.ResourceType", [
|
|
76
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
77
|
+
{ no: 2, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
78
|
+
]);
|
|
79
|
+
}
|
|
80
|
+
create(value?: PartialMessage<ResourceType>): ResourceType {
|
|
81
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
82
|
+
message.name = "";
|
|
83
|
+
message.version = "";
|
|
84
|
+
if (value !== undefined)
|
|
85
|
+
reflectionMergePartial<ResourceType>(this, message, value);
|
|
86
|
+
return message;
|
|
87
|
+
}
|
|
88
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceType): ResourceType {
|
|
89
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
90
|
+
while (reader.pos < end) {
|
|
91
|
+
let [fieldNo, wireType] = reader.tag();
|
|
92
|
+
switch (fieldNo) {
|
|
93
|
+
case /* string name */ 1:
|
|
94
|
+
message.name = reader.string();
|
|
95
|
+
break;
|
|
96
|
+
case /* string version */ 2:
|
|
97
|
+
message.version = reader.string();
|
|
98
|
+
break;
|
|
99
|
+
default:
|
|
100
|
+
let u = options.readUnknownField;
|
|
101
|
+
if (u === "throw")
|
|
102
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
103
|
+
let d = reader.skip(wireType);
|
|
104
|
+
if (u !== false)
|
|
105
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return message;
|
|
109
|
+
}
|
|
110
|
+
internalBinaryWrite(message: ResourceType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
111
|
+
/* string name = 1; */
|
|
112
|
+
if (message.name !== "")
|
|
113
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
|
114
|
+
/* string version = 2; */
|
|
115
|
+
if (message.version !== "")
|
|
116
|
+
writer.tag(2, WireType.LengthDelimited).string(message.version);
|
|
117
|
+
let u = options.writeUnknownFields;
|
|
118
|
+
if (u !== false)
|
|
119
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
120
|
+
return writer;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.Base.ResourceType
|
|
125
|
+
*/
|
|
126
|
+
export const ResourceType = new ResourceType$Type();
|
|
127
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
128
|
+
class FieldRef$Type extends MessageType<FieldRef> {
|
|
129
|
+
constructor() {
|
|
130
|
+
super("MiLaboratories.PL.Base.FieldRef", [
|
|
131
|
+
{ no: 2, name: "resource_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
132
|
+
{ no: 3, name: "field_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
133
|
+
]);
|
|
134
|
+
}
|
|
135
|
+
create(value?: PartialMessage<FieldRef>): FieldRef {
|
|
136
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
137
|
+
message.resourceId = 0n;
|
|
138
|
+
message.fieldName = "";
|
|
139
|
+
if (value !== undefined)
|
|
140
|
+
reflectionMergePartial<FieldRef>(this, message, value);
|
|
141
|
+
return message;
|
|
142
|
+
}
|
|
143
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldRef): FieldRef {
|
|
144
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
145
|
+
while (reader.pos < end) {
|
|
146
|
+
let [fieldNo, wireType] = reader.tag();
|
|
147
|
+
switch (fieldNo) {
|
|
148
|
+
case /* uint64 resource_id */ 2:
|
|
149
|
+
message.resourceId = reader.uint64().toBigInt();
|
|
150
|
+
break;
|
|
151
|
+
case /* string field_name */ 3:
|
|
152
|
+
message.fieldName = reader.string();
|
|
153
|
+
break;
|
|
154
|
+
default:
|
|
155
|
+
let u = options.readUnknownField;
|
|
156
|
+
if (u === "throw")
|
|
157
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
158
|
+
let d = reader.skip(wireType);
|
|
159
|
+
if (u !== false)
|
|
160
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
return message;
|
|
164
|
+
}
|
|
165
|
+
internalBinaryWrite(message: FieldRef, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
166
|
+
/* uint64 resource_id = 2; */
|
|
167
|
+
if (message.resourceId !== 0n)
|
|
168
|
+
writer.tag(2, WireType.Varint).uint64(message.resourceId);
|
|
169
|
+
/* string field_name = 3; */
|
|
170
|
+
if (message.fieldName !== "")
|
|
171
|
+
writer.tag(3, WireType.LengthDelimited).string(message.fieldName);
|
|
172
|
+
let u = options.writeUnknownFields;
|
|
173
|
+
if (u !== false)
|
|
174
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
175
|
+
return writer;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.Base.FieldRef
|
|
180
|
+
*/
|
|
181
|
+
export const FieldRef = new FieldRef$Type();
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
|
+
// @generated from protobuf file "github.com/milaboratory/pl/plapi/plapiproto/import.proto" (package "MiLaboratories.PL._Stub", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
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
|
+
/**
|
|
30
|
+
* Makes protobuf to forcefully compile all well-known types into code (for TS)
|
|
31
|
+
* or just add dependencies on them (for go)
|
|
32
|
+
*
|
|
33
|
+
* @generated from protobuf message MiLaboratories.PL._Stub._ImportWellKnown
|
|
34
|
+
*/
|
|
35
|
+
export interface _ImportWellKnown {
|
|
36
|
+
/**
|
|
37
|
+
* @generated from protobuf field: google.protobuf.Empty empty = 1
|
|
38
|
+
*/
|
|
39
|
+
empty?: Empty;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from protobuf field: google.protobuf.Any any = 2
|
|
42
|
+
*/
|
|
43
|
+
any?: Any;
|
|
44
|
+
/**
|
|
45
|
+
* @generated from protobuf field: google.protobuf.BytesValue bytes = 3
|
|
46
|
+
*/
|
|
47
|
+
bytes?: BytesValue;
|
|
48
|
+
/**
|
|
49
|
+
* @generated from protobuf field: google.protobuf.BoolValue bool = 4
|
|
50
|
+
*/
|
|
51
|
+
bool?: BoolValue;
|
|
52
|
+
/**
|
|
53
|
+
* @generated from protobuf field: google.protobuf.StringValue string = 5
|
|
54
|
+
*/
|
|
55
|
+
string?: StringValue;
|
|
56
|
+
/**
|
|
57
|
+
* @generated from protobuf field: google.protobuf.Int32Value int32 = 6
|
|
58
|
+
*/
|
|
59
|
+
int32?: Int32Value;
|
|
60
|
+
/**
|
|
61
|
+
* @generated from protobuf field: google.protobuf.UInt32Value uint32 = 7
|
|
62
|
+
*/
|
|
63
|
+
uint32?: UInt32Value;
|
|
64
|
+
/**
|
|
65
|
+
* @generated from protobuf field: google.protobuf.Int64Value int64 = 8
|
|
66
|
+
*/
|
|
67
|
+
int64?: Int64Value;
|
|
68
|
+
/**
|
|
69
|
+
* @generated from protobuf field: google.protobuf.UInt64Value uint64 = 9
|
|
70
|
+
*/
|
|
71
|
+
uint64?: UInt64Value;
|
|
72
|
+
/**
|
|
73
|
+
* @generated from protobuf field: google.protobuf.FloatValue float = 10
|
|
74
|
+
*/
|
|
75
|
+
float?: FloatValue;
|
|
76
|
+
/**
|
|
77
|
+
* @generated from protobuf field: google.protobuf.DoubleValue double = 11
|
|
78
|
+
*/
|
|
79
|
+
double?: DoubleValue;
|
|
80
|
+
/**
|
|
81
|
+
* @generated from protobuf field: google.protobuf.Duration duration = 12
|
|
82
|
+
*/
|
|
83
|
+
duration?: Duration;
|
|
84
|
+
/**
|
|
85
|
+
* @generated from protobuf field: google.protobuf.Timestamp timestamp = 13
|
|
86
|
+
*/
|
|
87
|
+
timestamp?: Timestamp;
|
|
88
|
+
/**
|
|
89
|
+
* @generated from protobuf field: google.protobuf.Value value = 14
|
|
90
|
+
*/
|
|
91
|
+
value?: Value;
|
|
92
|
+
/**
|
|
93
|
+
* @generated from protobuf field: google.protobuf.ListValue list = 15
|
|
94
|
+
*/
|
|
95
|
+
list?: ListValue;
|
|
96
|
+
/**
|
|
97
|
+
* @generated from protobuf field: google.protobuf.Struct struct = 16
|
|
98
|
+
*/
|
|
99
|
+
struct?: Struct;
|
|
100
|
+
}
|
|
101
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
102
|
+
class _ImportWellKnown$Type extends MessageType<_ImportWellKnown> {
|
|
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
|
+
create(value?: PartialMessage<_ImportWellKnown>): _ImportWellKnown {
|
|
124
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
125
|
+
if (value !== undefined)
|
|
126
|
+
reflectionMergePartial<_ImportWellKnown>(this, message, value);
|
|
127
|
+
return message;
|
|
128
|
+
}
|
|
129
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: _ImportWellKnown): _ImportWellKnown {
|
|
130
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
131
|
+
while (reader.pos < end) {
|
|
132
|
+
let [fieldNo, wireType] = reader.tag();
|
|
133
|
+
switch (fieldNo) {
|
|
134
|
+
case /* google.protobuf.Empty empty */ 1:
|
|
135
|
+
message.empty = Empty.internalBinaryRead(reader, reader.uint32(), options, message.empty);
|
|
136
|
+
break;
|
|
137
|
+
case /* google.protobuf.Any any */ 2:
|
|
138
|
+
message.any = Any.internalBinaryRead(reader, reader.uint32(), options, message.any);
|
|
139
|
+
break;
|
|
140
|
+
case /* google.protobuf.BytesValue bytes */ 3:
|
|
141
|
+
message.bytes = BytesValue.internalBinaryRead(reader, reader.uint32(), options, message.bytes);
|
|
142
|
+
break;
|
|
143
|
+
case /* google.protobuf.BoolValue bool */ 4:
|
|
144
|
+
message.bool = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.bool);
|
|
145
|
+
break;
|
|
146
|
+
case /* google.protobuf.StringValue string */ 5:
|
|
147
|
+
message.string = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.string);
|
|
148
|
+
break;
|
|
149
|
+
case /* google.protobuf.Int32Value int32 */ 6:
|
|
150
|
+
message.int32 = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.int32);
|
|
151
|
+
break;
|
|
152
|
+
case /* google.protobuf.UInt32Value uint32 */ 7:
|
|
153
|
+
message.uint32 = UInt32Value.internalBinaryRead(reader, reader.uint32(), options, message.uint32);
|
|
154
|
+
break;
|
|
155
|
+
case /* google.protobuf.Int64Value int64 */ 8:
|
|
156
|
+
message.int64 = Int64Value.internalBinaryRead(reader, reader.uint32(), options, message.int64);
|
|
157
|
+
break;
|
|
158
|
+
case /* google.protobuf.UInt64Value uint64 */ 9:
|
|
159
|
+
message.uint64 = UInt64Value.internalBinaryRead(reader, reader.uint32(), options, message.uint64);
|
|
160
|
+
break;
|
|
161
|
+
case /* google.protobuf.FloatValue float */ 10:
|
|
162
|
+
message.float = FloatValue.internalBinaryRead(reader, reader.uint32(), options, message.float);
|
|
163
|
+
break;
|
|
164
|
+
case /* google.protobuf.DoubleValue double */ 11:
|
|
165
|
+
message.double = DoubleValue.internalBinaryRead(reader, reader.uint32(), options, message.double);
|
|
166
|
+
break;
|
|
167
|
+
case /* google.protobuf.Duration duration */ 12:
|
|
168
|
+
message.duration = Duration.internalBinaryRead(reader, reader.uint32(), options, message.duration);
|
|
169
|
+
break;
|
|
170
|
+
case /* google.protobuf.Timestamp timestamp */ 13:
|
|
171
|
+
message.timestamp = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.timestamp);
|
|
172
|
+
break;
|
|
173
|
+
case /* google.protobuf.Value value */ 14:
|
|
174
|
+
message.value = Value.internalBinaryRead(reader, reader.uint32(), options, message.value);
|
|
175
|
+
break;
|
|
176
|
+
case /* google.protobuf.ListValue list */ 15:
|
|
177
|
+
message.list = ListValue.internalBinaryRead(reader, reader.uint32(), options, message.list);
|
|
178
|
+
break;
|
|
179
|
+
case /* google.protobuf.Struct struct */ 16:
|
|
180
|
+
message.struct = Struct.internalBinaryRead(reader, reader.uint32(), options, message.struct);
|
|
181
|
+
break;
|
|
182
|
+
default:
|
|
183
|
+
let u = options.readUnknownField;
|
|
184
|
+
if (u === "throw")
|
|
185
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
186
|
+
let d = reader.skip(wireType);
|
|
187
|
+
if (u !== false)
|
|
188
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
return message;
|
|
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;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* @generated MessageType for protobuf message MiLaboratories.PL._Stub._ImportWellKnown
|
|
250
|
+
*/
|
|
251
|
+
export const _ImportWellKnown = new _ImportWellKnown$Type();
|