更新部分proto结构体文件
This commit is contained in:
@@ -1,103 +0,0 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package bilibili.api.player.v1;
|
||||
|
||||
//
|
||||
service Heartbeat {
|
||||
//
|
||||
//
|
||||
rpc mobile (HeartbeatReq) returns (HeartbeatReply);
|
||||
}
|
||||
|
||||
//-请求
|
||||
message HeartbeatReq {
|
||||
//
|
||||
int64 serverTime = 1;
|
||||
|
||||
//
|
||||
string session = 2;
|
||||
|
||||
//
|
||||
int64 mid = 3;
|
||||
|
||||
//
|
||||
int64 aid = 4;
|
||||
|
||||
//
|
||||
int64 cid = 5;
|
||||
|
||||
//
|
||||
string sid = 6;
|
||||
|
||||
//
|
||||
int64 epid = 7;
|
||||
|
||||
//
|
||||
string type = 8;
|
||||
|
||||
//
|
||||
int32 subType = 9;
|
||||
|
||||
//
|
||||
int32 quality = 10;
|
||||
|
||||
//
|
||||
int64 totalTime = 11;
|
||||
|
||||
//
|
||||
int64 pausedTime = 12;
|
||||
|
||||
//
|
||||
int64 playedTime = 13;
|
||||
|
||||
//
|
||||
int64 videoDuration = 14;
|
||||
|
||||
//
|
||||
string playType = 15;
|
||||
|
||||
//
|
||||
int64 networkType = 16;
|
||||
|
||||
//
|
||||
int64 lastPlayProgressTime = 17;
|
||||
|
||||
//
|
||||
int64 maxPlayProgressTime = 18;
|
||||
|
||||
//
|
||||
int32 from = 19;
|
||||
|
||||
//
|
||||
string fromSpmid = 20;
|
||||
|
||||
//
|
||||
string spmid = 21;
|
||||
|
||||
//
|
||||
string epidStatus = 22;
|
||||
|
||||
//
|
||||
string playStatus = 23;
|
||||
|
||||
//
|
||||
string userStatus = 24;
|
||||
|
||||
//
|
||||
int64 actualPlayedTime = 25;
|
||||
|
||||
//
|
||||
int32 autoPlay = 26;
|
||||
|
||||
//
|
||||
int64 listPlayTime = 27;
|
||||
|
||||
//
|
||||
int64 detailPlayTime = 28;
|
||||
}
|
||||
|
||||
//-回复
|
||||
message HeartbeatReply {
|
||||
//
|
||||
int64 ts = 1;
|
||||
}
|
||||
@@ -5,79 +5,65 @@ package bilibili.api.probe.v1;
|
||||
//
|
||||
service Probe {
|
||||
//
|
||||
rpc TestCode (CodeReq) returns (CodeReply);
|
||||
//
|
||||
rpc testCode (CodeReq) returns (CodeReply);
|
||||
|
||||
rpc TestReq (ProbeReq) returns (ProbeReply);
|
||||
//
|
||||
rpc TestStream (ProbeStreamReq) returns (ProbeStreamReply);
|
||||
//
|
||||
rpc testReq (ProbeReq) returns (ProbeReply);
|
||||
|
||||
//
|
||||
//
|
||||
rpc testStream (ProbeStreamReq) returns (ProbeStreamReply);
|
||||
|
||||
//
|
||||
//
|
||||
rpc testSub (ProbeSubReq) returns (ProbeSubReply);
|
||||
rpc TestSub (ProbeSubReq) returns (ProbeSubReply);
|
||||
}
|
||||
|
||||
//-请求
|
||||
//
|
||||
message CodeReq {
|
||||
//
|
||||
int64 code = 1;
|
||||
}
|
||||
|
||||
//-回复
|
||||
message CodeReply {
|
||||
//
|
||||
message CodeReply {}
|
||||
|
||||
}
|
||||
|
||||
//-请求
|
||||
//
|
||||
message ProbeReq {
|
||||
//
|
||||
int64 mid = 1;
|
||||
|
||||
//
|
||||
string buvid = 2;
|
||||
}
|
||||
|
||||
//-回复
|
||||
//
|
||||
message ProbeReply {
|
||||
//
|
||||
string content = 1;
|
||||
|
||||
//
|
||||
int64 timestamp = 2;
|
||||
}
|
||||
|
||||
//-请求
|
||||
//
|
||||
message ProbeStreamReq {
|
||||
//
|
||||
int64 mid = 1;
|
||||
|
||||
//
|
||||
int64 sequence = 2;
|
||||
}
|
||||
|
||||
//-回复
|
||||
//
|
||||
message ProbeStreamReply {
|
||||
//
|
||||
int64 sequence = 1;
|
||||
|
||||
//
|
||||
int64 timestamp = 2;
|
||||
|
||||
//
|
||||
string content = 3;
|
||||
}
|
||||
|
||||
//-请求
|
||||
//
|
||||
message ProbeSubReq {
|
||||
//
|
||||
int64 buvid = 1;
|
||||
}
|
||||
|
||||
//-回复
|
||||
//
|
||||
message ProbeSubReply {
|
||||
//
|
||||
int64 messageId = 1;
|
||||
Reference in New Issue
Block a user