github.com/microsoft/moc@v0.17.1/rpc/cloudagent/network/moc_cloudagent_loadbalancer.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: moc_cloudagent_loadbalancer.proto 3 4 package network 5 6 import ( 7 context "context" 8 fmt "fmt" 9 proto "github.com/golang/protobuf/proto" 10 wrappers "github.com/golang/protobuf/ptypes/wrappers" 11 common "github.com/microsoft/moc/rpc/common" 12 grpc "google.golang.org/grpc" 13 codes "google.golang.org/grpc/codes" 14 status "google.golang.org/grpc/status" 15 math "math" 16 ) 17 18 // Reference imports to suppress errors if they are not otherwise used. 19 var _ = proto.Marshal 20 var _ = fmt.Errorf 21 var _ = math.Inf 22 23 // This is a compile-time assertion to ensure that this generated file 24 // is compatible with the proto package it is being compiled against. 25 // A compilation error at this line likely means your copy of the 26 // proto package needs to be updated. 27 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 28 29 type LoadBalancerRequest struct { 30 LoadBalancers []*LoadBalancer `protobuf:"bytes,1,rep,name=LoadBalancers,proto3" json:"LoadBalancers,omitempty"` 31 OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` 32 XXX_NoUnkeyedLiteral struct{} `json:"-"` 33 XXX_unrecognized []byte `json:"-"` 34 XXX_sizecache int32 `json:"-"` 35 } 36 37 func (m *LoadBalancerRequest) Reset() { *m = LoadBalancerRequest{} } 38 func (m *LoadBalancerRequest) String() string { return proto.CompactTextString(m) } 39 func (*LoadBalancerRequest) ProtoMessage() {} 40 func (*LoadBalancerRequest) Descriptor() ([]byte, []int) { 41 return fileDescriptor_7464476b31ac10f8, []int{0} 42 } 43 44 func (m *LoadBalancerRequest) XXX_Unmarshal(b []byte) error { 45 return xxx_messageInfo_LoadBalancerRequest.Unmarshal(m, b) 46 } 47 func (m *LoadBalancerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 48 return xxx_messageInfo_LoadBalancerRequest.Marshal(b, m, deterministic) 49 } 50 func (m *LoadBalancerRequest) XXX_Merge(src proto.Message) { 51 xxx_messageInfo_LoadBalancerRequest.Merge(m, src) 52 } 53 func (m *LoadBalancerRequest) XXX_Size() int { 54 return xxx_messageInfo_LoadBalancerRequest.Size(m) 55 } 56 func (m *LoadBalancerRequest) XXX_DiscardUnknown() { 57 xxx_messageInfo_LoadBalancerRequest.DiscardUnknown(m) 58 } 59 60 var xxx_messageInfo_LoadBalancerRequest proto.InternalMessageInfo 61 62 func (m *LoadBalancerRequest) GetLoadBalancers() []*LoadBalancer { 63 if m != nil { 64 return m.LoadBalancers 65 } 66 return nil 67 } 68 69 func (m *LoadBalancerRequest) GetOperationType() common.Operation { 70 if m != nil { 71 return m.OperationType 72 } 73 return common.Operation_GET 74 } 75 76 type LoadBalancerResponse struct { 77 LoadBalancers []*LoadBalancer `protobuf:"bytes,1,rep,name=LoadBalancers,proto3" json:"LoadBalancers,omitempty"` 78 Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` 79 Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` 80 XXX_NoUnkeyedLiteral struct{} `json:"-"` 81 XXX_unrecognized []byte `json:"-"` 82 XXX_sizecache int32 `json:"-"` 83 } 84 85 func (m *LoadBalancerResponse) Reset() { *m = LoadBalancerResponse{} } 86 func (m *LoadBalancerResponse) String() string { return proto.CompactTextString(m) } 87 func (*LoadBalancerResponse) ProtoMessage() {} 88 func (*LoadBalancerResponse) Descriptor() ([]byte, []int) { 89 return fileDescriptor_7464476b31ac10f8, []int{1} 90 } 91 92 func (m *LoadBalancerResponse) XXX_Unmarshal(b []byte) error { 93 return xxx_messageInfo_LoadBalancerResponse.Unmarshal(m, b) 94 } 95 func (m *LoadBalancerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 96 return xxx_messageInfo_LoadBalancerResponse.Marshal(b, m, deterministic) 97 } 98 func (m *LoadBalancerResponse) XXX_Merge(src proto.Message) { 99 xxx_messageInfo_LoadBalancerResponse.Merge(m, src) 100 } 101 func (m *LoadBalancerResponse) XXX_Size() int { 102 return xxx_messageInfo_LoadBalancerResponse.Size(m) 103 } 104 func (m *LoadBalancerResponse) XXX_DiscardUnknown() { 105 xxx_messageInfo_LoadBalancerResponse.DiscardUnknown(m) 106 } 107 108 var xxx_messageInfo_LoadBalancerResponse proto.InternalMessageInfo 109 110 func (m *LoadBalancerResponse) GetLoadBalancers() []*LoadBalancer { 111 if m != nil { 112 return m.LoadBalancers 113 } 114 return nil 115 } 116 117 func (m *LoadBalancerResponse) GetResult() *wrappers.BoolValue { 118 if m != nil { 119 return m.Result 120 } 121 return nil 122 } 123 124 func (m *LoadBalancerResponse) GetError() string { 125 if m != nil { 126 return m.Error 127 } 128 return "" 129 } 130 131 type LoadbalancerInboundNatRule struct { 132 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 133 FrontendPort uint32 `protobuf:"varint,2,opt,name=frontendPort,proto3" json:"frontendPort,omitempty"` 134 BackendPort uint32 `protobuf:"varint,3,opt,name=backendPort,proto3" json:"backendPort,omitempty"` 135 Protocol common.Protocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=moc.Protocol" json:"protocol,omitempty"` 136 XXX_NoUnkeyedLiteral struct{} `json:"-"` 137 XXX_unrecognized []byte `json:"-"` 138 XXX_sizecache int32 `json:"-"` 139 } 140 141 func (m *LoadbalancerInboundNatRule) Reset() { *m = LoadbalancerInboundNatRule{} } 142 func (m *LoadbalancerInboundNatRule) String() string { return proto.CompactTextString(m) } 143 func (*LoadbalancerInboundNatRule) ProtoMessage() {} 144 func (*LoadbalancerInboundNatRule) Descriptor() ([]byte, []int) { 145 return fileDescriptor_7464476b31ac10f8, []int{2} 146 } 147 148 func (m *LoadbalancerInboundNatRule) XXX_Unmarshal(b []byte) error { 149 return xxx_messageInfo_LoadbalancerInboundNatRule.Unmarshal(m, b) 150 } 151 func (m *LoadbalancerInboundNatRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 152 return xxx_messageInfo_LoadbalancerInboundNatRule.Marshal(b, m, deterministic) 153 } 154 func (m *LoadbalancerInboundNatRule) XXX_Merge(src proto.Message) { 155 xxx_messageInfo_LoadbalancerInboundNatRule.Merge(m, src) 156 } 157 func (m *LoadbalancerInboundNatRule) XXX_Size() int { 158 return xxx_messageInfo_LoadbalancerInboundNatRule.Size(m) 159 } 160 func (m *LoadbalancerInboundNatRule) XXX_DiscardUnknown() { 161 xxx_messageInfo_LoadbalancerInboundNatRule.DiscardUnknown(m) 162 } 163 164 var xxx_messageInfo_LoadbalancerInboundNatRule proto.InternalMessageInfo 165 166 func (m *LoadbalancerInboundNatRule) GetName() string { 167 if m != nil { 168 return m.Name 169 } 170 return "" 171 } 172 173 func (m *LoadbalancerInboundNatRule) GetFrontendPort() uint32 { 174 if m != nil { 175 return m.FrontendPort 176 } 177 return 0 178 } 179 180 func (m *LoadbalancerInboundNatRule) GetBackendPort() uint32 { 181 if m != nil { 182 return m.BackendPort 183 } 184 return 0 185 } 186 187 func (m *LoadbalancerInboundNatRule) GetProtocol() common.Protocol { 188 if m != nil { 189 return m.Protocol 190 } 191 return common.Protocol_All 192 } 193 194 type LoadBalancingRule struct { 195 FrontendPort uint32 `protobuf:"varint,1,opt,name=frontendPort,proto3" json:"frontendPort,omitempty"` 196 BackendPort uint32 `protobuf:"varint,2,opt,name=backendPort,proto3" json:"backendPort,omitempty"` 197 Protocol common.Protocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=moc.Protocol" json:"protocol,omitempty"` 198 XXX_NoUnkeyedLiteral struct{} `json:"-"` 199 XXX_unrecognized []byte `json:"-"` 200 XXX_sizecache int32 `json:"-"` 201 } 202 203 func (m *LoadBalancingRule) Reset() { *m = LoadBalancingRule{} } 204 func (m *LoadBalancingRule) String() string { return proto.CompactTextString(m) } 205 func (*LoadBalancingRule) ProtoMessage() {} 206 func (*LoadBalancingRule) Descriptor() ([]byte, []int) { 207 return fileDescriptor_7464476b31ac10f8, []int{3} 208 } 209 210 func (m *LoadBalancingRule) XXX_Unmarshal(b []byte) error { 211 return xxx_messageInfo_LoadBalancingRule.Unmarshal(m, b) 212 } 213 func (m *LoadBalancingRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 214 return xxx_messageInfo_LoadBalancingRule.Marshal(b, m, deterministic) 215 } 216 func (m *LoadBalancingRule) XXX_Merge(src proto.Message) { 217 xxx_messageInfo_LoadBalancingRule.Merge(m, src) 218 } 219 func (m *LoadBalancingRule) XXX_Size() int { 220 return xxx_messageInfo_LoadBalancingRule.Size(m) 221 } 222 func (m *LoadBalancingRule) XXX_DiscardUnknown() { 223 xxx_messageInfo_LoadBalancingRule.DiscardUnknown(m) 224 } 225 226 var xxx_messageInfo_LoadBalancingRule proto.InternalMessageInfo 227 228 func (m *LoadBalancingRule) GetFrontendPort() uint32 { 229 if m != nil { 230 return m.FrontendPort 231 } 232 return 0 233 } 234 235 func (m *LoadBalancingRule) GetBackendPort() uint32 { 236 if m != nil { 237 return m.BackendPort 238 } 239 return 0 240 } 241 242 func (m *LoadBalancingRule) GetProtocol() common.Protocol { 243 if m != nil { 244 return m.Protocol 245 } 246 return common.Protocol_All 247 } 248 249 type LoadBalancer struct { 250 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 251 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 252 FrontendIP string `protobuf:"bytes,3,opt,name=frontendIP,proto3" json:"frontendIP,omitempty"` 253 Backendpoolnames []string `protobuf:"bytes,4,rep,name=backendpoolnames,proto3" json:"backendpoolnames,omitempty"` 254 Networkid string `protobuf:"bytes,5,opt,name=networkid,proto3" json:"networkid,omitempty"` 255 Loadbalancingrules []*LoadBalancingRule `protobuf:"bytes,6,rep,name=loadbalancingrules,proto3" json:"loadbalancingrules,omitempty"` 256 Nodefqdn string `protobuf:"bytes,7,opt,name=nodefqdn,proto3" json:"nodefqdn,omitempty"` 257 GroupName string `protobuf:"bytes,8,opt,name=groupName,proto3" json:"groupName,omitempty"` 258 LocationName string `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"` 259 Status *common.Status `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"` 260 Tags *common.Tags `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"` 261 ReplicationCount uint32 `protobuf:"varint,12,opt,name=replicationCount,proto3" json:"replicationCount,omitempty"` 262 InboundNatRules []*LoadbalancerInboundNatRule `protobuf:"bytes,13,rep,name=inboundNatRules,proto3" json:"inboundNatRules,omitempty"` 263 XXX_NoUnkeyedLiteral struct{} `json:"-"` 264 XXX_unrecognized []byte `json:"-"` 265 XXX_sizecache int32 `json:"-"` 266 } 267 268 func (m *LoadBalancer) Reset() { *m = LoadBalancer{} } 269 func (m *LoadBalancer) String() string { return proto.CompactTextString(m) } 270 func (*LoadBalancer) ProtoMessage() {} 271 func (*LoadBalancer) Descriptor() ([]byte, []int) { 272 return fileDescriptor_7464476b31ac10f8, []int{4} 273 } 274 275 func (m *LoadBalancer) XXX_Unmarshal(b []byte) error { 276 return xxx_messageInfo_LoadBalancer.Unmarshal(m, b) 277 } 278 func (m *LoadBalancer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 279 return xxx_messageInfo_LoadBalancer.Marshal(b, m, deterministic) 280 } 281 func (m *LoadBalancer) XXX_Merge(src proto.Message) { 282 xxx_messageInfo_LoadBalancer.Merge(m, src) 283 } 284 func (m *LoadBalancer) XXX_Size() int { 285 return xxx_messageInfo_LoadBalancer.Size(m) 286 } 287 func (m *LoadBalancer) XXX_DiscardUnknown() { 288 xxx_messageInfo_LoadBalancer.DiscardUnknown(m) 289 } 290 291 var xxx_messageInfo_LoadBalancer proto.InternalMessageInfo 292 293 func (m *LoadBalancer) GetName() string { 294 if m != nil { 295 return m.Name 296 } 297 return "" 298 } 299 300 func (m *LoadBalancer) GetId() string { 301 if m != nil { 302 return m.Id 303 } 304 return "" 305 } 306 307 func (m *LoadBalancer) GetFrontendIP() string { 308 if m != nil { 309 return m.FrontendIP 310 } 311 return "" 312 } 313 314 func (m *LoadBalancer) GetBackendpoolnames() []string { 315 if m != nil { 316 return m.Backendpoolnames 317 } 318 return nil 319 } 320 321 func (m *LoadBalancer) GetNetworkid() string { 322 if m != nil { 323 return m.Networkid 324 } 325 return "" 326 } 327 328 func (m *LoadBalancer) GetLoadbalancingrules() []*LoadBalancingRule { 329 if m != nil { 330 return m.Loadbalancingrules 331 } 332 return nil 333 } 334 335 func (m *LoadBalancer) GetNodefqdn() string { 336 if m != nil { 337 return m.Nodefqdn 338 } 339 return "" 340 } 341 342 func (m *LoadBalancer) GetGroupName() string { 343 if m != nil { 344 return m.GroupName 345 } 346 return "" 347 } 348 349 func (m *LoadBalancer) GetLocationName() string { 350 if m != nil { 351 return m.LocationName 352 } 353 return "" 354 } 355 356 func (m *LoadBalancer) GetStatus() *common.Status { 357 if m != nil { 358 return m.Status 359 } 360 return nil 361 } 362 363 func (m *LoadBalancer) GetTags() *common.Tags { 364 if m != nil { 365 return m.Tags 366 } 367 return nil 368 } 369 370 func (m *LoadBalancer) GetReplicationCount() uint32 { 371 if m != nil { 372 return m.ReplicationCount 373 } 374 return 0 375 } 376 377 func (m *LoadBalancer) GetInboundNatRules() []*LoadbalancerInboundNatRule { 378 if m != nil { 379 return m.InboundNatRules 380 } 381 return nil 382 } 383 384 func init() { 385 proto.RegisterType((*LoadBalancerRequest)(nil), "moc.cloudagent.network.LoadBalancerRequest") 386 proto.RegisterType((*LoadBalancerResponse)(nil), "moc.cloudagent.network.LoadBalancerResponse") 387 proto.RegisterType((*LoadbalancerInboundNatRule)(nil), "moc.cloudagent.network.LoadbalancerInboundNatRule") 388 proto.RegisterType((*LoadBalancingRule)(nil), "moc.cloudagent.network.LoadBalancingRule") 389 proto.RegisterType((*LoadBalancer)(nil), "moc.cloudagent.network.LoadBalancer") 390 } 391 392 func init() { proto.RegisterFile("moc_cloudagent_loadbalancer.proto", fileDescriptor_7464476b31ac10f8) } 393 394 var fileDescriptor_7464476b31ac10f8 = []byte{ 395 // 641 bytes of a gzipped FileDescriptorProto 396 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xc1, 0x6e, 0xd3, 0x4a, 397 0x14, 0x7d, 0x4e, 0xd2, 0xbc, 0x66, 0xd2, 0xf4, 0xbd, 0x37, 0xaf, 0x82, 0x51, 0x04, 0x55, 0x08, 398 0x5d, 0xa4, 0x80, 0x6c, 0x11, 0xf8, 0x01, 0x82, 0x58, 0x14, 0x55, 0xa5, 0x1a, 0x2a, 0x24, 0x10, 399 0x52, 0x35, 0xb1, 0x27, 0xc6, 0xea, 0x78, 0xae, 0x3b, 0x33, 0xa6, 0x82, 0x35, 0x0b, 0xfe, 0x80, 400 0x35, 0x7b, 0x24, 0x56, 0xfc, 0x1f, 0xca, 0xb5, 0x9b, 0xd8, 0x6d, 0xd4, 0x76, 0xc1, 0x2a, 0xf1, 401 0xb9, 0x67, 0x8e, 0x8f, 0xcf, 0xbd, 0x77, 0xc8, 0xbd, 0x14, 0xc2, 0xe3, 0x50, 0x41, 0x1e, 0x89, 402 0x58, 0x6a, 0x77, 0xac, 0x40, 0x44, 0x53, 0xa1, 0x84, 0x0e, 0xa5, 0xf1, 0x33, 0x03, 0x0e, 0xe8, 403 0xad, 0x14, 0x42, 0x7f, 0x49, 0xf1, 0xb5, 0x74, 0x67, 0x60, 0x4e, 0xfa, 0xdb, 0x31, 0x40, 0xac, 404 0x64, 0x80, 0xac, 0x69, 0x3e, 0x0b, 0xce, 0x8c, 0xc8, 0x32, 0x69, 0x6c, 0x71, 0xae, 0x7f, 0x1b, 405 0xa5, 0x21, 0x4d, 0x41, 0x97, 0x3f, 0x65, 0x61, 0xbb, 0x52, 0x28, 0xc5, 0xaa, 0xf5, 0xe1, 0x37, 406 0x8f, 0xfc, 0xbf, 0x0f, 0x22, 0x9a, 0x94, 0x3e, 0xb8, 0x3c, 0xcd, 0xa5, 0x75, 0xf4, 0x25, 0xe9, 407 0x55, 0x61, 0xcb, 0xbc, 0x41, 0x73, 0xd4, 0x1d, 0xef, 0xf8, 0xab, 0x0d, 0xfa, 0x35, 0x8d, 0xfa, 408 0x51, 0xfa, 0x94, 0xf4, 0x5e, 0x65, 0xd2, 0x08, 0x97, 0x80, 0x3e, 0xfa, 0x94, 0x49, 0xd6, 0x18, 409 0x78, 0xa3, 0xcd, 0xf1, 0x26, 0x6a, 0x2d, 0x2a, 0xbc, 0x4e, 0x1a, 0xfe, 0xf0, 0xc8, 0x56, 0xdd, 410 0x99, 0xcd, 0x40, 0x5b, 0xf9, 0x47, 0xad, 0x8d, 0x49, 0x9b, 0x4b, 0x9b, 0x2b, 0x87, 0x9e, 0xba, 411 0xe3, 0xbe, 0x5f, 0x04, 0xed, 0x9f, 0x07, 0xed, 0x4f, 0x00, 0xd4, 0x1b, 0xa1, 0x72, 0xc9, 0x4b, 412 0x26, 0xdd, 0x22, 0x6b, 0x2f, 0x8c, 0x01, 0xc3, 0x9a, 0x03, 0x6f, 0xd4, 0xe1, 0xc5, 0xc3, 0xf0, 413 0xbb, 0x47, 0xfa, 0xfb, 0x95, 0x86, 0xee, 0xe9, 0x29, 0xe4, 0x3a, 0x3a, 0x10, 0x8e, 0xe7, 0x4a, 414 0x52, 0x4a, 0x5a, 0x5a, 0xa4, 0x92, 0x79, 0x78, 0x06, 0xff, 0xd3, 0x21, 0xd9, 0x98, 0x19, 0xd0, 415 0x4e, 0xea, 0xe8, 0x10, 0x4c, 0x61, 0xa1, 0xc7, 0x6b, 0x18, 0x1d, 0x90, 0xee, 0x54, 0x84, 0x27, 416 0xe7, 0x94, 0x26, 0x52, 0xaa, 0x10, 0xdd, 0x25, 0xeb, 0x68, 0x36, 0x04, 0xc5, 0x5a, 0x18, 0x6c, 417 0x0f, 0x93, 0x38, 0x2c, 0x41, 0xbe, 0x28, 0x0f, 0xbf, 0x78, 0xe4, 0xbf, 0xe5, 0xf7, 0x27, 0x3a, 418 0x46, 0x6b, 0x17, 0x6d, 0x78, 0xd7, 0xdb, 0x68, 0x5c, 0x6d, 0xa3, 0x79, 0xb5, 0x8d, 0x9f, 0x2d, 419 0xb2, 0x51, 0x6d, 0xc3, 0xca, 0x70, 0x36, 0x49, 0x23, 0x89, 0xf0, 0x45, 0x1d, 0xde, 0x48, 0x22, 420 0xba, 0x43, 0xc8, 0xb9, 0xa3, 0xbd, 0xc3, 0x22, 0xfa, 0x49, 0xeb, 0xeb, 0x2f, 0xe6, 0xf1, 0x0a, 421 0x4e, 0x1f, 0x90, 0x7f, 0x4b, 0x53, 0x19, 0x80, 0x9a, 0x0b, 0x59, 0xd6, 0x1a, 0x34, 0x47, 0x1d, 422 0x7e, 0x09, 0xa7, 0x77, 0x48, 0xa7, 0x1c, 0x91, 0x24, 0x62, 0x6b, 0xf8, 0xa2, 0x25, 0x40, 0xdf, 423 0x12, 0xba, 0xdc, 0xcf, 0x44, 0xc7, 0x26, 0x57, 0xd2, 0xb2, 0x36, 0x8e, 0xda, 0xee, 0xf5, 0xa3, 424 0x56, 0x86, 0xcb, 0x57, 0x88, 0xd0, 0x01, 0x59, 0xd7, 0x10, 0xc9, 0xd9, 0x69, 0xa4, 0xd9, 0xdf, 425 0x95, 0x0f, 0x59, 0xa0, 0x73, 0x6b, 0xb1, 0x81, 0x3c, 0x3b, 0x98, 0xa7, 0xb2, 0x5e, 0x58, 0x5b, 426 0x00, 0xf3, 0x86, 0x29, 0x08, 0x71, 0x53, 0x90, 0xd0, 0x41, 0x42, 0x0d, 0xa3, 0xf7, 0x49, 0xdb, 427 0x3a, 0xe1, 0x72, 0xcb, 0x08, 0x0e, 0x76, 0x17, 0x2d, 0xbf, 0x46, 0x88, 0x97, 0x25, 0x7a, 0x97, 428 0xb4, 0x9c, 0x88, 0x2d, 0xeb, 0x22, 0xa5, 0x83, 0x94, 0x23, 0x11, 0x5b, 0x8e, 0xf0, 0x3c, 0x4c, 429 0x23, 0x33, 0x95, 0x14, 0xb2, 0xcf, 0x21, 0xd7, 0x8e, 0x6d, 0x60, 0xe7, 0x2f, 0xe1, 0xf4, 0x3d, 430 0xf9, 0x27, 0xa9, 0x4d, 0xbc, 0x65, 0x3d, 0xcc, 0x6a, 0x7c, 0x55, 0x56, 0xab, 0x97, 0x85, 0x5f, 431 0x94, 0x1a, 0x7f, 0xae, 0xce, 0xad, 0x34, 0xcf, 0xe6, 0x42, 0x54, 0x92, 0xf6, 0x9e, 0xfe, 0x08, 432 0x27, 0x92, 0x3e, 0xbc, 0xd1, 0xea, 0x17, 0x37, 0x5b, 0xff, 0xd1, 0xcd, 0xc8, 0xc5, 0x65, 0x33, 433 0xfc, 0x6b, 0xf2, 0xf8, 0x5d, 0x10, 0x27, 0xee, 0x43, 0x3e, 0xf5, 0x43, 0x48, 0x83, 0x34, 0x09, 434 0x0d, 0x58, 0x98, 0xb9, 0x20, 0x85, 0x30, 0x30, 0x59, 0x18, 0x2c, 0x95, 0x82, 0x52, 0x69, 0xda, 435 0xc6, 0x51, 0x7f, 0xf2, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x37, 0x4b, 0xd5, 0x09, 0xf1, 0x05, 0x00, 436 0x00, 437 } 438 439 // Reference imports to suppress errors if they are not otherwise used. 440 var _ context.Context 441 var _ grpc.ClientConn 442 443 // This is a compile-time assertion to ensure that this generated file 444 // is compatible with the grpc package it is being compiled against. 445 const _ = grpc.SupportPackageIsVersion4 446 447 // LoadBalancerAgentClient is the client API for LoadBalancerAgent service. 448 // 449 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 450 type LoadBalancerAgentClient interface { 451 Invoke(ctx context.Context, in *LoadBalancerRequest, opts ...grpc.CallOption) (*LoadBalancerResponse, error) 452 } 453 454 type loadBalancerAgentClient struct { 455 cc *grpc.ClientConn 456 } 457 458 func NewLoadBalancerAgentClient(cc *grpc.ClientConn) LoadBalancerAgentClient { 459 return &loadBalancerAgentClient{cc} 460 } 461 462 func (c *loadBalancerAgentClient) Invoke(ctx context.Context, in *LoadBalancerRequest, opts ...grpc.CallOption) (*LoadBalancerResponse, error) { 463 out := new(LoadBalancerResponse) 464 err := c.cc.Invoke(ctx, "/moc.cloudagent.network.LoadBalancerAgent/Invoke", in, out, opts...) 465 if err != nil { 466 return nil, err 467 } 468 return out, nil 469 } 470 471 // LoadBalancerAgentServer is the server API for LoadBalancerAgent service. 472 type LoadBalancerAgentServer interface { 473 Invoke(context.Context, *LoadBalancerRequest) (*LoadBalancerResponse, error) 474 } 475 476 // UnimplementedLoadBalancerAgentServer can be embedded to have forward compatible implementations. 477 type UnimplementedLoadBalancerAgentServer struct { 478 } 479 480 func (*UnimplementedLoadBalancerAgentServer) Invoke(ctx context.Context, req *LoadBalancerRequest) (*LoadBalancerResponse, error) { 481 return nil, status.Errorf(codes.Unimplemented, "method Invoke not implemented") 482 } 483 484 func RegisterLoadBalancerAgentServer(s *grpc.Server, srv LoadBalancerAgentServer) { 485 s.RegisterService(&_LoadBalancerAgent_serviceDesc, srv) 486 } 487 488 func _LoadBalancerAgent_Invoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 489 in := new(LoadBalancerRequest) 490 if err := dec(in); err != nil { 491 return nil, err 492 } 493 if interceptor == nil { 494 return srv.(LoadBalancerAgentServer).Invoke(ctx, in) 495 } 496 info := &grpc.UnaryServerInfo{ 497 Server: srv, 498 FullMethod: "/moc.cloudagent.network.LoadBalancerAgent/Invoke", 499 } 500 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 501 return srv.(LoadBalancerAgentServer).Invoke(ctx, req.(*LoadBalancerRequest)) 502 } 503 return interceptor(ctx, in, info, handler) 504 } 505 506 var _LoadBalancerAgent_serviceDesc = grpc.ServiceDesc{ 507 ServiceName: "moc.cloudagent.network.LoadBalancerAgent", 508 HandlerType: (*LoadBalancerAgentServer)(nil), 509 Methods: []grpc.MethodDesc{ 510 { 511 MethodName: "Invoke", 512 Handler: _LoadBalancerAgent_Invoke_Handler, 513 }, 514 }, 515 Streams: []grpc.StreamDesc{}, 516 Metadata: "moc_cloudagent_loadbalancer.proto", 517 }