585 lines
19 KiB
Go
585 lines
19 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v3.19.6
|
||
// source: service_user_script.proto
|
||
|
||
package pb
|
||
|
||
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)
|
||
)
|
||
|
||
// 查找单个用户脚本信息
|
||
type FindUserScriptRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserScriptId int64 `protobuf:"varint,1,opt,name=userScriptId,proto3" json:"userScriptId,omitempty"` // 用户脚本ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindUserScriptRequest) Reset() {
|
||
*x = FindUserScriptRequest{}
|
||
mi := &file_service_user_script_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindUserScriptRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindUserScriptRequest) ProtoMessage() {}
|
||
|
||
func (x *FindUserScriptRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_script_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 FindUserScriptRequest.ProtoReflect.Descriptor instead.
|
||
func (*FindUserScriptRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_user_script_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *FindUserScriptRequest) GetUserScriptId() int64 {
|
||
if x != nil {
|
||
return x.UserScriptId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type FindUserScriptResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserScript *UserScript `protobuf:"bytes,1,opt,name=userScript,proto3" json:"userScript,omitempty"` // 用户脚本信息
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindUserScriptResponse) Reset() {
|
||
*x = FindUserScriptResponse{}
|
||
mi := &file_service_user_script_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindUserScriptResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindUserScriptResponse) ProtoMessage() {}
|
||
|
||
func (x *FindUserScriptResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_script_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 FindUserScriptResponse.ProtoReflect.Descriptor instead.
|
||
func (*FindUserScriptResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_user_script_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *FindUserScriptResponse) GetUserScript() *UserScript {
|
||
if x != nil {
|
||
return x.UserScript
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 根据代码MD5查找脚本
|
||
type FindUserScriptWithMD5Request struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
CodeMD5 string `protobuf:"bytes,1,opt,name=codeMD5,proto3" json:"codeMD5,omitempty"` // 代码MD5(32位)
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindUserScriptWithMD5Request) Reset() {
|
||
*x = FindUserScriptWithMD5Request{}
|
||
mi := &file_service_user_script_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindUserScriptWithMD5Request) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindUserScriptWithMD5Request) ProtoMessage() {}
|
||
|
||
func (x *FindUserScriptWithMD5Request) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_script_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 FindUserScriptWithMD5Request.ProtoReflect.Descriptor instead.
|
||
func (*FindUserScriptWithMD5Request) Descriptor() ([]byte, []int) {
|
||
return file_service_user_script_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *FindUserScriptWithMD5Request) GetCodeMD5() string {
|
||
if x != nil {
|
||
return x.CodeMD5
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type FindUserScriptWithMD5Response struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserScript *UserScript `protobuf:"bytes,1,opt,name=userScript,proto3" json:"userScript,omitempty"` // 用户脚本信息
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *FindUserScriptWithMD5Response) Reset() {
|
||
*x = FindUserScriptWithMD5Response{}
|
||
mi := &file_service_user_script_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *FindUserScriptWithMD5Response) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*FindUserScriptWithMD5Response) ProtoMessage() {}
|
||
|
||
func (x *FindUserScriptWithMD5Response) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_script_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 FindUserScriptWithMD5Response.ProtoReflect.Descriptor instead.
|
||
func (*FindUserScriptWithMD5Response) Descriptor() ([]byte, []int) {
|
||
return file_service_user_script_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *FindUserScriptWithMD5Response) GetUserScript() *UserScript {
|
||
if x != nil {
|
||
return x.UserScript
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 计算用户脚本数量
|
||
type CountUserScriptsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` // 所属用户ID
|
||
IsAuditing bool `protobuf:"varint,2,opt,name=isAuditing,proto3" json:"isAuditing,omitempty"` // 是否正在审核
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *CountUserScriptsRequest) Reset() {
|
||
*x = CountUserScriptsRequest{}
|
||
mi := &file_service_user_script_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *CountUserScriptsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*CountUserScriptsRequest) ProtoMessage() {}
|
||
|
||
func (x *CountUserScriptsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_script_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 CountUserScriptsRequest.ProtoReflect.Descriptor instead.
|
||
func (*CountUserScriptsRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_user_script_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *CountUserScriptsRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *CountUserScriptsRequest) GetIsAuditing() bool {
|
||
if x != nil {
|
||
return x.IsAuditing
|
||
}
|
||
return false
|
||
}
|
||
|
||
// 列出单页用户脚本
|
||
type ListUserScriptsRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` // 所属用户ID
|
||
IsAuditing bool `protobuf:"varint,2,opt,name=isAuditing,proto3" json:"isAuditing,omitempty"` // 是否正在审核
|
||
Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // 开始读取位置
|
||
Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // 读取数量
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListUserScriptsRequest) Reset() {
|
||
*x = ListUserScriptsRequest{}
|
||
mi := &file_service_user_script_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListUserScriptsRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListUserScriptsRequest) ProtoMessage() {}
|
||
|
||
func (x *ListUserScriptsRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_script_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 ListUserScriptsRequest.ProtoReflect.Descriptor instead.
|
||
func (*ListUserScriptsRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_user_script_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *ListUserScriptsRequest) GetUserId() int64 {
|
||
if x != nil {
|
||
return x.UserId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListUserScriptsRequest) GetIsAuditing() bool {
|
||
if x != nil {
|
||
return x.IsAuditing
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ListUserScriptsRequest) GetOffset() int64 {
|
||
if x != nil {
|
||
return x.Offset
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ListUserScriptsRequest) GetSize() int64 {
|
||
if x != nil {
|
||
return x.Size
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type ListUserScriptsResponse struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserScripts []*UserScript `protobuf:"bytes,1,rep,name=userScripts,proto3" json:"userScripts,omitempty"` // 用户脚本列表
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ListUserScriptsResponse) Reset() {
|
||
*x = ListUserScriptsResponse{}
|
||
mi := &file_service_user_script_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ListUserScriptsResponse) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ListUserScriptsResponse) ProtoMessage() {}
|
||
|
||
func (x *ListUserScriptsResponse) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_script_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 ListUserScriptsResponse.ProtoReflect.Descriptor instead.
|
||
func (*ListUserScriptsResponse) Descriptor() ([]byte, []int) {
|
||
return file_service_user_script_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *ListUserScriptsResponse) GetUserScripts() []*UserScript {
|
||
if x != nil {
|
||
return x.UserScripts
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 审核并通过用户脚本
|
||
type PassUserScriptRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserScriptId int64 `protobuf:"varint,1,opt,name=userScriptId,proto3" json:"userScriptId,omitempty"` // 用户脚本ID
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *PassUserScriptRequest) Reset() {
|
||
*x = PassUserScriptRequest{}
|
||
mi := &file_service_user_script_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *PassUserScriptRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*PassUserScriptRequest) ProtoMessage() {}
|
||
|
||
func (x *PassUserScriptRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_script_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 PassUserScriptRequest.ProtoReflect.Descriptor instead.
|
||
func (*PassUserScriptRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_user_script_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *PassUserScriptRequest) GetUserScriptId() int64 {
|
||
if x != nil {
|
||
return x.UserScriptId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 审核并驳回用户脚本
|
||
type RejectUserScriptRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
UserScriptId int64 `protobuf:"varint,1,opt,name=userScriptId,proto3" json:"userScriptId,omitempty"` // 用户脚本ID
|
||
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // 驳回理由
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *RejectUserScriptRequest) Reset() {
|
||
*x = RejectUserScriptRequest{}
|
||
mi := &file_service_user_script_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *RejectUserScriptRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RejectUserScriptRequest) ProtoMessage() {}
|
||
|
||
func (x *RejectUserScriptRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_service_user_script_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 RejectUserScriptRequest.ProtoReflect.Descriptor instead.
|
||
func (*RejectUserScriptRequest) Descriptor() ([]byte, []int) {
|
||
return file_service_user_script_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *RejectUserScriptRequest) GetUserScriptId() int64 {
|
||
if x != nil {
|
||
return x.UserScriptId
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *RejectUserScriptRequest) GetReason() string {
|
||
if x != nil {
|
||
return x.Reason
|
||
}
|
||
return ""
|
||
}
|
||
|
||
var File_service_user_script_proto protoreflect.FileDescriptor
|
||
|
||
const file_service_user_script_proto_rawDesc = "" +
|
||
"\n" +
|
||
"\x19service_user_script.proto\x12\x02pb\x1a\x1emodels/model_user_script.proto\x1a\x19models/rpc_messages.proto\";\n" +
|
||
"\x15FindUserScriptRequest\x12\"\n" +
|
||
"\fuserScriptId\x18\x01 \x01(\x03R\fuserScriptId\"H\n" +
|
||
"\x16FindUserScriptResponse\x12.\n" +
|
||
"\n" +
|
||
"userScript\x18\x01 \x01(\v2\x0e.pb.UserScriptR\n" +
|
||
"userScript\"8\n" +
|
||
"\x1cFindUserScriptWithMD5Request\x12\x18\n" +
|
||
"\acodeMD5\x18\x01 \x01(\tR\acodeMD5\"O\n" +
|
||
"\x1dFindUserScriptWithMD5Response\x12.\n" +
|
||
"\n" +
|
||
"userScript\x18\x01 \x01(\v2\x0e.pb.UserScriptR\n" +
|
||
"userScript\"Q\n" +
|
||
"\x17CountUserScriptsRequest\x12\x16\n" +
|
||
"\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x1e\n" +
|
||
"\n" +
|
||
"isAuditing\x18\x02 \x01(\bR\n" +
|
||
"isAuditing\"|\n" +
|
||
"\x16ListUserScriptsRequest\x12\x16\n" +
|
||
"\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x1e\n" +
|
||
"\n" +
|
||
"isAuditing\x18\x02 \x01(\bR\n" +
|
||
"isAuditing\x12\x16\n" +
|
||
"\x06offset\x18\x03 \x01(\x03R\x06offset\x12\x12\n" +
|
||
"\x04size\x18\x04 \x01(\x03R\x04size\"K\n" +
|
||
"\x17ListUserScriptsResponse\x120\n" +
|
||
"\vuserScripts\x18\x01 \x03(\v2\x0e.pb.UserScriptR\vuserScripts\";\n" +
|
||
"\x15PassUserScriptRequest\x12\"\n" +
|
||
"\fuserScriptId\x18\x01 \x01(\x03R\fuserScriptId\"U\n" +
|
||
"\x17RejectUserScriptRequest\x12\"\n" +
|
||
"\fuserScriptId\x18\x01 \x01(\x03R\fuserScriptId\x12\x16\n" +
|
||
"\x06reason\x18\x02 \x01(\tR\x06reason2\xcb\x03\n" +
|
||
"\x11UserScriptService\x12G\n" +
|
||
"\x0efindUserScript\x12\x19.pb.FindUserScriptRequest\x1a\x1a.pb.FindUserScriptResponse\x12\\\n" +
|
||
"\x15findUserScriptWithMD5\x12 .pb.FindUserScriptWithMD5Request\x1a!.pb.FindUserScriptWithMD5Response\x12E\n" +
|
||
"\x10countUserScripts\x12\x1b.pb.CountUserScriptsRequest\x1a\x14.pb.RPCCountResponse\x12J\n" +
|
||
"\x0flistUserScripts\x12\x1a.pb.ListUserScriptsRequest\x1a\x1b.pb.ListUserScriptsResponse\x12;\n" +
|
||
"\x0epassUserScript\x12\x19.pb.PassUserScriptRequest\x1a\x0e.pb.RPCSuccess\x12?\n" +
|
||
"\x10rejectUserScript\x12\x1b.pb.RejectUserScriptRequest\x1a\x0e.pb.RPCSuccessB\x06Z\x04./pbb\x06proto3"
|
||
|
||
var (
|
||
file_service_user_script_proto_rawDescOnce sync.Once
|
||
file_service_user_script_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_service_user_script_proto_rawDescGZIP() []byte {
|
||
file_service_user_script_proto_rawDescOnce.Do(func() {
|
||
file_service_user_script_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_user_script_proto_rawDesc), len(file_service_user_script_proto_rawDesc)))
|
||
})
|
||
return file_service_user_script_proto_rawDescData
|
||
}
|
||
|
||
var file_service_user_script_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
||
var file_service_user_script_proto_goTypes = []any{
|
||
(*FindUserScriptRequest)(nil), // 0: pb.FindUserScriptRequest
|
||
(*FindUserScriptResponse)(nil), // 1: pb.FindUserScriptResponse
|
||
(*FindUserScriptWithMD5Request)(nil), // 2: pb.FindUserScriptWithMD5Request
|
||
(*FindUserScriptWithMD5Response)(nil), // 3: pb.FindUserScriptWithMD5Response
|
||
(*CountUserScriptsRequest)(nil), // 4: pb.CountUserScriptsRequest
|
||
(*ListUserScriptsRequest)(nil), // 5: pb.ListUserScriptsRequest
|
||
(*ListUserScriptsResponse)(nil), // 6: pb.ListUserScriptsResponse
|
||
(*PassUserScriptRequest)(nil), // 7: pb.PassUserScriptRequest
|
||
(*RejectUserScriptRequest)(nil), // 8: pb.RejectUserScriptRequest
|
||
(*UserScript)(nil), // 9: pb.UserScript
|
||
(*RPCCountResponse)(nil), // 10: pb.RPCCountResponse
|
||
(*RPCSuccess)(nil), // 11: pb.RPCSuccess
|
||
}
|
||
var file_service_user_script_proto_depIdxs = []int32{
|
||
9, // 0: pb.FindUserScriptResponse.userScript:type_name -> pb.UserScript
|
||
9, // 1: pb.FindUserScriptWithMD5Response.userScript:type_name -> pb.UserScript
|
||
9, // 2: pb.ListUserScriptsResponse.userScripts:type_name -> pb.UserScript
|
||
0, // 3: pb.UserScriptService.findUserScript:input_type -> pb.FindUserScriptRequest
|
||
2, // 4: pb.UserScriptService.findUserScriptWithMD5:input_type -> pb.FindUserScriptWithMD5Request
|
||
4, // 5: pb.UserScriptService.countUserScripts:input_type -> pb.CountUserScriptsRequest
|
||
5, // 6: pb.UserScriptService.listUserScripts:input_type -> pb.ListUserScriptsRequest
|
||
7, // 7: pb.UserScriptService.passUserScript:input_type -> pb.PassUserScriptRequest
|
||
8, // 8: pb.UserScriptService.rejectUserScript:input_type -> pb.RejectUserScriptRequest
|
||
1, // 9: pb.UserScriptService.findUserScript:output_type -> pb.FindUserScriptResponse
|
||
3, // 10: pb.UserScriptService.findUserScriptWithMD5:output_type -> pb.FindUserScriptWithMD5Response
|
||
10, // 11: pb.UserScriptService.countUserScripts:output_type -> pb.RPCCountResponse
|
||
6, // 12: pb.UserScriptService.listUserScripts:output_type -> pb.ListUserScriptsResponse
|
||
11, // 13: pb.UserScriptService.passUserScript:output_type -> pb.RPCSuccess
|
||
11, // 14: pb.UserScriptService.rejectUserScript:output_type -> pb.RPCSuccess
|
||
9, // [9:15] is the sub-list for method output_type
|
||
3, // [3:9] is the sub-list for method input_type
|
||
3, // [3:3] is the sub-list for extension type_name
|
||
3, // [3:3] is the sub-list for extension extendee
|
||
0, // [0:3] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_service_user_script_proto_init() }
|
||
func file_service_user_script_proto_init() {
|
||
if File_service_user_script_proto != nil {
|
||
return
|
||
}
|
||
file_models_model_user_script_proto_init()
|
||
file_models_rpc_messages_proto_init()
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_user_script_proto_rawDesc), len(file_service_user_script_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 9,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_service_user_script_proto_goTypes,
|
||
DependencyIndexes: file_service_user_script_proto_depIdxs,
|
||
MessageInfos: file_service_user_script_proto_msgTypes,
|
||
}.Build()
|
||
File_service_user_script_proto = out.File
|
||
file_service_user_script_proto_goTypes = nil
|
||
file_service_user_script_proto_depIdxs = nil
|
||
}
|