// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.10 // protoc v6.33.0 // 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) ) // BindType 绑定类型 type BindType int32 const ( BindType_UnknownBindType BindType = 0 BindType_AdgroupId BindType = 1 // 广告 BindType_AccountId BindType = 3 // 广告主 ) // Enum value maps for BindType. var ( BindType_name = map[int32]string{ 0: "UnknownBindType", 1: "AdgroupId", 3: "AccountId", } BindType_value = map[string]int32{ "UnknownBindType": 0, "AdgroupId": 1, "AccountId": 3, } ) func (x BindType) Enum() *BindType { p := new(BindType) *p = x return p } func (x BindType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (BindType) Descriptor() protoreflect.EnumDescriptor { return file_cmd_proto_enumTypes[0].Descriptor() } func (BindType) Type() protoreflect.EnumType { return &file_cmd_proto_enumTypes[0] } func (x BindType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use BindType.Descriptor instead. func (BindType) EnumDescriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{0} } // BindSourceType 绑定操作来源 type BindSourceType int32 const ( BindSourceType_DefaultBindSourceType BindSourceType = 0 // 广告主或未填写 BindSourceType_ThirdPartyApi BindSourceType = 1 // 第三方API BindSourceType_ADQ BindSourceType = 2 // ADQ平台 BindSourceType_MP BindSourceType = 3 // MP平台 BindSourceType_MktApi BindSourceType = 4 // MarketingAPI ) // Enum value maps for BindSourceType. var ( BindSourceType_name = map[int32]string{ 0: "DefaultBindSourceType", 1: "ThirdPartyApi", 2: "ADQ", 3: "MP", 4: "MktApi", } BindSourceType_value = map[string]int32{ "DefaultBindSourceType": 0, "ThirdPartyApi": 1, "ADQ": 2, "MP": 3, "MktApi": 4, } ) func (x BindSourceType) Enum() *BindSourceType { p := new(BindSourceType) *p = x return p } func (x BindSourceType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (BindSourceType) Descriptor() protoreflect.EnumDescriptor { return file_cmd_proto_enumTypes[1].Descriptor() } func (BindSourceType) Type() protoreflect.EnumType { return &file_cmd_proto_enumTypes[1] } func (x BindSourceType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use BindSourceType.Descriptor instead. func (BindSourceType) EnumDescriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{1} } // ErrorCode 返回码 type ErrorCode int32 const ( ErrorCode_SUCC ErrorCode = 0 // 成功 ErrorCode_INVALID_ACCOUNT ErrorCode = 101 // Account不合法 ErrorCode_INVALID_TIMESTAMP ErrorCode = 102 // 头信息缺少时间戳或不正确 ErrorCode_INVALID_SIGNATURE ErrorCode = 103 // 头信息缺少签名 ErrorCode_AUTH_FAIL ErrorCode = 104 // 签名校验失败 ErrorCode_DISABLED_ACCOUNT ErrorCode = 105 // 账号已禁用 ErrorCode_INVALID_CONTENT_TYPE ErrorCode = 110 // 非法的Content-Type ErrorCode_READ_BODY ErrorCode = 111 // 读取 http body 失败 ErrorCode_DECODE_BODY ErrorCode = 112 // 解码 body 失败 ErrorCode_QPS_LIMIT ErrorCode = 113 // 并发请求量超限 ErrorCode_CMDS_LIMIT ErrorCode = 114 // 命令数量超限 ErrorCode_CMDS_NULL ErrorCode = 115 // 命令为空 ErrorCode_DATASPACE_NOT_EXISTS ErrorCode = 116 // 数据空间不存在 ErrorCode_TASK_EXISTS ErrorCode = 120 // 任务已存在 ErrorCode_TASK_IS_NOT_EXISTS ErrorCode = 121 // 任务不存在 ErrorCode_TASK_NUM_LIMIT ErrorCode = 122 // 任务数达到上限 ErrorCode_TASK_BLOCK_SIZE ErrorCode = 123 // 块大小超限 ErrorCode_TASK_TOTAL_SIZE ErrorCode = 124 // 总文件大小超限 ErrorCode_TASK_MARSHAL ErrorCode = 125 // 序列化 ErrorCode_TASK_IS_WATING ErrorCode = 130 // 任务未上传完毕 ErrorCode_TASK_IS_RUNNING ErrorCode = 131 // 任务已经在运行 ErrorCode_TASK_FAILED ErrorCode = 132 // 任务已失败 ErrorCode_TASK_FINISHED ErrorCode = 133 // 任务已完成 ErrorCode_DATA_ERROR ErrorCode = 201 // 数据错误 ErrorCode_CMD_ERROR ErrorCode = 202 // 命令行执行错误 ErrorCode_API_ERROR ErrorCode = 301 // 调用内部API错误 ErrorCode_TARGET_ERROR ErrorCode = 401 // Target参数错误 ) // Enum value maps for ErrorCode. var ( ErrorCode_name = map[int32]string{ 0: "SUCC", 101: "INVALID_ACCOUNT", 102: "INVALID_TIMESTAMP", 103: "INVALID_SIGNATURE", 104: "AUTH_FAIL", 105: "DISABLED_ACCOUNT", 110: "INVALID_CONTENT_TYPE", 111: "READ_BODY", 112: "DECODE_BODY", 113: "QPS_LIMIT", 114: "CMDS_LIMIT", 115: "CMDS_NULL", 116: "DATASPACE_NOT_EXISTS", 120: "TASK_EXISTS", 121: "TASK_IS_NOT_EXISTS", 122: "TASK_NUM_LIMIT", 123: "TASK_BLOCK_SIZE", 124: "TASK_TOTAL_SIZE", 125: "TASK_MARSHAL", 130: "TASK_IS_WATING", 131: "TASK_IS_RUNNING", 132: "TASK_FAILED", 133: "TASK_FINISHED", 201: "DATA_ERROR", 202: "CMD_ERROR", 301: "API_ERROR", 401: "TARGET_ERROR", } ErrorCode_value = map[string]int32{ "SUCC": 0, "INVALID_ACCOUNT": 101, "INVALID_TIMESTAMP": 102, "INVALID_SIGNATURE": 103, "AUTH_FAIL": 104, "DISABLED_ACCOUNT": 105, "INVALID_CONTENT_TYPE": 110, "READ_BODY": 111, "DECODE_BODY": 112, "QPS_LIMIT": 113, "CMDS_LIMIT": 114, "CMDS_NULL": 115, "DATASPACE_NOT_EXISTS": 116, "TASK_EXISTS": 120, "TASK_IS_NOT_EXISTS": 121, "TASK_NUM_LIMIT": 122, "TASK_BLOCK_SIZE": 123, "TASK_TOTAL_SIZE": 124, "TASK_MARSHAL": 125, "TASK_IS_WATING": 130, "TASK_IS_RUNNING": 131, "TASK_FAILED": 132, "TASK_FINISHED": 133, "DATA_ERROR": 201, "CMD_ERROR": 202, "API_ERROR": 301, "TARGET_ERROR": 401, } ) func (x ErrorCode) Enum() *ErrorCode { p := new(ErrorCode) *p = x return p } func (x ErrorCode) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (ErrorCode) Descriptor() protoreflect.EnumDescriptor { return file_cmd_proto_enumTypes[2].Descriptor() } func (ErrorCode) Type() protoreflect.EnumType { return &file_cmd_proto_enumTypes[2] } func (x ErrorCode) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use ErrorCode.Descriptor instead. func (ErrorCode) EnumDescriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{2} } type CmdErrorCode int32 const ( CmdErrorCode_OK CmdErrorCode = 0 // 成功 ) // Enum value maps for CmdErrorCode. var ( CmdErrorCode_name = map[int32]string{ 0: "OK", } CmdErrorCode_value = map[string]int32{ "OK": 0, } ) func (x CmdErrorCode) Enum() *CmdErrorCode { p := new(CmdErrorCode) *p = x return p } func (x CmdErrorCode) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (CmdErrorCode) Descriptor() protoreflect.EnumDescriptor { return file_cmd_proto_enumTypes[3].Descriptor() } func (CmdErrorCode) Type() protoreflect.EnumType { return &file_cmd_proto_enumTypes[3] } func (x CmdErrorCode) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use CmdErrorCode.Descriptor instead. func (CmdErrorCode) EnumDescriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{3} } // TaskStatus 任务状态 type TaskStatus int32 const ( TaskStatus_ALL TaskStatus = 0 // 全部 TaskStatus_WAITING TaskStatus = 1 // 等待中 TaskStatus_READY TaskStatus = 2 // 上传完毕 TaskStatus_RUNNING TaskStatus = 3 // 运行中 TaskStatus_SUCCESS TaskStatus = 4 // 成功 TaskStatus_FAIL TaskStatus = 5 // 失败 TaskStatus_DELETED TaskStatus = 10 // 已删除,仅在执行删除成功时返回 ) // Enum value maps for TaskStatus. var ( TaskStatus_name = map[int32]string{ 0: "ALL", 1: "WAITING", 2: "READY", 3: "RUNNING", 4: "SUCCESS", 5: "FAIL", 10: "DELETED", } TaskStatus_value = map[string]int32{ "ALL": 0, "WAITING": 1, "READY": 2, "RUNNING": 3, "SUCCESS": 4, "FAIL": 5, "DELETED": 10, } ) func (x TaskStatus) Enum() *TaskStatus { p := new(TaskStatus) *p = x return p } func (x TaskStatus) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (TaskStatus) Descriptor() protoreflect.EnumDescriptor { return file_cmd_proto_enumTypes[4].Descriptor() } func (TaskStatus) Type() protoreflect.EnumType { return &file_cmd_proto_enumTypes[4] } func (x TaskStatus) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use TaskStatus.Descriptor instead. func (TaskStatus) EnumDescriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{4} } type OS int32 const ( OS_OS_UNKNOWN OS = 0 OS_IOS OS = 1 OS_ANDROID OS = 2 OS_HARMONY OS = 7 //纯血鸿蒙 ) // Enum value maps for OS. var ( OS_name = map[int32]string{ 0: "OS_UNKNOWN", 1: "IOS", 2: "ANDROID", 7: "HARMONY", } OS_value = map[string]int32{ "OS_UNKNOWN": 0, "IOS": 1, "ANDROID": 2, "HARMONY": 7, } ) func (x OS) Enum() *OS { p := new(OS) *p = x return p } func (x OS) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (OS) Descriptor() protoreflect.EnumDescriptor { return file_cmd_proto_enumTypes[5].Descriptor() } func (OS) Type() protoreflect.EnumType { return &file_cmd_proto_enumTypes[5] } func (x OS) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use OS.Descriptor instead. func (OS) EnumDescriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{5} } // MAX 最大限定 type MAX int32 const ( MAX_MAX_UNKNOWN MAX = 0 MAX_U8 MAX = 64 MAX_U32 MAX = 8 MAX_FLAG MAX = 4 ) // Enum value maps for MAX. var ( MAX_name = map[int32]string{ 0: "MAX_UNKNOWN", 64: "U8", 8: "U32", 4: "FLAG", } MAX_value = map[string]int32{ "MAX_UNKNOWN": 0, "U8": 64, "U32": 8, "FLAG": 4, } ) func (x MAX) Enum() *MAX { p := new(MAX) *p = x return p } func (x MAX) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (MAX) Descriptor() protoreflect.EnumDescriptor { return file_cmd_proto_enumTypes[6].Descriptor() } func (MAX) Type() protoreflect.EnumType { return &file_cmd_proto_enumTypes[6] } func (x MAX) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use MAX.Descriptor instead. func (MAX) EnumDescriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{6} } // SaasReq 命令请求 type SaasReq struct { state protoimpl.MessageState `protogen:"open.v1"` // Types that are valid to be assigned to Cmd: // // *SaasReq_Info // *SaasReq_Read // *SaasReq_Write // *SaasReq_ColumnWrite // *SaasReq_TaskCreate // *SaasReq_TaskList // *SaasReq_TaskRun // *SaasReq_TaskDelete // *SaasReq_TaskInfo // *SaasReq_TargetList // *SaasReq_TargetCreate // *SaasReq_TargetDelete // *SaasReq_BindSet // *SaasReq_BindDelete // *SaasReq_GrantList // *SaasReq_GrantAdd // *SaasReq_GrantDelete // *SaasReq_ScriptRun // *SaasReq_ScriptCreate // *SaasReq_ScriptList // *SaasReq_ScriptDelete // *SaasReq_ScriptGet // *SaasReq_ScriptUse // *SaasReq_ExpList // *SaasReq_ExpGet Cmd isSaasReq_Cmd `protobuf_oneof:"cmd"` 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) GetCmd() isSaasReq_Cmd { if x != nil { return x.Cmd } return nil } func (x *SaasReq) GetInfo() *Info { if x != nil { if x, ok := x.Cmd.(*SaasReq_Info); ok { return x.Info } } return nil } func (x *SaasReq) GetRead() *Read { if x != nil { if x, ok := x.Cmd.(*SaasReq_Read); ok { return x.Read } } return nil } func (x *SaasReq) GetWrite() *Write { if x != nil { if x, ok := x.Cmd.(*SaasReq_Write); ok { return x.Write } } return nil } func (x *SaasReq) GetColumnWrite() *ColumnWrite { if x != nil { if x, ok := x.Cmd.(*SaasReq_ColumnWrite); ok { return x.ColumnWrite } } return nil } func (x *SaasReq) GetTaskCreate() *Task { if x != nil { if x, ok := x.Cmd.(*SaasReq_TaskCreate); ok { return x.TaskCreate } } return nil } func (x *SaasReq) GetTaskList() *TaskList { if x != nil { if x, ok := x.Cmd.(*SaasReq_TaskList); ok { return x.TaskList } } return nil } func (x *SaasReq) GetTaskRun() *TaskRun { if x != nil { if x, ok := x.Cmd.(*SaasReq_TaskRun); ok { return x.TaskRun } } return nil } func (x *SaasReq) GetTaskDelete() *TaskDelete { if x != nil { if x, ok := x.Cmd.(*SaasReq_TaskDelete); ok { return x.TaskDelete } } return nil } func (x *SaasReq) GetTaskInfo() *TaskInfo { if x != nil { if x, ok := x.Cmd.(*SaasReq_TaskInfo); ok { return x.TaskInfo } } return nil } func (x *SaasReq) GetTargetList() *TargetList { if x != nil { if x, ok := x.Cmd.(*SaasReq_TargetList); ok { return x.TargetList } } return nil } func (x *SaasReq) GetTargetCreate() *TargetCreate { if x != nil { if x, ok := x.Cmd.(*SaasReq_TargetCreate); ok { return x.TargetCreate } } return nil } func (x *SaasReq) GetTargetDelete() *TargetDelete { if x != nil { if x, ok := x.Cmd.(*SaasReq_TargetDelete); ok { return x.TargetDelete } } return nil } func (x *SaasReq) GetBindSet() *BindSet { if x != nil { if x, ok := x.Cmd.(*SaasReq_BindSet); ok { return x.BindSet } } return nil } func (x *SaasReq) GetBindDelete() *BindDelete { if x != nil { if x, ok := x.Cmd.(*SaasReq_BindDelete); ok { return x.BindDelete } } return nil } func (x *SaasReq) GetGrantList() *GrantList { if x != nil { if x, ok := x.Cmd.(*SaasReq_GrantList); ok { return x.GrantList } } return nil } func (x *SaasReq) GetGrantAdd() *Grant { if x != nil { if x, ok := x.Cmd.(*SaasReq_GrantAdd); ok { return x.GrantAdd } } return nil } func (x *SaasReq) GetGrantDelete() *Grant { if x != nil { if x, ok := x.Cmd.(*SaasReq_GrantDelete); ok { return x.GrantDelete } } return nil } func (x *SaasReq) GetScriptRun() *ScriptRun { if x != nil { if x, ok := x.Cmd.(*SaasReq_ScriptRun); ok { return x.ScriptRun } } return nil } func (x *SaasReq) GetScriptCreate() *ScriptCreate { if x != nil { if x, ok := x.Cmd.(*SaasReq_ScriptCreate); ok { return x.ScriptCreate } } return nil } func (x *SaasReq) GetScriptList() *ScriptList { if x != nil { if x, ok := x.Cmd.(*SaasReq_ScriptList); ok { return x.ScriptList } } return nil } func (x *SaasReq) GetScriptDelete() *ScriptDelete { if x != nil { if x, ok := x.Cmd.(*SaasReq_ScriptDelete); ok { return x.ScriptDelete } } return nil } func (x *SaasReq) GetScriptGet() *ScriptGet { if x != nil { if x, ok := x.Cmd.(*SaasReq_ScriptGet); ok { return x.ScriptGet } } return nil } func (x *SaasReq) GetScriptUse() *ScriptUse { if x != nil { if x, ok := x.Cmd.(*SaasReq_ScriptUse); ok { return x.ScriptUse } } return nil } func (x *SaasReq) GetExpList() *ExpList { if x != nil { if x, ok := x.Cmd.(*SaasReq_ExpList); ok { return x.ExpList } } return nil } func (x *SaasReq) GetExpGet() *ExpGet { if x != nil { if x, ok := x.Cmd.(*SaasReq_ExpGet); ok { return x.ExpGet } } return nil } type isSaasReq_Cmd interface { isSaasReq_Cmd() } type SaasReq_Info struct { Info *Info `protobuf:"bytes,5,opt,name=info,proto3,oneof"` // 获取账号设置 } type SaasReq_Read struct { Read *Read `protobuf:"bytes,10,opt,name=read,proto3,oneof"` // 批量读取 } type SaasReq_Write struct { Write *Write `protobuf:"bytes,11,opt,name=write,proto3,oneof"` // 批量写入 } type SaasReq_ColumnWrite struct { ColumnWrite *ColumnWrite `protobuf:"bytes,12,opt,name=column_write,json=columnWrite,proto3,oneof"` // 全量列式写入 } type SaasReq_TaskCreate struct { TaskCreate *Task `protobuf:"bytes,20,opt,name=task_create,json=taskCreate,proto3,oneof"` // 任务创建 } type SaasReq_TaskList struct { TaskList *TaskList `protobuf:"bytes,21,opt,name=task_list,json=taskList,proto3,oneof"` // 列出任务 } type SaasReq_TaskRun struct { TaskRun *TaskRun `protobuf:"bytes,22,opt,name=task_run,json=taskRun,proto3,oneof"` // 执行任务 } type SaasReq_TaskDelete struct { TaskDelete *TaskDelete `protobuf:"bytes,23,opt,name=task_delete,json=taskDelete,proto3,oneof"` // 删除任务 } type SaasReq_TaskInfo struct { TaskInfo *TaskInfo `protobuf:"bytes,24,opt,name=task_info,json=taskInfo,proto3,oneof"` // 任务详情 } type SaasReq_TargetList struct { TargetList *TargetList `protobuf:"bytes,50,opt,name=target_list,json=targetList,proto3,oneof"` // 列出策略及绑定 } type SaasReq_TargetCreate struct { TargetCreate *TargetCreate `protobuf:"bytes,51,opt,name=target_create,json=targetCreate,proto3,oneof"` // 创建策略 } type SaasReq_TargetDelete struct { TargetDelete *TargetDelete `protobuf:"bytes,52,opt,name=target_delete,json=targetDelete,proto3,oneof"` // 删除策略 } type SaasReq_BindSet struct { BindSet *BindSet `protobuf:"bytes,61,opt,name=bind_set,json=bindSet,proto3,oneof"` // 设置绑定 } type SaasReq_BindDelete struct { BindDelete *BindDelete `protobuf:"bytes,62,opt,name=bind_delete,json=bindDelete,proto3,oneof"` // 解除绑定 } type SaasReq_GrantList struct { GrantList *GrantList `protobuf:"bytes,70,opt,name=grant_list,json=grantList,proto3,oneof"` // 列出数据授权 } type SaasReq_GrantAdd struct { GrantAdd *Grant `protobuf:"bytes,71,opt,name=grant_add,json=grantAdd,proto3,oneof"` // 增加数据授权 } type SaasReq_GrantDelete struct { GrantDelete *Grant `protobuf:"bytes,72,opt,name=grant_delete,json=grantDelete,proto3,oneof"` // 删除数据授权 } type SaasReq_ScriptRun struct { ScriptRun *ScriptRun `protobuf:"bytes,90,opt,name=script_run,json=scriptRun,proto3,oneof"` // 运行脚本 } type SaasReq_ScriptCreate struct { ScriptCreate *ScriptCreate `protobuf:"bytes,91,opt,name=script_create,json=scriptCreate,proto3,oneof"` // 脚本创建 } type SaasReq_ScriptList struct { ScriptList *ScriptList `protobuf:"bytes,92,opt,name=script_list,json=scriptList,proto3,oneof"` // 列出脚本 } type SaasReq_ScriptDelete struct { ScriptDelete *ScriptDelete `protobuf:"bytes,93,opt,name=script_delete,json=scriptDelete,proto3,oneof"` // 删除脚本 } type SaasReq_ScriptGet struct { ScriptGet *ScriptGet `protobuf:"bytes,94,opt,name=script_get,json=scriptGet,proto3,oneof"` // 获取脚本内容 } type SaasReq_ScriptUse struct { ScriptUse *ScriptUse `protobuf:"bytes,95,opt,name=script_use,json=scriptUse,proto3,oneof"` // 使用脚本 } type SaasReq_ExpList struct { ExpList *ExpList `protobuf:"bytes,100,opt,name=exp_list,json=expList,proto3,oneof"` // 列出实验 } type SaasReq_ExpGet struct { ExpGet *ExpGet `protobuf:"bytes,101,opt,name=exp_get,json=expGet,proto3,oneof"` // 获取实验报表 } func (*SaasReq_Info) isSaasReq_Cmd() {} func (*SaasReq_Read) isSaasReq_Cmd() {} func (*SaasReq_Write) isSaasReq_Cmd() {} func (*SaasReq_ColumnWrite) isSaasReq_Cmd() {} func (*SaasReq_TaskCreate) isSaasReq_Cmd() {} func (*SaasReq_TaskList) isSaasReq_Cmd() {} func (*SaasReq_TaskRun) isSaasReq_Cmd() {} func (*SaasReq_TaskDelete) isSaasReq_Cmd() {} func (*SaasReq_TaskInfo) isSaasReq_Cmd() {} func (*SaasReq_TargetList) isSaasReq_Cmd() {} func (*SaasReq_TargetCreate) isSaasReq_Cmd() {} func (*SaasReq_TargetDelete) isSaasReq_Cmd() {} func (*SaasReq_BindSet) isSaasReq_Cmd() {} func (*SaasReq_BindDelete) isSaasReq_Cmd() {} func (*SaasReq_GrantList) isSaasReq_Cmd() {} func (*SaasReq_GrantAdd) isSaasReq_Cmd() {} func (*SaasReq_GrantDelete) isSaasReq_Cmd() {} func (*SaasReq_ScriptRun) isSaasReq_Cmd() {} func (*SaasReq_ScriptCreate) isSaasReq_Cmd() {} func (*SaasReq_ScriptList) isSaasReq_Cmd() {} func (*SaasReq_ScriptDelete) isSaasReq_Cmd() {} func (*SaasReq_ScriptGet) isSaasReq_Cmd() {} func (*SaasReq_ScriptUse) isSaasReq_Cmd() {} func (*SaasReq_ExpList) isSaasReq_Cmd() {} func (*SaasReq_ExpGet) isSaasReq_Cmd() {} // Info 获取账号信息 type Info struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Info) Reset() { *x = Info{} mi := &file_cmd_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Info) String() string { return protoimpl.X.MessageStringOf(x) } func (*Info) ProtoMessage() {} func (x *Info) 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 Info.ProtoReflect.Descriptor instead. func (*Info) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{1} } // Read 批量读取命令 type Read struct { state protoimpl.MessageState `protogen:"open.v1"` DataspaceId string `protobuf:"bytes,1,opt,name=dataspace_id,json=dataspaceId,proto3" json:"dataspace_id,omitempty"` // 数据空间ID Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` // 小程序/小游戏/公众号/视频号的appid ReadItems []*ReadItem `protobuf:"bytes,3,rep,name=read_items,json=readItems,proto3" json:"read_items,omitempty"` // 批量获取命令 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Read) Reset() { *x = Read{} mi := &file_cmd_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Read) String() string { return protoimpl.X.MessageStringOf(x) } func (*Read) ProtoMessage() {} func (x *Read) 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 Read.ProtoReflect.Descriptor instead. func (*Read) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{2} } func (x *Read) GetDataspaceId() string { if x != nil { return x.DataspaceId } return "" } func (x *Read) GetAppid() string { if x != nil { return x.Appid } return "" } func (x *Read) GetReadItems() []*ReadItem { if x != nil { return x.ReadItems } return nil } // ReadItem 读取命令 type ReadItem struct { state protoimpl.MessageState `protogen:"open.v1"` Userid string `protobuf:"bytes,1,opt,name=userid,proto3" json:"userid,omitempty"` // 用户ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ReadItem) Reset() { *x = ReadItem{} mi := &file_cmd_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ReadItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*ReadItem) ProtoMessage() {} func (x *ReadItem) 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 ReadItem.ProtoReflect.Descriptor instead. func (*ReadItem) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{3} } func (x *ReadItem) GetUserid() string { if x != nil { return x.Userid } return "" } // Write 批量写入命令 type Write struct { state protoimpl.MessageState `protogen:"open.v1"` DataspaceId string `protobuf:"bytes,1,opt,name=dataspace_id,json=dataspaceId,proto3" json:"dataspace_id,omitempty"` // 数据空间ID Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` // 小程序/小游戏/公众号/视频号的appid IsClearAllFirst bool `protobuf:"varint,3,opt,name=is_clear_all_first,json=isClearAllFirst,proto3" json:"is_clear_all_first,omitempty"` // 是否先清空该用户所有数据 WriteItems []*WriteItem `protobuf:"bytes,4,rep,name=write_items,json=writeItems,proto3" json:"write_items,omitempty"` // 批量写入命令 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Write) Reset() { *x = Write{} mi := &file_cmd_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Write) String() string { return protoimpl.X.MessageStringOf(x) } func (*Write) ProtoMessage() {} func (x *Write) 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 Write.ProtoReflect.Descriptor instead. func (*Write) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{4} } func (x *Write) GetDataspaceId() string { if x != nil { return x.DataspaceId } return "" } func (x *Write) GetAppid() string { if x != nil { return x.Appid } return "" } func (x *Write) GetIsClearAllFirst() bool { if x != nil { return x.IsClearAllFirst } return false } func (x *Write) GetWriteItems() []*WriteItem { if x != nil { return x.WriteItems } return nil } // WriteItem 写入命令 type WriteItem struct { state protoimpl.MessageState `protogen:"open.v1"` Userid string `protobuf:"bytes,1,opt,name=userid,proto3" json:"userid,omitempty"` // 用户ID WriteBytes *Bytes `protobuf:"bytes,2,opt,name=write_bytes,json=writeBytes,proto3" json:"write_bytes,omitempty"` // byte区域 WriteUint32S *Uint32S `protobuf:"bytes,3,opt,name=write_uint32s,json=writeUint32s,proto3" json:"write_uint32s,omitempty"` // uint32区域 WriteFlagsWithExpire *FlagsWithExpire `protobuf:"bytes,4,opt,name=write_flags_with_expire,json=writeFlagsWithExpire,proto3" json:"write_flags_with_expire,omitempty"` // 标志位区域 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *WriteItem) Reset() { *x = WriteItem{} mi := &file_cmd_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *WriteItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*WriteItem) ProtoMessage() {} func (x *WriteItem) 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 WriteItem.ProtoReflect.Descriptor instead. func (*WriteItem) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{5} } func (x *WriteItem) GetUserid() string { if x != nil { return x.Userid } return "" } func (x *WriteItem) GetWriteBytes() *Bytes { if x != nil { return x.WriteBytes } return nil } func (x *WriteItem) GetWriteUint32S() *Uint32S { if x != nil { return x.WriteUint32S } return nil } func (x *WriteItem) GetWriteFlagsWithExpire() *FlagsWithExpire { if x != nil { return x.WriteFlagsWithExpire } return nil } // Bytes 写入byte区域 type Bytes 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) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Bytes) Reset() { *x = Bytes{} mi := &file_cmd_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Bytes) String() string { return protoimpl.X.MessageStringOf(x) } func (*Bytes) ProtoMessage() {} func (x *Bytes) 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 Bytes.ProtoReflect.Descriptor instead. func (*Bytes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{6} } func (x *Bytes) GetBytes() []byte { if x != nil { return x.Bytes } return nil } func (x *Bytes) GetIndex_1() uint64 { if x != nil { return x.Index_1 } return 0 } // Uint32s 写入uint32区域 type Uint32S 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..7) 最多 8 个 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Uint32S) Reset() { *x = Uint32S{} mi := &file_cmd_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Uint32S) String() string { return protoimpl.X.MessageStringOf(x) } func (*Uint32S) ProtoMessage() {} func (x *Uint32S) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[7] 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 Uint32S.ProtoReflect.Descriptor instead. func (*Uint32S) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{7} } func (x *Uint32S) GetUint32S() []uint32 { if x != nil { return x.Uint32S } return nil } func (x *Uint32S) GetIndex_1() uint64 { if x != nil { return x.Index_1 } return 0 } // FlagsWithExpire 写入标志位区域 type FlagsWithExpire 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"` // 写入标志位的索引值(0..3) 最多 4 个 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FlagsWithExpire) Reset() { *x = FlagsWithExpire{} mi := &file_cmd_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FlagsWithExpire) String() string { return protoimpl.X.MessageStringOf(x) } func (*FlagsWithExpire) ProtoMessage() {} func (x *FlagsWithExpire) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[8] 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 FlagsWithExpire.ProtoReflect.Descriptor instead. func (*FlagsWithExpire) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{8} } func (x *FlagsWithExpire) GetFlagsWithExpire() []*FlagWithExpire { if x != nil { return x.FlagsWithExpire } return nil } func (x *FlagsWithExpire) 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[9] 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[9] 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{9} } 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 } // ColumnWrite 全量列式写入命令 type ColumnWrite struct { state protoimpl.MessageState `protogen:"open.v1"` DataspaceId string `protobuf:"bytes,1,opt,name=dataspace_id,json=dataspaceId,proto3" json:"dataspace_id,omitempty"` // 数据空间ID IsClearAllFirst bool `protobuf:"varint,2,opt,name=is_clear_all_first,json=isClearAllFirst,proto3" json:"is_clear_all_first,omitempty"` // 是否先执行清空 WriteBytes *Bytes `protobuf:"bytes,3,opt,name=write_bytes,json=writeBytes,proto3" json:"write_bytes,omitempty"` // byte区域 WriteUint32S *Uint32S `protobuf:"bytes,4,opt,name=write_uint32s,json=writeUint32s,proto3" json:"write_uint32s,omitempty"` // uint32区域 WriteFlagsWithExpire *FlagsWithExpire `protobuf:"bytes,5,opt,name=write_flags_with_expire,json=writeFlagsWithExpire,proto3" json:"write_flags_with_expire,omitempty"` // 标志位区域 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ColumnWrite) Reset() { *x = ColumnWrite{} mi := &file_cmd_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ColumnWrite) String() string { return protoimpl.X.MessageStringOf(x) } func (*ColumnWrite) ProtoMessage() {} func (x *ColumnWrite) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[10] 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 ColumnWrite.ProtoReflect.Descriptor instead. func (*ColumnWrite) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{10} } func (x *ColumnWrite) GetDataspaceId() string { if x != nil { return x.DataspaceId } return "" } func (x *ColumnWrite) GetIsClearAllFirst() bool { if x != nil { return x.IsClearAllFirst } return false } func (x *ColumnWrite) GetWriteBytes() *Bytes { if x != nil { return x.WriteBytes } return nil } func (x *ColumnWrite) GetWriteUint32S() *Uint32S { if x != nil { return x.WriteUint32S } return nil } func (x *ColumnWrite) GetWriteFlagsWithExpire() *FlagsWithExpire { if x != nil { return x.WriteFlagsWithExpire } return nil } type Task struct { state protoimpl.MessageState `protogen:"open.v1"` DataspaceId string `protobuf:"bytes,1,opt,name=dataspace_id,json=dataspaceId,proto3" json:"dataspace_id,omitempty"` // 数据空间ID Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` // 小程序/小游戏/公众号/视频号的appid TaskSha256 string `protobuf:"bytes,3,opt,name=task_sha256,json=taskSha256,proto3" json:"task_sha256,omitempty"` // 任务sha256 TaskDescription string `protobuf:"bytes,4,opt,name=task_description,json=taskDescription,proto3" json:"task_description,omitempty"` // 任务描述 TaskFileInfos []*FileInfo `protobuf:"bytes,5,rep,name=task_file_infos,json=taskFileInfos,proto3" json:"task_file_infos,omitempty"` // 文件列表 TaskBlockSize uint64 `protobuf:"varint,6,opt,name=task_block_size,json=taskBlockSize,proto3" json:"task_block_size,omitempty"` // 文件块字节大小(推荐50M) SourcePath string `protobuf:"bytes,7,opt,name=source_path,json=sourcePath,proto3" json:"source_path,omitempty"` // 任务数据源路径 TaskSize uint64 `protobuf:"varint,8,opt,name=task_size,json=taskSize,proto3" json:"task_size,omitempty"` // 任务所有文件的总大小 // 以下字段只在返回时填写,用于提供服务端的任务状态。在请求时填写会被忽略 CreateTime string `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // 创建时间 RunTime string `protobuf:"bytes,11,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"` // 运行时间 FinishTime string `protobuf:"bytes,12,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` // 完成时间 RunningBlock uint32 `protobuf:"varint,13,opt,name=running_block,json=runningBlock,proto3" json:"running_block,omitempty"` // 正在运行的块编号 TotalBlock uint32 `protobuf:"varint,14,opt,name=total_block,json=totalBlock,proto3" json:"total_block,omitempty"` // 总块数 Status TaskStatus `protobuf:"varint,15,opt,name=status,proto3,enum=saasapi.TaskStatus" json:"status,omitempty"` // 任务状态 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Task) Reset() { *x = Task{} mi := &file_cmd_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Task) String() string { return protoimpl.X.MessageStringOf(x) } func (*Task) ProtoMessage() {} func (x *Task) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[11] 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 Task.ProtoReflect.Descriptor instead. func (*Task) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{11} } func (x *Task) GetDataspaceId() string { if x != nil { return x.DataspaceId } return "" } func (x *Task) GetAppid() string { if x != nil { return x.Appid } return "" } func (x *Task) GetTaskSha256() string { if x != nil { return x.TaskSha256 } return "" } func (x *Task) GetTaskDescription() string { if x != nil { return x.TaskDescription } return "" } func (x *Task) GetTaskFileInfos() []*FileInfo { if x != nil { return x.TaskFileInfos } return nil } func (x *Task) GetTaskBlockSize() uint64 { if x != nil { return x.TaskBlockSize } return 0 } func (x *Task) GetSourcePath() string { if x != nil { return x.SourcePath } return "" } func (x *Task) GetTaskSize() uint64 { if x != nil { return x.TaskSize } return 0 } func (x *Task) GetCreateTime() string { if x != nil { return x.CreateTime } return "" } func (x *Task) GetRunTime() string { if x != nil { return x.RunTime } return "" } func (x *Task) GetFinishTime() string { if x != nil { return x.FinishTime } return "" } func (x *Task) GetRunningBlock() uint32 { if x != nil { return x.RunningBlock } return 0 } func (x *Task) GetTotalBlock() uint32 { if x != nil { return x.TotalBlock } return 0 } func (x *Task) GetStatus() TaskStatus { if x != nil { return x.Status } return TaskStatus_ALL } // TaskList 任务列表 type TaskList struct { state protoimpl.MessageState `protogen:"open.v1"` StatusFilter TaskStatus `protobuf:"varint,1,opt,name=status_filter,json=statusFilter,proto3,enum=saasapi.TaskStatus" json:"status_filter,omitempty"` // 只显示指定状态的任务 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TaskList) Reset() { *x = TaskList{} mi := &file_cmd_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TaskList) String() string { return protoimpl.X.MessageStringOf(x) } func (*TaskList) ProtoMessage() {} func (x *TaskList) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[12] 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 TaskList.ProtoReflect.Descriptor instead. func (*TaskList) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{12} } func (x *TaskList) GetStatusFilter() TaskStatus { if x != nil { return x.StatusFilter } return TaskStatus_ALL } // TaskRun 任务运行 type TaskRun struct { state protoimpl.MessageState `protogen:"open.v1"` TaskSha256 string `protobuf:"bytes,1,opt,name=task_sha256,json=taskSha256,proto3" json:"task_sha256,omitempty"` // 任务sha256 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TaskRun) Reset() { *x = TaskRun{} mi := &file_cmd_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TaskRun) String() string { return protoimpl.X.MessageStringOf(x) } func (*TaskRun) ProtoMessage() {} func (x *TaskRun) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[13] 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 TaskRun.ProtoReflect.Descriptor instead. func (*TaskRun) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{13} } func (x *TaskRun) GetTaskSha256() string { if x != nil { return x.TaskSha256 } return "" } // TaskDelete 取消任务 type TaskDelete struct { state protoimpl.MessageState `protogen:"open.v1"` TaskSha256 string `protobuf:"bytes,1,opt,name=task_sha256,json=taskSha256,proto3" json:"task_sha256,omitempty"` // 任务sha256 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TaskDelete) Reset() { *x = TaskDelete{} mi := &file_cmd_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TaskDelete) String() string { return protoimpl.X.MessageStringOf(x) } func (*TaskDelete) ProtoMessage() {} func (x *TaskDelete) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[14] 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 TaskDelete.ProtoReflect.Descriptor instead. func (*TaskDelete) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{14} } func (x *TaskDelete) GetTaskSha256() string { if x != nil { return x.TaskSha256 } return "" } // TaskInfo 任务详情 type TaskInfo struct { state protoimpl.MessageState `protogen:"open.v1"` TaskSha256 string `protobuf:"bytes,1,opt,name=task_sha256,json=taskSha256,proto3" json:"task_sha256,omitempty"` // 任务sha256 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TaskInfo) Reset() { *x = TaskInfo{} mi := &file_cmd_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TaskInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*TaskInfo) ProtoMessage() {} func (x *TaskInfo) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[15] 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 TaskInfo.ProtoReflect.Descriptor instead. func (*TaskInfo) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{15} } func (x *TaskInfo) GetTaskSha256() string { if x != nil { return x.TaskSha256 } return "" } // FileInfo 任务文件信息 type FileInfo struct { state protoimpl.MessageState `protogen:"open.v1"` FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // 文件名 FileSize uint64 `protobuf:"varint,2,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` // 文件大小 FileBlocks []*FileBlock `protobuf:"bytes,3,rep,name=file_blocks,json=fileBlocks,proto3" json:"file_blocks,omitempty"` // 文件块列表 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FileInfo) Reset() { *x = FileInfo{} mi := &file_cmd_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FileInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*FileInfo) ProtoMessage() {} func (x *FileInfo) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[16] 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 FileInfo.ProtoReflect.Descriptor instead. func (*FileInfo) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{16} } func (x *FileInfo) GetFileName() string { if x != nil { return x.FileName } return "" } func (x *FileInfo) GetFileSize() uint64 { if x != nil { return x.FileSize } return 0 } func (x *FileInfo) GetFileBlocks() []*FileBlock { if x != nil { return x.FileBlocks } return nil } // FileBlock 文件块信息 type FileBlock struct { state protoimpl.MessageState `protogen:"open.v1"` BlockSha256 string `protobuf:"bytes,1,opt,name=block_sha256,json=blockSha256,proto3" json:"block_sha256,omitempty"` // 块的sha256 BlockLength uint64 `protobuf:"varint,2,opt,name=block_length,json=blockLength,proto3" json:"block_length,omitempty"` // 块的字节长度 Uploaded bool `protobuf:"varint,3,opt,name=uploaded,proto3" json:"uploaded,omitempty"` // 是否已上传(在TaskCreate/TaskInfo请求返回) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FileBlock) Reset() { *x = FileBlock{} mi := &file_cmd_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FileBlock) String() string { return protoimpl.X.MessageStringOf(x) } func (*FileBlock) ProtoMessage() {} func (x *FileBlock) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[17] 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 FileBlock.ProtoReflect.Descriptor instead. func (*FileBlock) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{17} } func (x *FileBlock) GetBlockSha256() string { if x != nil { return x.BlockSha256 } return "" } func (x *FileBlock) GetBlockLength() uint64 { if x != nil { return x.BlockLength } return 0 } func (x *FileBlock) GetUploaded() bool { if x != nil { return x.Uploaded } return false } // TargetList 列出策略 type TargetList struct { state protoimpl.MessageState `protogen:"open.v1"` Targets []string `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"` // 指定要列出的绑定的策略列表,如不指定则返回全部 ListBind bool `protobuf:"varint,2,opt,name=list_bind,json=listBind,proto3" json:"list_bind,omitempty"` // 是否同时列出绑定信息 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TargetList) Reset() { *x = TargetList{} mi := &file_cmd_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TargetList) String() string { return protoimpl.X.MessageStringOf(x) } func (*TargetList) ProtoMessage() {} func (x *TargetList) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[18] 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 TargetList.ProtoReflect.Descriptor instead. func (*TargetList) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{18} } func (x *TargetList) GetTargets() []string { if x != nil { return x.Targets } return nil } func (x *TargetList) GetListBind() bool { if x != nil { return x.ListBind } return false } // TargetCreate 创建策略 type TargetCreate struct { state protoimpl.MessageState `protogen:"open.v1"` TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` // 策略ID TargetDescription string `protobuf:"bytes,2,opt,name=target_description,json=targetDescription,proto3" json:"target_description,omitempty"` // 策略描述 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TargetCreate) Reset() { *x = TargetCreate{} mi := &file_cmd_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TargetCreate) String() string { return protoimpl.X.MessageStringOf(x) } func (*TargetCreate) ProtoMessage() {} func (x *TargetCreate) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[19] 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 TargetCreate.ProtoReflect.Descriptor instead. func (*TargetCreate) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{19} } func (x *TargetCreate) GetTargetId() string { if x != nil { return x.TargetId } return "" } func (x *TargetCreate) GetTargetDescription() string { if x != nil { return x.TargetDescription } return "" } // TargetDelete 删除策略 type TargetDelete struct { state protoimpl.MessageState `protogen:"open.v1"` TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` // 策略ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TargetDelete) Reset() { *x = TargetDelete{} mi := &file_cmd_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TargetDelete) String() string { return protoimpl.X.MessageStringOf(x) } func (*TargetDelete) ProtoMessage() {} func (x *TargetDelete) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[20] 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 TargetDelete.ProtoReflect.Descriptor instead. func (*TargetDelete) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{20} } func (x *TargetDelete) GetTargetId() string { if x != nil { return x.TargetId } return "" } // BindSet 设置绑定 type BindSet struct { state protoimpl.MessageState `protogen:"open.v1"` Binds []*Bind `protobuf:"bytes,2,rep,name=binds,proto3" json:"binds,omitempty"` // 设置绑定内容 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BindSet) Reset() { *x = BindSet{} mi := &file_cmd_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BindSet) String() string { return protoimpl.X.MessageStringOf(x) } func (*BindSet) ProtoMessage() {} func (x *BindSet) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[21] 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 BindSet.ProtoReflect.Descriptor instead. func (*BindSet) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{21} } func (x *BindSet) GetBinds() []*Bind { if x != nil { return x.Binds } return nil } // BindDelete 删除绑定 type BindDelete struct { state protoimpl.MessageState `protogen:"open.v1"` Binds []*Bind `protobuf:"bytes,2,rep,name=binds,proto3" json:"binds,omitempty"` // 解除绑定内容 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BindDelete) Reset() { *x = BindDelete{} mi := &file_cmd_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BindDelete) String() string { return protoimpl.X.MessageStringOf(x) } func (*BindDelete) ProtoMessage() {} func (x *BindDelete) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[22] 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 BindDelete.ProtoReflect.Descriptor instead. func (*BindDelete) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{22} } func (x *BindDelete) GetBinds() []*Bind { if x != nil { return x.Binds } return nil } // GrantList 列出数据授权 type GrantList struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GrantList) Reset() { *x = GrantList{} mi := &file_cmd_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GrantList) String() string { return protoimpl.X.MessageStringOf(x) } func (*GrantList) ProtoMessage() {} func (x *GrantList) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[23] 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 GrantList.ProtoReflect.Descriptor instead. func (*GrantList) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{23} } // Grant 数据授权信息 type Grant struct { state protoimpl.MessageState `protogen:"open.v1"` SrtaAccountId uint32 `protobuf:"varint,1,opt,name=srta_account_id,json=srtaAccountId,proto3" json:"srta_account_id,omitempty"` // sRTA授权目标账号ID GrantIndex string `protobuf:"bytes,2,opt,name=grant_index,json=grantIndex,proto3" json:"grant_index,omitempty"` // 授权索引。格式为 "index1, index2, index55-index64",例如 "1, 2, 55-64" DataspaceId string `protobuf:"bytes,3,opt,name=dataspace_id,json=dataspaceId,proto3" json:"dataspace_id,omitempty"` // 授权数据空间ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Grant) Reset() { *x = Grant{} mi := &file_cmd_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Grant) String() string { return protoimpl.X.MessageStringOf(x) } func (*Grant) ProtoMessage() {} func (x *Grant) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[24] 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 Grant.ProtoReflect.Descriptor instead. func (*Grant) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{24} } func (x *Grant) GetSrtaAccountId() uint32 { if x != nil { return x.SrtaAccountId } return 0 } func (x *Grant) GetGrantIndex() string { if x != nil { return x.GrantIndex } return "" } func (x *Grant) GetDataspaceId() string { if x != nil { return x.DataspaceId } return "" } // ScriptRun 运行脚本 type ScriptRun struct { state protoimpl.MessageState `protogen:"open.v1"` LuaScript string `protobuf:"bytes,1,opt,name=lua_script,json=luaScript,proto3" json:"lua_script,omitempty"` // 要调试的lua脚本 ServerDid string `protobuf:"bytes,2,opt,name=server_did,json=serverDid,proto3" json:"server_did,omitempty"` // 将从服务端读取该DID下的数据 Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` // 小程序/小游戏/公众号/视频号的appid ServerOpenid string `protobuf:"bytes,4,opt,name=server_openid,json=serverOpenid,proto3" json:"server_openid,omitempty"` // 将从服务端读取该openid下的数据,需与appid配对使用 Os OS `protobuf:"varint,5,opt,name=os,proto3,enum=saasapi.OS" json:"os,omitempty"` // 操作系统 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScriptRun) Reset() { *x = ScriptRun{} mi := &file_cmd_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScriptRun) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScriptRun) ProtoMessage() {} func (x *ScriptRun) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[25] 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 ScriptRun.ProtoReflect.Descriptor instead. func (*ScriptRun) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{25} } func (x *ScriptRun) GetLuaScript() string { if x != nil { return x.LuaScript } return "" } func (x *ScriptRun) GetServerDid() string { if x != nil { return x.ServerDid } return "" } func (x *ScriptRun) GetAppid() string { if x != nil { return x.Appid } return "" } func (x *ScriptRun) GetServerOpenid() string { if x != nil { return x.ServerOpenid } return "" } func (x *ScriptRun) GetOs() OS { if x != nil { return x.Os } return OS_OS_UNKNOWN } // ScriptCreate 创建脚本 type ScriptCreate struct { state protoimpl.MessageState `protogen:"open.v1"` LuaName string `protobuf:"bytes,1,opt,name=lua_name,json=luaName,proto3" json:"lua_name,omitempty"` // 要上传的脚本名称 LuaScript string `protobuf:"bytes,2,opt,name=lua_script,json=luaScript,proto3" json:"lua_script,omitempty"` // 要调试的lua脚本 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScriptCreate) Reset() { *x = ScriptCreate{} mi := &file_cmd_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScriptCreate) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScriptCreate) ProtoMessage() {} func (x *ScriptCreate) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[26] 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 ScriptCreate.ProtoReflect.Descriptor instead. func (*ScriptCreate) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{26} } func (x *ScriptCreate) GetLuaName() string { if x != nil { return x.LuaName } return "" } func (x *ScriptCreate) GetLuaScript() string { if x != nil { return x.LuaScript } return "" } // ScriptList 列出脚本 type ScriptList struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScriptList) Reset() { *x = ScriptList{} mi := &file_cmd_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScriptList) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScriptList) ProtoMessage() {} func (x *ScriptList) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[27] 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 ScriptList.ProtoReflect.Descriptor instead. func (*ScriptList) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{27} } // ScriptDelete 删除脚本 type ScriptDelete struct { state protoimpl.MessageState `protogen:"open.v1"` LuaName string `protobuf:"bytes,1,opt,name=lua_name,json=luaName,proto3" json:"lua_name,omitempty"` // 要删除的脚本名称 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScriptDelete) Reset() { *x = ScriptDelete{} mi := &file_cmd_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScriptDelete) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScriptDelete) ProtoMessage() {} func (x *ScriptDelete) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[28] 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 ScriptDelete.ProtoReflect.Descriptor instead. func (*ScriptDelete) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{28} } func (x *ScriptDelete) GetLuaName() string { if x != nil { return x.LuaName } return "" } // ScriptGet 获取脚本 type ScriptGet struct { state protoimpl.MessageState `protogen:"open.v1"` LuaName string `protobuf:"bytes,1,opt,name=lua_name,json=luaName,proto3" json:"lua_name,omitempty"` // 要获取的脚本名称 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScriptGet) Reset() { *x = ScriptGet{} mi := &file_cmd_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScriptGet) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScriptGet) ProtoMessage() {} func (x *ScriptGet) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[29] 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 ScriptGet.ProtoReflect.Descriptor instead. func (*ScriptGet) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{29} } func (x *ScriptGet) GetLuaName() string { if x != nil { return x.LuaName } return "" } // ScriptUse 使用脚本 type ScriptUse struct { state protoimpl.MessageState `protogen:"open.v1"` LuaName string `protobuf:"bytes,1,opt,name=lua_name,json=luaName,proto3" json:"lua_name,omitempty"` // 要使用的脚本名称 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScriptUse) Reset() { *x = ScriptUse{} mi := &file_cmd_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScriptUse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScriptUse) ProtoMessage() {} func (x *ScriptUse) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[30] 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 ScriptUse.ProtoReflect.Descriptor instead. func (*ScriptUse) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{30} } func (x *ScriptUse) GetLuaName() string { if x != nil { return x.LuaName } return "" } // ExpList 列出实验 type ExpList struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExpList) Reset() { *x = ExpList{} mi := &file_cmd_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExpList) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExpList) ProtoMessage() {} func (x *ExpList) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[31] 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 ExpList.ProtoReflect.Descriptor instead. func (*ExpList) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{31} } // ExpGet 获取实验报表 // select base_fields, {EXT_FIELDS} // where day between {WHERE_BEGIN_DAY} and {WHERE_END_DAY} // // and expid in {WHERE_EXP_ID} // and target = {WHERE_TARGET} // and advertiser_id in {WHERE_ADVERTISER_ID} // // group by {GROUP_BY} type ExpGet struct { state protoimpl.MessageState `protogen:"open.v1"` ExtFields []string `protobuf:"bytes,1,rep,name=ext_fields,json=extFields,proto3" json:"ext_fields,omitempty"` // 扩展字段(除基础字段必然输出外,其余字段需在这里填写,也可以使用*输出全部扩展字段) WhereBeginDay uint64 `protobuf:"varint,10,opt,name=where_begin_day,json=whereBeginDay,proto3" json:"where_begin_day,omitempty"` // 起始日期 WhereEndDay uint64 `protobuf:"varint,11,opt,name=where_end_day,json=whereEndDay,proto3" json:"where_end_day,omitempty"` // 结束日期 WhereBucketId []uint32 `protobuf:"varint,12,rep,packed,name=where_bucket_id,json=whereBucketId,proto3" json:"where_bucket_id,omitempty"` // 实验ID(1-10) WhereTarget string `protobuf:"bytes,13,opt,name=where_target,json=whereTarget,proto3" json:"where_target,omitempty"` // 策略ID WhereAdvertiserId []uint64 `protobuf:"varint,14,rep,packed,name=where_advertiser_id,json=whereAdvertiserId,proto3" json:"where_advertiser_id,omitempty"` // 广告主ID GroupBy []string `protobuf:"bytes,20,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` // 当前支持广告主ID(advertiser_id) TotalFlag uint32 `protobuf:"varint,30,opt,name=total_flag,json=totalFlag,proto3" json:"total_flag,omitempty"` // 是否汇总,0=不汇总,1=汇总 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExpGet) Reset() { *x = ExpGet{} mi := &file_cmd_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExpGet) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExpGet) ProtoMessage() {} func (x *ExpGet) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[32] 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 ExpGet.ProtoReflect.Descriptor instead. func (*ExpGet) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{32} } func (x *ExpGet) GetExtFields() []string { if x != nil { return x.ExtFields } return nil } func (x *ExpGet) GetWhereBeginDay() uint64 { if x != nil { return x.WhereBeginDay } return 0 } func (x *ExpGet) GetWhereEndDay() uint64 { if x != nil { return x.WhereEndDay } return 0 } func (x *ExpGet) GetWhereBucketId() []uint32 { if x != nil { return x.WhereBucketId } return nil } func (x *ExpGet) GetWhereTarget() string { if x != nil { return x.WhereTarget } return "" } func (x *ExpGet) GetWhereAdvertiserId() []uint64 { if x != nil { return x.WhereAdvertiserId } return nil } func (x *ExpGet) GetGroupBy() []string { if x != nil { return x.GroupBy } return nil } func (x *ExpGet) GetTotalFlag() uint32 { if x != nil { return x.TotalFlag } return 0 } // SaasRes 命令返回 type SaasRes struct { state protoimpl.MessageState `protogen:"open.v1"` Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=saasapi.ErrorCode" json:"code,omitempty"` // 返回码 Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // 返回信息的文本提示 // Types that are valid to be assigned to Res: // // *SaasRes_InfoRes // *SaasRes_ReadRes // *SaasRes_WriteRes // *SaasRes_TaskCreateRes // *SaasRes_TaskListRes // *SaasRes_TaskRunRes // *SaasRes_TaskDeleteRes // *SaasRes_TaskInfoRes // *SaasRes_TargetListRes // *SaasRes_TargetCreateRes // *SaasRes_TargetDeleteRes // *SaasRes_BindSetRes // *SaasRes_BindDeleteRes // *SaasRes_GrantListRes // *SaasRes_GrantAddRes // *SaasRes_GrantDeleteRes // *SaasRes_ScriptRunRes // *SaasRes_ScriptCreateRes // *SaasRes_ScriptListRes // *SaasRes_ScriptDeleteRes // *SaasRes_ScriptGetRes // *SaasRes_ScriptUseRes // *SaasRes_ExpListRes // *SaasRes_ExpGetRes Res isSaasRes_Res `protobuf_oneof:"res"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SaasRes) Reset() { *x = SaasRes{} mi := &file_cmd_proto_msgTypes[33] 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[33] 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{33} } func (x *SaasRes) GetCode() ErrorCode { if x != nil { return x.Code } return ErrorCode_SUCC } func (x *SaasRes) GetStatus() string { if x != nil { return x.Status } return "" } func (x *SaasRes) GetRes() isSaasRes_Res { if x != nil { return x.Res } return nil } func (x *SaasRes) GetInfoRes() *InfoRes { if x != nil { if x, ok := x.Res.(*SaasRes_InfoRes); ok { return x.InfoRes } } return nil } func (x *SaasRes) GetReadRes() *ReadRes { if x != nil { if x, ok := x.Res.(*SaasRes_ReadRes); ok { return x.ReadRes } } return nil } func (x *SaasRes) GetWriteRes() *WriteRes { if x != nil { if x, ok := x.Res.(*SaasRes_WriteRes); ok { return x.WriteRes } } return nil } func (x *SaasRes) GetTaskCreateRes() *Task { if x != nil { if x, ok := x.Res.(*SaasRes_TaskCreateRes); ok { return x.TaskCreateRes } } return nil } func (x *SaasRes) GetTaskListRes() *TaskListRes { if x != nil { if x, ok := x.Res.(*SaasRes_TaskListRes); ok { return x.TaskListRes } } return nil } func (x *SaasRes) GetTaskRunRes() *Task { if x != nil { if x, ok := x.Res.(*SaasRes_TaskRunRes); ok { return x.TaskRunRes } } return nil } func (x *SaasRes) GetTaskDeleteRes() *Task { if x != nil { if x, ok := x.Res.(*SaasRes_TaskDeleteRes); ok { return x.TaskDeleteRes } } return nil } func (x *SaasRes) GetTaskInfoRes() *Task { if x != nil { if x, ok := x.Res.(*SaasRes_TaskInfoRes); ok { return x.TaskInfoRes } } return nil } func (x *SaasRes) GetTargetListRes() *TargetListRes { if x != nil { if x, ok := x.Res.(*SaasRes_TargetListRes); ok { return x.TargetListRes } } return nil } func (x *SaasRes) GetTargetCreateRes() *TargetCreateRes { if x != nil { if x, ok := x.Res.(*SaasRes_TargetCreateRes); ok { return x.TargetCreateRes } } return nil } func (x *SaasRes) GetTargetDeleteRes() *TargetDeleteRes { if x != nil { if x, ok := x.Res.(*SaasRes_TargetDeleteRes); ok { return x.TargetDeleteRes } } return nil } func (x *SaasRes) GetBindSetRes() *BindSetRes { if x != nil { if x, ok := x.Res.(*SaasRes_BindSetRes); ok { return x.BindSetRes } } return nil } func (x *SaasRes) GetBindDeleteRes() *BindDeleteRes { if x != nil { if x, ok := x.Res.(*SaasRes_BindDeleteRes); ok { return x.BindDeleteRes } } return nil } func (x *SaasRes) GetGrantListRes() *GrantListRes { if x != nil { if x, ok := x.Res.(*SaasRes_GrantListRes); ok { return x.GrantListRes } } return nil } func (x *SaasRes) GetGrantAddRes() *Grant { if x != nil { if x, ok := x.Res.(*SaasRes_GrantAddRes); ok { return x.GrantAddRes } } return nil } func (x *SaasRes) GetGrantDeleteRes() *Grant { if x != nil { if x, ok := x.Res.(*SaasRes_GrantDeleteRes); ok { return x.GrantDeleteRes } } return nil } func (x *SaasRes) GetScriptRunRes() *ScriptRunRes { if x != nil { if x, ok := x.Res.(*SaasRes_ScriptRunRes); ok { return x.ScriptRunRes } } return nil } func (x *SaasRes) GetScriptCreateRes() *ScriptCreateRes { if x != nil { if x, ok := x.Res.(*SaasRes_ScriptCreateRes); ok { return x.ScriptCreateRes } } return nil } func (x *SaasRes) GetScriptListRes() *ScriptListRes { if x != nil { if x, ok := x.Res.(*SaasRes_ScriptListRes); ok { return x.ScriptListRes } } return nil } func (x *SaasRes) GetScriptDeleteRes() *ScriptDeleteRes { if x != nil { if x, ok := x.Res.(*SaasRes_ScriptDeleteRes); ok { return x.ScriptDeleteRes } } return nil } func (x *SaasRes) GetScriptGetRes() *ScriptGetRes { if x != nil { if x, ok := x.Res.(*SaasRes_ScriptGetRes); ok { return x.ScriptGetRes } } return nil } func (x *SaasRes) GetScriptUseRes() *ScriptUseRes { if x != nil { if x, ok := x.Res.(*SaasRes_ScriptUseRes); ok { return x.ScriptUseRes } } return nil } func (x *SaasRes) GetExpListRes() *ExpListRes { if x != nil { if x, ok := x.Res.(*SaasRes_ExpListRes); ok { return x.ExpListRes } } return nil } func (x *SaasRes) GetExpGetRes() *ExpGetRes { if x != nil { if x, ok := x.Res.(*SaasRes_ExpGetRes); ok { return x.ExpGetRes } } return nil } type isSaasRes_Res interface { isSaasRes_Res() } type SaasRes_InfoRes struct { InfoRes *InfoRes `protobuf:"bytes,5,opt,name=info_res,json=infoRes,proto3,oneof"` // 账号信息返回 } type SaasRes_ReadRes struct { ReadRes *ReadRes `protobuf:"bytes,10,opt,name=read_res,json=readRes,proto3,oneof"` // 读取命令返回 } type SaasRes_WriteRes struct { WriteRes *WriteRes `protobuf:"bytes,11,opt,name=write_res,json=writeRes,proto3,oneof"` // 写入命令返回 } type SaasRes_TaskCreateRes struct { TaskCreateRes *Task `protobuf:"bytes,20,opt,name=task_create_res,json=taskCreateRes,proto3,oneof"` // 创建任务返回状态 } type SaasRes_TaskListRes struct { TaskListRes *TaskListRes `protobuf:"bytes,21,opt,name=task_list_res,json=taskListRes,proto3,oneof"` // 任务列表返回状态 } type SaasRes_TaskRunRes struct { TaskRunRes *Task `protobuf:"bytes,22,opt,name=task_run_res,json=taskRunRes,proto3,oneof"` // 运行任务返回状态 } type SaasRes_TaskDeleteRes struct { TaskDeleteRes *Task `protobuf:"bytes,23,opt,name=task_delete_res,json=taskDeleteRes,proto3,oneof"` // 删除任务返回状态 } type SaasRes_TaskInfoRes struct { TaskInfoRes *Task `protobuf:"bytes,24,opt,name=task_info_res,json=taskInfoRes,proto3,oneof"` // 任务详情返回状态 } type SaasRes_TargetListRes struct { TargetListRes *TargetListRes `protobuf:"bytes,50,opt,name=target_list_res,json=targetListRes,proto3,oneof"` // 列出策略及绑定返回状态 } type SaasRes_TargetCreateRes struct { TargetCreateRes *TargetCreateRes `protobuf:"bytes,51,opt,name=target_create_res,json=targetCreateRes,proto3,oneof"` // 创建策略返回状态 } type SaasRes_TargetDeleteRes struct { TargetDeleteRes *TargetDeleteRes `protobuf:"bytes,52,opt,name=target_delete_res,json=targetDeleteRes,proto3,oneof"` // 删除策略返回状态 } type SaasRes_BindSetRes struct { BindSetRes *BindSetRes `protobuf:"bytes,61,opt,name=bind_set_res,json=bindSetRes,proto3,oneof"` // 设置绑定返回状态 } type SaasRes_BindDeleteRes struct { BindDeleteRes *BindDeleteRes `protobuf:"bytes,62,opt,name=bind_delete_res,json=bindDeleteRes,proto3,oneof"` // 删除绑定返回状态 } type SaasRes_GrantListRes struct { GrantListRes *GrantListRes `protobuf:"bytes,70,opt,name=grant_list_res,json=grantListRes,proto3,oneof"` // 列出数据授权返回状态 } type SaasRes_GrantAddRes struct { GrantAddRes *Grant `protobuf:"bytes,71,opt,name=grant_add_res,json=grantAddRes,proto3,oneof"` // 增加数据授权返回状态 } type SaasRes_GrantDeleteRes struct { GrantDeleteRes *Grant `protobuf:"bytes,72,opt,name=grant_delete_res,json=grantDeleteRes,proto3,oneof"` // 删除数据授权返回状态 } type SaasRes_ScriptRunRes struct { ScriptRunRes *ScriptRunRes `protobuf:"bytes,90,opt,name=script_run_res,json=scriptRunRes,proto3,oneof"` // 运行脚本返回 } type SaasRes_ScriptCreateRes struct { ScriptCreateRes *ScriptCreateRes `protobuf:"bytes,91,opt,name=script_create_res,json=scriptCreateRes,proto3,oneof"` // 创建脚本返回 } type SaasRes_ScriptListRes struct { ScriptListRes *ScriptListRes `protobuf:"bytes,92,opt,name=script_list_res,json=scriptListRes,proto3,oneof"` // 列出脚本返回 } type SaasRes_ScriptDeleteRes struct { ScriptDeleteRes *ScriptDeleteRes `protobuf:"bytes,93,opt,name=script_delete_res,json=scriptDeleteRes,proto3,oneof"` // 删除脚本返回 } type SaasRes_ScriptGetRes struct { ScriptGetRes *ScriptGetRes `protobuf:"bytes,94,opt,name=script_get_res,json=scriptGetRes,proto3,oneof"` // 获取脚本返回 } type SaasRes_ScriptUseRes struct { ScriptUseRes *ScriptUseRes `protobuf:"bytes,95,opt,name=script_use_res,json=scriptUseRes,proto3,oneof"` // 使用脚本返回 } type SaasRes_ExpListRes struct { ExpListRes *ExpListRes `protobuf:"bytes,100,opt,name=exp_list_res,json=expListRes,proto3,oneof"` // 实验列表返回 } type SaasRes_ExpGetRes struct { ExpGetRes *ExpGetRes `protobuf:"bytes,101,opt,name=exp_get_res,json=expGetRes,proto3,oneof"` // 实验报表返回 } func (*SaasRes_InfoRes) isSaasRes_Res() {} func (*SaasRes_ReadRes) isSaasRes_Res() {} func (*SaasRes_WriteRes) isSaasRes_Res() {} func (*SaasRes_TaskCreateRes) isSaasRes_Res() {} func (*SaasRes_TaskListRes) isSaasRes_Res() {} func (*SaasRes_TaskRunRes) isSaasRes_Res() {} func (*SaasRes_TaskDeleteRes) isSaasRes_Res() {} func (*SaasRes_TaskInfoRes) isSaasRes_Res() {} func (*SaasRes_TargetListRes) isSaasRes_Res() {} func (*SaasRes_TargetCreateRes) isSaasRes_Res() {} func (*SaasRes_TargetDeleteRes) isSaasRes_Res() {} func (*SaasRes_BindSetRes) isSaasRes_Res() {} func (*SaasRes_BindDeleteRes) isSaasRes_Res() {} func (*SaasRes_GrantListRes) isSaasRes_Res() {} func (*SaasRes_GrantAddRes) isSaasRes_Res() {} func (*SaasRes_GrantDeleteRes) isSaasRes_Res() {} func (*SaasRes_ScriptRunRes) isSaasRes_Res() {} func (*SaasRes_ScriptCreateRes) isSaasRes_Res() {} func (*SaasRes_ScriptListRes) isSaasRes_Res() {} func (*SaasRes_ScriptDeleteRes) isSaasRes_Res() {} func (*SaasRes_ScriptGetRes) isSaasRes_Res() {} func (*SaasRes_ScriptUseRes) isSaasRes_Res() {} func (*SaasRes_ExpListRes) isSaasRes_Res() {} func (*SaasRes_ExpGetRes) isSaasRes_Res() {} type DataSpace struct { state protoimpl.MessageState `protogen:"open.v1"` Did []string `protobuf:"bytes,1,rep,name=did,proto3" json:"did,omitempty"` // 设备ID区 Wuid []string `protobuf:"bytes,2,rep,name=wuid,proto3" json:"wuid,omitempty"` // OpenID区 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DataSpace) Reset() { *x = DataSpace{} mi := &file_cmd_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DataSpace) String() string { return protoimpl.X.MessageStringOf(x) } func (*DataSpace) ProtoMessage() {} func (x *DataSpace) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[34] 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 DataSpace.ProtoReflect.Descriptor instead. func (*DataSpace) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{34} } func (x *DataSpace) GetDid() []string { if x != nil { return x.Did } return nil } func (x *DataSpace) GetWuid() []string { if x != nil { return x.Wuid } return nil } // InfoRes 账号信息返回 type InfoRes struct { state protoimpl.MessageState `protogen:"open.v1"` Dataspace *DataSpace `protobuf:"bytes,1,opt,name=dataspace,proto3" json:"dataspace,omitempty"` // 可用数据区列表 TargetId []string `protobuf:"bytes,2,rep,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` // 策略ID列表 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *InfoRes) Reset() { *x = InfoRes{} mi := &file_cmd_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *InfoRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*InfoRes) ProtoMessage() {} func (x *InfoRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[35] 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 InfoRes.ProtoReflect.Descriptor instead. func (*InfoRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{35} } func (x *InfoRes) GetDataspace() *DataSpace { if x != nil { return x.Dataspace } return nil } func (x *InfoRes) GetTargetId() []string { if x != nil { return x.TargetId } return nil } // ReadRes 读记录返回 type ReadRes struct { state protoimpl.MessageState `protogen:"open.v1"` SuccCmdCount uint32 `protobuf:"varint,1,opt,name=succ_cmd_count,json=succCmdCount,proto3" json:"succ_cmd_count,omitempty"` // 成功的命令数量 FailCmdCount uint32 `protobuf:"varint,2,opt,name=fail_cmd_count,json=failCmdCount,proto3" json:"fail_cmd_count,omitempty"` // 失败的命令数量 CmdRes []*ValueItem `protobuf:"bytes,3,rep,name=cmd_res,json=cmdRes,proto3" json:"cmd_res,omitempty"` // 返回的命令 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ReadRes) Reset() { *x = ReadRes{} mi := &file_cmd_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ReadRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*ReadRes) ProtoMessage() {} func (x *ReadRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[36] 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 ReadRes.ProtoReflect.Descriptor instead. func (*ReadRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{36} } func (x *ReadRes) GetSuccCmdCount() uint32 { if x != nil { return x.SuccCmdCount } return 0 } func (x *ReadRes) GetFailCmdCount() uint32 { if x != nil { return x.FailCmdCount } return 0 } func (x *ReadRes) GetCmdRes() []*ValueItem { if x != nil { return x.CmdRes } return nil } // WriteRes 写记录返回 type WriteRes struct { state protoimpl.MessageState `protogen:"open.v1"` // uint32 succ_cmd_count = 1; // 成功的命令数量 // uint32 fail_cmd_count = 2; // 失败的命令数量 FailedUserid []string `protobuf:"bytes,3,rep,name=failed_userid,json=failedUserid,proto3" json:"failed_userid,omitempty"` // 返回的失败的用户ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *WriteRes) Reset() { *x = WriteRes{} mi := &file_cmd_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *WriteRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*WriteRes) ProtoMessage() {} func (x *WriteRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[37] 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 WriteRes.ProtoReflect.Descriptor instead. func (*WriteRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{37} } func (x *WriteRes) GetFailedUserid() []string { if x != nil { return x.FailedUserid } return nil } // ValueItem 读取命令返回内容 type ValueItem struct { state protoimpl.MessageState `protogen:"open.v1"` CmdIndex uint32 `protobuf:"varint,1,opt,name=cmd_index,json=cmdIndex,proto3" json:"cmd_index,omitempty"` // 命令索引 CmdCode CmdErrorCode `protobuf:"varint,2,opt,name=cmd_code,json=cmdCode,proto3,enum=saasapi.CmdErrorCode" json:"cmd_code,omitempty"` // 状态 Bytes []byte `protobuf:"bytes,3,opt,name=bytes,proto3" json:"bytes,omitempty"` // byte区域 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"` // 标志位区域 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 sizeCache protoimpl.SizeCache } func (x *ValueItem) Reset() { *x = ValueItem{} mi := &file_cmd_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ValueItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*ValueItem) ProtoMessage() {} func (x *ValueItem) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[38] 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 ValueItem.ProtoReflect.Descriptor instead. func (*ValueItem) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{38} } func (x *ValueItem) GetCmdIndex() uint32 { if x != nil { return x.CmdIndex } return 0 } func (x *ValueItem) GetCmdCode() CmdErrorCode { if x != nil { return x.CmdCode } return CmdErrorCode_OK } func (x *ValueItem) GetBytes() []byte { if x != nil { return x.Bytes } return nil } func (x *ValueItem) GetUint32S() []uint32 { if x != nil { return x.Uint32S } return nil } func (x *ValueItem) GetFlagsWithExpire() []*FlagWithExpire { if x != nil { return x.FlagsWithExpire } return nil } func (x *ValueItem) GetLastModifyTime() uint32 { if x != nil { return x.LastModifyTime } return 0 } func (x *ValueItem) GetVersion() uint32 { if x != nil { return x.Version } return 0 } // TaskListRes 任务列表返回 type TaskListRes struct { state protoimpl.MessageState `protogen:"open.v1"` Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` // 任务列表 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TaskListRes) Reset() { *x = TaskListRes{} mi := &file_cmd_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TaskListRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*TaskListRes) ProtoMessage() {} func (x *TaskListRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[39] 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 TaskListRes.ProtoReflect.Descriptor instead. func (*TaskListRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{39} } func (x *TaskListRes) GetTasks() []*Task { if x != nil { return x.Tasks } return nil } // TargetListRes 策略列表返回 type TargetListRes struct { state protoimpl.MessageState `protogen:"open.v1"` TargetList map[string]*Binds `protobuf:"bytes,1,rep,name=target_list,json=targetList,proto3" json:"target_list,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // 绑定列表 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TargetListRes) Reset() { *x = TargetListRes{} mi := &file_cmd_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TargetListRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*TargetListRes) ProtoMessage() {} func (x *TargetListRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[40] 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 TargetListRes.ProtoReflect.Descriptor instead. func (*TargetListRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{40} } func (x *TargetListRes) GetTargetList() map[string]*Binds { if x != nil { return x.TargetList } return nil } // TargetCreateRes 策略创建返回 type TargetCreateRes struct { state protoimpl.MessageState `protogen:"open.v1"` TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` // 策略ID TargetDescription string `protobuf:"bytes,2,opt,name=target_description,json=targetDescription,proto3" json:"target_description,omitempty"` // 策略描述 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TargetCreateRes) Reset() { *x = TargetCreateRes{} mi := &file_cmd_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TargetCreateRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*TargetCreateRes) ProtoMessage() {} func (x *TargetCreateRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[41] 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 TargetCreateRes.ProtoReflect.Descriptor instead. func (*TargetCreateRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{41} } func (x *TargetCreateRes) GetTargetId() string { if x != nil { return x.TargetId } return "" } func (x *TargetCreateRes) GetTargetDescription() string { if x != nil { return x.TargetDescription } return "" } // TargetDeleteRes 策略创建返回 type TargetDeleteRes struct { state protoimpl.MessageState `protogen:"open.v1"` TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` // 策略ID TargetDescription string `protobuf:"bytes,2,opt,name=target_description,json=targetDescription,proto3" json:"target_description,omitempty"` // 策略描述 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TargetDeleteRes) Reset() { *x = TargetDeleteRes{} mi := &file_cmd_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TargetDeleteRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*TargetDeleteRes) ProtoMessage() {} func (x *TargetDeleteRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[42] 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 TargetDeleteRes.ProtoReflect.Descriptor instead. func (*TargetDeleteRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{42} } func (x *TargetDeleteRes) GetTargetId() string { if x != nil { return x.TargetId } return "" } func (x *TargetDeleteRes) GetTargetDescription() string { if x != nil { return x.TargetDescription } return "" } type Binds struct { state protoimpl.MessageState `protogen:"open.v1"` Binds []*Bind `protobuf:"bytes,1,rep,name=binds,proto3" json:"binds,omitempty"` // 绑定列表 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Binds) Reset() { *x = Binds{} mi := &file_cmd_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Binds) String() string { return protoimpl.X.MessageStringOf(x) } func (*Binds) ProtoMessage() {} func (x *Binds) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[43] 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 Binds.ProtoReflect.Descriptor instead. func (*Binds) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{43} } func (x *Binds) GetBinds() []*Bind { if x != nil { return x.Binds } return nil } // Bind 绑定信息 type Bind struct { state protoimpl.MessageState `protogen:"open.v1"` BindId int64 `protobuf:"varint,1,opt,name=bind_id,json=bindId,proto3" json:"bind_id,omitempty"` // 绑定的ID BindType BindType `protobuf:"varint,2,opt,name=bind_type,json=bindType,proto3,enum=saasapi.BindType" json:"bind_type,omitempty"` // 绑定类型 TargetId string `protobuf:"bytes,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` // 策略ID AccountId int64 `protobuf:"varint,4,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // 广告主ID BindSource BindSourceType `protobuf:"varint,5,opt,name=bind_source,json=bindSource,proto3,enum=saasapi.BindSourceType" json:"bind_source,omitempty"` // 绑定操作来源 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Bind) Reset() { *x = Bind{} mi := &file_cmd_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Bind) String() string { return protoimpl.X.MessageStringOf(x) } func (*Bind) ProtoMessage() {} func (x *Bind) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[44] 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 Bind.ProtoReflect.Descriptor instead. func (*Bind) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{44} } func (x *Bind) GetBindId() int64 { if x != nil { return x.BindId } return 0 } func (x *Bind) GetBindType() BindType { if x != nil { return x.BindType } return BindType_UnknownBindType } func (x *Bind) GetTargetId() string { if x != nil { return x.TargetId } return "" } func (x *Bind) GetAccountId() int64 { if x != nil { return x.AccountId } return 0 } func (x *Bind) GetBindSource() BindSourceType { if x != nil { return x.BindSource } return BindSourceType_DefaultBindSourceType } // BindSetRes 设置绑定返回 type BindSetRes struct { state protoimpl.MessageState `protogen:"open.v1"` SuccessNum int32 `protobuf:"varint,1,opt,name=success_num,json=successNum,proto3" json:"success_num,omitempty"` // 成功数 ErrorNum int32 `protobuf:"varint,2,opt,name=error_num,json=errorNum,proto3" json:"error_num,omitempty"` // 错误数 Errors []*BindError `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` // 绑定错误的记录 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BindSetRes) Reset() { *x = BindSetRes{} mi := &file_cmd_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BindSetRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*BindSetRes) ProtoMessage() {} func (x *BindSetRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[45] 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 BindSetRes.ProtoReflect.Descriptor instead. func (*BindSetRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{45} } func (x *BindSetRes) GetSuccessNum() int32 { if x != nil { return x.SuccessNum } return 0 } func (x *BindSetRes) GetErrorNum() int32 { if x != nil { return x.ErrorNum } return 0 } func (x *BindSetRes) GetErrors() []*BindError { if x != nil { return x.Errors } return nil } // BindDeleteRes 删除绑定返回 type BindDeleteRes struct { state protoimpl.MessageState `protogen:"open.v1"` SuccessNum int32 `protobuf:"varint,1,opt,name=success_num,json=successNum,proto3" json:"success_num,omitempty"` // 成功数 ErrorNum int32 `protobuf:"varint,2,opt,name=error_num,json=errorNum,proto3" json:"error_num,omitempty"` // 错误数 Errors []*BindError `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` // 绑定错误的记录 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BindDeleteRes) Reset() { *x = BindDeleteRes{} mi := &file_cmd_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BindDeleteRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*BindDeleteRes) ProtoMessage() {} func (x *BindDeleteRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[46] 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 BindDeleteRes.ProtoReflect.Descriptor instead. func (*BindDeleteRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{46} } func (x *BindDeleteRes) GetSuccessNum() int32 { if x != nil { return x.SuccessNum } return 0 } func (x *BindDeleteRes) GetErrorNum() int32 { if x != nil { return x.ErrorNum } return 0 } func (x *BindDeleteRes) GetErrors() []*BindError { if x != nil { return x.Errors } return nil } // BindError 绑定错误信息 type BindError struct { state protoimpl.MessageState `protogen:"open.v1"` BindId int64 `protobuf:"varint,1,opt,name=bind_id,json=bindId,proto3" json:"bind_id,omitempty"` // 错误绑定的绑定ID BindType int32 `protobuf:"varint,2,opt,name=bind_type,json=bindType,proto3" json:"bind_type,omitempty"` // 绑定类型 Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // 错误绑定原因 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BindError) Reset() { *x = BindError{} mi := &file_cmd_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BindError) String() string { return protoimpl.X.MessageStringOf(x) } func (*BindError) ProtoMessage() {} func (x *BindError) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[47] 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 BindError.ProtoReflect.Descriptor instead. func (*BindError) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{47} } func (x *BindError) GetBindId() int64 { if x != nil { return x.BindId } return 0 } func (x *BindError) GetBindType() int32 { if x != nil { return x.BindType } return 0 } func (x *BindError) GetReason() string { if x != nil { return x.Reason } return "" } // GrantListRes 授权列表返回 type GrantListRes struct { state protoimpl.MessageState `protogen:"open.v1"` From []*Grant `protobuf:"bytes,1,rep,name=from,proto3" json:"from,omitempty"` // 被授权列表 To []*Grant `protobuf:"bytes,2,rep,name=to,proto3" json:"to,omitempty"` // 向外授权列表 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GrantListRes) Reset() { *x = GrantListRes{} mi := &file_cmd_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GrantListRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*GrantListRes) ProtoMessage() {} func (x *GrantListRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[48] 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 GrantListRes.ProtoReflect.Descriptor instead. func (*GrantListRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{48} } func (x *GrantListRes) GetFrom() []*Grant { if x != nil { return x.From } return nil } func (x *GrantListRes) GetTo() []*Grant { if x != nil { return x.To } return nil } // ScriptRunRes 运行脚本返回 type ScriptRunRes struct { state protoimpl.MessageState `protogen:"open.v1"` PrintOutput string `protobuf:"bytes,1,opt,name=print_output,json=printOutput,proto3" json:"print_output,omitempty"` // print输出 ErrorOutput string `protobuf:"bytes,2,opt,name=error_output,json=errorOutput,proto3" json:"error_output,omitempty"` // 错误信息 TargetsOutput string `protobuf:"bytes,3,opt,name=targets_output,json=targetsOutput,proto3" json:"targets_output,omitempty"` // 策略输出 DataspaceOut string `protobuf:"bytes,4,opt,name=dataspace_out,json=dataspaceOut,proto3" json:"dataspace_out,omitempty"` // 数据区输出 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScriptRunRes) Reset() { *x = ScriptRunRes{} mi := &file_cmd_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScriptRunRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScriptRunRes) ProtoMessage() {} func (x *ScriptRunRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[49] 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 ScriptRunRes.ProtoReflect.Descriptor instead. func (*ScriptRunRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{49} } func (x *ScriptRunRes) GetPrintOutput() string { if x != nil { return x.PrintOutput } return "" } func (x *ScriptRunRes) GetErrorOutput() string { if x != nil { return x.ErrorOutput } return "" } func (x *ScriptRunRes) GetTargetsOutput() string { if x != nil { return x.TargetsOutput } return "" } func (x *ScriptRunRes) GetDataspaceOut() string { if x != nil { return x.DataspaceOut } return "" } type ScriptInfo struct { state protoimpl.MessageState `protogen:"open.v1"` LuaName string `protobuf:"bytes,1,opt,name=lua_name,json=luaName,proto3" json:"lua_name,omitempty"` // 脚本名称 LuaScript string `protobuf:"bytes,2,opt,name=lua_script,json=luaScript,proto3" json:"lua_script,omitempty"` // 脚本内容 LuaChecked bool `protobuf:"varint,3,opt,name=lua_checked,json=luaChecked,proto3" json:"lua_checked,omitempty"` // 脚本校验结果 LuaUsed bool `protobuf:"varint,4,opt,name=lua_used,json=luaUsed,proto3" json:"lua_used,omitempty"` // 脚本是否被使用 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScriptInfo) Reset() { *x = ScriptInfo{} mi := &file_cmd_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScriptInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScriptInfo) ProtoMessage() {} func (x *ScriptInfo) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[50] 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 ScriptInfo.ProtoReflect.Descriptor instead. func (*ScriptInfo) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{50} } func (x *ScriptInfo) GetLuaName() string { if x != nil { return x.LuaName } return "" } func (x *ScriptInfo) GetLuaScript() string { if x != nil { return x.LuaScript } return "" } func (x *ScriptInfo) GetLuaChecked() bool { if x != nil { return x.LuaChecked } return false } func (x *ScriptInfo) GetLuaUsed() bool { if x != nil { return x.LuaUsed } return false } // ScriptCreateRes 创建脚本返回 type ScriptCreateRes struct { state protoimpl.MessageState `protogen:"open.v1"` ScriptInfo *ScriptInfo `protobuf:"bytes,1,opt,name=script_info,json=scriptInfo,proto3" json:"script_info,omitempty"` // 脚本信息 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScriptCreateRes) Reset() { *x = ScriptCreateRes{} mi := &file_cmd_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScriptCreateRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScriptCreateRes) ProtoMessage() {} func (x *ScriptCreateRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[51] 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 ScriptCreateRes.ProtoReflect.Descriptor instead. func (*ScriptCreateRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{51} } func (x *ScriptCreateRes) GetScriptInfo() *ScriptInfo { if x != nil { return x.ScriptInfo } return nil } // ScriptListRes 脚本列表返回 type ScriptListRes struct { state protoimpl.MessageState `protogen:"open.v1"` ScriptInfo []*ScriptInfo `protobuf:"bytes,1,rep,name=script_info,json=scriptInfo,proto3" json:"script_info,omitempty"` // 脚本信息 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScriptListRes) Reset() { *x = ScriptListRes{} mi := &file_cmd_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScriptListRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScriptListRes) ProtoMessage() {} func (x *ScriptListRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[52] 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 ScriptListRes.ProtoReflect.Descriptor instead. func (*ScriptListRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{52} } func (x *ScriptListRes) GetScriptInfo() []*ScriptInfo { if x != nil { return x.ScriptInfo } return nil } // ScriptGetRes 获取脚本返回 type ScriptGetRes struct { state protoimpl.MessageState `protogen:"open.v1"` ScriptInfo *ScriptInfo `protobuf:"bytes,1,opt,name=script_info,json=scriptInfo,proto3" json:"script_info,omitempty"` // 脚本信息 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScriptGetRes) Reset() { *x = ScriptGetRes{} mi := &file_cmd_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScriptGetRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScriptGetRes) ProtoMessage() {} func (x *ScriptGetRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[53] 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 ScriptGetRes.ProtoReflect.Descriptor instead. func (*ScriptGetRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{53} } func (x *ScriptGetRes) GetScriptInfo() *ScriptInfo { if x != nil { return x.ScriptInfo } return nil } // ScriptDeleteRes 删除脚本返回 type ScriptDeleteRes struct { state protoimpl.MessageState `protogen:"open.v1"` ScriptInfo *ScriptInfo `protobuf:"bytes,1,opt,name=script_info,json=scriptInfo,proto3" json:"script_info,omitempty"` // 脚本信息 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScriptDeleteRes) Reset() { *x = ScriptDeleteRes{} mi := &file_cmd_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScriptDeleteRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScriptDeleteRes) ProtoMessage() {} func (x *ScriptDeleteRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[54] 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 ScriptDeleteRes.ProtoReflect.Descriptor instead. func (*ScriptDeleteRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{54} } func (x *ScriptDeleteRes) GetScriptInfo() *ScriptInfo { if x != nil { return x.ScriptInfo } return nil } // ScriptUseRes 使用脚本返回 type ScriptUseRes struct { state protoimpl.MessageState `protogen:"open.v1"` ScriptInfo *ScriptInfo `protobuf:"bytes,1,opt,name=script_info,json=scriptInfo,proto3" json:"script_info,omitempty"` // 脚本信息 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ScriptUseRes) Reset() { *x = ScriptUseRes{} mi := &file_cmd_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ScriptUseRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*ScriptUseRes) ProtoMessage() {} func (x *ScriptUseRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[55] 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 ScriptUseRes.ProtoReflect.Descriptor instead. func (*ScriptUseRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{55} } func (x *ScriptUseRes) GetScriptInfo() *ScriptInfo { if x != nil { return x.ScriptInfo } return nil } // ExpListRes 实验列表返回 type ExpListRes struct { state protoimpl.MessageState `protogen:"open.v1"` Buckets []*ExpBucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"` // 实验桶 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExpListRes) Reset() { *x = ExpListRes{} mi := &file_cmd_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExpListRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExpListRes) ProtoMessage() {} func (x *ExpListRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[56] 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 ExpListRes.ProtoReflect.Descriptor instead. func (*ExpListRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{56} } func (x *ExpListRes) GetBuckets() []*ExpBucket { if x != nil { return x.Buckets } return nil } type ExpBucket struct { state protoimpl.MessageState `protogen:"open.v1"` BucketId uint32 `protobuf:"varint,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"` // 分桶号 PtExpId uint32 `protobuf:"varint,2,opt,name=pt_exp_id,json=ptExpId,proto3" json:"pt_exp_id,omitempty"` // 平台实验ID Percent uint32 `protobuf:"varint,3,opt,name=percent,proto3" json:"percent,omitempty"` // 流量百分比 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExpBucket) Reset() { *x = ExpBucket{} mi := &file_cmd_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExpBucket) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExpBucket) ProtoMessage() {} func (x *ExpBucket) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[57] 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 ExpBucket.ProtoReflect.Descriptor instead. func (*ExpBucket) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{57} } func (x *ExpBucket) GetBucketId() uint32 { if x != nil { return x.BucketId } return 0 } func (x *ExpBucket) GetPtExpId() uint32 { if x != nil { return x.PtExpId } return 0 } func (x *ExpBucket) GetPercent() uint32 { if x != nil { return x.Percent } return 0 } // ExpGetRes 实验报表返回 type ExpGetRes struct { state protoimpl.MessageState `protogen:"open.v1"` ExpData []*ExpData `protobuf:"bytes,1,rep,name=exp_data,json=expData,proto3" json:"exp_data,omitempty"` // 实验数据 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExpGetRes) Reset() { *x = ExpGetRes{} mi := &file_cmd_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExpGetRes) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExpGetRes) ProtoMessage() {} func (x *ExpGetRes) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[58] 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 ExpGetRes.ProtoReflect.Descriptor instead. func (*ExpGetRes) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{58} } func (x *ExpGetRes) GetExpData() []*ExpData { if x != nil { return x.ExpData } return nil } type ExpData struct { state protoimpl.MessageState `protogen:"open.v1"` Time uint64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"` // 日期 BucketId uint32 `protobuf:"varint,2,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"` // 分桶ID BaseFields *ExpBaseFields `protobuf:"bytes,3,opt,name=base_fields,json=baseFields,proto3" json:"base_fields,omitempty"` // 基础字段 ExtFields map[string]float64 `protobuf:"bytes,4,rep,name=ext_fields,json=extFields,proto3" json:"ext_fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` // 扩展字段 Group map[string]uint64 `protobuf:"bytes,5,rep,name=group,proto3" json:"group,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` // 分组 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExpData) Reset() { *x = ExpData{} mi := &file_cmd_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExpData) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExpData) ProtoMessage() {} func (x *ExpData) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[59] 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 ExpData.ProtoReflect.Descriptor instead. func (*ExpData) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{59} } func (x *ExpData) GetTime() uint64 { if x != nil { return x.Time } return 0 } func (x *ExpData) GetBucketId() uint32 { if x != nil { return x.BucketId } return 0 } func (x *ExpData) GetBaseFields() *ExpBaseFields { if x != nil { return x.BaseFields } return nil } func (x *ExpData) GetExtFields() map[string]float64 { if x != nil { return x.ExtFields } return nil } func (x *ExpData) GetGroup() map[string]uint64 { if x != nil { return x.Group } return nil } type ExpBaseFields struct { state protoimpl.MessageState `protogen:"open.v1"` Cost float64 `protobuf:"fixed64,1,opt,name=cost,proto3" json:"cost,omitempty"` // 花费 Exposure int64 `protobuf:"varint,2,opt,name=exposure,proto3" json:"exposure,omitempty"` // 曝光量 Click int64 `protobuf:"varint,3,opt,name=click,proto3" json:"click,omitempty"` // 点击量 Cpm float64 `protobuf:"fixed64,4,opt,name=cpm,proto3" json:"cpm,omitempty"` // 千次曝光价格 Cpc float64 `protobuf:"fixed64,5,opt,name=cpc,proto3" json:"cpc,omitempty"` // 单次点击价格 Cpa float64 `protobuf:"fixed64,6,opt,name=cpa,proto3" json:"cpa,omitempty"` // 单次转化成本 Ctr float64 `protobuf:"fixed64,7,opt,name=ctr,proto3" json:"ctr,omitempty"` // 点击率 Cvr float64 `protobuf:"fixed64,8,opt,name=cvr,proto3" json:"cvr,omitempty"` // 浅层转化率 CvrSecond float64 `protobuf:"fixed64,9,opt,name=cvr_second,json=cvrSecond,proto3" json:"cvr_second,omitempty"` // 深层转化率 Conversion int64 `protobuf:"varint,10,opt,name=conversion,proto3" json:"conversion,omitempty"` // 浅层转化量 ConversionSecond int64 `protobuf:"varint,11,opt,name=conversion_second,json=conversionSecond,proto3" json:"conversion_second,omitempty"` // 深层转化量 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ExpBaseFields) Reset() { *x = ExpBaseFields{} mi := &file_cmd_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ExpBaseFields) String() string { return protoimpl.X.MessageStringOf(x) } func (*ExpBaseFields) ProtoMessage() {} func (x *ExpBaseFields) ProtoReflect() protoreflect.Message { mi := &file_cmd_proto_msgTypes[60] 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 ExpBaseFields.ProtoReflect.Descriptor instead. func (*ExpBaseFields) Descriptor() ([]byte, []int) { return file_cmd_proto_rawDescGZIP(), []int{60} } func (x *ExpBaseFields) GetCost() float64 { if x != nil { return x.Cost } return 0 } func (x *ExpBaseFields) GetExposure() int64 { if x != nil { return x.Exposure } return 0 } func (x *ExpBaseFields) GetClick() int64 { if x != nil { return x.Click } return 0 } func (x *ExpBaseFields) GetCpm() float64 { if x != nil { return x.Cpm } return 0 } func (x *ExpBaseFields) GetCpc() float64 { if x != nil { return x.Cpc } return 0 } func (x *ExpBaseFields) GetCpa() float64 { if x != nil { return x.Cpa } return 0 } func (x *ExpBaseFields) GetCtr() float64 { if x != nil { return x.Ctr } return 0 } func (x *ExpBaseFields) GetCvr() float64 { if x != nil { return x.Cvr } return 0 } func (x *ExpBaseFields) GetCvrSecond() float64 { if x != nil { return x.CvrSecond } return 0 } func (x *ExpBaseFields) GetConversion() int64 { if x != nil { return x.Conversion } return 0 } func (x *ExpBaseFields) GetConversionSecond() int64 { if x != nil { return x.ConversionSecond } return 0 } var File_cmd_proto protoreflect.FileDescriptor const file_cmd_proto_rawDesc = "" + "\n" + "\tcmd.proto\x12\asaasapi\"\x9c\n" + "\n" + "\aSaasReq\x12#\n" + "\x04info\x18\x05 \x01(\v2\r.saasapi.InfoH\x00R\x04info\x12#\n" + "\x04read\x18\n" + " \x01(\v2\r.saasapi.ReadH\x00R\x04read\x12&\n" + "\x05write\x18\v \x01(\v2\x0e.saasapi.WriteH\x00R\x05write\x129\n" + "\fcolumn_write\x18\f \x01(\v2\x14.saasapi.ColumnWriteH\x00R\vcolumnWrite\x120\n" + "\vtask_create\x18\x14 \x01(\v2\r.saasapi.TaskH\x00R\n" + "taskCreate\x120\n" + "\ttask_list\x18\x15 \x01(\v2\x11.saasapi.TaskListH\x00R\btaskList\x12-\n" + "\btask_run\x18\x16 \x01(\v2\x10.saasapi.TaskRunH\x00R\ataskRun\x126\n" + "\vtask_delete\x18\x17 \x01(\v2\x13.saasapi.TaskDeleteH\x00R\n" + "taskDelete\x120\n" + "\ttask_info\x18\x18 \x01(\v2\x11.saasapi.TaskInfoH\x00R\btaskInfo\x126\n" + "\vtarget_list\x182 \x01(\v2\x13.saasapi.TargetListH\x00R\n" + "targetList\x12<\n" + "\rtarget_create\x183 \x01(\v2\x15.saasapi.TargetCreateH\x00R\ftargetCreate\x12<\n" + "\rtarget_delete\x184 \x01(\v2\x15.saasapi.TargetDeleteH\x00R\ftargetDelete\x12-\n" + "\bbind_set\x18= \x01(\v2\x10.saasapi.BindSetH\x00R\abindSet\x126\n" + "\vbind_delete\x18> \x01(\v2\x13.saasapi.BindDeleteH\x00R\n" + "bindDelete\x123\n" + "\n" + "grant_list\x18F \x01(\v2\x12.saasapi.GrantListH\x00R\tgrantList\x12-\n" + "\tgrant_add\x18G \x01(\v2\x0e.saasapi.GrantH\x00R\bgrantAdd\x123\n" + "\fgrant_delete\x18H \x01(\v2\x0e.saasapi.GrantH\x00R\vgrantDelete\x123\n" + "\n" + "script_run\x18Z \x01(\v2\x12.saasapi.ScriptRunH\x00R\tscriptRun\x12<\n" + "\rscript_create\x18[ \x01(\v2\x15.saasapi.ScriptCreateH\x00R\fscriptCreate\x126\n" + "\vscript_list\x18\\ \x01(\v2\x13.saasapi.ScriptListH\x00R\n" + "scriptList\x12<\n" + "\rscript_delete\x18] \x01(\v2\x15.saasapi.ScriptDeleteH\x00R\fscriptDelete\x123\n" + "\n" + "script_get\x18^ \x01(\v2\x12.saasapi.ScriptGetH\x00R\tscriptGet\x123\n" + "\n" + "script_use\x18_ \x01(\v2\x12.saasapi.ScriptUseH\x00R\tscriptUse\x12-\n" + "\bexp_list\x18d \x01(\v2\x10.saasapi.ExpListH\x00R\aexpList\x12*\n" + "\aexp_get\x18e \x01(\v2\x0f.saasapi.ExpGetH\x00R\x06expGetB\x05\n" + "\x03cmd\"\x06\n" + "\x04Info\"q\n" + "\x04Read\x12!\n" + "\fdataspace_id\x18\x01 \x01(\tR\vdataspaceId\x12\x14\n" + "\x05appid\x18\x02 \x01(\tR\x05appid\x120\n" + "\n" + "read_items\x18\x03 \x03(\v2\x11.saasapi.ReadItemR\treadItems\"\"\n" + "\bReadItem\x12\x16\n" + "\x06userid\x18\x01 \x01(\tR\x06userid\"\xa2\x01\n" + "\x05Write\x12!\n" + "\fdataspace_id\x18\x01 \x01(\tR\vdataspaceId\x12\x14\n" + "\x05appid\x18\x02 \x01(\tR\x05appid\x12+\n" + "\x12is_clear_all_first\x18\x03 \x01(\bR\x0fisClearAllFirst\x123\n" + "\vwrite_items\x18\x04 \x03(\v2\x12.saasapi.WriteItemR\n" + "writeItems\"\xdc\x01\n" + "\tWriteItem\x12\x16\n" + "\x06userid\x18\x01 \x01(\tR\x06userid\x12/\n" + "\vwrite_bytes\x18\x02 \x01(\v2\x0e.saasapi.BytesR\n" + "writeBytes\x125\n" + "\rwrite_uint32s\x18\x03 \x01(\v2\x10.saasapi.Uint32sR\fwriteUint32s\x12O\n" + "\x17write_flags_with_expire\x18\x04 \x01(\v2\x18.saasapi.FlagsWithExpireR\x14writeFlagsWithExpire\"6\n" + "\x05Bytes\x12\x14\n" + "\x05bytes\x18\x01 \x01(\fR\x05bytes\x12\x17\n" + "\aindex_1\x18\x02 \x01(\x04R\x06index1\"<\n" + "\aUint32s\x12\x18\n" + "\auint32s\x18\x01 \x03(\rR\auint32s\x12\x17\n" + "\aindex_1\x18\x02 \x01(\x04R\x06index1\"o\n" + "\x0fFlagsWithExpire\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\"\x96\x02\n" + "\vColumnWrite\x12!\n" + "\fdataspace_id\x18\x01 \x01(\tR\vdataspaceId\x12+\n" + "\x12is_clear_all_first\x18\x02 \x01(\bR\x0fisClearAllFirst\x12/\n" + "\vwrite_bytes\x18\x03 \x01(\v2\x0e.saasapi.BytesR\n" + "writeBytes\x125\n" + "\rwrite_uint32s\x18\x04 \x01(\v2\x10.saasapi.Uint32sR\fwriteUint32s\x12O\n" + "\x17write_flags_with_expire\x18\x05 \x01(\v2\x18.saasapi.FlagsWithExpireR\x14writeFlagsWithExpire\"\xfc\x03\n" + "\x04Task\x12!\n" + "\fdataspace_id\x18\x01 \x01(\tR\vdataspaceId\x12\x14\n" + "\x05appid\x18\x02 \x01(\tR\x05appid\x12\x1f\n" + "\vtask_sha256\x18\x03 \x01(\tR\n" + "taskSha256\x12)\n" + "\x10task_description\x18\x04 \x01(\tR\x0ftaskDescription\x129\n" + "\x0ftask_file_infos\x18\x05 \x03(\v2\x11.saasapi.FileInfoR\rtaskFileInfos\x12&\n" + "\x0ftask_block_size\x18\x06 \x01(\x04R\rtaskBlockSize\x12\x1f\n" + "\vsource_path\x18\a \x01(\tR\n" + "sourcePath\x12\x1b\n" + "\ttask_size\x18\b \x01(\x04R\btaskSize\x12\x1f\n" + "\vcreate_time\x18\n" + " \x01(\tR\n" + "createTime\x12\x19\n" + "\brun_time\x18\v \x01(\tR\arunTime\x12\x1f\n" + "\vfinish_time\x18\f \x01(\tR\n" + "finishTime\x12#\n" + "\rrunning_block\x18\r \x01(\rR\frunningBlock\x12\x1f\n" + "\vtotal_block\x18\x0e \x01(\rR\n" + "totalBlock\x12+\n" + "\x06status\x18\x0f \x01(\x0e2\x13.saasapi.TaskStatusR\x06status\"D\n" + "\bTaskList\x128\n" + "\rstatus_filter\x18\x01 \x01(\x0e2\x13.saasapi.TaskStatusR\fstatusFilter\"*\n" + "\aTaskRun\x12\x1f\n" + "\vtask_sha256\x18\x01 \x01(\tR\n" + "taskSha256\"-\n" + "\n" + "TaskDelete\x12\x1f\n" + "\vtask_sha256\x18\x01 \x01(\tR\n" + "taskSha256\"+\n" + "\bTaskInfo\x12\x1f\n" + "\vtask_sha256\x18\x01 \x01(\tR\n" + "taskSha256\"y\n" + "\bFileInfo\x12\x1b\n" + "\tfile_name\x18\x01 \x01(\tR\bfileName\x12\x1b\n" + "\tfile_size\x18\x02 \x01(\x04R\bfileSize\x123\n" + "\vfile_blocks\x18\x03 \x03(\v2\x12.saasapi.FileBlockR\n" + "fileBlocks\"m\n" + "\tFileBlock\x12!\n" + "\fblock_sha256\x18\x01 \x01(\tR\vblockSha256\x12!\n" + "\fblock_length\x18\x02 \x01(\x04R\vblockLength\x12\x1a\n" + "\buploaded\x18\x03 \x01(\bR\buploaded\"C\n" + "\n" + "TargetList\x12\x18\n" + "\atargets\x18\x01 \x03(\tR\atargets\x12\x1b\n" + "\tlist_bind\x18\x02 \x01(\bR\blistBind\"Z\n" + "\fTargetCreate\x12\x1b\n" + "\ttarget_id\x18\x01 \x01(\tR\btargetId\x12-\n" + "\x12target_description\x18\x02 \x01(\tR\x11targetDescription\"+\n" + "\fTargetDelete\x12\x1b\n" + "\ttarget_id\x18\x01 \x01(\tR\btargetId\".\n" + "\aBindSet\x12#\n" + "\x05binds\x18\x02 \x03(\v2\r.saasapi.BindR\x05binds\"1\n" + "\n" + "BindDelete\x12#\n" + "\x05binds\x18\x02 \x03(\v2\r.saasapi.BindR\x05binds\"\v\n" + "\tGrantList\"s\n" + "\x05Grant\x12&\n" + "\x0fsrta_account_id\x18\x01 \x01(\rR\rsrtaAccountId\x12\x1f\n" + "\vgrant_index\x18\x02 \x01(\tR\n" + "grantIndex\x12!\n" + "\fdataspace_id\x18\x03 \x01(\tR\vdataspaceId\"\xa1\x01\n" + "\tScriptRun\x12\x1d\n" + "\n" + "lua_script\x18\x01 \x01(\tR\tluaScript\x12\x1d\n" + "\n" + "server_did\x18\x02 \x01(\tR\tserverDid\x12\x14\n" + "\x05appid\x18\x03 \x01(\tR\x05appid\x12#\n" + "\rserver_openid\x18\x04 \x01(\tR\fserverOpenid\x12\x1b\n" + "\x02os\x18\x05 \x01(\x0e2\v.saasapi.OSR\x02os\"H\n" + "\fScriptCreate\x12\x19\n" + "\blua_name\x18\x01 \x01(\tR\aluaName\x12\x1d\n" + "\n" + "lua_script\x18\x02 \x01(\tR\tluaScript\"\f\n" + "\n" + "ScriptList\")\n" + "\fScriptDelete\x12\x19\n" + "\blua_name\x18\x01 \x01(\tR\aluaName\"&\n" + "\tScriptGet\x12\x19\n" + "\blua_name\x18\x01 \x01(\tR\aluaName\"&\n" + "\tScriptUse\x12\x19\n" + "\blua_name\x18\x01 \x01(\tR\aluaName\"\t\n" + "\aExpList\"\xa8\x02\n" + "\x06ExpGet\x12\x1d\n" + "\n" + "ext_fields\x18\x01 \x03(\tR\textFields\x12&\n" + "\x0fwhere_begin_day\x18\n" + " \x01(\x04R\rwhereBeginDay\x12\"\n" + "\rwhere_end_day\x18\v \x01(\x04R\vwhereEndDay\x12&\n" + "\x0fwhere_bucket_id\x18\f \x03(\rR\rwhereBucketId\x12!\n" + "\fwhere_target\x18\r \x01(\tR\vwhereTarget\x12.\n" + "\x13where_advertiser_id\x18\x0e \x03(\x04R\x11whereAdvertiserId\x12\x19\n" + "\bgroup_by\x18\x14 \x03(\tR\agroupBy\x12\x1d\n" + "\n" + "total_flag\x18\x1e \x01(\rR\ttotalFlag\"\xf2\v\n" + "\aSaasRes\x12&\n" + "\x04code\x18\x01 \x01(\x0e2\x12.saasapi.ErrorCodeR\x04code\x12\x16\n" + "\x06status\x18\x02 \x01(\tR\x06status\x12-\n" + "\binfo_res\x18\x05 \x01(\v2\x10.saasapi.InfoResH\x00R\ainfoRes\x12-\n" + "\bread_res\x18\n" + " \x01(\v2\x10.saasapi.ReadResH\x00R\areadRes\x120\n" + "\twrite_res\x18\v \x01(\v2\x11.saasapi.WriteResH\x00R\bwriteRes\x127\n" + "\x0ftask_create_res\x18\x14 \x01(\v2\r.saasapi.TaskH\x00R\rtaskCreateRes\x12:\n" + "\rtask_list_res\x18\x15 \x01(\v2\x14.saasapi.TaskListResH\x00R\vtaskListRes\x121\n" + "\ftask_run_res\x18\x16 \x01(\v2\r.saasapi.TaskH\x00R\n" + "taskRunRes\x127\n" + "\x0ftask_delete_res\x18\x17 \x01(\v2\r.saasapi.TaskH\x00R\rtaskDeleteRes\x123\n" + "\rtask_info_res\x18\x18 \x01(\v2\r.saasapi.TaskH\x00R\vtaskInfoRes\x12@\n" + "\x0ftarget_list_res\x182 \x01(\v2\x16.saasapi.TargetListResH\x00R\rtargetListRes\x12F\n" + "\x11target_create_res\x183 \x01(\v2\x18.saasapi.TargetCreateResH\x00R\x0ftargetCreateRes\x12F\n" + "\x11target_delete_res\x184 \x01(\v2\x18.saasapi.TargetDeleteResH\x00R\x0ftargetDeleteRes\x127\n" + "\fbind_set_res\x18= \x01(\v2\x13.saasapi.BindSetResH\x00R\n" + "bindSetRes\x12@\n" + "\x0fbind_delete_res\x18> \x01(\v2\x16.saasapi.BindDeleteResH\x00R\rbindDeleteRes\x12=\n" + "\x0egrant_list_res\x18F \x01(\v2\x15.saasapi.GrantListResH\x00R\fgrantListRes\x124\n" + "\rgrant_add_res\x18G \x01(\v2\x0e.saasapi.GrantH\x00R\vgrantAddRes\x12:\n" + "\x10grant_delete_res\x18H \x01(\v2\x0e.saasapi.GrantH\x00R\x0egrantDeleteRes\x12=\n" + "\x0escript_run_res\x18Z \x01(\v2\x15.saasapi.ScriptRunResH\x00R\fscriptRunRes\x12F\n" + "\x11script_create_res\x18[ \x01(\v2\x18.saasapi.ScriptCreateResH\x00R\x0fscriptCreateRes\x12@\n" + "\x0fscript_list_res\x18\\ \x01(\v2\x16.saasapi.ScriptListResH\x00R\rscriptListRes\x12F\n" + "\x11script_delete_res\x18] \x01(\v2\x18.saasapi.ScriptDeleteResH\x00R\x0fscriptDeleteRes\x12=\n" + "\x0escript_get_res\x18^ \x01(\v2\x15.saasapi.ScriptGetResH\x00R\fscriptGetRes\x12=\n" + "\x0escript_use_res\x18_ \x01(\v2\x15.saasapi.ScriptUseResH\x00R\fscriptUseRes\x127\n" + "\fexp_list_res\x18d \x01(\v2\x13.saasapi.ExpListResH\x00R\n" + "expListRes\x124\n" + "\vexp_get_res\x18e \x01(\v2\x12.saasapi.ExpGetResH\x00R\texpGetResB\x05\n" + "\x03res\"1\n" + "\tDataSpace\x12\x10\n" + "\x03did\x18\x01 \x03(\tR\x03did\x12\x12\n" + "\x04wuid\x18\x02 \x03(\tR\x04wuid\"X\n" + "\aInfoRes\x120\n" + "\tdataspace\x18\x01 \x01(\v2\x12.saasapi.DataSpaceR\tdataspace\x12\x1b\n" + "\ttarget_id\x18\x02 \x03(\tR\btargetId\"\x82\x01\n" + "\aReadRes\x12$\n" + "\x0esucc_cmd_count\x18\x01 \x01(\rR\fsuccCmdCount\x12$\n" + "\x0efail_cmd_count\x18\x02 \x01(\rR\ffailCmdCount\x12+\n" + "\acmd_res\x18\x03 \x03(\v2\x12.saasapi.ValueItemR\x06cmdRes\"/\n" + "\bWriteRes\x12#\n" + "\rfailed_userid\x18\x03 \x03(\tR\ffailedUserid\"\x93\x02\n" + "\tValueItem\x12\x1b\n" + "\tcmd_index\x18\x01 \x01(\rR\bcmdIndex\x120\n" + "\bcmd_code\x18\x02 \x01(\x0e2\x15.saasapi.CmdErrorCodeR\acmdCode\x12\x14\n" + "\x05bytes\x18\x03 \x01(\fR\x05bytes\x12\x18\n" + "\auint32s\x18\x04 \x03(\rR\auint32s\x12C\n" + "\x11flags_with_expire\x18\x05 \x03(\v2\x17.saasapi.FlagWithExpireR\x0fflagsWithExpire\x12(\n" + "\x10last_modify_time\x18\x06 \x01(\rR\x0elastModifyTime\x12\x18\n" + "\aversion\x18\a \x01(\rR\aversion\"2\n" + "\vTaskListRes\x12#\n" + "\x05tasks\x18\x01 \x03(\v2\r.saasapi.TaskR\x05tasks\"\xa7\x01\n" + "\rTargetListRes\x12G\n" + "\vtarget_list\x18\x01 \x03(\v2&.saasapi.TargetListRes.TargetListEntryR\n" + "targetList\x1aM\n" + "\x0fTargetListEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12$\n" + "\x05value\x18\x02 \x01(\v2\x0e.saasapi.BindsR\x05value:\x028\x01\"]\n" + "\x0fTargetCreateRes\x12\x1b\n" + "\ttarget_id\x18\x01 \x01(\tR\btargetId\x12-\n" + "\x12target_description\x18\x02 \x01(\tR\x11targetDescription\"]\n" + "\x0fTargetDeleteRes\x12\x1b\n" + "\ttarget_id\x18\x01 \x01(\tR\btargetId\x12-\n" + "\x12target_description\x18\x02 \x01(\tR\x11targetDescription\",\n" + "\x05Binds\x12#\n" + "\x05binds\x18\x01 \x03(\v2\r.saasapi.BindR\x05binds\"\xc5\x01\n" + "\x04Bind\x12\x17\n" + "\abind_id\x18\x01 \x01(\x03R\x06bindId\x12.\n" + "\tbind_type\x18\x02 \x01(\x0e2\x11.saasapi.BindTypeR\bbindType\x12\x1b\n" + "\ttarget_id\x18\x03 \x01(\tR\btargetId\x12\x1d\n" + "\n" + "account_id\x18\x04 \x01(\x03R\taccountId\x128\n" + "\vbind_source\x18\x05 \x01(\x0e2\x17.saasapi.BindSourceTypeR\n" + "bindSource\"v\n" + "\n" + "BindSetRes\x12\x1f\n" + "\vsuccess_num\x18\x01 \x01(\x05R\n" + "successNum\x12\x1b\n" + "\terror_num\x18\x02 \x01(\x05R\berrorNum\x12*\n" + "\x06errors\x18\x03 \x03(\v2\x12.saasapi.BindErrorR\x06errors\"y\n" + "\rBindDeleteRes\x12\x1f\n" + "\vsuccess_num\x18\x01 \x01(\x05R\n" + "successNum\x12\x1b\n" + "\terror_num\x18\x02 \x01(\x05R\berrorNum\x12*\n" + "\x06errors\x18\x03 \x03(\v2\x12.saasapi.BindErrorR\x06errors\"Y\n" + "\tBindError\x12\x17\n" + "\abind_id\x18\x01 \x01(\x03R\x06bindId\x12\x1b\n" + "\tbind_type\x18\x02 \x01(\x05R\bbindType\x12\x16\n" + "\x06reason\x18\x03 \x01(\tR\x06reason\"R\n" + "\fGrantListRes\x12\"\n" + "\x04from\x18\x01 \x03(\v2\x0e.saasapi.GrantR\x04from\x12\x1e\n" + "\x02to\x18\x02 \x03(\v2\x0e.saasapi.GrantR\x02to\"\xa0\x01\n" + "\fScriptRunRes\x12!\n" + "\fprint_output\x18\x01 \x01(\tR\vprintOutput\x12!\n" + "\ferror_output\x18\x02 \x01(\tR\verrorOutput\x12%\n" + "\x0etargets_output\x18\x03 \x01(\tR\rtargetsOutput\x12#\n" + "\rdataspace_out\x18\x04 \x01(\tR\fdataspaceOut\"\x82\x01\n" + "\n" + "ScriptInfo\x12\x19\n" + "\blua_name\x18\x01 \x01(\tR\aluaName\x12\x1d\n" + "\n" + "lua_script\x18\x02 \x01(\tR\tluaScript\x12\x1f\n" + "\vlua_checked\x18\x03 \x01(\bR\n" + "luaChecked\x12\x19\n" + "\blua_used\x18\x04 \x01(\bR\aluaUsed\"G\n" + "\x0fScriptCreateRes\x124\n" + "\vscript_info\x18\x01 \x01(\v2\x13.saasapi.ScriptInfoR\n" + "scriptInfo\"E\n" + "\rScriptListRes\x124\n" + "\vscript_info\x18\x01 \x03(\v2\x13.saasapi.ScriptInfoR\n" + "scriptInfo\"D\n" + "\fScriptGetRes\x124\n" + "\vscript_info\x18\x01 \x01(\v2\x13.saasapi.ScriptInfoR\n" + "scriptInfo\"G\n" + "\x0fScriptDeleteRes\x124\n" + "\vscript_info\x18\x01 \x01(\v2\x13.saasapi.ScriptInfoR\n" + "scriptInfo\"D\n" + "\fScriptUseRes\x124\n" + "\vscript_info\x18\x01 \x01(\v2\x13.saasapi.ScriptInfoR\n" + "scriptInfo\":\n" + "\n" + "ExpListRes\x12,\n" + "\abuckets\x18\x01 \x03(\v2\x12.saasapi.ExpBucketR\abuckets\"^\n" + "\tExpBucket\x12\x1b\n" + "\tbucket_id\x18\x01 \x01(\rR\bbucketId\x12\x1a\n" + "\tpt_exp_id\x18\x02 \x01(\rR\aptExpId\x12\x18\n" + "\apercent\x18\x03 \x01(\rR\apercent\"8\n" + "\tExpGetRes\x12+\n" + "\bexp_data\x18\x01 \x03(\v2\x10.saasapi.ExpDataR\aexpData\"\xde\x02\n" + "\aExpData\x12\x12\n" + "\x04time\x18\x01 \x01(\x04R\x04time\x12\x1b\n" + "\tbucket_id\x18\x02 \x01(\rR\bbucketId\x127\n" + "\vbase_fields\x18\x03 \x01(\v2\x16.saasapi.ExpBaseFieldsR\n" + "baseFields\x12>\n" + "\n" + "ext_fields\x18\x04 \x03(\v2\x1f.saasapi.ExpData.ExtFieldsEntryR\textFields\x121\n" + "\x05group\x18\x05 \x03(\v2\x1b.saasapi.ExpData.GroupEntryR\x05group\x1a<\n" + "\x0eExtFieldsEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + "\x05value\x18\x02 \x01(\x01R\x05value:\x028\x01\x1a8\n" + "\n" + "GroupEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + "\x05value\x18\x02 \x01(\x04R\x05value:\x028\x01\"\x9b\x02\n" + "\rExpBaseFields\x12\x12\n" + "\x04cost\x18\x01 \x01(\x01R\x04cost\x12\x1a\n" + "\bexposure\x18\x02 \x01(\x03R\bexposure\x12\x14\n" + "\x05click\x18\x03 \x01(\x03R\x05click\x12\x10\n" + "\x03cpm\x18\x04 \x01(\x01R\x03cpm\x12\x10\n" + "\x03cpc\x18\x05 \x01(\x01R\x03cpc\x12\x10\n" + "\x03cpa\x18\x06 \x01(\x01R\x03cpa\x12\x10\n" + "\x03ctr\x18\a \x01(\x01R\x03ctr\x12\x10\n" + "\x03cvr\x18\b \x01(\x01R\x03cvr\x12\x1d\n" + "\n" + "cvr_second\x18\t \x01(\x01R\tcvrSecond\x12\x1e\n" + "\n" + "conversion\x18\n" + " \x01(\x03R\n" + "conversion\x12+\n" + "\x11conversion_second\x18\v \x01(\x03R\x10conversionSecond*=\n" + "\bBindType\x12\x13\n" + "\x0fUnknownBindType\x10\x00\x12\r\n" + "\tAdgroupId\x10\x01\x12\r\n" + "\tAccountId\x10\x03*[\n" + "\x0eBindSourceType\x12\x19\n" + "\x15DefaultBindSourceType\x10\x00\x12\x11\n" + "\rThirdPartyApi\x10\x01\x12\a\n" + "\x03ADQ\x10\x02\x12\x06\n" + "\x02MP\x10\x03\x12\n" + "\n" + "\x06MktApi\x10\x04*\x8d\x04\n" + "\tErrorCode\x12\b\n" + "\x04SUCC\x10\x00\x12\x13\n" + "\x0fINVALID_ACCOUNT\x10e\x12\x15\n" + "\x11INVALID_TIMESTAMP\x10f\x12\x15\n" + "\x11INVALID_SIGNATURE\x10g\x12\r\n" + "\tAUTH_FAIL\x10h\x12\x14\n" + "\x10DISABLED_ACCOUNT\x10i\x12\x18\n" + "\x14INVALID_CONTENT_TYPE\x10n\x12\r\n" + "\tREAD_BODY\x10o\x12\x0f\n" + "\vDECODE_BODY\x10p\x12\r\n" + "\tQPS_LIMIT\x10q\x12\x0e\n" + "\n" + "CMDS_LIMIT\x10r\x12\r\n" + "\tCMDS_NULL\x10s\x12\x18\n" + "\x14DATASPACE_NOT_EXISTS\x10t\x12\x0f\n" + "\vTASK_EXISTS\x10x\x12\x16\n" + "\x12TASK_IS_NOT_EXISTS\x10y\x12\x12\n" + "\x0eTASK_NUM_LIMIT\x10z\x12\x13\n" + "\x0fTASK_BLOCK_SIZE\x10{\x12\x13\n" + "\x0fTASK_TOTAL_SIZE\x10|\x12\x10\n" + "\fTASK_MARSHAL\x10}\x12\x13\n" + "\x0eTASK_IS_WATING\x10\x82\x01\x12\x14\n" + "\x0fTASK_IS_RUNNING\x10\x83\x01\x12\x10\n" + "\vTASK_FAILED\x10\x84\x01\x12\x12\n" + "\rTASK_FINISHED\x10\x85\x01\x12\x0f\n" + "\n" + "DATA_ERROR\x10\xc9\x01\x12\x0e\n" + "\tCMD_ERROR\x10\xca\x01\x12\x0e\n" + "\tAPI_ERROR\x10\xad\x02\x12\x11\n" + "\fTARGET_ERROR\x10\x91\x03*\x16\n" + "\fCmdErrorCode\x12\x06\n" + "\x02OK\x10\x00*^\n" + "\n" + "TaskStatus\x12\a\n" + "\x03ALL\x10\x00\x12\v\n" + "\aWAITING\x10\x01\x12\t\n" + "\x05READY\x10\x02\x12\v\n" + "\aRUNNING\x10\x03\x12\v\n" + "\aSUCCESS\x10\x04\x12\b\n" + "\x04FAIL\x10\x05\x12\v\n" + "\aDELETED\x10\n" + "*7\n" + "\x02OS\x12\x0e\n" + "\n" + "OS_UNKNOWN\x10\x00\x12\a\n" + "\x03IOS\x10\x01\x12\v\n" + "\aANDROID\x10\x02\x12\v\n" + "\aHARMONY\x10\a*1\n" + "\x03MAX\x12\x0f\n" + "\vMAX_UNKNOWN\x10\x00\x12\x06\n" + "\x02U8\x10@\x12\a\n" + "\x03U32\x10\b\x12\b\n" + "\x04FLAG\x10\x04B Z\x1egit.algo.com.cn/public/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, 7) var file_cmd_proto_msgTypes = make([]protoimpl.MessageInfo, 64) var file_cmd_proto_goTypes = []any{ (BindType)(0), // 0: saasapi.BindType (BindSourceType)(0), // 1: saasapi.BindSourceType (ErrorCode)(0), // 2: saasapi.ErrorCode (CmdErrorCode)(0), // 3: saasapi.CmdErrorCode (TaskStatus)(0), // 4: saasapi.TaskStatus (OS)(0), // 5: saasapi.OS (MAX)(0), // 6: saasapi.MAX (*SaasReq)(nil), // 7: saasapi.SaasReq (*Info)(nil), // 8: saasapi.Info (*Read)(nil), // 9: saasapi.Read (*ReadItem)(nil), // 10: saasapi.ReadItem (*Write)(nil), // 11: saasapi.Write (*WriteItem)(nil), // 12: saasapi.WriteItem (*Bytes)(nil), // 13: saasapi.Bytes (*Uint32S)(nil), // 14: saasapi.Uint32s (*FlagsWithExpire)(nil), // 15: saasapi.FlagsWithExpire (*FlagWithExpire)(nil), // 16: saasapi.FlagWithExpire (*ColumnWrite)(nil), // 17: saasapi.ColumnWrite (*Task)(nil), // 18: saasapi.Task (*TaskList)(nil), // 19: saasapi.TaskList (*TaskRun)(nil), // 20: saasapi.TaskRun (*TaskDelete)(nil), // 21: saasapi.TaskDelete (*TaskInfo)(nil), // 22: saasapi.TaskInfo (*FileInfo)(nil), // 23: saasapi.FileInfo (*FileBlock)(nil), // 24: saasapi.FileBlock (*TargetList)(nil), // 25: saasapi.TargetList (*TargetCreate)(nil), // 26: saasapi.TargetCreate (*TargetDelete)(nil), // 27: saasapi.TargetDelete (*BindSet)(nil), // 28: saasapi.BindSet (*BindDelete)(nil), // 29: saasapi.BindDelete (*GrantList)(nil), // 30: saasapi.GrantList (*Grant)(nil), // 31: saasapi.Grant (*ScriptRun)(nil), // 32: saasapi.ScriptRun (*ScriptCreate)(nil), // 33: saasapi.ScriptCreate (*ScriptList)(nil), // 34: saasapi.ScriptList (*ScriptDelete)(nil), // 35: saasapi.ScriptDelete (*ScriptGet)(nil), // 36: saasapi.ScriptGet (*ScriptUse)(nil), // 37: saasapi.ScriptUse (*ExpList)(nil), // 38: saasapi.ExpList (*ExpGet)(nil), // 39: saasapi.ExpGet (*SaasRes)(nil), // 40: saasapi.SaasRes (*DataSpace)(nil), // 41: saasapi.DataSpace (*InfoRes)(nil), // 42: saasapi.InfoRes (*ReadRes)(nil), // 43: saasapi.ReadRes (*WriteRes)(nil), // 44: saasapi.WriteRes (*ValueItem)(nil), // 45: saasapi.ValueItem (*TaskListRes)(nil), // 46: saasapi.TaskListRes (*TargetListRes)(nil), // 47: saasapi.TargetListRes (*TargetCreateRes)(nil), // 48: saasapi.TargetCreateRes (*TargetDeleteRes)(nil), // 49: saasapi.TargetDeleteRes (*Binds)(nil), // 50: saasapi.Binds (*Bind)(nil), // 51: saasapi.Bind (*BindSetRes)(nil), // 52: saasapi.BindSetRes (*BindDeleteRes)(nil), // 53: saasapi.BindDeleteRes (*BindError)(nil), // 54: saasapi.BindError (*GrantListRes)(nil), // 55: saasapi.GrantListRes (*ScriptRunRes)(nil), // 56: saasapi.ScriptRunRes (*ScriptInfo)(nil), // 57: saasapi.ScriptInfo (*ScriptCreateRes)(nil), // 58: saasapi.ScriptCreateRes (*ScriptListRes)(nil), // 59: saasapi.ScriptListRes (*ScriptGetRes)(nil), // 60: saasapi.ScriptGetRes (*ScriptDeleteRes)(nil), // 61: saasapi.ScriptDeleteRes (*ScriptUseRes)(nil), // 62: saasapi.ScriptUseRes (*ExpListRes)(nil), // 63: saasapi.ExpListRes (*ExpBucket)(nil), // 64: saasapi.ExpBucket (*ExpGetRes)(nil), // 65: saasapi.ExpGetRes (*ExpData)(nil), // 66: saasapi.ExpData (*ExpBaseFields)(nil), // 67: saasapi.ExpBaseFields nil, // 68: saasapi.TargetListRes.TargetListEntry nil, // 69: saasapi.ExpData.ExtFieldsEntry nil, // 70: saasapi.ExpData.GroupEntry } var file_cmd_proto_depIdxs = []int32{ 8, // 0: saasapi.SaasReq.info:type_name -> saasapi.Info 9, // 1: saasapi.SaasReq.read:type_name -> saasapi.Read 11, // 2: saasapi.SaasReq.write:type_name -> saasapi.Write 17, // 3: saasapi.SaasReq.column_write:type_name -> saasapi.ColumnWrite 18, // 4: saasapi.SaasReq.task_create:type_name -> saasapi.Task 19, // 5: saasapi.SaasReq.task_list:type_name -> saasapi.TaskList 20, // 6: saasapi.SaasReq.task_run:type_name -> saasapi.TaskRun 21, // 7: saasapi.SaasReq.task_delete:type_name -> saasapi.TaskDelete 22, // 8: saasapi.SaasReq.task_info:type_name -> saasapi.TaskInfo 25, // 9: saasapi.SaasReq.target_list:type_name -> saasapi.TargetList 26, // 10: saasapi.SaasReq.target_create:type_name -> saasapi.TargetCreate 27, // 11: saasapi.SaasReq.target_delete:type_name -> saasapi.TargetDelete 28, // 12: saasapi.SaasReq.bind_set:type_name -> saasapi.BindSet 29, // 13: saasapi.SaasReq.bind_delete:type_name -> saasapi.BindDelete 30, // 14: saasapi.SaasReq.grant_list:type_name -> saasapi.GrantList 31, // 15: saasapi.SaasReq.grant_add:type_name -> saasapi.Grant 31, // 16: saasapi.SaasReq.grant_delete:type_name -> saasapi.Grant 32, // 17: saasapi.SaasReq.script_run:type_name -> saasapi.ScriptRun 33, // 18: saasapi.SaasReq.script_create:type_name -> saasapi.ScriptCreate 34, // 19: saasapi.SaasReq.script_list:type_name -> saasapi.ScriptList 35, // 20: saasapi.SaasReq.script_delete:type_name -> saasapi.ScriptDelete 36, // 21: saasapi.SaasReq.script_get:type_name -> saasapi.ScriptGet 37, // 22: saasapi.SaasReq.script_use:type_name -> saasapi.ScriptUse 38, // 23: saasapi.SaasReq.exp_list:type_name -> saasapi.ExpList 39, // 24: saasapi.SaasReq.exp_get:type_name -> saasapi.ExpGet 10, // 25: saasapi.Read.read_items:type_name -> saasapi.ReadItem 12, // 26: saasapi.Write.write_items:type_name -> saasapi.WriteItem 13, // 27: saasapi.WriteItem.write_bytes:type_name -> saasapi.Bytes 14, // 28: saasapi.WriteItem.write_uint32s:type_name -> saasapi.Uint32s 15, // 29: saasapi.WriteItem.write_flags_with_expire:type_name -> saasapi.FlagsWithExpire 16, // 30: saasapi.FlagsWithExpire.flags_with_expire:type_name -> saasapi.FlagWithExpire 13, // 31: saasapi.ColumnWrite.write_bytes:type_name -> saasapi.Bytes 14, // 32: saasapi.ColumnWrite.write_uint32s:type_name -> saasapi.Uint32s 15, // 33: saasapi.ColumnWrite.write_flags_with_expire:type_name -> saasapi.FlagsWithExpire 23, // 34: saasapi.Task.task_file_infos:type_name -> saasapi.FileInfo 4, // 35: saasapi.Task.status:type_name -> saasapi.TaskStatus 4, // 36: saasapi.TaskList.status_filter:type_name -> saasapi.TaskStatus 24, // 37: saasapi.FileInfo.file_blocks:type_name -> saasapi.FileBlock 51, // 38: saasapi.BindSet.binds:type_name -> saasapi.Bind 51, // 39: saasapi.BindDelete.binds:type_name -> saasapi.Bind 5, // 40: saasapi.ScriptRun.os:type_name -> saasapi.OS 2, // 41: saasapi.SaasRes.code:type_name -> saasapi.ErrorCode 42, // 42: saasapi.SaasRes.info_res:type_name -> saasapi.InfoRes 43, // 43: saasapi.SaasRes.read_res:type_name -> saasapi.ReadRes 44, // 44: saasapi.SaasRes.write_res:type_name -> saasapi.WriteRes 18, // 45: saasapi.SaasRes.task_create_res:type_name -> saasapi.Task 46, // 46: saasapi.SaasRes.task_list_res:type_name -> saasapi.TaskListRes 18, // 47: saasapi.SaasRes.task_run_res:type_name -> saasapi.Task 18, // 48: saasapi.SaasRes.task_delete_res:type_name -> saasapi.Task 18, // 49: saasapi.SaasRes.task_info_res:type_name -> saasapi.Task 47, // 50: saasapi.SaasRes.target_list_res:type_name -> saasapi.TargetListRes 48, // 51: saasapi.SaasRes.target_create_res:type_name -> saasapi.TargetCreateRes 49, // 52: saasapi.SaasRes.target_delete_res:type_name -> saasapi.TargetDeleteRes 52, // 53: saasapi.SaasRes.bind_set_res:type_name -> saasapi.BindSetRes 53, // 54: saasapi.SaasRes.bind_delete_res:type_name -> saasapi.BindDeleteRes 55, // 55: saasapi.SaasRes.grant_list_res:type_name -> saasapi.GrantListRes 31, // 56: saasapi.SaasRes.grant_add_res:type_name -> saasapi.Grant 31, // 57: saasapi.SaasRes.grant_delete_res:type_name -> saasapi.Grant 56, // 58: saasapi.SaasRes.script_run_res:type_name -> saasapi.ScriptRunRes 58, // 59: saasapi.SaasRes.script_create_res:type_name -> saasapi.ScriptCreateRes 59, // 60: saasapi.SaasRes.script_list_res:type_name -> saasapi.ScriptListRes 61, // 61: saasapi.SaasRes.script_delete_res:type_name -> saasapi.ScriptDeleteRes 60, // 62: saasapi.SaasRes.script_get_res:type_name -> saasapi.ScriptGetRes 62, // 63: saasapi.SaasRes.script_use_res:type_name -> saasapi.ScriptUseRes 63, // 64: saasapi.SaasRes.exp_list_res:type_name -> saasapi.ExpListRes 65, // 65: saasapi.SaasRes.exp_get_res:type_name -> saasapi.ExpGetRes 41, // 66: saasapi.InfoRes.dataspace:type_name -> saasapi.DataSpace 45, // 67: saasapi.ReadRes.cmd_res:type_name -> saasapi.ValueItem 3, // 68: saasapi.ValueItem.cmd_code:type_name -> saasapi.CmdErrorCode 16, // 69: saasapi.ValueItem.flags_with_expire:type_name -> saasapi.FlagWithExpire 18, // 70: saasapi.TaskListRes.tasks:type_name -> saasapi.Task 68, // 71: saasapi.TargetListRes.target_list:type_name -> saasapi.TargetListRes.TargetListEntry 51, // 72: saasapi.Binds.binds:type_name -> saasapi.Bind 0, // 73: saasapi.Bind.bind_type:type_name -> saasapi.BindType 1, // 74: saasapi.Bind.bind_source:type_name -> saasapi.BindSourceType 54, // 75: saasapi.BindSetRes.errors:type_name -> saasapi.BindError 54, // 76: saasapi.BindDeleteRes.errors:type_name -> saasapi.BindError 31, // 77: saasapi.GrantListRes.from:type_name -> saasapi.Grant 31, // 78: saasapi.GrantListRes.to:type_name -> saasapi.Grant 57, // 79: saasapi.ScriptCreateRes.script_info:type_name -> saasapi.ScriptInfo 57, // 80: saasapi.ScriptListRes.script_info:type_name -> saasapi.ScriptInfo 57, // 81: saasapi.ScriptGetRes.script_info:type_name -> saasapi.ScriptInfo 57, // 82: saasapi.ScriptDeleteRes.script_info:type_name -> saasapi.ScriptInfo 57, // 83: saasapi.ScriptUseRes.script_info:type_name -> saasapi.ScriptInfo 64, // 84: saasapi.ExpListRes.buckets:type_name -> saasapi.ExpBucket 66, // 85: saasapi.ExpGetRes.exp_data:type_name -> saasapi.ExpData 67, // 86: saasapi.ExpData.base_fields:type_name -> saasapi.ExpBaseFields 69, // 87: saasapi.ExpData.ext_fields:type_name -> saasapi.ExpData.ExtFieldsEntry 70, // 88: saasapi.ExpData.group:type_name -> saasapi.ExpData.GroupEntry 50, // 89: saasapi.TargetListRes.TargetListEntry.value:type_name -> saasapi.Binds 90, // [90:90] is the sub-list for method output_type 90, // [90:90] is the sub-list for method input_type 90, // [90:90] is the sub-list for extension type_name 90, // [90:90] is the sub-list for extension extendee 0, // [0:90] 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 } file_cmd_proto_msgTypes[0].OneofWrappers = []any{ (*SaasReq_Info)(nil), (*SaasReq_Read)(nil), (*SaasReq_Write)(nil), (*SaasReq_ColumnWrite)(nil), (*SaasReq_TaskCreate)(nil), (*SaasReq_TaskList)(nil), (*SaasReq_TaskRun)(nil), (*SaasReq_TaskDelete)(nil), (*SaasReq_TaskInfo)(nil), (*SaasReq_TargetList)(nil), (*SaasReq_TargetCreate)(nil), (*SaasReq_TargetDelete)(nil), (*SaasReq_BindSet)(nil), (*SaasReq_BindDelete)(nil), (*SaasReq_GrantList)(nil), (*SaasReq_GrantAdd)(nil), (*SaasReq_GrantDelete)(nil), (*SaasReq_ScriptRun)(nil), (*SaasReq_ScriptCreate)(nil), (*SaasReq_ScriptList)(nil), (*SaasReq_ScriptDelete)(nil), (*SaasReq_ScriptGet)(nil), (*SaasReq_ScriptUse)(nil), (*SaasReq_ExpList)(nil), (*SaasReq_ExpGet)(nil), } file_cmd_proto_msgTypes[33].OneofWrappers = []any{ (*SaasRes_InfoRes)(nil), (*SaasRes_ReadRes)(nil), (*SaasRes_WriteRes)(nil), (*SaasRes_TaskCreateRes)(nil), (*SaasRes_TaskListRes)(nil), (*SaasRes_TaskRunRes)(nil), (*SaasRes_TaskDeleteRes)(nil), (*SaasRes_TaskInfoRes)(nil), (*SaasRes_TargetListRes)(nil), (*SaasRes_TargetCreateRes)(nil), (*SaasRes_TargetDeleteRes)(nil), (*SaasRes_BindSetRes)(nil), (*SaasRes_BindDeleteRes)(nil), (*SaasRes_GrantListRes)(nil), (*SaasRes_GrantAddRes)(nil), (*SaasRes_GrantDeleteRes)(nil), (*SaasRes_ScriptRunRes)(nil), (*SaasRes_ScriptCreateRes)(nil), (*SaasRes_ScriptListRes)(nil), (*SaasRes_ScriptDeleteRes)(nil), (*SaasRes_ScriptGetRes)(nil), (*SaasRes_ScriptUseRes)(nil), (*SaasRes_ExpListRes)(nil), (*SaasRes_ExpGetRes)(nil), } 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: 7, NumMessages: 64, 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 }