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

package import;

option php_namespace = "Test\\CustomImport";

import "import_custom/sub/message.proto";

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

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

message Message {
    int64 id = 1;
}