-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathcomments.d.ts
More file actions
53 lines (49 loc) · 2.14 KB
/
comments.d.ts
File metadata and controls
53 lines (49 loc) · 2.14 KB
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
import * as $protobuf from "../..";
import Long = require("long");
export interface ITest1 {
field1?: (string|null);
field2?: (number|null);
field3?: (boolean|null);
$unknowns?: Uint8Array[];
}
export class Test1 implements ITest1 {
constructor(properties?: ITest1);
public $unknowns?: Uint8Array[];
public field1: string;
public field2: number;
public field3: boolean;
public static create(properties?: ITest1): Test1;
public static encode(message: ITest1, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: ITest1, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Test1;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Test1;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): Test1;
public static toObject(message: Test1, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
export interface ITest2 {
$unknowns?: Uint8Array[];
}
export class Test2 implements ITest2 {
constructor(properties?: ITest2);
public $unknowns?: Uint8Array[];
public static create(properties?: ITest2): Test2;
public static encode(message: ITest2, writer?: $protobuf.Writer): $protobuf.Writer;
public static encodeDelimited(message: ITest2, writer?: $protobuf.Writer): $protobuf.Writer;
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Test2;
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Test2;
public static verify(message: { [k: string]: any }): (string|null);
public static fromObject(object: { [k: string]: any }): Test2;
public static toObject(message: Test2, options?: $protobuf.IConversionOptions): { [k: string]: any };
public toJSON(): { [k: string]: any };
public static getTypeUrl(typeUrlPrefix?: string): string;
}
export enum Test3 {
ONE = 1,
TWO = 2,
THREE = 3,
FOUR = 4,
FIVE = 5
}