/
upsert_agent_plugins.pb.go
356 lines (321 loc) · 14.4 KB
/
upsert_agent_plugins.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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: upsert_agent_plugins.proto
package agent
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
//
//UpsertAgentPlugins请求
type UpsertAgentPluginsRequest struct {
//
//数据上报的信息
Vals *UpsertAgentPluginsRequest_Vals `protobuf:"bytes,1,opt,name=vals,proto3" json:"vals" form:"vals"`
//
//数据上报维度
Dims *types.Struct `protobuf:"bytes,2,opt,name=dims,proto3" json:"dims" form:"dims"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpsertAgentPluginsRequest) Reset() { *m = UpsertAgentPluginsRequest{} }
func (m *UpsertAgentPluginsRequest) String() string { return proto.CompactTextString(m) }
func (*UpsertAgentPluginsRequest) ProtoMessage() {}
func (*UpsertAgentPluginsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_79ddfd6abcf203d6, []int{0}
}
func (m *UpsertAgentPluginsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpsertAgentPluginsRequest.Unmarshal(m, b)
}
func (m *UpsertAgentPluginsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpsertAgentPluginsRequest.Marshal(b, m, deterministic)
}
func (m *UpsertAgentPluginsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpsertAgentPluginsRequest.Merge(m, src)
}
func (m *UpsertAgentPluginsRequest) XXX_Size() int {
return xxx_messageInfo_UpsertAgentPluginsRequest.Size(m)
}
func (m *UpsertAgentPluginsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpsertAgentPluginsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpsertAgentPluginsRequest proto.InternalMessageInfo
func (m *UpsertAgentPluginsRequest) GetVals() *UpsertAgentPluginsRequest_Vals {
if m != nil {
return m.Vals
}
return nil
}
func (m *UpsertAgentPluginsRequest) GetDims() *types.Struct {
if m != nil {
return m.Dims
}
return nil
}
type UpsertAgentPluginsRequest_Vals struct {
//
//数据上报的信息
Plugins []*UpsertAgentPluginsRequest_Vals_Plugins `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins" form:"plugins"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpsertAgentPluginsRequest_Vals) Reset() { *m = UpsertAgentPluginsRequest_Vals{} }
func (m *UpsertAgentPluginsRequest_Vals) String() string { return proto.CompactTextString(m) }
func (*UpsertAgentPluginsRequest_Vals) ProtoMessage() {}
func (*UpsertAgentPluginsRequest_Vals) Descriptor() ([]byte, []int) {
return fileDescriptor_79ddfd6abcf203d6, []int{0, 0}
}
func (m *UpsertAgentPluginsRequest_Vals) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpsertAgentPluginsRequest_Vals.Unmarshal(m, b)
}
func (m *UpsertAgentPluginsRequest_Vals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpsertAgentPluginsRequest_Vals.Marshal(b, m, deterministic)
}
func (m *UpsertAgentPluginsRequest_Vals) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpsertAgentPluginsRequest_Vals.Merge(m, src)
}
func (m *UpsertAgentPluginsRequest_Vals) XXX_Size() int {
return xxx_messageInfo_UpsertAgentPluginsRequest_Vals.Size(m)
}
func (m *UpsertAgentPluginsRequest_Vals) XXX_DiscardUnknown() {
xxx_messageInfo_UpsertAgentPluginsRequest_Vals.DiscardUnknown(m)
}
var xxx_messageInfo_UpsertAgentPluginsRequest_Vals proto.InternalMessageInfo
func (m *UpsertAgentPluginsRequest_Vals) GetPlugins() []*UpsertAgentPluginsRequest_Vals_Plugins {
if m != nil {
return m.Plugins
}
return nil
}
type UpsertAgentPluginsRequest_Vals_Plugins struct {
//
//实际部署路径
DeployPath string `protobuf:"bytes,1,opt,name=deployPath,proto3" json:"deployPath" form:"deployPath"`
//
//AgentUUID
AgentId string `protobuf:"bytes,2,opt,name=agentId,proto3" json:"agentId" form:"agentId"`
//
//部署的插件版本名称
AgentPluginId string `protobuf:"bytes,3,opt,name=agentPluginId,proto3" json:"agentPluginId" form:"agentPluginId"`
//
//插件的版本ID
VersionId string `protobuf:"bytes,4,opt,name=versionId,proto3" json:"versionId" form:"versionId"`
//
//AgentIp
Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip" form:"ip"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpsertAgentPluginsRequest_Vals_Plugins) Reset() {
*m = UpsertAgentPluginsRequest_Vals_Plugins{}
}
func (m *UpsertAgentPluginsRequest_Vals_Plugins) String() string { return proto.CompactTextString(m) }
func (*UpsertAgentPluginsRequest_Vals_Plugins) ProtoMessage() {}
func (*UpsertAgentPluginsRequest_Vals_Plugins) Descriptor() ([]byte, []int) {
return fileDescriptor_79ddfd6abcf203d6, []int{0, 0, 0}
}
func (m *UpsertAgentPluginsRequest_Vals_Plugins) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpsertAgentPluginsRequest_Vals_Plugins.Unmarshal(m, b)
}
func (m *UpsertAgentPluginsRequest_Vals_Plugins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpsertAgentPluginsRequest_Vals_Plugins.Marshal(b, m, deterministic)
}
func (m *UpsertAgentPluginsRequest_Vals_Plugins) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpsertAgentPluginsRequest_Vals_Plugins.Merge(m, src)
}
func (m *UpsertAgentPluginsRequest_Vals_Plugins) XXX_Size() int {
return xxx_messageInfo_UpsertAgentPluginsRequest_Vals_Plugins.Size(m)
}
func (m *UpsertAgentPluginsRequest_Vals_Plugins) XXX_DiscardUnknown() {
xxx_messageInfo_UpsertAgentPluginsRequest_Vals_Plugins.DiscardUnknown(m)
}
var xxx_messageInfo_UpsertAgentPluginsRequest_Vals_Plugins proto.InternalMessageInfo
func (m *UpsertAgentPluginsRequest_Vals_Plugins) GetDeployPath() string {
if m != nil {
return m.DeployPath
}
return ""
}
func (m *UpsertAgentPluginsRequest_Vals_Plugins) GetAgentId() string {
if m != nil {
return m.AgentId
}
return ""
}
func (m *UpsertAgentPluginsRequest_Vals_Plugins) GetAgentPluginId() string {
if m != nil {
return m.AgentPluginId
}
return ""
}
func (m *UpsertAgentPluginsRequest_Vals_Plugins) GetVersionId() string {
if m != nil {
return m.VersionId
}
return ""
}
func (m *UpsertAgentPluginsRequest_Vals_Plugins) GetIp() string {
if m != nil {
return m.Ip
}
return ""
}
//
//UpsertAgentPlugins返回
type UpsertAgentPluginsResponse struct {
//
//信息
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message" form:"message"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpsertAgentPluginsResponse) Reset() { *m = UpsertAgentPluginsResponse{} }
func (m *UpsertAgentPluginsResponse) String() string { return proto.CompactTextString(m) }
func (*UpsertAgentPluginsResponse) ProtoMessage() {}
func (*UpsertAgentPluginsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_79ddfd6abcf203d6, []int{1}
}
func (m *UpsertAgentPluginsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpsertAgentPluginsResponse.Unmarshal(m, b)
}
func (m *UpsertAgentPluginsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpsertAgentPluginsResponse.Marshal(b, m, deterministic)
}
func (m *UpsertAgentPluginsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpsertAgentPluginsResponse.Merge(m, src)
}
func (m *UpsertAgentPluginsResponse) XXX_Size() int {
return xxx_messageInfo_UpsertAgentPluginsResponse.Size(m)
}
func (m *UpsertAgentPluginsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_UpsertAgentPluginsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_UpsertAgentPluginsResponse proto.InternalMessageInfo
func (m *UpsertAgentPluginsResponse) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
//
//UpsertAgentPluginsApi返回
type UpsertAgentPluginsResponseWrapper 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 *UpsertAgentPluginsResponse `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 *UpsertAgentPluginsResponseWrapper) Reset() { *m = UpsertAgentPluginsResponseWrapper{} }
func (m *UpsertAgentPluginsResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*UpsertAgentPluginsResponseWrapper) ProtoMessage() {}
func (*UpsertAgentPluginsResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_79ddfd6abcf203d6, []int{2}
}
func (m *UpsertAgentPluginsResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpsertAgentPluginsResponseWrapper.Unmarshal(m, b)
}
func (m *UpsertAgentPluginsResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpsertAgentPluginsResponseWrapper.Marshal(b, m, deterministic)
}
func (m *UpsertAgentPluginsResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpsertAgentPluginsResponseWrapper.Merge(m, src)
}
func (m *UpsertAgentPluginsResponseWrapper) XXX_Size() int {
return xxx_messageInfo_UpsertAgentPluginsResponseWrapper.Size(m)
}
func (m *UpsertAgentPluginsResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_UpsertAgentPluginsResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_UpsertAgentPluginsResponseWrapper proto.InternalMessageInfo
func (m *UpsertAgentPluginsResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *UpsertAgentPluginsResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *UpsertAgentPluginsResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *UpsertAgentPluginsResponseWrapper) GetData() *UpsertAgentPluginsResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*UpsertAgentPluginsRequest)(nil), "agent.UpsertAgentPluginsRequest")
proto.RegisterType((*UpsertAgentPluginsRequest_Vals)(nil), "agent.UpsertAgentPluginsRequest.Vals")
proto.RegisterType((*UpsertAgentPluginsRequest_Vals_Plugins)(nil), "agent.UpsertAgentPluginsRequest.Vals.Plugins")
proto.RegisterType((*UpsertAgentPluginsResponse)(nil), "agent.UpsertAgentPluginsResponse")
proto.RegisterType((*UpsertAgentPluginsResponseWrapper)(nil), "agent.UpsertAgentPluginsResponseWrapper")
}
func init() { proto.RegisterFile("upsert_agent_plugins.proto", fileDescriptor_79ddfd6abcf203d6) }
var fileDescriptor_79ddfd6abcf203d6 = []byte{
// 492 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4f, 0x6b, 0xd4, 0x40,
0x14, 0x67, 0xd3, 0xac, 0xcb, 0xbe, 0x58, 0xad, 0x43, 0xd5, 0x18, 0x94, 0xb4, 0x23, 0x4a, 0x0f,
0x36, 0x85, 0x15, 0x41, 0x44, 0x04, 0x17, 0x14, 0xda, 0x53, 0x19, 0x51, 0x0f, 0x1e, 0xca, 0xec,
0x66, 0x9a, 0x06, 0xb2, 0x3b, 0xe3, 0xcc, 0xa4, 0xe8, 0xd1, 0x4f, 0xe0, 0x37, 0xcc, 0xd5, 0x7b,
0x3e, 0x81, 0xe4, 0xcd, 0xc4, 0x4d, 0xc1, 0x8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