592 lines
17 KiB
Go
592 lines
17 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.6
|
|
// protoc v4.24.4
|
|
// source: cmd.proto
|
|
|
|
package saasapi
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// UserIdType 用户 ID 类型
|
|
type UserIdType int32
|
|
|
|
const (
|
|
UserIdType_DeviceId UserIdType = 0 // 设备号
|
|
UserIdType_OpenId UserIdType = 1 // OpenId
|
|
)
|
|
|
|
// Enum value maps for UserIdType.
|
|
var (
|
|
UserIdType_name = map[int32]string{
|
|
0: "DeviceId",
|
|
1: "OpenId",
|
|
}
|
|
UserIdType_value = map[string]int32{
|
|
"DeviceId": 0,
|
|
"OpenId": 1,
|
|
}
|
|
)
|
|
|
|
func (x UserIdType) Enum() *UserIdType {
|
|
p := new(UserIdType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x UserIdType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (UserIdType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_cmd_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (UserIdType) Type() protoreflect.EnumType {
|
|
return &file_cmd_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x UserIdType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use UserIdType.Descriptor instead.
|
|
func (UserIdType) EnumDescriptor() ([]byte, []int) {
|
|
return file_cmd_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// Cmds 批量命令
|
|
type SaasReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UseridType UserIdType `protobuf:"varint,1,opt,name=userid_type,json=useridType,proto3,enum=saasapi.UserIdType" json:"userid_type,omitempty"` // 用户ID类型
|
|
Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` // 小程序/小游戏/公众号/视频号的appid
|
|
Cmds []*WriteCmd `protobuf:"bytes,3,rep,name=cmds,proto3" json:"cmds,omitempty"` // 批量写入命令
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaasReq) Reset() {
|
|
*x = SaasReq{}
|
|
mi := &file_cmd_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaasReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaasReq) ProtoMessage() {}
|
|
|
|
func (x *SaasReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cmd_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaasReq.ProtoReflect.Descriptor instead.
|
|
func (*SaasReq) Descriptor() ([]byte, []int) {
|
|
return file_cmd_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *SaasReq) GetUseridType() UserIdType {
|
|
if x != nil {
|
|
return x.UseridType
|
|
}
|
|
return UserIdType_DeviceId
|
|
}
|
|
|
|
func (x *SaasReq) GetAppid() string {
|
|
if x != nil {
|
|
return x.Appid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SaasReq) GetCmds() []*WriteCmd {
|
|
if x != nil {
|
|
return x.Cmds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// WriteCmd 上传命令
|
|
type WriteCmd struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Userid string `protobuf:"bytes,1,opt,name=userid,proto3" json:"userid,omitempty"` // 用户ID
|
|
WriteBytes *WriteBytes `protobuf:"bytes,2,opt,name=write_bytes,json=writeBytes,proto3" json:"write_bytes,omitempty"` // byte区域
|
|
WriteUint32S *WriteUint32S `protobuf:"bytes,3,opt,name=write_uint32s,json=writeUint32s,proto3" json:"write_uint32s,omitempty"` // uint32区域
|
|
WriteFlagsWithExpire *WriteFlagsWithExpire `protobuf:"bytes,4,opt,name=write_flags_with_expire,json=writeFlagsWithExpire,proto3" json:"write_flags_with_expire,omitempty"` // 标志位区域
|
|
IsFullOverwrite bool `protobuf:"varint,5,opt,name=is_full_overwrite,json=isFullOverwrite,proto3" json:"is_full_overwrite,omitempty"` // 是否全量覆盖
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WriteCmd) Reset() {
|
|
*x = WriteCmd{}
|
|
mi := &file_cmd_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WriteCmd) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WriteCmd) ProtoMessage() {}
|
|
|
|
func (x *WriteCmd) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cmd_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WriteCmd.ProtoReflect.Descriptor instead.
|
|
func (*WriteCmd) Descriptor() ([]byte, []int) {
|
|
return file_cmd_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *WriteCmd) GetUserid() string {
|
|
if x != nil {
|
|
return x.Userid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WriteCmd) GetWriteBytes() *WriteBytes {
|
|
if x != nil {
|
|
return x.WriteBytes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WriteCmd) GetWriteUint32S() *WriteUint32S {
|
|
if x != nil {
|
|
return x.WriteUint32S
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WriteCmd) GetWriteFlagsWithExpire() *WriteFlagsWithExpire {
|
|
if x != nil {
|
|
return x.WriteFlagsWithExpire
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WriteCmd) GetIsFullOverwrite() bool {
|
|
if x != nil {
|
|
return x.IsFullOverwrite
|
|
}
|
|
return false
|
|
}
|
|
|
|
// WriteBytes 写入byte
|
|
type WriteBytes struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"` // 写入的byte
|
|
Index_1 uint64 `protobuf:"varint,2,opt,name=index_1,json=index1,proto3" json:"index_1,omitempty"` // 写入byte的索引值(0..63)
|
|
Index_2 uint64 `protobuf:"varint,3,opt,name=index_2,json=index2,proto3" json:"index_2,omitempty"` // 写入byte的索引值(64..127)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WriteBytes) Reset() {
|
|
*x = WriteBytes{}
|
|
mi := &file_cmd_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WriteBytes) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WriteBytes) ProtoMessage() {}
|
|
|
|
func (x *WriteBytes) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cmd_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WriteBytes.ProtoReflect.Descriptor instead.
|
|
func (*WriteBytes) Descriptor() ([]byte, []int) {
|
|
return file_cmd_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *WriteBytes) GetBytes() []byte {
|
|
if x != nil {
|
|
return x.Bytes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WriteBytes) GetIndex_1() uint64 {
|
|
if x != nil {
|
|
return x.Index_1
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WriteBytes) GetIndex_2() uint64 {
|
|
if x != nil {
|
|
return x.Index_2
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// WriteUint32s 写入uint32
|
|
type WriteUint32S struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uint32S []uint32 `protobuf:"varint,1,rep,packed,name=uint32s,proto3" json:"uint32s,omitempty"` // 写入的uint32
|
|
Index_1 uint64 `protobuf:"varint,2,opt,name=index_1,json=index1,proto3" json:"index_1,omitempty"` // 写入uint32的索引值(0..63)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WriteUint32S) Reset() {
|
|
*x = WriteUint32S{}
|
|
mi := &file_cmd_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WriteUint32S) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WriteUint32S) ProtoMessage() {}
|
|
|
|
func (x *WriteUint32S) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cmd_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WriteUint32S.ProtoReflect.Descriptor instead.
|
|
func (*WriteUint32S) Descriptor() ([]byte, []int) {
|
|
return file_cmd_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *WriteUint32S) GetUint32S() []uint32 {
|
|
if x != nil {
|
|
return x.Uint32S
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WriteUint32S) GetIndex_1() uint64 {
|
|
if x != nil {
|
|
return x.Index_1
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// WriteFlagsWithExpire 写入标志位
|
|
type WriteFlagsWithExpire struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
FlagsWithExpire []*FlagWithExpire `protobuf:"bytes,1,rep,name=flags_with_expire,json=flagsWithExpire,proto3" json:"flags_with_expire,omitempty"` // 写入的标志位
|
|
Index_1 uint64 `protobuf:"varint,2,opt,name=index_1,json=index1,proto3" json:"index_1,omitempty"` // 写入标志位的索引值
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *WriteFlagsWithExpire) Reset() {
|
|
*x = WriteFlagsWithExpire{}
|
|
mi := &file_cmd_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *WriteFlagsWithExpire) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WriteFlagsWithExpire) ProtoMessage() {}
|
|
|
|
func (x *WriteFlagsWithExpire) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cmd_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WriteFlagsWithExpire.ProtoReflect.Descriptor instead.
|
|
func (*WriteFlagsWithExpire) Descriptor() ([]byte, []int) {
|
|
return file_cmd_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *WriteFlagsWithExpire) GetFlagsWithExpire() []*FlagWithExpire {
|
|
if x != nil {
|
|
return x.FlagsWithExpire
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WriteFlagsWithExpire) GetIndex_1() uint64 {
|
|
if x != nil {
|
|
return x.Index_1
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// FlagWithExpire 标志位
|
|
type FlagWithExpire struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Flag bool `protobuf:"varint,1,opt,name=flag,proto3" json:"flag,omitempty"` // 标志位
|
|
DefaultFlag bool `protobuf:"varint,2,opt,name=default_flag,json=defaultFlag,proto3" json:"default_flag,omitempty"` // 默认值。超时后则回到默认值。
|
|
Expire uint32 `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"` // 过期时间,为 0 则永不过期
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FlagWithExpire) Reset() {
|
|
*x = FlagWithExpire{}
|
|
mi := &file_cmd_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FlagWithExpire) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FlagWithExpire) ProtoMessage() {}
|
|
|
|
func (x *FlagWithExpire) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cmd_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FlagWithExpire.ProtoReflect.Descriptor instead.
|
|
func (*FlagWithExpire) Descriptor() ([]byte, []int) {
|
|
return file_cmd_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *FlagWithExpire) GetFlag() bool {
|
|
if x != nil {
|
|
return x.Flag
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *FlagWithExpire) GetDefaultFlag() bool {
|
|
if x != nil {
|
|
return x.DefaultFlag
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *FlagWithExpire) GetExpire() uint32 {
|
|
if x != nil {
|
|
return x.Expire
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SaasRes struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 返回码
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // 返回信息
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaasRes) Reset() {
|
|
*x = SaasRes{}
|
|
mi := &file_cmd_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaasRes) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaasRes) ProtoMessage() {}
|
|
|
|
func (x *SaasRes) ProtoReflect() protoreflect.Message {
|
|
mi := &file_cmd_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaasRes.ProtoReflect.Descriptor instead.
|
|
func (*SaasRes) Descriptor() ([]byte, []int) {
|
|
return file_cmd_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *SaasRes) GetCode() uint32 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SaasRes) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_cmd_proto protoreflect.FileDescriptor
|
|
|
|
const file_cmd_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\tcmd.proto\x12\asaasapi\"|\n" +
|
|
"\aSaasReq\x124\n" +
|
|
"\vuserid_type\x18\x01 \x01(\x0e2\x13.saasapi.UserIdTypeR\n" +
|
|
"useridType\x12\x14\n" +
|
|
"\x05appid\x18\x02 \x01(\tR\x05appid\x12%\n" +
|
|
"\x04cmds\x18\x03 \x03(\v2\x11.saasapi.WriteCmdR\x04cmds\"\x96\x02\n" +
|
|
"\bWriteCmd\x12\x16\n" +
|
|
"\x06userid\x18\x01 \x01(\tR\x06userid\x124\n" +
|
|
"\vwrite_bytes\x18\x02 \x01(\v2\x13.saasapi.WriteBytesR\n" +
|
|
"writeBytes\x12:\n" +
|
|
"\rwrite_uint32s\x18\x03 \x01(\v2\x15.saasapi.WriteUint32sR\fwriteUint32s\x12T\n" +
|
|
"\x17write_flags_with_expire\x18\x04 \x01(\v2\x1d.saasapi.WriteFlagsWithExpireR\x14writeFlagsWithExpire\x12*\n" +
|
|
"\x11is_full_overwrite\x18\x05 \x01(\bR\x0fisFullOverwrite\"T\n" +
|
|
"\n" +
|
|
"WriteBytes\x12\x14\n" +
|
|
"\x05bytes\x18\x01 \x01(\fR\x05bytes\x12\x17\n" +
|
|
"\aindex_1\x18\x02 \x01(\x04R\x06index1\x12\x17\n" +
|
|
"\aindex_2\x18\x03 \x01(\x04R\x06index2\"A\n" +
|
|
"\fWriteUint32s\x12\x18\n" +
|
|
"\auint32s\x18\x01 \x03(\rR\auint32s\x12\x17\n" +
|
|
"\aindex_1\x18\x02 \x01(\x04R\x06index1\"t\n" +
|
|
"\x14WriteFlagsWithExpire\x12C\n" +
|
|
"\x11flags_with_expire\x18\x01 \x03(\v2\x17.saasapi.FlagWithExpireR\x0fflagsWithExpire\x12\x17\n" +
|
|
"\aindex_1\x18\x02 \x01(\x04R\x06index1\"_\n" +
|
|
"\x0eFlagWithExpire\x12\x12\n" +
|
|
"\x04flag\x18\x01 \x01(\bR\x04flag\x12!\n" +
|
|
"\fdefault_flag\x18\x02 \x01(\bR\vdefaultFlag\x12\x16\n" +
|
|
"\x06expire\x18\x03 \x01(\rR\x06expire\"5\n" +
|
|
"\aSaasRes\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\rR\x04code\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\tR\x06status*&\n" +
|
|
"\n" +
|
|
"UserIdType\x12\f\n" +
|
|
"\bDeviceId\x10\x00\x12\n" +
|
|
"\n" +
|
|
"\x06OpenId\x10\x01B\vZ\t./saasapib\x06proto3"
|
|
|
|
var (
|
|
file_cmd_proto_rawDescOnce sync.Once
|
|
file_cmd_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_cmd_proto_rawDescGZIP() []byte {
|
|
file_cmd_proto_rawDescOnce.Do(func() {
|
|
file_cmd_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_cmd_proto_rawDesc), len(file_cmd_proto_rawDesc)))
|
|
})
|
|
return file_cmd_proto_rawDescData
|
|
}
|
|
|
|
var file_cmd_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_cmd_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
|
var file_cmd_proto_goTypes = []any{
|
|
(UserIdType)(0), // 0: saasapi.UserIdType
|
|
(*SaasReq)(nil), // 1: saasapi.SaasReq
|
|
(*WriteCmd)(nil), // 2: saasapi.WriteCmd
|
|
(*WriteBytes)(nil), // 3: saasapi.WriteBytes
|
|
(*WriteUint32S)(nil), // 4: saasapi.WriteUint32s
|
|
(*WriteFlagsWithExpire)(nil), // 5: saasapi.WriteFlagsWithExpire
|
|
(*FlagWithExpire)(nil), // 6: saasapi.FlagWithExpire
|
|
(*SaasRes)(nil), // 7: saasapi.SaasRes
|
|
}
|
|
var file_cmd_proto_depIdxs = []int32{
|
|
0, // 0: saasapi.SaasReq.userid_type:type_name -> saasapi.UserIdType
|
|
2, // 1: saasapi.SaasReq.cmds:type_name -> saasapi.WriteCmd
|
|
3, // 2: saasapi.WriteCmd.write_bytes:type_name -> saasapi.WriteBytes
|
|
4, // 3: saasapi.WriteCmd.write_uint32s:type_name -> saasapi.WriteUint32s
|
|
5, // 4: saasapi.WriteCmd.write_flags_with_expire:type_name -> saasapi.WriteFlagsWithExpire
|
|
6, // 5: saasapi.WriteFlagsWithExpire.flags_with_expire:type_name -> saasapi.FlagWithExpire
|
|
6, // [6:6] is the sub-list for method output_type
|
|
6, // [6:6] is the sub-list for method input_type
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
0, // [0:6] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_cmd_proto_init() }
|
|
func file_cmd_proto_init() {
|
|
if File_cmd_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_cmd_proto_rawDesc), len(file_cmd_proto_rawDesc)),
|
|
NumEnums: 1,
|
|
NumMessages: 7,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_cmd_proto_goTypes,
|
|
DependencyIndexes: file_cmd_proto_depIdxs,
|
|
EnumInfos: file_cmd_proto_enumTypes,
|
|
MessageInfos: file_cmd_proto_msgTypes,
|
|
}.Build()
|
|
File_cmd_proto = out.File
|
|
file_cmd_proto_goTypes = nil
|
|
file_cmd_proto_depIdxs = nil
|
|
}
|