github.com/polarismesh/polaris@v1.17.8/common/api/l5/cl5.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: cl5.proto 3 4 package l5 5 6 import proto "github.com/golang/protobuf/proto" 7 import fmt "fmt" 8 import math "math" 9 10 // Reference imports to suppress errors if they are not otherwise used. 11 var _ = proto.Marshal 12 var _ = fmt.Errorf 13 var _ = math.Inf 14 15 // This is a compile-time assertion to ensure that this generated file 16 // is compatible with the proto package it is being compiled against. 17 // A compilation error at this line likely means your copy of the 18 // proto package needs to be updated. 19 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 20 21 type CL5_CMD int32 22 23 const ( 24 // ------------------------------------------------ 25 CL5_CMD_CL5_SYNC_BY_AGENT_CMD CL5_CMD = 100 26 CL5_CMD_CL5_SYNC_BY_AGENT_ACK_CMD CL5_CMD = 101 27 CL5_CMD_CL5_REGISTER_BY_ID_CMD CL5_CMD = 102 28 CL5_CMD_CL5_REGISTER_BY_ID_ACK_CMD CL5_CMD = 103 29 CL5_CMD_CL5_REGISTER_BY_NAME_CMD CL5_CMD = 104 30 CL5_CMD_CL5_REGISTER_BY_NAME_ACK_CMD CL5_CMD = 105 31 ) 32 33 var CL5_CMD_name = map[int32]string{ 34 100: "CL5_SYNC_BY_AGENT_CMD", 35 101: "CL5_SYNC_BY_AGENT_ACK_CMD", 36 102: "CL5_REGISTER_BY_ID_CMD", 37 103: "CL5_REGISTER_BY_ID_ACK_CMD", 38 104: "CL5_REGISTER_BY_NAME_CMD", 39 105: "CL5_REGISTER_BY_NAME_ACK_CMD", 40 } 41 var CL5_CMD_value = map[string]int32{ 42 "CL5_SYNC_BY_AGENT_CMD": 100, 43 "CL5_SYNC_BY_AGENT_ACK_CMD": 101, 44 "CL5_REGISTER_BY_ID_CMD": 102, 45 "CL5_REGISTER_BY_ID_ACK_CMD": 103, 46 "CL5_REGISTER_BY_NAME_CMD": 104, 47 "CL5_REGISTER_BY_NAME_ACK_CMD": 105, 48 } 49 50 func (x CL5_CMD) Enum() *CL5_CMD { 51 p := new(CL5_CMD) 52 *p = x 53 return p 54 } 55 func (x CL5_CMD) String() string { 56 return proto.EnumName(CL5_CMD_name, int32(x)) 57 } 58 func (x *CL5_CMD) UnmarshalJSON(data []byte) error { 59 value, err := proto.UnmarshalJSONEnum(CL5_CMD_value, data, "CL5_CMD") 60 if err != nil { 61 return err 62 } 63 *x = CL5_CMD(value) 64 return nil 65 } 66 func (CL5_CMD) EnumDescriptor() ([]byte, []int) { 67 return fileDescriptor_cl5_5845103484782c18, []int{0} 68 } 69 70 // IP配置信息,用于实现就近访问。L5 server从表t_ip_config读取,由OSS从CMDB查询IP相关信息写入表中 71 type Cl5IpcObj struct { 72 Ip *int32 `protobuf:"varint,1,req,name=ip" json:"ip,omitempty"` 73 AreaId *int32 `protobuf:"varint,2,req,name=area_id" json:"area_id,omitempty"` 74 CityId *int32 `protobuf:"varint,3,req,name=city_id" json:"city_id,omitempty"` 75 IdcId *int32 `protobuf:"varint,4,req,name=idc_id" json:"idc_id,omitempty"` 76 XXX_NoUnkeyedLiteral struct{} `json:"-"` 77 XXX_unrecognized []byte `json:"-"` 78 XXX_sizecache int32 `json:"-"` 79 } 80 81 func (m *Cl5IpcObj) Reset() { *m = Cl5IpcObj{} } 82 func (m *Cl5IpcObj) String() string { return proto.CompactTextString(m) } 83 func (*Cl5IpcObj) ProtoMessage() {} 84 func (*Cl5IpcObj) Descriptor() ([]byte, []int) { 85 return fileDescriptor_cl5_5845103484782c18, []int{0} 86 } 87 func (m *Cl5IpcObj) XXX_Unmarshal(b []byte) error { 88 return xxx_messageInfo_Cl5IpcObj.Unmarshal(m, b) 89 } 90 func (m *Cl5IpcObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 91 return xxx_messageInfo_Cl5IpcObj.Marshal(b, m, deterministic) 92 } 93 func (dst *Cl5IpcObj) XXX_Merge(src proto.Message) { 94 xxx_messageInfo_Cl5IpcObj.Merge(dst, src) 95 } 96 func (m *Cl5IpcObj) XXX_Size() int { 97 return xxx_messageInfo_Cl5IpcObj.Size(m) 98 } 99 func (m *Cl5IpcObj) XXX_DiscardUnknown() { 100 xxx_messageInfo_Cl5IpcObj.DiscardUnknown(m) 101 } 102 103 var xxx_messageInfo_Cl5IpcObj proto.InternalMessageInfo 104 105 func (m *Cl5IpcObj) GetIp() int32 { 106 if m != nil && m.Ip != nil { 107 return *m.Ip 108 } 109 return 0 110 } 111 112 func (m *Cl5IpcObj) GetAreaId() int32 { 113 if m != nil && m.AreaId != nil { 114 return *m.AreaId 115 } 116 return 0 117 } 118 119 func (m *Cl5IpcObj) GetCityId() int32 { 120 if m != nil && m.CityId != nil { 121 return *m.CityId 122 } 123 return 0 124 } 125 126 func (m *Cl5IpcObj) GetIdcId() int32 { 127 if m != nil && m.IdcId != nil { 128 return *m.IdcId 129 } 130 return 0 131 } 132 133 // IP配置信息列表 134 type Cl5IpcList struct { 135 Ipc []*Cl5IpcObj `protobuf:"bytes,1,rep,name=ipc" json:"ipc,omitempty"` 136 XXX_NoUnkeyedLiteral struct{} `json:"-"` 137 XXX_unrecognized []byte `json:"-"` 138 XXX_sizecache int32 `json:"-"` 139 } 140 141 func (m *Cl5IpcList) Reset() { *m = Cl5IpcList{} } 142 func (m *Cl5IpcList) String() string { return proto.CompactTextString(m) } 143 func (*Cl5IpcList) ProtoMessage() {} 144 func (*Cl5IpcList) Descriptor() ([]byte, []int) { 145 return fileDescriptor_cl5_5845103484782c18, []int{1} 146 } 147 func (m *Cl5IpcList) XXX_Unmarshal(b []byte) error { 148 return xxx_messageInfo_Cl5IpcList.Unmarshal(m, b) 149 } 150 func (m *Cl5IpcList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 151 return xxx_messageInfo_Cl5IpcList.Marshal(b, m, deterministic) 152 } 153 func (dst *Cl5IpcList) XXX_Merge(src proto.Message) { 154 xxx_messageInfo_Cl5IpcList.Merge(dst, src) 155 } 156 func (m *Cl5IpcList) XXX_Size() int { 157 return xxx_messageInfo_Cl5IpcList.Size(m) 158 } 159 func (m *Cl5IpcList) XXX_DiscardUnknown() { 160 xxx_messageInfo_Cl5IpcList.DiscardUnknown(m) 161 } 162 163 var xxx_messageInfo_Cl5IpcList proto.InternalMessageInfo 164 165 func (m *Cl5IpcList) GetIpc() []*Cl5IpcObj { 166 if m != nil { 167 return m.Ipc 168 } 169 return nil 170 } 171 172 // Sid属性 173 type Cl5SidObj struct { 174 ModId *int32 `protobuf:"varint,1,req,name=mod_id" json:"mod_id,omitempty"` 175 CmdId *int32 `protobuf:"varint,2,req,name=cmd_id" json:"cmd_id,omitempty"` 176 Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` 177 Policy *int32 `protobuf:"varint,4,opt,name=policy" json:"policy,omitempty"` 178 XXX_NoUnkeyedLiteral struct{} `json:"-"` 179 XXX_unrecognized []byte `json:"-"` 180 XXX_sizecache int32 `json:"-"` 181 } 182 183 func (m *Cl5SidObj) Reset() { *m = Cl5SidObj{} } 184 func (m *Cl5SidObj) String() string { return proto.CompactTextString(m) } 185 func (*Cl5SidObj) ProtoMessage() {} 186 func (*Cl5SidObj) Descriptor() ([]byte, []int) { 187 return fileDescriptor_cl5_5845103484782c18, []int{2} 188 } 189 func (m *Cl5SidObj) XXX_Unmarshal(b []byte) error { 190 return xxx_messageInfo_Cl5SidObj.Unmarshal(m, b) 191 } 192 func (m *Cl5SidObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 193 return xxx_messageInfo_Cl5SidObj.Marshal(b, m, deterministic) 194 } 195 func (dst *Cl5SidObj) XXX_Merge(src proto.Message) { 196 xxx_messageInfo_Cl5SidObj.Merge(dst, src) 197 } 198 func (m *Cl5SidObj) XXX_Size() int { 199 return xxx_messageInfo_Cl5SidObj.Size(m) 200 } 201 func (m *Cl5SidObj) XXX_DiscardUnknown() { 202 xxx_messageInfo_Cl5SidObj.DiscardUnknown(m) 203 } 204 205 var xxx_messageInfo_Cl5SidObj proto.InternalMessageInfo 206 207 func (m *Cl5SidObj) GetModId() int32 { 208 if m != nil && m.ModId != nil { 209 return *m.ModId 210 } 211 return 0 212 } 213 214 func (m *Cl5SidObj) GetCmdId() int32 { 215 if m != nil && m.CmdId != nil { 216 return *m.CmdId 217 } 218 return 0 219 } 220 221 func (m *Cl5SidObj) GetName() string { 222 if m != nil && m.Name != nil { 223 return *m.Name 224 } 225 return "" 226 } 227 228 func (m *Cl5SidObj) GetPolicy() int32 { 229 if m != nil && m.Policy != nil { 230 return *m.Policy 231 } 232 return 0 233 } 234 235 // Sid属性列表 236 type Cl5SidList struct { 237 Sid []*Cl5SidObj `protobuf:"bytes,1,rep,name=sid" json:"sid,omitempty"` 238 XXX_NoUnkeyedLiteral struct{} `json:"-"` 239 XXX_unrecognized []byte `json:"-"` 240 XXX_sizecache int32 `json:"-"` 241 } 242 243 func (m *Cl5SidList) Reset() { *m = Cl5SidList{} } 244 func (m *Cl5SidList) String() string { return proto.CompactTextString(m) } 245 func (*Cl5SidList) ProtoMessage() {} 246 func (*Cl5SidList) Descriptor() ([]byte, []int) { 247 return fileDescriptor_cl5_5845103484782c18, []int{3} 248 } 249 func (m *Cl5SidList) XXX_Unmarshal(b []byte) error { 250 return xxx_messageInfo_Cl5SidList.Unmarshal(m, b) 251 } 252 func (m *Cl5SidList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 253 return xxx_messageInfo_Cl5SidList.Marshal(b, m, deterministic) 254 } 255 func (dst *Cl5SidList) XXX_Merge(src proto.Message) { 256 xxx_messageInfo_Cl5SidList.Merge(dst, src) 257 } 258 func (m *Cl5SidList) XXX_Size() int { 259 return xxx_messageInfo_Cl5SidList.Size(m) 260 } 261 func (m *Cl5SidList) XXX_DiscardUnknown() { 262 xxx_messageInfo_Cl5SidList.DiscardUnknown(m) 263 } 264 265 var xxx_messageInfo_Cl5SidList proto.InternalMessageInfo 266 267 func (m *Cl5SidList) GetSid() []*Cl5SidObj { 268 if m != nil { 269 return m.Sid 270 } 271 return nil 272 } 273 274 // Sid 275 type Cl5OptObj struct { 276 ModId *int32 `protobuf:"varint,1,req,name=mod_id" json:"mod_id,omitempty"` 277 CmdId *int32 `protobuf:"varint,2,req,name=cmd_id" json:"cmd_id,omitempty"` 278 XXX_NoUnkeyedLiteral struct{} `json:"-"` 279 XXX_unrecognized []byte `json:"-"` 280 XXX_sizecache int32 `json:"-"` 281 } 282 283 func (m *Cl5OptObj) Reset() { *m = Cl5OptObj{} } 284 func (m *Cl5OptObj) String() string { return proto.CompactTextString(m) } 285 func (*Cl5OptObj) ProtoMessage() {} 286 func (*Cl5OptObj) Descriptor() ([]byte, []int) { 287 return fileDescriptor_cl5_5845103484782c18, []int{4} 288 } 289 func (m *Cl5OptObj) XXX_Unmarshal(b []byte) error { 290 return xxx_messageInfo_Cl5OptObj.Unmarshal(m, b) 291 } 292 func (m *Cl5OptObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 293 return xxx_messageInfo_Cl5OptObj.Marshal(b, m, deterministic) 294 } 295 func (dst *Cl5OptObj) XXX_Merge(src proto.Message) { 296 xxx_messageInfo_Cl5OptObj.Merge(dst, src) 297 } 298 func (m *Cl5OptObj) XXX_Size() int { 299 return xxx_messageInfo_Cl5OptObj.Size(m) 300 } 301 func (m *Cl5OptObj) XXX_DiscardUnknown() { 302 xxx_messageInfo_Cl5OptObj.DiscardUnknown(m) 303 } 304 305 var xxx_messageInfo_Cl5OptObj proto.InternalMessageInfo 306 307 func (m *Cl5OptObj) GetModId() int32 { 308 if m != nil && m.ModId != nil { 309 return *m.ModId 310 } 311 return 0 312 } 313 314 func (m *Cl5OptObj) GetCmdId() int32 { 315 if m != nil && m.CmdId != nil { 316 return *m.CmdId 317 } 318 return 0 319 } 320 321 // Sid列表,用于CL5_SYNC_BY_AGENT_CMD请求包 322 type Cl5OptList struct { 323 Opt []*Cl5OptObj `protobuf:"bytes,1,rep,name=opt" json:"opt,omitempty"` 324 XXX_NoUnkeyedLiteral struct{} `json:"-"` 325 XXX_unrecognized []byte `json:"-"` 326 XXX_sizecache int32 `json:"-"` 327 } 328 329 func (m *Cl5OptList) Reset() { *m = Cl5OptList{} } 330 func (m *Cl5OptList) String() string { return proto.CompactTextString(m) } 331 func (*Cl5OptList) ProtoMessage() {} 332 func (*Cl5OptList) Descriptor() ([]byte, []int) { 333 return fileDescriptor_cl5_5845103484782c18, []int{5} 334 } 335 func (m *Cl5OptList) XXX_Unmarshal(b []byte) error { 336 return xxx_messageInfo_Cl5OptList.Unmarshal(m, b) 337 } 338 func (m *Cl5OptList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 339 return xxx_messageInfo_Cl5OptList.Marshal(b, m, deterministic) 340 } 341 func (dst *Cl5OptList) XXX_Merge(src proto.Message) { 342 xxx_messageInfo_Cl5OptList.Merge(dst, src) 343 } 344 func (m *Cl5OptList) XXX_Size() int { 345 return xxx_messageInfo_Cl5OptList.Size(m) 346 } 347 func (m *Cl5OptList) XXX_DiscardUnknown() { 348 xxx_messageInfo_Cl5OptList.DiscardUnknown(m) 349 } 350 351 var xxx_messageInfo_Cl5OptList proto.InternalMessageInfo 352 353 func (m *Cl5OptList) GetOpt() []*Cl5OptObj { 354 if m != nil { 355 return m.Opt 356 } 357 return nil 358 } 359 360 // Sid名字列表,用于CL5_REGISTER_BY_NAME_CMD请求包 361 type Cl5NameList struct { 362 Name []string `protobuf:"bytes,1,rep,name=name" json:"name,omitempty"` 363 XXX_NoUnkeyedLiteral struct{} `json:"-"` 364 XXX_unrecognized []byte `json:"-"` 365 XXX_sizecache int32 `json:"-"` 366 } 367 368 func (m *Cl5NameList) Reset() { *m = Cl5NameList{} } 369 func (m *Cl5NameList) String() string { return proto.CompactTextString(m) } 370 func (*Cl5NameList) ProtoMessage() {} 371 func (*Cl5NameList) Descriptor() ([]byte, []int) { 372 return fileDescriptor_cl5_5845103484782c18, []int{6} 373 } 374 func (m *Cl5NameList) XXX_Unmarshal(b []byte) error { 375 return xxx_messageInfo_Cl5NameList.Unmarshal(m, b) 376 } 377 func (m *Cl5NameList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 378 return xxx_messageInfo_Cl5NameList.Marshal(b, m, deterministic) 379 } 380 func (dst *Cl5NameList) XXX_Merge(src proto.Message) { 381 xxx_messageInfo_Cl5NameList.Merge(dst, src) 382 } 383 func (m *Cl5NameList) XXX_Size() int { 384 return xxx_messageInfo_Cl5NameList.Size(m) 385 } 386 func (m *Cl5NameList) XXX_DiscardUnknown() { 387 xxx_messageInfo_Cl5NameList.DiscardUnknown(m) 388 } 389 390 var xxx_messageInfo_Cl5NameList proto.InternalMessageInfo 391 392 func (m *Cl5NameList) GetName() []string { 393 if m != nil { 394 return m.Name 395 } 396 return nil 397 } 398 399 // l5 server列表,用于agent实现在连接l5 server失败时重试其他l5 server 400 type Cl5L5SvrList struct { 401 Ip []int32 `protobuf:"varint,1,rep,name=ip" json:"ip,omitempty"` 402 XXX_NoUnkeyedLiteral struct{} `json:"-"` 403 XXX_unrecognized []byte `json:"-"` 404 XXX_sizecache int32 `json:"-"` 405 } 406 407 func (m *Cl5L5SvrList) Reset() { *m = Cl5L5SvrList{} } 408 func (m *Cl5L5SvrList) String() string { return proto.CompactTextString(m) } 409 func (*Cl5L5SvrList) ProtoMessage() {} 410 func (*Cl5L5SvrList) Descriptor() ([]byte, []int) { 411 return fileDescriptor_cl5_5845103484782c18, []int{7} 412 } 413 func (m *Cl5L5SvrList) XXX_Unmarshal(b []byte) error { 414 return xxx_messageInfo_Cl5L5SvrList.Unmarshal(m, b) 415 } 416 func (m *Cl5L5SvrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 417 return xxx_messageInfo_Cl5L5SvrList.Marshal(b, m, deterministic) 418 } 419 func (dst *Cl5L5SvrList) XXX_Merge(src proto.Message) { 420 xxx_messageInfo_Cl5L5SvrList.Merge(dst, src) 421 } 422 func (m *Cl5L5SvrList) XXX_Size() int { 423 return xxx_messageInfo_Cl5L5SvrList.Size(m) 424 } 425 func (m *Cl5L5SvrList) XXX_DiscardUnknown() { 426 xxx_messageInfo_Cl5L5SvrList.DiscardUnknown(m) 427 } 428 429 var xxx_messageInfo_Cl5L5SvrList proto.InternalMessageInfo 430 431 func (m *Cl5L5SvrList) GetIp() []int32 { 432 if m != nil { 433 return m.Ip 434 } 435 return nil 436 } 437 438 // 被调server 439 type Cl5ServObj struct { 440 ModId *int32 `protobuf:"varint,1,req,name=mod_id" json:"mod_id,omitempty"` 441 CmdId *int32 `protobuf:"varint,2,req,name=cmd_id" json:"cmd_id,omitempty"` 442 Ip *int32 `protobuf:"varint,3,req,name=ip" json:"ip,omitempty"` 443 Port *int32 `protobuf:"varint,4,req,name=port" json:"port,omitempty"` 444 Weight *int32 `protobuf:"varint,5,req,name=weight" json:"weight,omitempty"` 445 XXX_NoUnkeyedLiteral struct{} `json:"-"` 446 XXX_unrecognized []byte `json:"-"` 447 XXX_sizecache int32 `json:"-"` 448 } 449 450 func (m *Cl5ServObj) Reset() { *m = Cl5ServObj{} } 451 func (m *Cl5ServObj) String() string { return proto.CompactTextString(m) } 452 func (*Cl5ServObj) ProtoMessage() {} 453 func (*Cl5ServObj) Descriptor() ([]byte, []int) { 454 return fileDescriptor_cl5_5845103484782c18, []int{8} 455 } 456 func (m *Cl5ServObj) XXX_Unmarshal(b []byte) error { 457 return xxx_messageInfo_Cl5ServObj.Unmarshal(m, b) 458 } 459 func (m *Cl5ServObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 460 return xxx_messageInfo_Cl5ServObj.Marshal(b, m, deterministic) 461 } 462 func (dst *Cl5ServObj) XXX_Merge(src proto.Message) { 463 xxx_messageInfo_Cl5ServObj.Merge(dst, src) 464 } 465 func (m *Cl5ServObj) XXX_Size() int { 466 return xxx_messageInfo_Cl5ServObj.Size(m) 467 } 468 func (m *Cl5ServObj) XXX_DiscardUnknown() { 469 xxx_messageInfo_Cl5ServObj.DiscardUnknown(m) 470 } 471 472 var xxx_messageInfo_Cl5ServObj proto.InternalMessageInfo 473 474 func (m *Cl5ServObj) GetModId() int32 { 475 if m != nil && m.ModId != nil { 476 return *m.ModId 477 } 478 return 0 479 } 480 481 func (m *Cl5ServObj) GetCmdId() int32 { 482 if m != nil && m.CmdId != nil { 483 return *m.CmdId 484 } 485 return 0 486 } 487 488 func (m *Cl5ServObj) GetIp() int32 { 489 if m != nil && m.Ip != nil { 490 return *m.Ip 491 } 492 return 0 493 } 494 495 func (m *Cl5ServObj) GetPort() int32 { 496 if m != nil && m.Port != nil { 497 return *m.Port 498 } 499 return 0 500 } 501 502 func (m *Cl5ServObj) GetWeight() int32 { 503 if m != nil && m.Weight != nil { 504 return *m.Weight 505 } 506 return 0 507 } 508 509 // 被调server列表 510 type Cl5ServList struct { 511 Serv []*Cl5ServObj `protobuf:"bytes,1,rep,name=serv" json:"serv,omitempty"` 512 XXX_NoUnkeyedLiteral struct{} `json:"-"` 513 XXX_unrecognized []byte `json:"-"` 514 XXX_sizecache int32 `json:"-"` 515 } 516 517 func (m *Cl5ServList) Reset() { *m = Cl5ServList{} } 518 func (m *Cl5ServList) String() string { return proto.CompactTextString(m) } 519 func (*Cl5ServList) ProtoMessage() {} 520 func (*Cl5ServList) Descriptor() ([]byte, []int) { 521 return fileDescriptor_cl5_5845103484782c18, []int{9} 522 } 523 func (m *Cl5ServList) XXX_Unmarshal(b []byte) error { 524 return xxx_messageInfo_Cl5ServList.Unmarshal(m, b) 525 } 526 func (m *Cl5ServList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 527 return xxx_messageInfo_Cl5ServList.Marshal(b, m, deterministic) 528 } 529 func (dst *Cl5ServList) XXX_Merge(src proto.Message) { 530 xxx_messageInfo_Cl5ServList.Merge(dst, src) 531 } 532 func (m *Cl5ServList) XXX_Size() int { 533 return xxx_messageInfo_Cl5ServList.Size(m) 534 } 535 func (m *Cl5ServList) XXX_DiscardUnknown() { 536 xxx_messageInfo_Cl5ServList.DiscardUnknown(m) 537 } 538 539 var xxx_messageInfo_Cl5ServList proto.InternalMessageInfo 540 541 func (m *Cl5ServList) GetServ() []*Cl5ServObj { 542 if m != nil { 543 return m.Serv 544 } 545 return nil 546 } 547 548 // 有状态规则配置 549 type Cl5PolyObj struct { 550 ModId *int32 `protobuf:"varint,1,req,name=mod_id" json:"mod_id,omitempty"` 551 Div *int32 `protobuf:"varint,2,req,name=div" json:"div,omitempty"` 552 Mod *int32 `protobuf:"varint,3,req,name=mod" json:"mod,omitempty"` 553 XXX_NoUnkeyedLiteral struct{} `json:"-"` 554 XXX_unrecognized []byte `json:"-"` 555 XXX_sizecache int32 `json:"-"` 556 } 557 558 func (m *Cl5PolyObj) Reset() { *m = Cl5PolyObj{} } 559 func (m *Cl5PolyObj) String() string { return proto.CompactTextString(m) } 560 func (*Cl5PolyObj) ProtoMessage() {} 561 func (*Cl5PolyObj) Descriptor() ([]byte, []int) { 562 return fileDescriptor_cl5_5845103484782c18, []int{10} 563 } 564 func (m *Cl5PolyObj) XXX_Unmarshal(b []byte) error { 565 return xxx_messageInfo_Cl5PolyObj.Unmarshal(m, b) 566 } 567 func (m *Cl5PolyObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 568 return xxx_messageInfo_Cl5PolyObj.Marshal(b, m, deterministic) 569 } 570 func (dst *Cl5PolyObj) XXX_Merge(src proto.Message) { 571 xxx_messageInfo_Cl5PolyObj.Merge(dst, src) 572 } 573 func (m *Cl5PolyObj) XXX_Size() int { 574 return xxx_messageInfo_Cl5PolyObj.Size(m) 575 } 576 func (m *Cl5PolyObj) XXX_DiscardUnknown() { 577 xxx_messageInfo_Cl5PolyObj.DiscardUnknown(m) 578 } 579 580 var xxx_messageInfo_Cl5PolyObj proto.InternalMessageInfo 581 582 func (m *Cl5PolyObj) GetModId() int32 { 583 if m != nil && m.ModId != nil { 584 return *m.ModId 585 } 586 return 0 587 } 588 589 func (m *Cl5PolyObj) GetDiv() int32 { 590 if m != nil && m.Div != nil { 591 return *m.Div 592 } 593 return 0 594 } 595 596 func (m *Cl5PolyObj) GetMod() int32 { 597 if m != nil && m.Mod != nil { 598 return *m.Mod 599 } 600 return 0 601 } 602 603 // 有状态规则分段信息 604 type Cl5SectObj struct { 605 ModId *int32 `protobuf:"varint,1,req,name=mod_id" json:"mod_id,omitempty"` 606 From *int32 `protobuf:"varint,2,req,name=from" json:"from,omitempty"` 607 To *int32 `protobuf:"varint,3,req,name=to" json:"to,omitempty"` 608 CmdId *int32 `protobuf:"varint,4,req,name=cmd_id" json:"cmd_id,omitempty"` 609 XXX_NoUnkeyedLiteral struct{} `json:"-"` 610 XXX_unrecognized []byte `json:"-"` 611 XXX_sizecache int32 `json:"-"` 612 } 613 614 func (m *Cl5SectObj) Reset() { *m = Cl5SectObj{} } 615 func (m *Cl5SectObj) String() string { return proto.CompactTextString(m) } 616 func (*Cl5SectObj) ProtoMessage() {} 617 func (*Cl5SectObj) Descriptor() ([]byte, []int) { 618 return fileDescriptor_cl5_5845103484782c18, []int{11} 619 } 620 func (m *Cl5SectObj) XXX_Unmarshal(b []byte) error { 621 return xxx_messageInfo_Cl5SectObj.Unmarshal(m, b) 622 } 623 func (m *Cl5SectObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 624 return xxx_messageInfo_Cl5SectObj.Marshal(b, m, deterministic) 625 } 626 func (dst *Cl5SectObj) XXX_Merge(src proto.Message) { 627 xxx_messageInfo_Cl5SectObj.Merge(dst, src) 628 } 629 func (m *Cl5SectObj) XXX_Size() int { 630 return xxx_messageInfo_Cl5SectObj.Size(m) 631 } 632 func (m *Cl5SectObj) XXX_DiscardUnknown() { 633 xxx_messageInfo_Cl5SectObj.DiscardUnknown(m) 634 } 635 636 var xxx_messageInfo_Cl5SectObj proto.InternalMessageInfo 637 638 func (m *Cl5SectObj) GetModId() int32 { 639 if m != nil && m.ModId != nil { 640 return *m.ModId 641 } 642 return 0 643 } 644 645 func (m *Cl5SectObj) GetFrom() int32 { 646 if m != nil && m.From != nil { 647 return *m.From 648 } 649 return 0 650 } 651 652 func (m *Cl5SectObj) GetTo() int32 { 653 if m != nil && m.To != nil { 654 return *m.To 655 } 656 return 0 657 } 658 659 func (m *Cl5SectObj) GetCmdId() int32 { 660 if m != nil && m.CmdId != nil { 661 return *m.CmdId 662 } 663 return 0 664 } 665 666 // 有状态规则列表 667 type Cl5RuleList struct { 668 Poly []*Cl5PolyObj `protobuf:"bytes,1,rep,name=poly" json:"poly,omitempty"` 669 Sect []*Cl5SectObj `protobuf:"bytes,2,rep,name=sect" json:"sect,omitempty"` 670 XXX_NoUnkeyedLiteral struct{} `json:"-"` 671 XXX_unrecognized []byte `json:"-"` 672 XXX_sizecache int32 `json:"-"` 673 } 674 675 func (m *Cl5RuleList) Reset() { *m = Cl5RuleList{} } 676 func (m *Cl5RuleList) String() string { return proto.CompactTextString(m) } 677 func (*Cl5RuleList) ProtoMessage() {} 678 func (*Cl5RuleList) Descriptor() ([]byte, []int) { 679 return fileDescriptor_cl5_5845103484782c18, []int{12} 680 } 681 func (m *Cl5RuleList) XXX_Unmarshal(b []byte) error { 682 return xxx_messageInfo_Cl5RuleList.Unmarshal(m, b) 683 } 684 func (m *Cl5RuleList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 685 return xxx_messageInfo_Cl5RuleList.Marshal(b, m, deterministic) 686 } 687 func (dst *Cl5RuleList) XXX_Merge(src proto.Message) { 688 xxx_messageInfo_Cl5RuleList.Merge(dst, src) 689 } 690 func (m *Cl5RuleList) XXX_Size() int { 691 return xxx_messageInfo_Cl5RuleList.Size(m) 692 } 693 func (m *Cl5RuleList) XXX_DiscardUnknown() { 694 xxx_messageInfo_Cl5RuleList.DiscardUnknown(m) 695 } 696 697 var xxx_messageInfo_Cl5RuleList proto.InternalMessageInfo 698 699 func (m *Cl5RuleList) GetPoly() []*Cl5PolyObj { 700 if m != nil { 701 return m.Poly 702 } 703 return nil 704 } 705 706 func (m *Cl5RuleList) GetSect() []*Cl5SectObj { 707 if m != nil { 708 return m.Sect 709 } 710 return nil 711 } 712 713 // CL5_SYNC_BY_AGENT_CMD请求包 714 type Cl5SyncByAgentCmd struct { 715 AgentIp *int32 `protobuf:"varint,1,req,name=agent_ip" json:"agent_ip,omitempty"` 716 SyncFlow *int32 `protobuf:"varint,2,req,name=sync_flow" json:"sync_flow,omitempty"` 717 OptList *Cl5OptList `protobuf:"bytes,3,opt,name=opt_list" json:"opt_list,omitempty"` 718 XXX_NoUnkeyedLiteral struct{} `json:"-"` 719 XXX_unrecognized []byte `json:"-"` 720 XXX_sizecache int32 `json:"-"` 721 } 722 723 func (m *Cl5SyncByAgentCmd) Reset() { *m = Cl5SyncByAgentCmd{} } 724 func (m *Cl5SyncByAgentCmd) String() string { return proto.CompactTextString(m) } 725 func (*Cl5SyncByAgentCmd) ProtoMessage() {} 726 func (*Cl5SyncByAgentCmd) Descriptor() ([]byte, []int) { 727 return fileDescriptor_cl5_5845103484782c18, []int{13} 728 } 729 func (m *Cl5SyncByAgentCmd) XXX_Unmarshal(b []byte) error { 730 return xxx_messageInfo_Cl5SyncByAgentCmd.Unmarshal(m, b) 731 } 732 func (m *Cl5SyncByAgentCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 733 return xxx_messageInfo_Cl5SyncByAgentCmd.Marshal(b, m, deterministic) 734 } 735 func (dst *Cl5SyncByAgentCmd) XXX_Merge(src proto.Message) { 736 xxx_messageInfo_Cl5SyncByAgentCmd.Merge(dst, src) 737 } 738 func (m *Cl5SyncByAgentCmd) XXX_Size() int { 739 return xxx_messageInfo_Cl5SyncByAgentCmd.Size(m) 740 } 741 func (m *Cl5SyncByAgentCmd) XXX_DiscardUnknown() { 742 xxx_messageInfo_Cl5SyncByAgentCmd.DiscardUnknown(m) 743 } 744 745 var xxx_messageInfo_Cl5SyncByAgentCmd proto.InternalMessageInfo 746 747 func (m *Cl5SyncByAgentCmd) GetAgentIp() int32 { 748 if m != nil && m.AgentIp != nil { 749 return *m.AgentIp 750 } 751 return 0 752 } 753 754 func (m *Cl5SyncByAgentCmd) GetSyncFlow() int32 { 755 if m != nil && m.SyncFlow != nil { 756 return *m.SyncFlow 757 } 758 return 0 759 } 760 761 func (m *Cl5SyncByAgentCmd) GetOptList() *Cl5OptList { 762 if m != nil { 763 return m.OptList 764 } 765 return nil 766 } 767 768 // CL5_SYNC_BY_AGENT_CMD应答包 769 type Cl5SyncByAgentAckCmd struct { 770 AgentIp *int32 `protobuf:"varint,1,req,name=agent_ip" json:"agent_ip,omitempty"` 771 SyncFlow *int32 `protobuf:"varint,2,req,name=sync_flow" json:"sync_flow,omitempty"` 772 ServList *Cl5ServList `protobuf:"bytes,3,opt,name=serv_list" json:"serv_list,omitempty"` 773 SidList *Cl5SidList `protobuf:"bytes,4,opt,name=sid_list" json:"sid_list,omitempty"` 774 IpcList *Cl5IpcList `protobuf:"bytes,5,opt,name=ipc_list" json:"ipc_list,omitempty"` 775 RuleList *Cl5RuleList `protobuf:"bytes,6,opt,name=rule_list" json:"rule_list,omitempty"` 776 L5SvrList *Cl5L5SvrList `protobuf:"bytes,7,opt,name=l5svr_list" json:"l5svr_list,omitempty"` 777 XXX_NoUnkeyedLiteral struct{} `json:"-"` 778 XXX_unrecognized []byte `json:"-"` 779 XXX_sizecache int32 `json:"-"` 780 } 781 782 func (m *Cl5SyncByAgentAckCmd) Reset() { *m = Cl5SyncByAgentAckCmd{} } 783 func (m *Cl5SyncByAgentAckCmd) String() string { return proto.CompactTextString(m) } 784 func (*Cl5SyncByAgentAckCmd) ProtoMessage() {} 785 func (*Cl5SyncByAgentAckCmd) Descriptor() ([]byte, []int) { 786 return fileDescriptor_cl5_5845103484782c18, []int{14} 787 } 788 func (m *Cl5SyncByAgentAckCmd) XXX_Unmarshal(b []byte) error { 789 return xxx_messageInfo_Cl5SyncByAgentAckCmd.Unmarshal(m, b) 790 } 791 func (m *Cl5SyncByAgentAckCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 792 return xxx_messageInfo_Cl5SyncByAgentAckCmd.Marshal(b, m, deterministic) 793 } 794 func (dst *Cl5SyncByAgentAckCmd) XXX_Merge(src proto.Message) { 795 xxx_messageInfo_Cl5SyncByAgentAckCmd.Merge(dst, src) 796 } 797 func (m *Cl5SyncByAgentAckCmd) XXX_Size() int { 798 return xxx_messageInfo_Cl5SyncByAgentAckCmd.Size(m) 799 } 800 func (m *Cl5SyncByAgentAckCmd) XXX_DiscardUnknown() { 801 xxx_messageInfo_Cl5SyncByAgentAckCmd.DiscardUnknown(m) 802 } 803 804 var xxx_messageInfo_Cl5SyncByAgentAckCmd proto.InternalMessageInfo 805 806 func (m *Cl5SyncByAgentAckCmd) GetAgentIp() int32 { 807 if m != nil && m.AgentIp != nil { 808 return *m.AgentIp 809 } 810 return 0 811 } 812 813 func (m *Cl5SyncByAgentAckCmd) GetSyncFlow() int32 { 814 if m != nil && m.SyncFlow != nil { 815 return *m.SyncFlow 816 } 817 return 0 818 } 819 820 func (m *Cl5SyncByAgentAckCmd) GetServList() *Cl5ServList { 821 if m != nil { 822 return m.ServList 823 } 824 return nil 825 } 826 827 func (m *Cl5SyncByAgentAckCmd) GetSidList() *Cl5SidList { 828 if m != nil { 829 return m.SidList 830 } 831 return nil 832 } 833 834 func (m *Cl5SyncByAgentAckCmd) GetIpcList() *Cl5IpcList { 835 if m != nil { 836 return m.IpcList 837 } 838 return nil 839 } 840 841 func (m *Cl5SyncByAgentAckCmd) GetRuleList() *Cl5RuleList { 842 if m != nil { 843 return m.RuleList 844 } 845 return nil 846 } 847 848 func (m *Cl5SyncByAgentAckCmd) GetL5SvrList() *Cl5L5SvrList { 849 if m != nil { 850 return m.L5SvrList 851 } 852 return nil 853 } 854 855 // 已经废弃 856 type Cl5RegisterByIdCmd struct { 857 CallerIp *int32 `protobuf:"varint,1,req,name=caller_ip" json:"caller_ip,omitempty"` 858 OptList *Cl5OptList `protobuf:"bytes,2,opt,name=opt_list" json:"opt_list,omitempty"` 859 XXX_NoUnkeyedLiteral struct{} `json:"-"` 860 XXX_unrecognized []byte `json:"-"` 861 XXX_sizecache int32 `json:"-"` 862 } 863 864 func (m *Cl5RegisterByIdCmd) Reset() { *m = Cl5RegisterByIdCmd{} } 865 func (m *Cl5RegisterByIdCmd) String() string { return proto.CompactTextString(m) } 866 func (*Cl5RegisterByIdCmd) ProtoMessage() {} 867 func (*Cl5RegisterByIdCmd) Descriptor() ([]byte, []int) { 868 return fileDescriptor_cl5_5845103484782c18, []int{15} 869 } 870 func (m *Cl5RegisterByIdCmd) XXX_Unmarshal(b []byte) error { 871 return xxx_messageInfo_Cl5RegisterByIdCmd.Unmarshal(m, b) 872 } 873 func (m *Cl5RegisterByIdCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 874 return xxx_messageInfo_Cl5RegisterByIdCmd.Marshal(b, m, deterministic) 875 } 876 func (dst *Cl5RegisterByIdCmd) XXX_Merge(src proto.Message) { 877 xxx_messageInfo_Cl5RegisterByIdCmd.Merge(dst, src) 878 } 879 func (m *Cl5RegisterByIdCmd) XXX_Size() int { 880 return xxx_messageInfo_Cl5RegisterByIdCmd.Size(m) 881 } 882 func (m *Cl5RegisterByIdCmd) XXX_DiscardUnknown() { 883 xxx_messageInfo_Cl5RegisterByIdCmd.DiscardUnknown(m) 884 } 885 886 var xxx_messageInfo_Cl5RegisterByIdCmd proto.InternalMessageInfo 887 888 func (m *Cl5RegisterByIdCmd) GetCallerIp() int32 { 889 if m != nil && m.CallerIp != nil { 890 return *m.CallerIp 891 } 892 return 0 893 } 894 895 func (m *Cl5RegisterByIdCmd) GetOptList() *Cl5OptList { 896 if m != nil { 897 return m.OptList 898 } 899 return nil 900 } 901 902 // 已经废弃 903 type Cl5RegisterByIdAckCmd struct { 904 CallerIp *int32 `protobuf:"varint,1,req,name=caller_ip" json:"caller_ip,omitempty"` 905 ServList *Cl5ServList `protobuf:"bytes,2,opt,name=serv_list" json:"serv_list,omitempty"` 906 SidList *Cl5SidList `protobuf:"bytes,3,opt,name=sid_list" json:"sid_list,omitempty"` 907 IpcList *Cl5IpcList `protobuf:"bytes,4,opt,name=ipc_list" json:"ipc_list,omitempty"` 908 XXX_NoUnkeyedLiteral struct{} `json:"-"` 909 XXX_unrecognized []byte `json:"-"` 910 XXX_sizecache int32 `json:"-"` 911 } 912 913 func (m *Cl5RegisterByIdAckCmd) Reset() { *m = Cl5RegisterByIdAckCmd{} } 914 func (m *Cl5RegisterByIdAckCmd) String() string { return proto.CompactTextString(m) } 915 func (*Cl5RegisterByIdAckCmd) ProtoMessage() {} 916 func (*Cl5RegisterByIdAckCmd) Descriptor() ([]byte, []int) { 917 return fileDescriptor_cl5_5845103484782c18, []int{16} 918 } 919 func (m *Cl5RegisterByIdAckCmd) XXX_Unmarshal(b []byte) error { 920 return xxx_messageInfo_Cl5RegisterByIdAckCmd.Unmarshal(m, b) 921 } 922 func (m *Cl5RegisterByIdAckCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 923 return xxx_messageInfo_Cl5RegisterByIdAckCmd.Marshal(b, m, deterministic) 924 } 925 func (dst *Cl5RegisterByIdAckCmd) XXX_Merge(src proto.Message) { 926 xxx_messageInfo_Cl5RegisterByIdAckCmd.Merge(dst, src) 927 } 928 func (m *Cl5RegisterByIdAckCmd) XXX_Size() int { 929 return xxx_messageInfo_Cl5RegisterByIdAckCmd.Size(m) 930 } 931 func (m *Cl5RegisterByIdAckCmd) XXX_DiscardUnknown() { 932 xxx_messageInfo_Cl5RegisterByIdAckCmd.DiscardUnknown(m) 933 } 934 935 var xxx_messageInfo_Cl5RegisterByIdAckCmd proto.InternalMessageInfo 936 937 func (m *Cl5RegisterByIdAckCmd) GetCallerIp() int32 { 938 if m != nil && m.CallerIp != nil { 939 return *m.CallerIp 940 } 941 return 0 942 } 943 944 func (m *Cl5RegisterByIdAckCmd) GetServList() *Cl5ServList { 945 if m != nil { 946 return m.ServList 947 } 948 return nil 949 } 950 951 func (m *Cl5RegisterByIdAckCmd) GetSidList() *Cl5SidList { 952 if m != nil { 953 return m.SidList 954 } 955 return nil 956 } 957 958 func (m *Cl5RegisterByIdAckCmd) GetIpcList() *Cl5IpcList { 959 if m != nil { 960 return m.IpcList 961 } 962 return nil 963 } 964 965 // CL5_REGISTER_BY_NAME_CMD 请求包 966 type Cl5RegisterByNameCmd struct { 967 CallerIp *int32 `protobuf:"varint,1,req,name=caller_ip" json:"caller_ip,omitempty"` 968 NameList *Cl5NameList `protobuf:"bytes,2,opt,name=name_list" json:"name_list,omitempty"` 969 XXX_NoUnkeyedLiteral struct{} `json:"-"` 970 XXX_unrecognized []byte `json:"-"` 971 XXX_sizecache int32 `json:"-"` 972 } 973 974 func (m *Cl5RegisterByNameCmd) Reset() { *m = Cl5RegisterByNameCmd{} } 975 func (m *Cl5RegisterByNameCmd) String() string { return proto.CompactTextString(m) } 976 func (*Cl5RegisterByNameCmd) ProtoMessage() {} 977 func (*Cl5RegisterByNameCmd) Descriptor() ([]byte, []int) { 978 return fileDescriptor_cl5_5845103484782c18, []int{17} 979 } 980 func (m *Cl5RegisterByNameCmd) XXX_Unmarshal(b []byte) error { 981 return xxx_messageInfo_Cl5RegisterByNameCmd.Unmarshal(m, b) 982 } 983 func (m *Cl5RegisterByNameCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 984 return xxx_messageInfo_Cl5RegisterByNameCmd.Marshal(b, m, deterministic) 985 } 986 func (dst *Cl5RegisterByNameCmd) XXX_Merge(src proto.Message) { 987 xxx_messageInfo_Cl5RegisterByNameCmd.Merge(dst, src) 988 } 989 func (m *Cl5RegisterByNameCmd) XXX_Size() int { 990 return xxx_messageInfo_Cl5RegisterByNameCmd.Size(m) 991 } 992 func (m *Cl5RegisterByNameCmd) XXX_DiscardUnknown() { 993 xxx_messageInfo_Cl5RegisterByNameCmd.DiscardUnknown(m) 994 } 995 996 var xxx_messageInfo_Cl5RegisterByNameCmd proto.InternalMessageInfo 997 998 func (m *Cl5RegisterByNameCmd) GetCallerIp() int32 { 999 if m != nil && m.CallerIp != nil { 1000 return *m.CallerIp 1001 } 1002 return 0 1003 } 1004 1005 func (m *Cl5RegisterByNameCmd) GetNameList() *Cl5NameList { 1006 if m != nil { 1007 return m.NameList 1008 } 1009 return nil 1010 } 1011 1012 // CL5_REGISTER_BY_NAME_ACK_CMD 应答包 1013 type Cl5RegisterByNameAckCmd struct { 1014 CallerIp *int32 `protobuf:"varint,1,req,name=caller_ip" json:"caller_ip,omitempty"` 1015 ServList *Cl5ServList `protobuf:"bytes,2,opt,name=serv_list" json:"serv_list,omitempty"` 1016 SidList *Cl5SidList `protobuf:"bytes,3,opt,name=sid_list" json:"sid_list,omitempty"` 1017 IpcList *Cl5IpcList `protobuf:"bytes,4,opt,name=ipc_list" json:"ipc_list,omitempty"` 1018 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1019 XXX_unrecognized []byte `json:"-"` 1020 XXX_sizecache int32 `json:"-"` 1021 } 1022 1023 func (m *Cl5RegisterByNameAckCmd) Reset() { *m = Cl5RegisterByNameAckCmd{} } 1024 func (m *Cl5RegisterByNameAckCmd) String() string { return proto.CompactTextString(m) } 1025 func (*Cl5RegisterByNameAckCmd) ProtoMessage() {} 1026 func (*Cl5RegisterByNameAckCmd) Descriptor() ([]byte, []int) { 1027 return fileDescriptor_cl5_5845103484782c18, []int{18} 1028 } 1029 func (m *Cl5RegisterByNameAckCmd) XXX_Unmarshal(b []byte) error { 1030 return xxx_messageInfo_Cl5RegisterByNameAckCmd.Unmarshal(m, b) 1031 } 1032 func (m *Cl5RegisterByNameAckCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1033 return xxx_messageInfo_Cl5RegisterByNameAckCmd.Marshal(b, m, deterministic) 1034 } 1035 func (dst *Cl5RegisterByNameAckCmd) XXX_Merge(src proto.Message) { 1036 xxx_messageInfo_Cl5RegisterByNameAckCmd.Merge(dst, src) 1037 } 1038 func (m *Cl5RegisterByNameAckCmd) XXX_Size() int { 1039 return xxx_messageInfo_Cl5RegisterByNameAckCmd.Size(m) 1040 } 1041 func (m *Cl5RegisterByNameAckCmd) XXX_DiscardUnknown() { 1042 xxx_messageInfo_Cl5RegisterByNameAckCmd.DiscardUnknown(m) 1043 } 1044 1045 var xxx_messageInfo_Cl5RegisterByNameAckCmd proto.InternalMessageInfo 1046 1047 func (m *Cl5RegisterByNameAckCmd) GetCallerIp() int32 { 1048 if m != nil && m.CallerIp != nil { 1049 return *m.CallerIp 1050 } 1051 return 0 1052 } 1053 1054 func (m *Cl5RegisterByNameAckCmd) GetServList() *Cl5ServList { 1055 if m != nil { 1056 return m.ServList 1057 } 1058 return nil 1059 } 1060 1061 func (m *Cl5RegisterByNameAckCmd) GetSidList() *Cl5SidList { 1062 if m != nil { 1063 return m.SidList 1064 } 1065 return nil 1066 } 1067 1068 func (m *Cl5RegisterByNameAckCmd) GetIpcList() *Cl5IpcList { 1069 if m != nil { 1070 return m.IpcList 1071 } 1072 return nil 1073 } 1074 1075 // 包格式 1076 type Cl5Pkg struct { 1077 Seqno *int32 `protobuf:"varint,1,req,name=seqno" json:"seqno,omitempty"` 1078 Cmd *int32 `protobuf:"varint,2,req,name=cmd" json:"cmd,omitempty"` 1079 Result *int32 `protobuf:"varint,3,opt,name=result" json:"result,omitempty"` 1080 Error *string `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"` 1081 Ip *int32 `protobuf:"varint,5,opt,name=ip" json:"ip,omitempty"` 1082 SyncByAgentCmd *Cl5SyncByAgentCmd `protobuf:"bytes,10,opt,name=sync_by_agent_cmd" json:"sync_by_agent_cmd,omitempty"` 1083 SyncByAgentAckCmd *Cl5SyncByAgentAckCmd `protobuf:"bytes,11,opt,name=sync_by_agent_ack_cmd" json:"sync_by_agent_ack_cmd,omitempty"` 1084 RegisterByIdCmd *Cl5RegisterByIdCmd `protobuf:"bytes,12,opt,name=register_by_id_cmd" json:"register_by_id_cmd,omitempty"` 1085 RegisterByIdAckCmd *Cl5RegisterByIdAckCmd `protobuf:"bytes,13,opt,name=register_by_id_ack_cmd" json:"register_by_id_ack_cmd,omitempty"` 1086 RegisterByNameCmd *Cl5RegisterByNameCmd `protobuf:"bytes,14,opt,name=register_by_name_cmd" json:"register_by_name_cmd,omitempty"` 1087 RegisterByNameAckCmd *Cl5RegisterByNameAckCmd `protobuf:"bytes,15,opt,name=register_by_name_ack_cmd" json:"register_by_name_ack_cmd,omitempty"` 1088 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1089 XXX_unrecognized []byte `json:"-"` 1090 XXX_sizecache int32 `json:"-"` 1091 } 1092 1093 func (m *Cl5Pkg) Reset() { *m = Cl5Pkg{} } 1094 func (m *Cl5Pkg) String() string { return proto.CompactTextString(m) } 1095 func (*Cl5Pkg) ProtoMessage() {} 1096 func (*Cl5Pkg) Descriptor() ([]byte, []int) { 1097 return fileDescriptor_cl5_5845103484782c18, []int{19} 1098 } 1099 func (m *Cl5Pkg) XXX_Unmarshal(b []byte) error { 1100 return xxx_messageInfo_Cl5Pkg.Unmarshal(m, b) 1101 } 1102 func (m *Cl5Pkg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1103 return xxx_messageInfo_Cl5Pkg.Marshal(b, m, deterministic) 1104 } 1105 func (dst *Cl5Pkg) XXX_Merge(src proto.Message) { 1106 xxx_messageInfo_Cl5Pkg.Merge(dst, src) 1107 } 1108 func (m *Cl5Pkg) XXX_Size() int { 1109 return xxx_messageInfo_Cl5Pkg.Size(m) 1110 } 1111 func (m *Cl5Pkg) XXX_DiscardUnknown() { 1112 xxx_messageInfo_Cl5Pkg.DiscardUnknown(m) 1113 } 1114 1115 var xxx_messageInfo_Cl5Pkg proto.InternalMessageInfo 1116 1117 func (m *Cl5Pkg) GetSeqno() int32 { 1118 if m != nil && m.Seqno != nil { 1119 return *m.Seqno 1120 } 1121 return 0 1122 } 1123 1124 func (m *Cl5Pkg) GetCmd() int32 { 1125 if m != nil && m.Cmd != nil { 1126 return *m.Cmd 1127 } 1128 return 0 1129 } 1130 1131 func (m *Cl5Pkg) GetResult() int32 { 1132 if m != nil && m.Result != nil { 1133 return *m.Result 1134 } 1135 return 0 1136 } 1137 1138 func (m *Cl5Pkg) GetError() string { 1139 if m != nil && m.Error != nil { 1140 return *m.Error 1141 } 1142 return "" 1143 } 1144 1145 func (m *Cl5Pkg) GetIp() int32 { 1146 if m != nil && m.Ip != nil { 1147 return *m.Ip 1148 } 1149 return 0 1150 } 1151 1152 func (m *Cl5Pkg) GetSyncByAgentCmd() *Cl5SyncByAgentCmd { 1153 if m != nil { 1154 return m.SyncByAgentCmd 1155 } 1156 return nil 1157 } 1158 1159 func (m *Cl5Pkg) GetSyncByAgentAckCmd() *Cl5SyncByAgentAckCmd { 1160 if m != nil { 1161 return m.SyncByAgentAckCmd 1162 } 1163 return nil 1164 } 1165 1166 func (m *Cl5Pkg) GetRegisterByIdCmd() *Cl5RegisterByIdCmd { 1167 if m != nil { 1168 return m.RegisterByIdCmd 1169 } 1170 return nil 1171 } 1172 1173 func (m *Cl5Pkg) GetRegisterByIdAckCmd() *Cl5RegisterByIdAckCmd { 1174 if m != nil { 1175 return m.RegisterByIdAckCmd 1176 } 1177 return nil 1178 } 1179 1180 func (m *Cl5Pkg) GetRegisterByNameCmd() *Cl5RegisterByNameCmd { 1181 if m != nil { 1182 return m.RegisterByNameCmd 1183 } 1184 return nil 1185 } 1186 1187 func (m *Cl5Pkg) GetRegisterByNameAckCmd() *Cl5RegisterByNameAckCmd { 1188 if m != nil { 1189 return m.RegisterByNameAckCmd 1190 } 1191 return nil 1192 } 1193 1194 func init() { 1195 proto.RegisterType((*Cl5IpcObj)(nil), "l5.cl5_ipc_obj") 1196 proto.RegisterType((*Cl5IpcList)(nil), "l5.cl5_ipc_list") 1197 proto.RegisterType((*Cl5SidObj)(nil), "l5.cl5_sid_obj") 1198 proto.RegisterType((*Cl5SidList)(nil), "l5.cl5_sid_list") 1199 proto.RegisterType((*Cl5OptObj)(nil), "l5.cl5_opt_obj") 1200 proto.RegisterType((*Cl5OptList)(nil), "l5.cl5_opt_list") 1201 proto.RegisterType((*Cl5NameList)(nil), "l5.cl5_name_list") 1202 proto.RegisterType((*Cl5L5SvrList)(nil), "l5.cl5_l5svr_list") 1203 proto.RegisterType((*Cl5ServObj)(nil), "l5.cl5_serv_obj") 1204 proto.RegisterType((*Cl5ServList)(nil), "l5.cl5_serv_list") 1205 proto.RegisterType((*Cl5PolyObj)(nil), "l5.cl5_poly_obj") 1206 proto.RegisterType((*Cl5SectObj)(nil), "l5.cl5_sect_obj") 1207 proto.RegisterType((*Cl5RuleList)(nil), "l5.cl5_rule_list") 1208 proto.RegisterType((*Cl5SyncByAgentCmd)(nil), "l5.cl5_sync_by_agent_cmd") 1209 proto.RegisterType((*Cl5SyncByAgentAckCmd)(nil), "l5.cl5_sync_by_agent_ack_cmd") 1210 proto.RegisterType((*Cl5RegisterByIdCmd)(nil), "l5.cl5_register_by_id_cmd") 1211 proto.RegisterType((*Cl5RegisterByIdAckCmd)(nil), "l5.cl5_register_by_id_ack_cmd") 1212 proto.RegisterType((*Cl5RegisterByNameCmd)(nil), "l5.cl5_register_by_name_cmd") 1213 proto.RegisterType((*Cl5RegisterByNameAckCmd)(nil), "l5.cl5_register_by_name_ack_cmd") 1214 proto.RegisterType((*Cl5Pkg)(nil), "l5.cl5_pkg") 1215 proto.RegisterEnum("l5.CL5_CMD", CL5_CMD_name, CL5_CMD_value) 1216 } 1217 1218 func init() { proto.RegisterFile("cl5.proto", fileDescriptor_cl5_5845103484782c18) } 1219 1220 var fileDescriptor_cl5_5845103484782c18 = []byte{ 1221 // 771 bytes of a gzipped FileDescriptorProto 1222 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x54, 0x4d, 0x6b, 0xdb, 0x40, 1223 0x10, 0x45, 0x96, 0xbf, 0x34, 0x76, 0x9c, 0x58, 0x34, 0x61, 0x6d, 0x9c, 0x60, 0x96, 0x50, 0x4c, 1224 0x69, 0x53, 0x28, 0x75, 0x29, 0xa5, 0x14, 0x12, 0xc7, 0xa4, 0x21, 0x4d, 0x02, 0x49, 0x0e, 0xcd, 1225 0x49, 0x75, 0x56, 0x8a,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