github.com/microsoft/moc@v0.17.1/rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: moc_cloudagent_networkinterface.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 NetworkType int32 30 31 const ( 32 NetworkType_VIRTUAL_NETWORK NetworkType = 0 33 NetworkType_LOGICAL_NETWORK NetworkType = 1 34 ) 35 36 var NetworkType_name = map[int32]string{ 37 0: "VIRTUAL_NETWORK", 38 1: "LOGICAL_NETWORK", 39 } 40 41 var NetworkType_value = map[string]int32{ 42 "VIRTUAL_NETWORK": 0, 43 "LOGICAL_NETWORK": 1, 44 } 45 46 func (x NetworkType) String() string { 47 return proto.EnumName(NetworkType_name, int32(x)) 48 } 49 50 func (NetworkType) EnumDescriptor() ([]byte, []int) { 51 return fileDescriptor_641284ba8360303c, []int{0} 52 } 53 54 type NetworkInterface_NetworkInterfaceType int32 55 56 const ( 57 NetworkInterface_Local NetworkInterface_NetworkInterfaceType = 0 58 NetworkInterface_Remote NetworkInterface_NetworkInterfaceType = 1 59 ) 60 61 var NetworkInterface_NetworkInterfaceType_name = map[int32]string{ 62 0: "Local", 63 1: "Remote", 64 } 65 66 var NetworkInterface_NetworkInterfaceType_value = map[string]int32{ 67 "Local": 0, 68 "Remote": 1, 69 } 70 71 func (x NetworkInterface_NetworkInterfaceType) String() string { 72 return proto.EnumName(NetworkInterface_NetworkInterfaceType_name, int32(x)) 73 } 74 75 func (NetworkInterface_NetworkInterfaceType) EnumDescriptor() ([]byte, []int) { 76 return fileDescriptor_641284ba8360303c, []int{4, 0} 77 } 78 79 type NetworkInterfaceRequest struct { 80 NetworkInterfaces []*NetworkInterface `protobuf:"bytes,1,rep,name=NetworkInterfaces,proto3" json:"NetworkInterfaces,omitempty"` 81 OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` 82 XXX_NoUnkeyedLiteral struct{} `json:"-"` 83 XXX_unrecognized []byte `json:"-"` 84 XXX_sizecache int32 `json:"-"` 85 } 86 87 func (m *NetworkInterfaceRequest) Reset() { *m = NetworkInterfaceRequest{} } 88 func (m *NetworkInterfaceRequest) String() string { return proto.CompactTextString(m) } 89 func (*NetworkInterfaceRequest) ProtoMessage() {} 90 func (*NetworkInterfaceRequest) Descriptor() ([]byte, []int) { 91 return fileDescriptor_641284ba8360303c, []int{0} 92 } 93 94 func (m *NetworkInterfaceRequest) XXX_Unmarshal(b []byte) error { 95 return xxx_messageInfo_NetworkInterfaceRequest.Unmarshal(m, b) 96 } 97 func (m *NetworkInterfaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 98 return xxx_messageInfo_NetworkInterfaceRequest.Marshal(b, m, deterministic) 99 } 100 func (m *NetworkInterfaceRequest) XXX_Merge(src proto.Message) { 101 xxx_messageInfo_NetworkInterfaceRequest.Merge(m, src) 102 } 103 func (m *NetworkInterfaceRequest) XXX_Size() int { 104 return xxx_messageInfo_NetworkInterfaceRequest.Size(m) 105 } 106 func (m *NetworkInterfaceRequest) XXX_DiscardUnknown() { 107 xxx_messageInfo_NetworkInterfaceRequest.DiscardUnknown(m) 108 } 109 110 var xxx_messageInfo_NetworkInterfaceRequest proto.InternalMessageInfo 111 112 func (m *NetworkInterfaceRequest) GetNetworkInterfaces() []*NetworkInterface { 113 if m != nil { 114 return m.NetworkInterfaces 115 } 116 return nil 117 } 118 119 func (m *NetworkInterfaceRequest) GetOperationType() common.Operation { 120 if m != nil { 121 return m.OperationType 122 } 123 return common.Operation_GET 124 } 125 126 type NetworkInterfaceResponse struct { 127 NetworkInterfaces []*NetworkInterface `protobuf:"bytes,1,rep,name=NetworkInterfaces,proto3" json:"NetworkInterfaces,omitempty"` 128 Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` 129 Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` 130 XXX_NoUnkeyedLiteral struct{} `json:"-"` 131 XXX_unrecognized []byte `json:"-"` 132 XXX_sizecache int32 `json:"-"` 133 } 134 135 func (m *NetworkInterfaceResponse) Reset() { *m = NetworkInterfaceResponse{} } 136 func (m *NetworkInterfaceResponse) String() string { return proto.CompactTextString(m) } 137 func (*NetworkInterfaceResponse) ProtoMessage() {} 138 func (*NetworkInterfaceResponse) Descriptor() ([]byte, []int) { 139 return fileDescriptor_641284ba8360303c, []int{1} 140 } 141 142 func (m *NetworkInterfaceResponse) XXX_Unmarshal(b []byte) error { 143 return xxx_messageInfo_NetworkInterfaceResponse.Unmarshal(m, b) 144 } 145 func (m *NetworkInterfaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 146 return xxx_messageInfo_NetworkInterfaceResponse.Marshal(b, m, deterministic) 147 } 148 func (m *NetworkInterfaceResponse) XXX_Merge(src proto.Message) { 149 xxx_messageInfo_NetworkInterfaceResponse.Merge(m, src) 150 } 151 func (m *NetworkInterfaceResponse) XXX_Size() int { 152 return xxx_messageInfo_NetworkInterfaceResponse.Size(m) 153 } 154 func (m *NetworkInterfaceResponse) XXX_DiscardUnknown() { 155 xxx_messageInfo_NetworkInterfaceResponse.DiscardUnknown(m) 156 } 157 158 var xxx_messageInfo_NetworkInterfaceResponse proto.InternalMessageInfo 159 160 func (m *NetworkInterfaceResponse) GetNetworkInterfaces() []*NetworkInterface { 161 if m != nil { 162 return m.NetworkInterfaces 163 } 164 return nil 165 } 166 167 func (m *NetworkInterfaceResponse) GetResult() *wrappers.BoolValue { 168 if m != nil { 169 return m.Result 170 } 171 return nil 172 } 173 174 func (m *NetworkInterfaceResponse) GetError() string { 175 if m != nil { 176 return m.Error 177 } 178 return "" 179 } 180 181 type InboundNatRule struct { 182 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 183 XXX_NoUnkeyedLiteral struct{} `json:"-"` 184 XXX_unrecognized []byte `json:"-"` 185 XXX_sizecache int32 `json:"-"` 186 } 187 188 func (m *InboundNatRule) Reset() { *m = InboundNatRule{} } 189 func (m *InboundNatRule) String() string { return proto.CompactTextString(m) } 190 func (*InboundNatRule) ProtoMessage() {} 191 func (*InboundNatRule) Descriptor() ([]byte, []int) { 192 return fileDescriptor_641284ba8360303c, []int{2} 193 } 194 195 func (m *InboundNatRule) XXX_Unmarshal(b []byte) error { 196 return xxx_messageInfo_InboundNatRule.Unmarshal(m, b) 197 } 198 func (m *InboundNatRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 199 return xxx_messageInfo_InboundNatRule.Marshal(b, m, deterministic) 200 } 201 func (m *InboundNatRule) XXX_Merge(src proto.Message) { 202 xxx_messageInfo_InboundNatRule.Merge(m, src) 203 } 204 func (m *InboundNatRule) XXX_Size() int { 205 return xxx_messageInfo_InboundNatRule.Size(m) 206 } 207 func (m *InboundNatRule) XXX_DiscardUnknown() { 208 xxx_messageInfo_InboundNatRule.DiscardUnknown(m) 209 } 210 211 var xxx_messageInfo_InboundNatRule proto.InternalMessageInfo 212 213 func (m *InboundNatRule) GetName() string { 214 if m != nil { 215 return m.Name 216 } 217 return "" 218 } 219 220 type IpConfiguration struct { 221 Ipaddress string `protobuf:"bytes,1,opt,name=ipaddress,proto3" json:"ipaddress,omitempty"` 222 Prefixlength string `protobuf:"bytes,2,opt,name=prefixlength,proto3" json:"prefixlength,omitempty"` 223 Subnetid string `protobuf:"bytes,3,opt,name=subnetid,proto3" json:"subnetid,omitempty"` 224 Primary bool `protobuf:"varint,4,opt,name=primary,proto3" json:"primary,omitempty"` 225 Loadbalanceraddresspool []string `protobuf:"bytes,5,rep,name=loadbalanceraddresspool,proto3" json:"loadbalanceraddresspool,omitempty"` 226 Allocation common.IPAllocationMethod `protobuf:"varint,6,opt,name=allocation,proto3,enum=moc.IPAllocationMethod" json:"allocation,omitempty"` 227 Gateway string `protobuf:"bytes,7,opt,name=gateway,proto3" json:"gateway,omitempty"` 228 InboundNatRules []*InboundNatRule `protobuf:"bytes,8,rep,name=inboundNatRules,proto3" json:"inboundNatRules,omitempty"` 229 Tags *common.Tags `protobuf:"bytes,9,opt,name=tags,proto3" json:"tags,omitempty"` 230 NetworkType NetworkType `protobuf:"varint,10,opt,name=networkType,proto3,enum=moc.cloudagent.network.NetworkType" json:"networkType,omitempty"` 231 NetworkSecurityGroupRef *common.NetworkSecurityGroupReference `protobuf:"bytes,12,opt,name=networkSecurityGroupRef,proto3" json:"networkSecurityGroupRef,omitempty"` 232 XXX_NoUnkeyedLiteral struct{} `json:"-"` 233 XXX_unrecognized []byte `json:"-"` 234 XXX_sizecache int32 `json:"-"` 235 } 236 237 func (m *IpConfiguration) Reset() { *m = IpConfiguration{} } 238 func (m *IpConfiguration) String() string { return proto.CompactTextString(m) } 239 func (*IpConfiguration) ProtoMessage() {} 240 func (*IpConfiguration) Descriptor() ([]byte, []int) { 241 return fileDescriptor_641284ba8360303c, []int{3} 242 } 243 244 func (m *IpConfiguration) XXX_Unmarshal(b []byte) error { 245 return xxx_messageInfo_IpConfiguration.Unmarshal(m, b) 246 } 247 func (m *IpConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 248 return xxx_messageInfo_IpConfiguration.Marshal(b, m, deterministic) 249 } 250 func (m *IpConfiguration) XXX_Merge(src proto.Message) { 251 xxx_messageInfo_IpConfiguration.Merge(m, src) 252 } 253 func (m *IpConfiguration) XXX_Size() int { 254 return xxx_messageInfo_IpConfiguration.Size(m) 255 } 256 func (m *IpConfiguration) XXX_DiscardUnknown() { 257 xxx_messageInfo_IpConfiguration.DiscardUnknown(m) 258 } 259 260 var xxx_messageInfo_IpConfiguration proto.InternalMessageInfo 261 262 func (m *IpConfiguration) GetIpaddress() string { 263 if m != nil { 264 return m.Ipaddress 265 } 266 return "" 267 } 268 269 func (m *IpConfiguration) GetPrefixlength() string { 270 if m != nil { 271 return m.Prefixlength 272 } 273 return "" 274 } 275 276 func (m *IpConfiguration) GetSubnetid() string { 277 if m != nil { 278 return m.Subnetid 279 } 280 return "" 281 } 282 283 func (m *IpConfiguration) GetPrimary() bool { 284 if m != nil { 285 return m.Primary 286 } 287 return false 288 } 289 290 func (m *IpConfiguration) GetLoadbalanceraddresspool() []string { 291 if m != nil { 292 return m.Loadbalanceraddresspool 293 } 294 return nil 295 } 296 297 func (m *IpConfiguration) GetAllocation() common.IPAllocationMethod { 298 if m != nil { 299 return m.Allocation 300 } 301 return common.IPAllocationMethod_Invalid 302 } 303 304 func (m *IpConfiguration) GetGateway() string { 305 if m != nil { 306 return m.Gateway 307 } 308 return "" 309 } 310 311 func (m *IpConfiguration) GetInboundNatRules() []*InboundNatRule { 312 if m != nil { 313 return m.InboundNatRules 314 } 315 return nil 316 } 317 318 func (m *IpConfiguration) GetTags() *common.Tags { 319 if m != nil { 320 return m.Tags 321 } 322 return nil 323 } 324 325 func (m *IpConfiguration) GetNetworkType() NetworkType { 326 if m != nil { 327 return m.NetworkType 328 } 329 return NetworkType_VIRTUAL_NETWORK 330 } 331 332 func (m *IpConfiguration) GetNetworkSecurityGroupRef() *common.NetworkSecurityGroupReference { 333 if m != nil { 334 return m.NetworkSecurityGroupRef 335 } 336 return nil 337 } 338 339 type NetworkInterface struct { 340 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 341 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 342 Type NetworkInterface_NetworkInterfaceType `protobuf:"varint,3,opt,name=type,proto3,enum=moc.cloudagent.network.NetworkInterface_NetworkInterfaceType" json:"type,omitempty"` 343 IpConfigurations []*IpConfiguration `protobuf:"bytes,4,rep,name=ipConfigurations,proto3" json:"ipConfigurations,omitempty"` 344 Macaddress string `protobuf:"bytes,5,opt,name=macaddress,proto3" json:"macaddress,omitempty"` 345 Dns *common.Dns `protobuf:"bytes,6,opt,name=dns,proto3" json:"dns,omitempty"` 346 NodeName string `protobuf:"bytes,7,opt,name=nodeName,proto3" json:"nodeName,omitempty"` 347 GroupName string `protobuf:"bytes,8,opt,name=groupName,proto3" json:"groupName,omitempty"` 348 LocationName string `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"` 349 Status *common.Status `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"` 350 VirtualMachineName string `protobuf:"bytes,11,opt,name=virtualMachineName,proto3" json:"virtualMachineName,omitempty"` 351 IovWeight uint32 `protobuf:"varint,12,opt,name=iovWeight,proto3" json:"iovWeight,omitempty"` 352 Tags *common.Tags `protobuf:"bytes,13,opt,name=tags,proto3" json:"tags,omitempty"` 353 XXX_NoUnkeyedLiteral struct{} `json:"-"` 354 XXX_unrecognized []byte `json:"-"` 355 XXX_sizecache int32 `json:"-"` 356 } 357 358 func (m *NetworkInterface) Reset() { *m = NetworkInterface{} } 359 func (m *NetworkInterface) String() string { return proto.CompactTextString(m) } 360 func (*NetworkInterface) ProtoMessage() {} 361 func (*NetworkInterface) Descriptor() ([]byte, []int) { 362 return fileDescriptor_641284ba8360303c, []int{4} 363 } 364 365 func (m *NetworkInterface) XXX_Unmarshal(b []byte) error { 366 return xxx_messageInfo_NetworkInterface.Unmarshal(m, b) 367 } 368 func (m *NetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 369 return xxx_messageInfo_NetworkInterface.Marshal(b, m, deterministic) 370 } 371 func (m *NetworkInterface) XXX_Merge(src proto.Message) { 372 xxx_messageInfo_NetworkInterface.Merge(m, src) 373 } 374 func (m *NetworkInterface) XXX_Size() int { 375 return xxx_messageInfo_NetworkInterface.Size(m) 376 } 377 func (m *NetworkInterface) XXX_DiscardUnknown() { 378 xxx_messageInfo_NetworkInterface.DiscardUnknown(m) 379 } 380 381 var xxx_messageInfo_NetworkInterface proto.InternalMessageInfo 382 383 func (m *NetworkInterface) GetName() string { 384 if m != nil { 385 return m.Name 386 } 387 return "" 388 } 389 390 func (m *NetworkInterface) GetId() string { 391 if m != nil { 392 return m.Id 393 } 394 return "" 395 } 396 397 func (m *NetworkInterface) GetType() NetworkInterface_NetworkInterfaceType { 398 if m != nil { 399 return m.Type 400 } 401 return NetworkInterface_Local 402 } 403 404 func (m *NetworkInterface) GetIpConfigurations() []*IpConfiguration { 405 if m != nil { 406 return m.IpConfigurations 407 } 408 return nil 409 } 410 411 func (m *NetworkInterface) GetMacaddress() string { 412 if m != nil { 413 return m.Macaddress 414 } 415 return "" 416 } 417 418 func (m *NetworkInterface) GetDns() *common.Dns { 419 if m != nil { 420 return m.Dns 421 } 422 return nil 423 } 424 425 func (m *NetworkInterface) GetNodeName() string { 426 if m != nil { 427 return m.NodeName 428 } 429 return "" 430 } 431 432 func (m *NetworkInterface) GetGroupName() string { 433 if m != nil { 434 return m.GroupName 435 } 436 return "" 437 } 438 439 func (m *NetworkInterface) GetLocationName() string { 440 if m != nil { 441 return m.LocationName 442 } 443 return "" 444 } 445 446 func (m *NetworkInterface) GetStatus() *common.Status { 447 if m != nil { 448 return m.Status 449 } 450 return nil 451 } 452 453 func (m *NetworkInterface) GetVirtualMachineName() string { 454 if m != nil { 455 return m.VirtualMachineName 456 } 457 return "" 458 } 459 460 func (m *NetworkInterface) GetIovWeight() uint32 { 461 if m != nil { 462 return m.IovWeight 463 } 464 return 0 465 } 466 467 func (m *NetworkInterface) GetTags() *common.Tags { 468 if m != nil { 469 return m.Tags 470 } 471 return nil 472 } 473 474 func init() { 475 proto.RegisterEnum("moc.cloudagent.network.NetworkType", NetworkType_name, NetworkType_value) 476 proto.RegisterEnum("moc.cloudagent.network.NetworkInterface_NetworkInterfaceType", NetworkInterface_NetworkInterfaceType_name, NetworkInterface_NetworkInterfaceType_value) 477 proto.RegisterType((*NetworkInterfaceRequest)(nil), "moc.cloudagent.network.NetworkInterfaceRequest") 478 proto.RegisterType((*NetworkInterfaceResponse)(nil), "moc.cloudagent.network.NetworkInterfaceResponse") 479 proto.RegisterType((*InboundNatRule)(nil), "moc.cloudagent.network.InboundNatRule") 480 proto.RegisterType((*IpConfiguration)(nil), "moc.cloudagent.network.IpConfiguration") 481 proto.RegisterType((*NetworkInterface)(nil), "moc.cloudagent.network.NetworkInterface") 482 } 483 484 func init() { 485 proto.RegisterFile("moc_cloudagent_networkinterface.proto", fileDescriptor_641284ba8360303c) 486 } 487 488 var fileDescriptor_641284ba8360303c = []byte{ 489 // 849 bytes of a gzipped FileDescriptorProto 490 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xdd, 0x6e, 0xe3, 0x44, 491 0x14, 0xae, 0x5b, 0x37, 0x8d, 0x8f, 0xfb, 0x13, 0x86, 0x85, 0x58, 0x11, 0x54, 0x91, 0x77, 0x81, 492 0x08, 0x09, 0x1b, 0x02, 0xd2, 0x72, 0xc3, 0x45, 0xbb, 0x54, 0xab, 0x40, 0x37, 0x5d, 0xa6, 0xa5, 493 0x2b, 0x21, 0xa4, 0x6a, 0x62, 0x4f, 0x9c, 0xd1, 0xda, 0x33, 0x66, 0x66, 0xdc, 0xd2, 0x17, 0x40, 494 0xbc, 0x09, 0x4f, 0xc0, 0x1d, 0xe2, 0x8e, 0xf7, 0x42, 0x1e, 0x3b, 0x8d, 0xd3, 0xa4, 0xa2, 0x37, 495 0x5c, 0x25, 0xf3, 0x9d, 0x6f, 0xbe, 0x39, 0x67, 0xce, 0x77, 0xc6, 0xf0, 0x51, 0x26, 0xa2, 0xab, 496 0x28, 0x15, 0x45, 0x4c, 0x12, 0xca, 0xf5, 0x15, 0xa7, 0xfa, 0x46, 0xc8, 0xb7, 0x8c, 0x6b, 0x2a, 497 0xa7, 0x24, 0xa2, 0x41, 0x2e, 0x85, 0x16, 0xe8, 0xfd, 0x4c, 0x44, 0xc1, 0x82, 0x16, 0xd4, 0xb4, 498 0xde, 0x61, 0x22, 0x44, 0x92, 0xd2, 0xd0, 0xb0, 0x26, 0xc5, 0x34, 0xbc, 0x91, 0x24, 0xcf, 0xa9, 499 0x54, 0xd5, 0xbe, 0x5e, 0xd7, 0xc8, 0x8b, 0x2c, 0x13, 0xbc, 0xfe, 0xa9, 0x03, 0x87, 0x8d, 0x40, 500 0x2d, 0xd6, 0x8c, 0xfb, 0x7f, 0x58, 0xd0, 0x1d, 0x57, 0xf8, 0x68, 0x9e, 0x0b, 0xa6, 0xbf, 0x14, 501 0x54, 0x69, 0x74, 0x09, 0xef, 0xdc, 0x0f, 0x29, 0xcf, 0xea, 0x6f, 0x0d, 0xdc, 0xe1, 0x20, 0x58, 502 0x9f, 0x68, 0xb0, 0xa2, 0xb5, 0x2a, 0x81, 0xbe, 0x82, 0xbd, 0xb3, 0x9c, 0x4a, 0xa2, 0x99, 0xe0, 503 0x17, 0xb7, 0x39, 0xf5, 0x36, 0xfb, 0xd6, 0x60, 0x7f, 0xb8, 0x6f, 0x34, 0xef, 0x22, 0x78, 0x99, 504 0xe4, 0xff, 0x65, 0x81, 0xb7, 0x9a, 0xa9, 0xca, 0x05, 0x57, 0xf4, 0x7f, 0x4b, 0x75, 0x08, 0x2d, 505 0x4c, 0x55, 0x91, 0x6a, 0x93, 0xa3, 0x3b, 0xec, 0x05, 0x55, 0x23, 0x82, 0x79, 0x23, 0x82, 0x63, 506 0x21, 0xd2, 0x4b, 0x92, 0x16, 0x14, 0xd7, 0x4c, 0xf4, 0x04, 0xb6, 0x4f, 0xa4, 0x14, 0xd2, 0xdb, 507 0xea, 0x5b, 0x03, 0x07, 0x57, 0x0b, 0xff, 0x19, 0xec, 0x8f, 0xf8, 0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x39, 0x6b, 0x73, 0xab, 0x1a, 0x82, 0x53, 0xcd, 0x5a, 0x13, 0x43, 0x4f, 0xa1, 0xa5, 531 0x34, 0xd1, 0x85, 0x32, 0x66, 0x71, 0x87, 0xae, 0x49, 0xe1, 0xdc, 0x40, 0xb8, 0x0e, 0xa1, 0x00, 532 0xd0, 0x35, 0x93, 0xba, 0x20, 0xe9, 0x2b, 0x12, 0xcd, 0x18, 0xaf, 0x92, 0x71, 0x8d, 0xdc, 0x9a, 533 0x48, 0x99, 0x16, 0x13, 0xd7, 0x6f, 0x28, 0x4b, 0x66, 0xda, 0x38, 0x66, 0x0f, 0x2f, 0x80, 0x3b, 534 0x0f, 0xef, 0xad, 0xf5, 0xb0, 0xff, 0x19, 0x3c, 0x59, 0xd7, 0x2a, 0xe4, 0xc0, 0xf6, 0xa9, 0x88, 535 0x48, 0xda, 0xd9, 0x40, 0x50, 0x3e, 0x76, 0x99, 0xd0, 0xb4, 0x63, 0x7d, 0xfa, 0x1c, 0xdc, 0x86, 536 0x8f, 0xd1, 0xbb, 0x70, 0x70, 0x39, 0xc2, 0x17, 0x3f, 0x1e, 0x9d, 0x5e, 0x8d, 0x4f, 0x2e, 0xde, 537 0x9c, 0xe1, 0xef, 0x3b, 0x1b, 0x25, 0x78, 0x7a, 0xf6, 0x72, 0xf4, 0xa2, 0x01, 0x5a, 0xc3, 0xdf, 538 0x2c, 0x78, 0xef, 0xfe, 0x41, 0x47, 0x65, 0x8f, 0x51, 0x06, 0xad, 0x11, 0xbf, 0x16, 0x6f, 0x29, 539 0x0a, 0x1f, 0xfd, 0x24, 0x57, 0x5f, 0xa2, 0xde, 0xe7, 0x8f, 0xdf, 0x50, 0x7d, 0x10, 0xfc, 0x8d, 540 0xe3, 0x2f, 0x7e, 0x0a, 0x13, 0xa6, 0x67, 0xc5, 0x24, 0x88, 0x44, 0x16, 0x66, 0x2c, 0x92, 0x42, 541 0x89, 0xa9, 0x0e, 0x33, 0x11, 0x85, 0x32, 0x8f, 0xc2, 0x85, 0x5a, 0x58, 0xab, 0x4d, 0x5a, 0xe6, 542 0x55, 0xff, 0xf2, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb2, 0xe1, 0x3a, 0x08, 0xad, 0x07, 0x00, 543 0x00, 544 } 545 546 // Reference imports to suppress errors if they are not otherwise used. 547 var _ context.Context 548 var _ grpc.ClientConn 549 550 // This is a compile-time assertion to ensure that this generated file 551 // is compatible with the grpc package it is being compiled against. 552 const _ = grpc.SupportPackageIsVersion4 553 554 // NetworkInterfaceAgentClient is the client API for NetworkInterfaceAgent service. 555 // 556 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 557 type NetworkInterfaceAgentClient interface { 558 Invoke(ctx context.Context, in *NetworkInterfaceRequest, opts ...grpc.CallOption) (*NetworkInterfaceResponse, error) 559 } 560 561 type networkInterfaceAgentClient struct { 562 cc *grpc.ClientConn 563 } 564 565 func NewNetworkInterfaceAgentClient(cc *grpc.ClientConn) NetworkInterfaceAgentClient { 566 return &networkInterfaceAgentClient{cc} 567 } 568 569 func (c *networkInterfaceAgentClient) Invoke(ctx context.Context, in *NetworkInterfaceRequest, opts ...grpc.CallOption) (*NetworkInterfaceResponse, error) { 570 out := new(NetworkInterfaceResponse) 571 err := c.cc.Invoke(ctx, "/moc.cloudagent.network.NetworkInterfaceAgent/Invoke", in, out, opts...) 572 if err != nil { 573 return nil, err 574 } 575 return out, nil 576 } 577 578 // NetworkInterfaceAgentServer is the server API for NetworkInterfaceAgent service. 579 type NetworkInterfaceAgentServer interface { 580 Invoke(context.Context, *NetworkInterfaceRequest) (*NetworkInterfaceResponse, error) 581 } 582 583 // UnimplementedNetworkInterfaceAgentServer can be embedded to have forward compatible implementations. 584 type UnimplementedNetworkInterfaceAgentServer struct { 585 } 586 587 func (*UnimplementedNetworkInterfaceAgentServer) Invoke(ctx context.Context, req *NetworkInterfaceRequest) (*NetworkInterfaceResponse, error) { 588 return nil, status.Errorf(codes.Unimplemented, "method Invoke not implemented") 589 } 590 591 func RegisterNetworkInterfaceAgentServer(s *grpc.Server, srv NetworkInterfaceAgentServer) { 592 s.RegisterService(&_NetworkInterfaceAgent_serviceDesc, srv) 593 } 594 595 func _NetworkInterfaceAgent_Invoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 596 in := new(NetworkInterfaceRequest) 597 if err := dec(in); err != nil { 598 return nil, err 599 } 600 if interceptor == nil { 601 return srv.(NetworkInterfaceAgentServer).Invoke(ctx, in) 602 } 603 info := &grpc.UnaryServerInfo{ 604 Server: srv, 605 FullMethod: "/moc.cloudagent.network.NetworkInterfaceAgent/Invoke", 606 } 607 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 608 return srv.(NetworkInterfaceAgentServer).Invoke(ctx, req.(*NetworkInterfaceRequest)) 609 } 610 return interceptor(ctx, in, info, handler) 611 } 612 613 var _NetworkInterfaceAgent_serviceDesc = grpc.ServiceDesc{ 614 ServiceName: "moc.cloudagent.network.NetworkInterfaceAgent", 615 HandlerType: (*NetworkInterfaceAgentServer)(nil), 616 Methods: []grpc.MethodDesc{ 617 { 618 MethodName: "Invoke", 619 Handler: _NetworkInterfaceAgent_Invoke_Handler, 620 }, 621 }, 622 Streams: []grpc.StreamDesc{}, 623 Metadata: "moc_cloudagent_networkinterface.proto", 624 }