~bduggan/raku-protobuf

ref: 1111fa768f7a83817e7b58bc8a8e0d5ba43739eb raku-protobuf/eg/nested.proto -rw-r--r-- 427 bytes
1111fa76Brian Duggan repeated 7 months ago
                                                                                
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
syntax = "proto3";

package helloworld;

service Greeter {
  rpc SayHello (HelloRequest) returns (HelloReply) {}
  rpc Echo (EchoRequest) returns (HelloReply) {}
  rpc Hellos (Hellos) returns (HelloReply) {}
}

message HelloRequest {
  string name = 1;
}

message HelloReply {
  string message = 1;
}

message EchoRequest {
  HelloRequest hello = 1;
  string world = 2;
}

message Hellos {
  repeated HelloRequest holas = 1;
}