|
| 1 | +// package: cc.arduino.cli.monitor |
| 2 | +// file: monitor/monitor.proto |
| 3 | + |
| 4 | +/* tslint:disable */ |
| 5 | + |
| 6 | +import * as jspb from "google-protobuf"; |
| 7 | +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; |
| 8 | + |
| 9 | +export class StreamingOpenReq extends jspb.Message { |
| 10 | + |
| 11 | + hasMonitorconfig(): boolean; |
| 12 | + clearMonitorconfig(): void; |
| 13 | + getMonitorconfig(): MonitorConfig | undefined; |
| 14 | + setMonitorconfig(value?: MonitorConfig): void; |
| 15 | + |
| 16 | + |
| 17 | + hasData(): boolean; |
| 18 | + clearData(): void; |
| 19 | + getData(): Uint8Array | string; |
| 20 | + getData_asU8(): Uint8Array; |
| 21 | + getData_asB64(): string; |
| 22 | + setData(value: Uint8Array | string): void; |
| 23 | + |
| 24 | + |
| 25 | + getContentCase(): StreamingOpenReq.ContentCase; |
| 26 | + |
| 27 | + serializeBinary(): Uint8Array; |
| 28 | + toObject(includeInstance?: boolean): StreamingOpenReq.AsObject; |
| 29 | + static toObject(includeInstance: boolean, msg: StreamingOpenReq): StreamingOpenReq.AsObject; |
| 30 | + static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; |
| 31 | + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; |
| 32 | + static serializeBinaryToWriter(message: StreamingOpenReq, writer: jspb.BinaryWriter): void; |
| 33 | + static deserializeBinary(bytes: Uint8Array): StreamingOpenReq; |
| 34 | + static deserializeBinaryFromReader(message: StreamingOpenReq, reader: jspb.BinaryReader): StreamingOpenReq; |
| 35 | +} |
| 36 | + |
| 37 | +export namespace StreamingOpenReq { |
| 38 | + export type AsObject = { |
| 39 | + monitorconfig?: MonitorConfig.AsObject, |
| 40 | + data: Uint8Array | string, |
| 41 | + } |
| 42 | + |
| 43 | + export enum ContentCase { |
| 44 | + CONTENT_NOT_SET = 0, |
| 45 | + |
| 46 | + MONITORCONFIG = 1, |
| 47 | + |
| 48 | + DATA = 2, |
| 49 | + |
| 50 | + } |
| 51 | + |
| 52 | +} |
| 53 | + |
| 54 | +export class MonitorConfig extends jspb.Message { |
| 55 | + getTarget(): string; |
| 56 | + setTarget(value: string): void; |
| 57 | + |
| 58 | + getType(): MonitorConfig.TargetType; |
| 59 | + setType(value: MonitorConfig.TargetType): void; |
| 60 | + |
| 61 | + |
| 62 | + hasAdditionalconfig(): boolean; |
| 63 | + clearAdditionalconfig(): void; |
| 64 | + getAdditionalconfig(): google_protobuf_struct_pb.Struct | undefined; |
| 65 | + setAdditionalconfig(value?: google_protobuf_struct_pb.Struct): void; |
| 66 | + |
| 67 | + |
| 68 | + serializeBinary(): Uint8Array; |
| 69 | + toObject(includeInstance?: boolean): MonitorConfig.AsObject; |
| 70 | + static toObject(includeInstance: boolean, msg: MonitorConfig): MonitorConfig.AsObject; |
| 71 | + static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; |
| 72 | + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; |
| 73 | + static serializeBinaryToWriter(message: MonitorConfig, writer: jspb.BinaryWriter): void; |
| 74 | + static deserializeBinary(bytes: Uint8Array): MonitorConfig; |
| 75 | + static deserializeBinaryFromReader(message: MonitorConfig, reader: jspb.BinaryReader): MonitorConfig; |
| 76 | +} |
| 77 | + |
| 78 | +export namespace MonitorConfig { |
| 79 | + export type AsObject = { |
| 80 | + target: string, |
| 81 | + type: MonitorConfig.TargetType, |
| 82 | + additionalconfig?: google_protobuf_struct_pb.Struct.AsObject, |
| 83 | + } |
| 84 | + |
| 85 | + export enum TargetType { |
| 86 | + SERIAL = 0, |
| 87 | + } |
| 88 | + |
| 89 | +} |
| 90 | + |
| 91 | +export class StreamingOpenResp extends jspb.Message { |
| 92 | + getData(): Uint8Array | string; |
| 93 | + getData_asU8(): Uint8Array; |
| 94 | + getData_asB64(): string; |
| 95 | + setData(value: Uint8Array | string): void; |
| 96 | + |
| 97 | + |
| 98 | + serializeBinary(): Uint8Array; |
| 99 | + toObject(includeInstance?: boolean): StreamingOpenResp.AsObject; |
| 100 | + static toObject(includeInstance: boolean, msg: StreamingOpenResp): StreamingOpenResp.AsObject; |
| 101 | + static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; |
| 102 | + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; |
| 103 | + static serializeBinaryToWriter(message: StreamingOpenResp, writer: jspb.BinaryWriter): void; |
| 104 | + static deserializeBinary(bytes: Uint8Array): StreamingOpenResp; |
| 105 | + static deserializeBinaryFromReader(message: StreamingOpenResp, reader: jspb.BinaryReader): StreamingOpenResp; |
| 106 | +} |
| 107 | + |
| 108 | +export namespace StreamingOpenResp { |
| 109 | + export type AsObject = { |
| 110 | + data: Uint8Array | string, |
| 111 | + } |
| 112 | +} |
0 commit comments