-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.pb.go
134 lines (119 loc) · 4.74 KB
/
action.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: action.proto
package easy_command
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
types "github.com/gogo/protobuf/types"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//Action规格
type Action struct {
//
//创建任务时设置的action名称
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
//
//action类型,一般不用设置
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"`
//
//设置的action动作
Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action" form:"action"`
//
//设置的action超时时间,单位为秒。设置为0时不超时
Timeout int32 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout" form:"timeout"`
//
//设置的action参数。见 CmdActionParam FileActionParam
Param *types.Struct `protobuf:"bytes,5,opt,name=param,proto3" json:"param" form:"param"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Action) Reset() { *m = Action{} }
func (m *Action) String() string { return proto.CompactTextString(m) }
func (*Action) ProtoMessage() {}
func (*Action) Descriptor() ([]byte, []int) {
return fileDescriptor_59885c909ad4dfd3, []int{0}
}
func (m *Action) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Action.Unmarshal(m, b)
}
func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Action.Marshal(b, m, deterministic)
}
func (m *Action) XXX_Merge(src proto.Message) {
xxx_messageInfo_Action.Merge(m, src)
}
func (m *Action) XXX_Size() int {
return xxx_messageInfo_Action.Size(m)
}
func (m *Action) XXX_DiscardUnknown() {
xxx_messageInfo_Action.DiscardUnknown(m)
}
var xxx_messageInfo_Action proto.InternalMessageInfo
func (m *Action) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Action) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *Action) GetAction() string {
if m != nil {
return m.Action
}
return ""
}
func (m *Action) GetTimeout() int32 {
if m != nil {
return m.Timeout
}
return 0
}
func (m *Action) GetParam() *types.Struct {
if m != nil {
return m.Param
}
return nil
}
func init() {
proto.RegisterType((*Action)(nil), "easy_command.Action")
}
func init() { proto.RegisterFile("action.proto", fileDescriptor_59885c909ad4dfd3) }
var fileDescriptor_59885c909ad4dfd3 = []byte{
// 293 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0xbf, 0x4e, 0xc3, 0x30,
0x10, 0xc6, 0x15, 0x68, 0x8b, 0x70, 0xcb, 0x3f, 0x2f, 0x44, 0x15, 0x52, 0x2a, 0xb3, 0x14, 0x89,
0xda, 0x12, 0x6c, 0x2c, 0x88, 0x0c, 0x88, 0x39, 0x6c, 0x2c, 0xc8, 0x71, 0x5d, 0x13, 0x29, 0xce,
0x45, 0x8e, 0x33, 0xf4, 0x65, 0xf3, 0x04, 0x4c, 0x79, 0x02, 0x94, 0x73, 0x2a, 0x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