about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/haskell_proto_library/person.proto
blob: 95bf3524f819c519375723d1c168b87cba093912 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
syntax = "proto3";

package demo; // Required to generate valid code.

// Always import protos with a full path relative to the WORKSPACE file.
import "tests/haskell_proto_library/address.proto";

import "google/protobuf/timestamp.proto";

message Person {
  string name = 1;
  int32 id = 2;
  string email = 3;
  Address address = 4;
  google.protobuf.Timestamp timestamp = 5;
}