-
Notifications
You must be signed in to change notification settings - Fork 0
/
echo.d.ts
47 lines (39 loc) · 788 Bytes
/
echo.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
// package: helloworld
// file: examples/protos/echo.proto
// GENERATED CODE -- DO NOT EDIT!
/* tslint:disable */
/* eslint-disable */
export namespace EchoRequest {
export interface IEchoRequest {
id: number;
name: string;
email: string;
phones: Array<EchoRequest.PhoneNumber>;
}
export namespace PhoneNumber {
export interface IPhoneNumber {
number: string;
type: EchoRequest.PhoneType;
}
}
export enum PhoneType {
MOBILE = 0,
HOME = 1,
WORK = 2,
}
}
export namespace EchoResponse {
export interface IEchoResponse {
message: string;
}
}
export namespace OneOfValues {
export interface IOneOfValues {
intChoice: number;
stringChoice: string;
}
}
export enum Status {
UNKNOWN = 0,
SUCCESS = 1,
}