package NWebmaster.NProto;

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

message TMeasuredHostAndUrl {
    optional string Host = 1            [(NYT.key_column_name) = "Host"];
    optional string Url = 2             [(NYT.key_column_name) = "Url"];
    optional int64 Clicks = 3           [(NYT.key_column_name) = "Clicks"];
}

message TMeasuredHost {
    optional string Host = 1            [(NYT.key_column_name) = "Host"];
    repeated TMeasuredUrl Urls = 2      [(NYT.column_name) = "Urls", (NYT.flags) = SERIALIZATION_YT];
}

message TMeasuredUrl {
    optional string Url = 1;
    optional int64 Clicks = 2;
}

message TBadUrl {
    optional string Url = 1            [(NYT.key_column_name) = "Url"];
}