github.com/microsoft/moc@v0.17.1/rpc/cloudagent/network/moc_cloudagent_virtualnetwork.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: moc_cloudagent_virtualnetwork.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 VirtualNetworkType int32 30 31 const ( 32 VirtualNetworkType_NAT VirtualNetworkType = 0 33 VirtualNetworkType_Transparent VirtualNetworkType = 1 34 VirtualNetworkType_L2Bridge VirtualNetworkType = 2 35 VirtualNetworkType_L2Tunnel VirtualNetworkType = 3 36 VirtualNetworkType_ICS VirtualNetworkType = 4 37 VirtualNetworkType_Private VirtualNetworkType = 5 38 VirtualNetworkType_Overlay VirtualNetworkType = 6 39 VirtualNetworkType_Internal VirtualNetworkType = 7 40 VirtualNetworkType_Mirrored VirtualNetworkType = 8 41 ) 42 43 var VirtualNetworkType_name = map[int32]string{ 44 0: "NAT", 45 1: "Transparent", 46 2: "L2Bridge", 47 3: "L2Tunnel", 48 4: "ICS", 49 5: "Private", 50 6: "Overlay", 51 7: "Internal", 52 8: "Mirrored", 53 } 54 55 var VirtualNetworkType_value = map[string]int32{ 56 "NAT": 0, 57 "Transparent": 1, 58 "L2Bridge": 2, 59 "L2Tunnel": 3, 60 "ICS": 4, 61 "Private": 5, 62 "Overlay": 6, 63 "Internal": 7, 64 "Mirrored": 8, 65 } 66 67 func (x VirtualNetworkType) String() string { 68 return proto.EnumName(VirtualNetworkType_name, int32(x)) 69 } 70 71 func (VirtualNetworkType) EnumDescriptor() ([]byte, []int) { 72 return fileDescriptor_65af3e74534f0214, []int{0} 73 } 74 75 type VirtualNetworkRequest struct { 76 VirtualNetworks []*VirtualNetwork `protobuf:"bytes,1,rep,name=VirtualNetworks,proto3" json:"VirtualNetworks,omitempty"` 77 OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` 78 XXX_NoUnkeyedLiteral struct{} `json:"-"` 79 XXX_unrecognized []byte `json:"-"` 80 XXX_sizecache int32 `json:"-"` 81 } 82 83 func (m *VirtualNetworkRequest) Reset() { *m = VirtualNetworkRequest{} } 84 func (m *VirtualNetworkRequest) String() string { return proto.CompactTextString(m) } 85 func (*VirtualNetworkRequest) ProtoMessage() {} 86 func (*VirtualNetworkRequest) Descriptor() ([]byte, []int) { 87 return fileDescriptor_65af3e74534f0214, []int{0} 88 } 89 90 func (m *VirtualNetworkRequest) XXX_Unmarshal(b []byte) error { 91 return xxx_messageInfo_VirtualNetworkRequest.Unmarshal(m, b) 92 } 93 func (m *VirtualNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 94 return xxx_messageInfo_VirtualNetworkRequest.Marshal(b, m, deterministic) 95 } 96 func (m *VirtualNetworkRequest) XXX_Merge(src proto.Message) { 97 xxx_messageInfo_VirtualNetworkRequest.Merge(m, src) 98 } 99 func (m *VirtualNetworkRequest) XXX_Size() int { 100 return xxx_messageInfo_VirtualNetworkRequest.Size(m) 101 } 102 func (m *VirtualNetworkRequest) XXX_DiscardUnknown() { 103 xxx_messageInfo_VirtualNetworkRequest.DiscardUnknown(m) 104 } 105 106 var xxx_messageInfo_VirtualNetworkRequest proto.InternalMessageInfo 107 108 func (m *VirtualNetworkRequest) GetVirtualNetworks() []*VirtualNetwork { 109 if m != nil { 110 return m.VirtualNetworks 111 } 112 return nil 113 } 114 115 func (m *VirtualNetworkRequest) GetOperationType() common.Operation { 116 if m != nil { 117 return m.OperationType 118 } 119 return common.Operation_GET 120 } 121 122 type VirtualNetworkResponse struct { 123 VirtualNetworks []*VirtualNetwork `protobuf:"bytes,1,rep,name=VirtualNetworks,proto3" json:"VirtualNetworks,omitempty"` 124 Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` 125 Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` 126 XXX_NoUnkeyedLiteral struct{} `json:"-"` 127 XXX_unrecognized []byte `json:"-"` 128 XXX_sizecache int32 `json:"-"` 129 } 130 131 func (m *VirtualNetworkResponse) Reset() { *m = VirtualNetworkResponse{} } 132 func (m *VirtualNetworkResponse) String() string { return proto.CompactTextString(m) } 133 func (*VirtualNetworkResponse) ProtoMessage() {} 134 func (*VirtualNetworkResponse) Descriptor() ([]byte, []int) { 135 return fileDescriptor_65af3e74534f0214, []int{1} 136 } 137 138 func (m *VirtualNetworkResponse) XXX_Unmarshal(b []byte) error { 139 return xxx_messageInfo_VirtualNetworkResponse.Unmarshal(m, b) 140 } 141 func (m *VirtualNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 142 return xxx_messageInfo_VirtualNetworkResponse.Marshal(b, m, deterministic) 143 } 144 func (m *VirtualNetworkResponse) XXX_Merge(src proto.Message) { 145 xxx_messageInfo_VirtualNetworkResponse.Merge(m, src) 146 } 147 func (m *VirtualNetworkResponse) XXX_Size() int { 148 return xxx_messageInfo_VirtualNetworkResponse.Size(m) 149 } 150 func (m *VirtualNetworkResponse) XXX_DiscardUnknown() { 151 xxx_messageInfo_VirtualNetworkResponse.DiscardUnknown(m) 152 } 153 154 var xxx_messageInfo_VirtualNetworkResponse proto.InternalMessageInfo 155 156 func (m *VirtualNetworkResponse) GetVirtualNetworks() []*VirtualNetwork { 157 if m != nil { 158 return m.VirtualNetworks 159 } 160 return nil 161 } 162 163 func (m *VirtualNetworkResponse) GetResult() *wrappers.BoolValue { 164 if m != nil { 165 return m.Result 166 } 167 return nil 168 } 169 170 func (m *VirtualNetworkResponse) GetError() string { 171 if m != nil { 172 return m.Error 173 } 174 return "" 175 } 176 177 type VirtualNetwork struct { 178 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 179 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 180 Subnets []*Subnet `protobuf:"bytes,3,rep,name=subnets,proto3" json:"subnets,omitempty"` 181 Dns *common.Dns `protobuf:"bytes,4,opt,name=dns,proto3" json:"dns,omitempty"` 182 Type VirtualNetworkType `protobuf:"varint,5,opt,name=type,proto3,enum=moc.cloudagent.network.VirtualNetworkType" json:"type,omitempty"` 183 Nodefqdn string `protobuf:"bytes,6,opt,name=nodefqdn,proto3" json:"nodefqdn,omitempty"` 184 GroupName string `protobuf:"bytes,7,opt,name=groupName,proto3" json:"groupName,omitempty"` 185 Status *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` 186 LocationName string `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"` 187 MacPoolName string `protobuf:"bytes,10,opt,name=macPoolName,proto3" json:"macPoolName,omitempty"` 188 Tags *common.Tags `protobuf:"bytes,12,opt,name=tags,proto3" json:"tags,omitempty"` 189 XXX_NoUnkeyedLiteral struct{} `json:"-"` 190 XXX_unrecognized []byte `json:"-"` 191 XXX_sizecache int32 `json:"-"` 192 } 193 194 func (m *VirtualNetwork) Reset() { *m = VirtualNetwork{} } 195 func (m *VirtualNetwork) String() string { return proto.CompactTextString(m) } 196 func (*VirtualNetwork) ProtoMessage() {} 197 func (*VirtualNetwork) Descriptor() ([]byte, []int) { 198 return fileDescriptor_65af3e74534f0214, []int{2} 199 } 200 201 func (m *VirtualNetwork) XXX_Unmarshal(b []byte) error { 202 return xxx_messageInfo_VirtualNetwork.Unmarshal(m, b) 203 } 204 func (m *VirtualNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 205 return xxx_messageInfo_VirtualNetwork.Marshal(b, m, deterministic) 206 } 207 func (m *VirtualNetwork) XXX_Merge(src proto.Message) { 208 xxx_messageInfo_VirtualNetwork.Merge(m, src) 209 } 210 func (m *VirtualNetwork) XXX_Size() int { 211 return xxx_messageInfo_VirtualNetwork.Size(m) 212 } 213 func (m *VirtualNetwork) XXX_DiscardUnknown() { 214 xxx_messageInfo_VirtualNetwork.DiscardUnknown(m) 215 } 216 217 var xxx_messageInfo_VirtualNetwork proto.InternalMessageInfo 218 219 func (m *VirtualNetwork) GetName() string { 220 if m != nil { 221 return m.Name 222 } 223 return "" 224 } 225 226 func (m *VirtualNetwork) GetId() string { 227 if m != nil { 228 return m.Id 229 } 230 return "" 231 } 232 233 func (m *VirtualNetwork) GetSubnets() []*Subnet { 234 if m != nil { 235 return m.Subnets 236 } 237 return nil 238 } 239 240 func (m *VirtualNetwork) GetDns() *common.Dns { 241 if m != nil { 242 return m.Dns 243 } 244 return nil 245 } 246 247 func (m *VirtualNetwork) GetType() VirtualNetworkType { 248 if m != nil { 249 return m.Type 250 } 251 return VirtualNetworkType_NAT 252 } 253 254 func (m *VirtualNetwork) GetNodefqdn() string { 255 if m != nil { 256 return m.Nodefqdn 257 } 258 return "" 259 } 260 261 func (m *VirtualNetwork) GetGroupName() string { 262 if m != nil { 263 return m.GroupName 264 } 265 return "" 266 } 267 268 func (m *VirtualNetwork) GetStatus() *common.Status { 269 if m != nil { 270 return m.Status 271 } 272 return nil 273 } 274 275 func (m *VirtualNetwork) GetLocationName() string { 276 if m != nil { 277 return m.LocationName 278 } 279 return "" 280 } 281 282 func (m *VirtualNetwork) GetMacPoolName() string { 283 if m != nil { 284 return m.MacPoolName 285 } 286 return "" 287 } 288 289 func (m *VirtualNetwork) GetTags() *common.Tags { 290 if m != nil { 291 return m.Tags 292 } 293 return nil 294 } 295 296 type Subnet struct { 297 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 298 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 299 Cidr string `protobuf:"bytes,3,opt,name=cidr,proto3" json:"cidr,omitempty"` 300 Routes []*common.Route `protobuf:"bytes,4,rep,name=routes,proto3" json:"routes,omitempty"` 301 Allocation common.IPAllocationMethod `protobuf:"varint,5,opt,name=allocation,proto3,enum=moc.IPAllocationMethod" json:"allocation,omitempty"` 302 Vlan uint32 `protobuf:"varint,6,opt,name=vlan,proto3" json:"vlan,omitempty"` 303 Ippools []*common.IPPool `protobuf:"bytes,7,rep,name=ippools,proto3" json:"ippools,omitempty"` 304 Networksecuritygroupref *common.NetworkSecurityGroupReference `protobuf:"bytes,9,opt,name=networksecuritygroupref,proto3" json:"networksecuritygroupref,omitempty"` 305 XXX_NoUnkeyedLiteral struct{} `json:"-"` 306 XXX_unrecognized []byte `json:"-"` 307 XXX_sizecache int32 `json:"-"` 308 } 309 310 func (m *Subnet) Reset() { *m = Subnet{} } 311 func (m *Subnet) String() string { return proto.CompactTextString(m) } 312 func (*Subnet) ProtoMessage() {} 313 func (*Subnet) Descriptor() ([]byte, []int) { 314 return fileDescriptor_65af3e74534f0214, []int{3} 315 } 316 317 func (m *Subnet) XXX_Unmarshal(b []byte) error { 318 return xxx_messageInfo_Subnet.Unmarshal(m, b) 319 } 320 func (m *Subnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 321 return xxx_messageInfo_Subnet.Marshal(b, m, deterministic) 322 } 323 func (m *Subnet) XXX_Merge(src proto.Message) { 324 xxx_messageInfo_Subnet.Merge(m, src) 325 } 326 func (m *Subnet) XXX_Size() int { 327 return xxx_messageInfo_Subnet.Size(m) 328 } 329 func (m *Subnet) XXX_DiscardUnknown() { 330 xxx_messageInfo_Subnet.DiscardUnknown(m) 331 } 332 333 var xxx_messageInfo_Subnet proto.InternalMessageInfo 334 335 func (m *Subnet) GetName() string { 336 if m != nil { 337 return m.Name 338 } 339 return "" 340 } 341 342 func (m *Subnet) GetId() string { 343 if m != nil { 344 return m.Id 345 } 346 return "" 347 } 348 349 func (m *Subnet) GetCidr() string { 350 if m != nil { 351 return m.Cidr 352 } 353 return "" 354 } 355 356 func (m *Subnet) GetRoutes() []*common.Route { 357 if m != nil { 358 return m.Routes 359 } 360 return nil 361 } 362 363 func (m *Subnet) GetAllocation() common.IPAllocationMethod { 364 if m != nil { 365 return m.Allocation 366 } 367 return common.IPAllocationMethod_Invalid 368 } 369 370 func (m *Subnet) GetVlan() uint32 { 371 if m != nil { 372 return m.Vlan 373 } 374 return 0 375 } 376 377 func (m *Subnet) GetIppools() []*common.IPPool { 378 if m != nil { 379 return m.Ippools 380 } 381 return nil 382 } 383 384 func (m *Subnet) GetNetworksecuritygroupref() *common.NetworkSecurityGroupReference { 385 if m != nil { 386 return m.Networksecuritygroupref 387 } 388 return nil 389 } 390 391 type Ipam struct { 392 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` 393 Subnets []*Subnet `protobuf:"bytes,2,rep,name=subnets,proto3" json:"subnets,omitempty"` 394 XXX_NoUnkeyedLiteral struct{} `json:"-"` 395 XXX_unrecognized []byte `json:"-"` 396 XXX_sizecache int32 `json:"-"` 397 } 398 399 func (m *Ipam) Reset() { *m = Ipam{} } 400 func (m *Ipam) String() string { return proto.CompactTextString(m) } 401 func (*Ipam) ProtoMessage() {} 402 func (*Ipam) Descriptor() ([]byte, []int) { 403 return fileDescriptor_65af3e74534f0214, []int{4} 404 } 405 406 func (m *Ipam) XXX_Unmarshal(b []byte) error { 407 return xxx_messageInfo_Ipam.Unmarshal(m, b) 408 } 409 func (m *Ipam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 410 return xxx_messageInfo_Ipam.Marshal(b, m, deterministic) 411 } 412 func (m *Ipam) XXX_Merge(src proto.Message) { 413 xxx_messageInfo_Ipam.Merge(m, src) 414 } 415 func (m *Ipam) XXX_Size() int { 416 return xxx_messageInfo_Ipam.Size(m) 417 } 418 func (m *Ipam) XXX_DiscardUnknown() { 419 xxx_messageInfo_Ipam.DiscardUnknown(m) 420 } 421 422 var xxx_messageInfo_Ipam proto.InternalMessageInfo 423 424 func (m *Ipam) GetType() string { 425 if m != nil { 426 return m.Type 427 } 428 return "" 429 } 430 431 func (m *Ipam) GetSubnets() []*Subnet { 432 if m != nil { 433 return m.Subnets 434 } 435 return nil 436 } 437 438 func init() { 439 proto.RegisterEnum("moc.cloudagent.network.VirtualNetworkType", VirtualNetworkType_name, VirtualNetworkType_value) 440 proto.RegisterType((*VirtualNetworkRequest)(nil), "moc.cloudagent.network.VirtualNetworkRequest") 441 proto.RegisterType((*VirtualNetworkResponse)(nil), "moc.cloudagent.network.VirtualNetworkResponse") 442 proto.RegisterType((*VirtualNetwork)(nil), "moc.cloudagent.network.VirtualNetwork") 443 proto.RegisterType((*Subnet)(nil), "moc.cloudagent.network.Subnet") 444 proto.RegisterType((*Ipam)(nil), "moc.cloudagent.network.Ipam") 445 } 446 447 func init() { 448 proto.RegisterFile("moc_cloudagent_virtualnetwork.proto", fileDescriptor_65af3e74534f0214) 449 } 450 451 var fileDescriptor_65af3e74534f0214 = []byte{ 452 // 769 bytes of a gzipped FileDescriptorProto 453 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xd1, 0x8e, 0xdb, 0x44, 454 0x14, 0xad, 0x13, 0xaf, 0xe3, 0x5c, 0x6f, 0xb7, 0xd6, 0x00, 0x5d, 0x2b, 0x82, 0xd5, 0xca, 0x15, 455 0xd5, 0xaa, 0x12, 0xb6, 0x08, 0x48, 0xf0, 0x84, 0xb4, 0x0b, 0x08, 0xa5, 0xa2, 0xdb, 0xd5, 0x24, 456 0xea, 0x03, 0x42, 0xaa, 0x26, 0xf6, 0xc4, 0xb5, 0x6a, 0xcf, 0xb8, 0x33, 0xe3, 0x54, 0xfb, 0xc6, 457 0x23, 0x7c, 0x05, 0x7c, 0x04, 0xbc, 0xf1, 0x71, 0x68, 0xae, 0x9d, 0xdd, 0x64, 0xa1, 0x52, 0x78, 458 0xe8, 0x53, 0x3c, 0x73, 0xce, 0x3d, 0xf7, 0xcc, 0xb9, 0x93, 0x81, 0x47, 0xb5, 0xcc, 0x5e, 0x66, 459 0x95, 0x6c, 0x73, 0x56, 0x70, 0x61, 0x5e, 0xae, 0x4b, 0x65, 0x5a, 0x56, 0x09, 0x6e, 0xde, 0x4a, 460 0xf5, 0x3a, 0x69, 0x94, 0x34, 0x92, 0x3c, 0xac, 0x65, 0x96, 0xdc, 0x92, 0x92, 0x1e, 0x9d, 0x9c, 461 0x14, 0x52, 0x16, 0x15, 0x4f, 0x91, 0xb5, 0x6c, 0x57, 0xe9, 0x5b, 0xc5, 0x9a, 0x86, 0x2b, 0xdd, 462 0xd5, 0x4d, 0x8e, 0x51, 0x5c, 0xd6, 0xb5, 0x14, 0xfd, 0x4f, 0x0f, 0x9c, 0x6c, 0x01, 0xbd, 0xd8, 463 0x36, 0x1e, 0xff, 0xee, 0xc0, 0x47, 0x2f, 0x3a, 0x27, 0x97, 0x1d, 0x4c, 0xf9, 0x9b, 0x96, 0x6b, 464 0x43, 0xae, 0xe0, 0xc1, 0x2e, 0xa0, 0x23, 0xe7, 0x74, 0x78, 0x16, 0x4c, 0x1f, 0x27, 0xff, 0x6d, 465 0x32, 0xb9, 0xa3, 0x73, 0xb7, 0x9c, 0x7c, 0x09, 0xf7, 0x9f, 0x37, 0x5c, 0x31, 0x53, 0x4a, 0xb1, 466 0xb8, 0x6e, 0x78, 0x34, 0x38, 0x75, 0xce, 0x8e, 0xa6, 0x47, 0xa8, 0x77, 0x83, 0xd0, 0x5d, 0x52, 467 0xfc, 0xa7, 0x03, 0x0f, 0xef, 0x3a, 0xd4, 0x8d, 0x14, 0x9a, 0xbf, 0x07, 0x8b, 0x53, 0xf0, 0x28, 468 0xd7, 0x6d, 0x65, 0xd0, 0x5b, 0x30, 0x9d, 0x24, 0x5d, 0xf0, 0xc9, 0x26, 0xf8, 0xe4, 0x42, 0xca, 469 0xea, 0x05, 0xab, 0x5a, 0x4e, 0x7b, 0x26, 0xf9, 0x10, 0x0e, 0xbe, 0x57, 0x4a, 0xaa, 0x68, 0x78, 470 0xea, 0x9c, 0x8d, 0x69, 0xb7, 0x88, 0xff, 0x18, 0xc2, 0xd1, 0xae, 0x3a, 0x21, 0xe0, 0x0a, 0x56, 471 0xf3, 0xc8, 0x41, 0x1e, 0x7e, 0x93, 0x23, 0x18, 0x94, 0x39, 0x36, 0x1b, 0xd3, 0x41, 0x99, 0x93, 472 0xaf, 0x61, 0xa4, 0xdb, 0xa5, 0xe0, 0x46, 0x47, 0x43, 0x3c, 0xca, 0xc9, 0xbb, 0x8e, 0x32, 0x47, 473 0x1a, 0xdd, 0xd0, 0xc9, 0x29, 0x0c, 0x73, 0xa1, 0x23, 0x17, 0x7d, 0xfb, 0x58, 0xf5, 0x9d, 0xd0, 474 0x17, 0xee, 0xaf, 0x7f, 0x45, 0x0e, 0xb5, 0x10, 0xf9, 0x06, 0x5c, 0x63, 0x63, 0x3f, 0xc0, 0xd8, 475 0x9f, 0xec, 0x97, 0x91, 0x9d, 0x01, 0xc5, 0x3a, 0x32, 0x01, 0x5f, 0xc8, 0x9c, 0xaf, 0xde, 0xe4, 476 0x22, 0xf2, 0xd0, 0xf1, 0xcd, 0x9a, 0x7c, 0x0c, 0xe3, 0x42, 0xc9, 0xb6, 0xb9, 0xb4, 0x07, 0x1c, 477 0x21, 0x78, 0xbb, 0x41, 0x1e, 0x81, 0xa7, 0x0d, 0x33, 0xad, 0x8e, 0x7c, 0xb4, 0x17, 0x60, 0xef, 478 0x39, 0x6e, 0xd1, 0x1e, 0x22, 0x31, 0x1c, 0x56, 0x32, 0xc3, 0xc1, 0xa3, 0xca, 0x18, 0x55, 0x76, 479 0xf6, 0xc8, 0x63, 0x08, 0x6a, 0x96, 0x5d, 0x49, 0x59, 0x21, 0x05, 0x2c, 0xa5, 0x3f, 0xe2, 0x36, 480 0x40, 0x3e, 0x01, 0xd7, 0xb0, 0x42, 0x47, 0x87, 0xd8, 0x6e, 0x8c, 0xed, 0x16, 0xac, 0xd0, 0x14, 481 0xb7, 0x9f, 0xba, 0x7e, 0x10, 0x1e, 0xc6, 0x7f, 0x0f, 0xc0, 0xeb, 0x52, 0xdc, 0x6b, 0x34, 0x04, 482 0xdc, 0xac, 0xcc, 0x37, 0x63, 0xc6, 0x6f, 0x12, 0x83, 0xa7, 0x64, 0x6b, 0xb8, 0xcd, 0xdd, 0x4e, 483 0x0b, 0xb0, 0x13, 0xb5, 0x5b, 0xb4, 0x47, 0xc8, 0x57, 0x00, 0xac, 0xda, 0x9c, 0xa2, 0x0f, 0xff, 484 0x18, 0x79, 0xb3, 0xab, 0xf3, 0x1b, 0xe0, 0x19, 0x37, 0xaf, 0x64, 0x4e, 0xb7, 0xa8, 0xb6, 0xe1, 485 0xba, 0x62, 0x5d, 0xd6, 0xf7, 0x29, 0x7e, 0x93, 0x4f, 0x61, 0x54, 0x36, 0x8d, 0x94, 0x95, 0x8e, 486 0x46, 0xd8, 0x31, 0xe8, 0x95, 0xec, 0xd1, 0xe9, 0x06, 0x23, 0x3f, 0xc3, 0x71, 0x3f, 0x4e, 0xcd, 487 0xb3, 0x56, 0x95, 0xe6, 0x1a, 0x87, 0xa1, 0xf8, 0x0a, 0x63, 0x0d, 0xa6, 0x31, 0x96, 0xf5, 0x33, 488 0x9e, 0xf7, 0x9c, 0x1f, 0x2c, 0x87, 0xf2, 0x15, 0x57, 0x5c, 0x64, 0x9c, 0xbe, 0x4b, 0xe2, 0xa9, 489 0xeb, 0xfb, 0xe1, 0x38, 0x5e, 0x80, 0x3b, 0x6b, 0x58, 0x6d, 0x6d, 0xe2, 0xb5, 0xea, 0xb3, 0xc3, 490 0xab, 0xb2, 0x75, 0x8d, 0x07, 0xff, 0xeb, 0x1a, 0x3f, 0xf9, 0xcd, 0x01, 0xf2, 0xef, 0x1b, 0x48, 491 0x46, 0x30, 0xbc, 0x3c, 0x5f, 0x84, 0xf7, 0xc8, 0x03, 0x08, 0x16, 0x8a, 0x09, 0xdd, 0x30, 0xc5, 492 0x85, 0x09, 0x1d, 0x72, 0x08, 0xfe, 0x8f, 0xd3, 0x0b, 0x55, 0xe6, 0x05, 0x0f, 0x07, 0xdd, 0x6a, 493 0xd1, 0x0a, 0xc1, 0xab, 0x70, 0x68, 0xab, 0x66, 0xdf, 0xce, 0x43, 0x97, 0x04, 0x30, 0xba, 0x52, 494 0xe5, 0x9a, 0x19, 0x1e, 0x1e, 0xd8, 0xc5, 0xf3, 0x35, 0x57, 0x15, 0xbb, 0x0e, 0x3d, 0x5b, 0x30, 495 0x13, 0x86, 0x2b, 0xc1, 0xaa, 0x70, 0x64, 0x57, 0xcf, 0x4a, 0xfb, 0xff, 0xe5, 0x79, 0xe8, 0x4f, 496 0x7f, 0x71, 0xe0, 0x83, 0x5d, 0x2f, 0xe7, 0xd6, 0x3b, 0x29, 0xc1, 0x9b, 0x89, 0xb5, 0x7c, 0xcd, 497 0xc9, 0x67, 0x7b, 0x3e, 0x34, 0xdd, 0x9b, 0x3a, 0x49, 0xf6, 0xa5, 0x77, 0x0f, 0x5c, 0x7c, 0xef, 498 0xe2, 0xf3, 0x9f, 0xd2, 0xa2, 0x34, 0xaf, 0xda, 0x65, 0x92, 0xc9, 0x3a, 0xad, 0xcb, 0x4c, 0x49, 499 0x2d, 0x57, 0x26, 0xad, 0x65, 0x96, 0xaa, 0x26, 0x4b, 0x6f, 0xb5, 0xd2, 0x5e, 0x6b, 0xe9, 0xe1, 500 0x5b, 0xf5, 0xc5, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x04, 0xe9, 0x22, 0x48, 0x71, 0x06, 0x00, 501 0x00, 502 } 503 504 // Reference imports to suppress errors if they are not otherwise used. 505 var _ context.Context 506 var _ grpc.ClientConn 507 508 // This is a compile-time assertion to ensure that this generated file 509 // is compatible with the grpc package it is being compiled against. 510 const _ = grpc.SupportPackageIsVersion4 511 512 // VirtualNetworkAgentClient is the client API for VirtualNetworkAgent service. 513 // 514 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 515 type VirtualNetworkAgentClient interface { 516 Invoke(ctx context.Context, in *VirtualNetworkRequest, opts ...grpc.CallOption) (*VirtualNetworkResponse, error) 517 } 518 519 type virtualNetworkAgentClient struct { 520 cc *grpc.ClientConn 521 } 522 523 func NewVirtualNetworkAgentClient(cc *grpc.ClientConn) VirtualNetworkAgentClient { 524 return &virtualNetworkAgentClient{cc} 525 } 526 527 func (c *virtualNetworkAgentClient) Invoke(ctx context.Context, in *VirtualNetworkRequest, opts ...grpc.CallOption) (*VirtualNetworkResponse, error) { 528 out := new(VirtualNetworkResponse) 529 err := c.cc.Invoke(ctx, "/moc.cloudagent.network.VirtualNetworkAgent/Invoke", in, out, opts...) 530 if err != nil { 531 return nil, err 532 } 533 return out, nil 534 } 535 536 // VirtualNetworkAgentServer is the server API for VirtualNetworkAgent service. 537 type VirtualNetworkAgentServer interface { 538 Invoke(context.Context, *VirtualNetworkRequest) (*VirtualNetworkResponse, error) 539 } 540 541 // UnimplementedVirtualNetworkAgentServer can be embedded to have forward compatible implementations. 542 type UnimplementedVirtualNetworkAgentServer struct { 543 } 544 545 func (*UnimplementedVirtualNetworkAgentServer) Invoke(ctx context.Context, req *VirtualNetworkRequest) (*VirtualNetworkResponse, error) { 546 return nil, status.Errorf(codes.Unimplemented, "method Invoke not implemented") 547 } 548 549 func RegisterVirtualNetworkAgentServer(s *grpc.Server, srv VirtualNetworkAgentServer) { 550 s.RegisterService(&_VirtualNetworkAgent_serviceDesc, srv) 551 } 552 553 func _VirtualNetworkAgent_Invoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 554 in := new(VirtualNetworkRequest) 555 if err := dec(in); err != nil { 556 return nil, err 557 } 558 if interceptor == nil { 559 return srv.(VirtualNetworkAgentServer).Invoke(ctx, in) 560 } 561 info := &grpc.UnaryServerInfo{ 562 Server: srv, 563 FullMethod: "/moc.cloudagent.network.VirtualNetworkAgent/Invoke", 564 } 565 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 566 return srv.(VirtualNetworkAgentServer).Invoke(ctx, req.(*VirtualNetworkRequest)) 567 } 568 return interceptor(ctx, in, info, handler) 569 } 570 571 var _VirtualNetworkAgent_serviceDesc = grpc.ServiceDesc{ 572 ServiceName: "moc.cloudagent.network.VirtualNetworkAgent", 573 HandlerType: (*VirtualNetworkAgentServer)(nil), 574 Methods: []grpc.MethodDesc{ 575 { 576 MethodName: "Invoke", 577 Handler: _VirtualNetworkAgent_Invoke_Handler, 578 }, 579 }, 580 Streams: []grpc.StreamDesc{}, 581 Metadata: "moc_cloudagent_virtualnetwork.proto", 582 }