展示存储版本
This commit is contained in:
13
cmd.pb.go
13
cmd.pb.go
@@ -2521,6 +2521,7 @@ type ValueItem struct {
|
|||||||
Uint32S []uint32 `protobuf:"varint,4,rep,packed,name=uint32s,proto3" json:"uint32s,omitempty"` // uint32区域
|
Uint32S []uint32 `protobuf:"varint,4,rep,packed,name=uint32s,proto3" json:"uint32s,omitempty"` // uint32区域
|
||||||
FlagsWithExpire []*FlagWithExpire `protobuf:"bytes,5,rep,name=flags_with_expire,json=flagsWithExpire,proto3" json:"flags_with_expire,omitempty"` // 标志位区域
|
FlagsWithExpire []*FlagWithExpire `protobuf:"bytes,5,rep,name=flags_with_expire,json=flagsWithExpire,proto3" json:"flags_with_expire,omitempty"` // 标志位区域
|
||||||
LastModifyTime uint32 `protobuf:"varint,6,opt,name=last_modify_time,json=lastModifyTime,proto3" json:"last_modify_time,omitempty"` // 最后修改时间
|
LastModifyTime uint32 `protobuf:"varint,6,opt,name=last_modify_time,json=lastModifyTime,proto3" json:"last_modify_time,omitempty"` // 最后修改时间
|
||||||
|
Version uint32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"` // 存储版本
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
@@ -2597,6 +2598,13 @@ func (x *ValueItem) GetLastModifyTime() uint32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *ValueItem) GetVersion() uint32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Version
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
// TaskListRes 任务列表返回
|
// TaskListRes 任务列表返回
|
||||||
type TaskListRes struct {
|
type TaskListRes struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
@@ -3256,14 +3264,15 @@ const file_cmd_proto_rawDesc = "" +
|
|||||||
"\x0efail_cmd_count\x18\x02 \x01(\rR\ffailCmdCount\x12+\n" +
|
"\x0efail_cmd_count\x18\x02 \x01(\rR\ffailCmdCount\x12+\n" +
|
||||||
"\acmd_res\x18\x03 \x03(\v2\x12.saasapi.ValueItemR\x06cmdRes\"/\n" +
|
"\acmd_res\x18\x03 \x03(\v2\x12.saasapi.ValueItemR\x06cmdRes\"/\n" +
|
||||||
"\bWriteRes\x12#\n" +
|
"\bWriteRes\x12#\n" +
|
||||||
"\rfailed_userid\x18\x03 \x03(\tR\ffailedUserid\"\xf9\x01\n" +
|
"\rfailed_userid\x18\x03 \x03(\tR\ffailedUserid\"\x93\x02\n" +
|
||||||
"\tValueItem\x12\x1b\n" +
|
"\tValueItem\x12\x1b\n" +
|
||||||
"\tcmd_index\x18\x01 \x01(\rR\bcmdIndex\x120\n" +
|
"\tcmd_index\x18\x01 \x01(\rR\bcmdIndex\x120\n" +
|
||||||
"\bcmd_code\x18\x02 \x01(\x0e2\x15.saasapi.CmdErrorCodeR\acmdCode\x12\x14\n" +
|
"\bcmd_code\x18\x02 \x01(\x0e2\x15.saasapi.CmdErrorCodeR\acmdCode\x12\x14\n" +
|
||||||
"\x05bytes\x18\x03 \x01(\fR\x05bytes\x12\x18\n" +
|
"\x05bytes\x18\x03 \x01(\fR\x05bytes\x12\x18\n" +
|
||||||
"\auint32s\x18\x04 \x03(\rR\auint32s\x12C\n" +
|
"\auint32s\x18\x04 \x03(\rR\auint32s\x12C\n" +
|
||||||
"\x11flags_with_expire\x18\x05 \x03(\v2\x17.saasapi.FlagWithExpireR\x0fflagsWithExpire\x12(\n" +
|
"\x11flags_with_expire\x18\x05 \x03(\v2\x17.saasapi.FlagWithExpireR\x0fflagsWithExpire\x12(\n" +
|
||||||
"\x10last_modify_time\x18\x06 \x01(\rR\x0elastModifyTime\"2\n" +
|
"\x10last_modify_time\x18\x06 \x01(\rR\x0elastModifyTime\x12\x18\n" +
|
||||||
|
"\aversion\x18\a \x01(\rR\aversion\"2\n" +
|
||||||
"\vTaskListRes\x12#\n" +
|
"\vTaskListRes\x12#\n" +
|
||||||
"\x05tasks\x18\x01 \x03(\v2\r.saasapi.TaskR\x05tasks\"\xa7\x01\n" +
|
"\x05tasks\x18\x01 \x03(\v2\r.saasapi.TaskR\x05tasks\"\xa7\x01\n" +
|
||||||
"\rTargetListRes\x12G\n" +
|
"\rTargetListRes\x12G\n" +
|
||||||
|
|||||||
@@ -241,6 +241,7 @@ message ValueItem {
|
|||||||
repeated uint32 uint32s = 4; // uint32区域
|
repeated uint32 uint32s = 4; // uint32区域
|
||||||
repeated FlagWithExpire flags_with_expire = 5; // 标志位区域
|
repeated FlagWithExpire flags_with_expire = 5; // 标志位区域
|
||||||
uint32 last_modify_time = 6; // 最后修改时间
|
uint32 last_modify_time = 6; // 最后修改时间
|
||||||
|
uint32 version = 7; // 存储版本
|
||||||
}
|
}
|
||||||
|
|
||||||
// TaskListRes 任务列表返回
|
// TaskListRes 任务列表返回
|
||||||
|
|||||||
Reference in New Issue
Block a user