/
get_task.pb.go
168 lines (150 loc) · 6.32 KB
/
get_task.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: get_task.proto
package admin_task
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
agent_admin "github.com/easyopsapis/easyops-api-go/protorepo-models/easyops/model/agent_admin"
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
//
//GetTask请求
type GetTaskRequest struct {
//
//ID
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetTaskRequest) Reset() { *m = GetTaskRequest{} }
func (m *GetTaskRequest) String() string { return proto.CompactTextString(m) }
func (*GetTaskRequest) ProtoMessage() {}
func (*GetTaskRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_e92ba9aa4fe3ed1c, []int{0}
}
func (m *GetTaskRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetTaskRequest.Unmarshal(m, b)
}
func (m *GetTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetTaskRequest.Marshal(b, m, deterministic)
}
func (m *GetTaskRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetTaskRequest.Merge(m, src)
}
func (m *GetTaskRequest) XXX_Size() int {
return xxx_messageInfo_GetTaskRequest.Size(m)
}
func (m *GetTaskRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetTaskRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetTaskRequest proto.InternalMessageInfo
func (m *GetTaskRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
//
//GetTaskApi返回
type GetTaskResponseWrapper struct {
//
//返回码
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
//
//返回码解释
CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
//
//错误详情
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
//
//返回数据
Data *agent_admin.AdminTask `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetTaskResponseWrapper) Reset() { *m = GetTaskResponseWrapper{} }
func (m *GetTaskResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*GetTaskResponseWrapper) ProtoMessage() {}
func (*GetTaskResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_e92ba9aa4fe3ed1c, []int{1}
}
func (m *GetTaskResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetTaskResponseWrapper.Unmarshal(m, b)
}
func (m *GetTaskResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetTaskResponseWrapper.Marshal(b, m, deterministic)
}
func (m *GetTaskResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetTaskResponseWrapper.Merge(m, src)
}
func (m *GetTaskResponseWrapper) XXX_Size() int {
return xxx_messageInfo_GetTaskResponseWrapper.Size(m)
}
func (m *GetTaskResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_GetTaskResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_GetTaskResponseWrapper proto.InternalMessageInfo
func (m *GetTaskResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *GetTaskResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *GetTaskResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *GetTaskResponseWrapper) GetData() *agent_admin.AdminTask {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*GetTaskRequest)(nil), "admin_task.GetTaskRequest")
proto.RegisterType((*GetTaskResponseWrapper)(nil), "admin_task.GetTaskResponseWrapper")
}
func init() { proto.RegisterFile("get_task.proto", fileDescriptor_e92ba9aa4fe3ed1c) }
var fileDescriptor_e92ba9aa4fe3ed1c = []byte{
// 310 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0xd1, 0x4a, 0xfb, 0x30,
0x14, 0xc6, 0xe9, 0xfe, 0xdb, 0x1f, 0x96, 0xe9, 0x94, 0x5c, 0x8c, 0x32, 0x90, 0x8e, 0x08, 0xb2,
0x9b, 0x35, 0xa0, 0x37, 0xa2, 0x57, 0x0e, 0xc4, 0xfb, 0x22, 0x7a, 0x39, 0xb2, 0xe6, 0xac, 0x96,
0xb5, 0x3d, 0x31, 0xc9, 0x40, 0xdf, 0x55, 0xfa, 0x10, 0x7d, 0x02, 0xe9, 0xe9, 0x70, 0xbd, 0x49,
0x72, 0xce, 0xf7, 0xfd, 0x72, 0xbe, 0x84, 0x4d, 0x33, 0xf0, 0x1b, 0xaf, 0xdc,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