-
-
Notifications
You must be signed in to change notification settings - Fork 435
/
Copy pathmonitor_pb.d.ts
131 lines (98 loc) · 4.34 KB
/
monitor_pb.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
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
// package: cc.arduino.cli.monitor
// file: monitor/monitor.proto
/* tslint:disable */
/* eslint-disable */
import * as jspb from "google-protobuf";
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
export class StreamingOpenReq extends jspb.Message {
hasMonitorconfig(): boolean;
clearMonitorconfig(): void;
getMonitorconfig(): MonitorConfig | undefined;
setMonitorconfig(value?: MonitorConfig): StreamingOpenReq;
hasData(): boolean;
clearData(): void;
getData(): Uint8Array | string;
getData_asU8(): Uint8Array;
getData_asB64(): string;
setData(value: Uint8Array | string): StreamingOpenReq;
hasRecvAcknowledge(): boolean;
clearRecvAcknowledge(): void;
getRecvAcknowledge(): number;
setRecvAcknowledge(value: number): StreamingOpenReq;
getContentCase(): StreamingOpenReq.ContentCase;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): StreamingOpenReq.AsObject;
static toObject(includeInstance: boolean, msg: StreamingOpenReq): StreamingOpenReq.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: StreamingOpenReq, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): StreamingOpenReq;
static deserializeBinaryFromReader(message: StreamingOpenReq, reader: jspb.BinaryReader): StreamingOpenReq;
}
export namespace StreamingOpenReq {
export type AsObject = {
monitorconfig?: MonitorConfig.AsObject,
data: Uint8Array | string,
recvAcknowledge: number,
}
export enum ContentCase {
CONTENT_NOT_SET = 0,
MONITORCONFIG = 1,
DATA = 2,
RECV_ACKNOWLEDGE = 3,
}
}
export class MonitorConfig extends jspb.Message {
getTarget(): string;
setTarget(value: string): MonitorConfig;
getType(): MonitorConfig.TargetType;
setType(value: MonitorConfig.TargetType): MonitorConfig;
hasAdditionalconfig(): boolean;
clearAdditionalconfig(): void;
getAdditionalconfig(): google_protobuf_struct_pb.Struct | undefined;
setAdditionalconfig(value?: google_protobuf_struct_pb.Struct): MonitorConfig;
getRecvRateLimitBuffer(): number;
setRecvRateLimitBuffer(value: number): MonitorConfig;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MonitorConfig.AsObject;
static toObject(includeInstance: boolean, msg: MonitorConfig): MonitorConfig.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MonitorConfig, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MonitorConfig;
static deserializeBinaryFromReader(message: MonitorConfig, reader: jspb.BinaryReader): MonitorConfig;
}
export namespace MonitorConfig {
export type AsObject = {
target: string,
type: MonitorConfig.TargetType,
additionalconfig?: google_protobuf_struct_pb.Struct.AsObject,
recvRateLimitBuffer: number,
}
export enum TargetType {
SERIAL = 0,
NULL = 99,
}
}
export class StreamingOpenResp extends jspb.Message {
getData(): Uint8Array | string;
getData_asU8(): Uint8Array;
getData_asB64(): string;
setData(value: Uint8Array | string): StreamingOpenResp;
getDropped(): number;
setDropped(value: number): StreamingOpenResp;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): StreamingOpenResp.AsObject;
static toObject(includeInstance: boolean, msg: StreamingOpenResp): StreamingOpenResp.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: StreamingOpenResp, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): StreamingOpenResp;
static deserializeBinaryFromReader(message: StreamingOpenResp, reader: jspb.BinaryReader): StreamingOpenResp;
}
export namespace StreamingOpenResp {
export type AsObject = {
data: Uint8Array | string,
dropped: number,
}
}