ApplicationRegisterService.proto 494 字节
Newer Older
P
pengys5 已提交
1 2 3
syntax = "proto3";

option java_multiple_files = true;
4
option java_package = "org.apache.skywalking.apm.network.proto";
P
pengys5 已提交
5

6
import "KeyWithIntegerValue.proto";
P
pengys5 已提交
7 8 9

//register service for ApplicationCode, this service is called when service starts.
service ApplicationRegisterService {
10
    rpc applicationCodeRegister (Application) returns (ApplicationMapping) {
P
pengys5 已提交
11 12 13
    }
}

wu-sheng's avatar
wu-sheng 已提交
14 15
message Application {
    string applicationCode = 1;
P
pengys5 已提交
16 17
}

18 19
message ApplicationMapping {
    KeyWithIntegerValue application = 1;
20
}