aboutsummaryrefslogtreecommitdiff
path: root/examples/scalapb-example/protobuf-schemas/person.proto
blob: d82976720457982bd497cf39287e88cca1050dba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
syntax = "proto2";

import "address.proto";

package foo;
message Person {
    optional string name = 1;
    optional int32 age = 2;

    // Address is a message defined somewhere else.
    repeated Address addresses = 3;
}