26 lines
557 B
Protocol Buffer
26 lines
557 B
Protocol Buffer
|
|
import "google/protobuf/csharp_options.proto";
|
|||
|
|
option (google.protobuf.csharp_file_options).namespace = "Aliyun.Api.LOG";
|
|||
|
|
|
|||
|
|
message Log
|
|||
|
|
{
|
|||
|
|
required uint32 Time = 1;// UNIX Time Format
|
|||
|
|
message Content
|
|||
|
|
{
|
|||
|
|
required string Key = 1;
|
|||
|
|
required string Value = 2;
|
|||
|
|
}
|
|||
|
|
repeated Content Contents= 2;
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
message LogGroup
|
|||
|
|
{
|
|||
|
|
repeated Log Logs= 1;
|
|||
|
|
optional string Reserved =2; // <20>ڲ<EFBFBD><DAB2>ֶΣ<D6B6><CEA3><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>д
|
|||
|
|
optional string Topic = 3;
|
|||
|
|
optional string Source = 4;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
message LogGroupList
|
|||
|
|
{
|
|||
|
|
repeated LogGroup logGroupList = 1;
|
|||
|
|
}
|