aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/protos/actors.proto
blob: 329eb998dfce56fd731040143bf63e031b206fbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package NActorsProto;
option java_package = "ru.yandex.kikimr.proto";
option java_outer_classname = "NActorsBaseProto";

message TActorId {
    required fixed64 RawX1 = 1;
    required fixed64 RawX2 = 2;
}

message TTraceId {
    optional bytes Data = 1;
}

message TCallbackException {
    required TActorId ActorId = 1;
    required string ExceptionMessage = 2;
}

message TRemoteHttpInfo {
    message TQueryParam {
        optional string Key = 1;
        optional string Value = 2;
    }

    message THeader {
        optional string Name = 1;
        optional string Value = 2;
    }

    optional uint32 Method = 1; // HTTP_METHOD enum
    optional string Path = 2;
    repeated TQueryParam QueryParams = 3;
    repeated TQueryParam PostParams = 4;
    optional bytes PostContent = 8;
    repeated THeader Headers = 9;
    optional string RemoteAddr = 7;

    // for compatibility reasons (incorrect field types merged in 21-4)
    reserved 5;
    reserved 6;
}