summaryrefslogtreecommitdiff
path: root/tests/plugins/grpc/testdata/import/service.proto
blob: 5d888f09ffec959b90cb1810bce996988755ca22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
syntax = "proto3";

package import;

import "import/sub/message.proto";

service Service {
    rpc SimpleMethod (Message) returns (Message) {
    }

    rpc ImportMethod (import.sub.Message) returns (import.sub.Message) {
    }
}

message Message {
    int64 id = 1;
}