Skip to content

Instantly share code, notes, and snippets.

@glerchundi
Last active May 9, 2018 12:31
Show Gist options
  • Save glerchundi/46a43603330dc906f3172e68576a293a to your computer and use it in GitHub Desktop.
Save glerchundi/46a43603330dc906f3172e68576a293a to your computer and use it in GitHub Desktop.
message HelloReply {
message Decorated {
message DecoratedAgain {
string message = 1;
}
DecoratedAgain decorated_again = 1;
}
Decorated decorated = 1;
string plain = 2;
int32 my_num = 3;
}
---
// GENERATED CODE -- DO NOT EDIT!
declare namespace Helloworld.V1 {
class HelloReply {
constructor();
getDecorated(): Helloworld.V1.HelloReply.Decorated;
setDecorated(value: Helloworld.V1.HelloReply.Decorated): void;
getPlain(): string;
setPlain(value: string): void;
getMyNum(): number;
setMyNum(value: number): void;
}
namespace HelloReply {
class Decorated {
getDecoratedAgain(): Helloworld.V1.HelloReply.Decorated.DecoratedAgain;
setDecoratedAgain(value: Helloworld.V1.HelloReply.Decorated.DecoratedAgain): void;
}
namespace Decorated {
class DecoratedAgain {
getMessage(): string;
setMessage(value: string): void;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment