-
Notifications
You must be signed in to change notification settings - Fork 1
/
batch_list_instance_query_strategy.pb.go
304 lines (275 loc) · 13.5 KB
/
batch_list_instance_query_strategy.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
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: batch_list_instance_query_strategy.proto
package instance
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
cmdb "github.com/easyopsapis/easyops-api-go/protorepo-models/easyops/model/cmdb"
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
//
//BatchListInstanceQueryStrategy请求
type BatchListInstanceQueryStrategyRequest struct {
//
//多个模型ID,以逗号分隔
ObjectIds string `protobuf:"bytes,1,opt,name=object_ids,json=objectIds,proto3" json:"object_ids" form:"object_ids"`
//
//策略类型
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"`
//
//策略名称(模糊匹配)
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchListInstanceQueryStrategyRequest) Reset() { *m = BatchListInstanceQueryStrategyRequest{} }
func (m *BatchListInstanceQueryStrategyRequest) String() string { return proto.CompactTextString(m) }
func (*BatchListInstanceQueryStrategyRequest) ProtoMessage() {}
func (*BatchListInstanceQueryStrategyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4bb515dff9a174a0, []int{0}
}
func (m *BatchListInstanceQueryStrategyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchListInstanceQueryStrategyRequest.Unmarshal(m, b)
}
func (m *BatchListInstanceQueryStrategyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchListInstanceQueryStrategyRequest.Marshal(b, m, deterministic)
}
func (m *BatchListInstanceQueryStrategyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchListInstanceQueryStrategyRequest.Merge(m, src)
}
func (m *BatchListInstanceQueryStrategyRequest) XXX_Size() int {
return xxx_messageInfo_BatchListInstanceQueryStrategyRequest.Size(m)
}
func (m *BatchListInstanceQueryStrategyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchListInstanceQueryStrategyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchListInstanceQueryStrategyRequest proto.InternalMessageInfo
func (m *BatchListInstanceQueryStrategyRequest) GetObjectIds() string {
if m != nil {
return m.ObjectIds
}
return ""
}
func (m *BatchListInstanceQueryStrategyRequest) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *BatchListInstanceQueryStrategyRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
//
//BatchListInstanceQueryStrategy返回
type BatchListInstanceQueryStrategyResponse struct {
//
//各模型的实例查询策略数据
StrategyData []*BatchListInstanceQueryStrategyResponse_StrategyData `protobuf:"bytes,1,rep,name=strategy_data,json=strategyData,proto3" json:"strategy_data" form:"strategy_data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchListInstanceQueryStrategyResponse) Reset() {
*m = BatchListInstanceQueryStrategyResponse{}
}
func (m *BatchListInstanceQueryStrategyResponse) String() string { return proto.CompactTextString(m) }
func (*BatchListInstanceQueryStrategyResponse) ProtoMessage() {}
func (*BatchListInstanceQueryStrategyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4bb515dff9a174a0, []int{1}
}
func (m *BatchListInstanceQueryStrategyResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchListInstanceQueryStrategyResponse.Unmarshal(m, b)
}
func (m *BatchListInstanceQueryStrategyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchListInstanceQueryStrategyResponse.Marshal(b, m, deterministic)
}
func (m *BatchListInstanceQueryStrategyResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchListInstanceQueryStrategyResponse.Merge(m, src)
}
func (m *BatchListInstanceQueryStrategyResponse) XXX_Size() int {
return xxx_messageInfo_BatchListInstanceQueryStrategyResponse.Size(m)
}
func (m *BatchListInstanceQueryStrategyResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BatchListInstanceQueryStrategyResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BatchListInstanceQueryStrategyResponse proto.InternalMessageInfo
func (m *BatchListInstanceQueryStrategyResponse) GetStrategyData() []*BatchListInstanceQueryStrategyResponse_StrategyData {
if m != nil {
return m.StrategyData
}
return nil
}
type BatchListInstanceQueryStrategyResponse_StrategyData struct {
//
//模型ID
ObjectId string `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id" form:"object_id"`
//
//策略列表
StrategyList []*cmdb.InstanceQueryStrategy `protobuf:"bytes,2,rep,name=strategy_list,json=strategyList,proto3" json:"strategy_list" form:"strategy_list"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchListInstanceQueryStrategyResponse_StrategyData) Reset() {
*m = BatchListInstanceQueryStrategyResponse_StrategyData{}
}
func (m *BatchListInstanceQueryStrategyResponse_StrategyData) String() string {
return proto.CompactTextString(m)
}
func (*BatchListInstanceQueryStrategyResponse_StrategyData) ProtoMessage() {}
func (*BatchListInstanceQueryStrategyResponse_StrategyData) Descriptor() ([]byte, []int) {
return fileDescriptor_4bb515dff9a174a0, []int{1, 0}
}
func (m *BatchListInstanceQueryStrategyResponse_StrategyData) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchListInstanceQueryStrategyResponse_StrategyData.Unmarshal(m, b)
}
func (m *BatchListInstanceQueryStrategyResponse_StrategyData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchListInstanceQueryStrategyResponse_StrategyData.Marshal(b, m, deterministic)
}
func (m *BatchListInstanceQueryStrategyResponse_StrategyData) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchListInstanceQueryStrategyResponse_StrategyData.Merge(m, src)
}
func (m *BatchListInstanceQueryStrategyResponse_StrategyData) XXX_Size() int {
return xxx_messageInfo_BatchListInstanceQueryStrategyResponse_StrategyData.Size(m)
}
func (m *BatchListInstanceQueryStrategyResponse_StrategyData) XXX_DiscardUnknown() {
xxx_messageInfo_BatchListInstanceQueryStrategyResponse_StrategyData.DiscardUnknown(m)
}
var xxx_messageInfo_BatchListInstanceQueryStrategyResponse_StrategyData proto.InternalMessageInfo
func (m *BatchListInstanceQueryStrategyResponse_StrategyData) GetObjectId() string {
if m != nil {
return m.ObjectId
}
return ""
}
func (m *BatchListInstanceQueryStrategyResponse_StrategyData) GetStrategyList() []*cmdb.InstanceQueryStrategy {
if m != nil {
return m.StrategyList
}
return nil
}
//
//BatchListInstanceQueryStrategyApi返回
type BatchListInstanceQueryStrategyResponseWrapper 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 *BatchListInstanceQueryStrategyResponse `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 *BatchListInstanceQueryStrategyResponseWrapper) Reset() {
*m = BatchListInstanceQueryStrategyResponseWrapper{}
}
func (m *BatchListInstanceQueryStrategyResponseWrapper) String() string {
return proto.CompactTextString(m)
}
func (*BatchListInstanceQueryStrategyResponseWrapper) ProtoMessage() {}
func (*BatchListInstanceQueryStrategyResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_4bb515dff9a174a0, []int{2}
}
func (m *BatchListInstanceQueryStrategyResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchListInstanceQueryStrategyResponseWrapper.Unmarshal(m, b)
}
func (m *BatchListInstanceQueryStrategyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchListInstanceQueryStrategyResponseWrapper.Marshal(b, m, deterministic)
}
func (m *BatchListInstanceQueryStrategyResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchListInstanceQueryStrategyResponseWrapper.Merge(m, src)
}
func (m *BatchListInstanceQueryStrategyResponseWrapper) XXX_Size() int {
return xxx_messageInfo_BatchListInstanceQueryStrategyResponseWrapper.Size(m)
}
func (m *BatchListInstanceQueryStrategyResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_BatchListInstanceQueryStrategyResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_BatchListInstanceQueryStrategyResponseWrapper proto.InternalMessageInfo
func (m *BatchListInstanceQueryStrategyResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *BatchListInstanceQueryStrategyResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *BatchListInstanceQueryStrategyResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *BatchListInstanceQueryStrategyResponseWrapper) GetData() *BatchListInstanceQueryStrategyResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*BatchListInstanceQueryStrategyRequest)(nil), "instance.BatchListInstanceQueryStrategyRequest")
proto.RegisterType((*BatchListInstanceQueryStrategyResponse)(nil), "instance.BatchListInstanceQueryStrategyResponse")
proto.RegisterType((*BatchListInstanceQueryStrategyResponse_StrategyData)(nil), "instance.BatchListInstanceQueryStrategyResponse.StrategyData")
proto.RegisterType((*BatchListInstanceQueryStrategyResponseWrapper)(nil), "instance.BatchListInstanceQueryStrategyResponseWrapper")
}
func init() {
proto.RegisterFile("batch_list_instance_query_strategy.proto", fileDescriptor_4bb515dff9a174a0)
}
var fileDescriptor_4bb515dff9a174a0 = []byte{
// 473 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xd1, 0x6a, 0xd4, 0x40,
0x14, 0x25, 0xdb, 0xad, 0x74, 0x67, 0x57, 0xac, 0x43, 0x95, 0xb0, 0x3e, 0x64, 0x19, 0xb1, 0xec,
0xcb, 0x4e, 0xb4, 0xfa, 0x20, 0x82, 0x2f, 0x8b, 0x3e, 0x14, 0x7c, 0x71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