package NEventLogParser;

import "mapreduce/yt/interface/protos/extension.proto";

message TParsedRow {
    enum ERequestType {
        UNKNOWN = 0;
        SEARCH = 1;
        FACTOR = 2;
        SNIPPET = 3;
    }

    optional string Instance = 1 [(NYT.key_column_name) = "Instance"];
    optional uint64 FrameId = 2 [(NYT.key_column_name) = "FrameId"];
    optional uint64 Timestamp = 3 [(NYT.key_column_name) = "Timestamp"];
    optional string SubSourceRequest = 4 [(NYT.key_column_name) = "SubSourceRequest"];
    optional ERequestType SubSourceRequestType = 5 [(NYT.key_column_name) = "SubSourceRequestType"];
    optional uint32 DocHandleCount = 6 [(NYT.key_column_name) = "DocHandleCount"];
    optional uint32 RequestHash = 7 [(NYT.key_column_name) = "RequestHash"];
    optional string ReqId = 8 [(NYT.key_column_name) = "ReqId"];
    optional string Marker = 9 [(NYT.key_column_name) = "Marker"];
    optional uint64 SubSourceRequestId = 10 [(NYT.key_column_name) = "SubSourceRequestId"];
    optional bool SubSourceOk = 11 [(NYT.key_column_name) = "SubSourceOk"];
    optional uint64 ResponseTime = 12 [(NYT.key_column_name) = "ResponseTime"];
    optional string BasesearchHost = 13 [(NYT.key_column_name) = "BasesearchHost"];
}
