github.com/microsoft/moc@v0.17.1/rpc/cloudagent/compute/moc_cloudagent_virtualmachine.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: moc_cloudagent_virtualmachine.proto 3 4 package compute 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 VMType int32 30 31 const ( 32 VMType_TENANT VMType = 0 33 VMType_LOADBALANCER VMType = 1 34 VMType_STACKEDCONTROLPLANE VMType = 2 35 ) 36 37 var VMType_name = map[int32]string{ 38 0: "TENANT", 39 1: "LOADBALANCER", 40 2: "STACKEDCONTROLPLANE", 41 } 42 43 var VMType_value = map[string]int32{ 44 "TENANT": 0, 45 "LOADBALANCER": 1, 46 "STACKEDCONTROLPLANE": 2, 47 } 48 49 func (x VMType) String() string { 50 return proto.EnumName(VMType_name, int32(x)) 51 } 52 53 func (VMType) EnumDescriptor() ([]byte, []int) { 54 return fileDescriptor_a65ab853cd24c92b, []int{0} 55 } 56 57 type VirtualMachineRequest struct { 58 VirtualMachines []*VirtualMachine `protobuf:"bytes,1,rep,name=VirtualMachines,proto3" json:"VirtualMachines,omitempty"` 59 OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` 60 XXX_NoUnkeyedLiteral struct{} `json:"-"` 61 XXX_unrecognized []byte `json:"-"` 62 XXX_sizecache int32 `json:"-"` 63 } 64 65 func (m *VirtualMachineRequest) Reset() { *m = VirtualMachineRequest{} } 66 func (m *VirtualMachineRequest) String() string { return proto.CompactTextString(m) } 67 func (*VirtualMachineRequest) ProtoMessage() {} 68 func (*VirtualMachineRequest) Descriptor() ([]byte, []int) { 69 return fileDescriptor_a65ab853cd24c92b, []int{0} 70 } 71 72 func (m *VirtualMachineRequest) XXX_Unmarshal(b []byte) error { 73 return xxx_messageInfo_VirtualMachineRequest.Unmarshal(m, b) 74 } 75 func (m *VirtualMachineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 76 return xxx_messageInfo_VirtualMachineRequest.Marshal(b, m, deterministic) 77 } 78 func (m *VirtualMachineRequest) XXX_Merge(src proto.Message) { 79 xxx_messageInfo_VirtualMachineRequest.Merge(m, src) 80 } 81 func (m *VirtualMachineRequest) XXX_Size() int { 82 return xxx_messageInfo_VirtualMachineRequest.Size(m) 83 } 84 func (m *VirtualMachineRequest) XXX_DiscardUnknown() { 85 xxx_messageInfo_VirtualMachineRequest.DiscardUnknown(m) 86 } 87 88 var xxx_messageInfo_VirtualMachineRequest proto.InternalMessageInfo 89 90 func (m *VirtualMachineRequest) GetVirtualMachines() []*VirtualMachine { 91 if m != nil { 92 return m.VirtualMachines 93 } 94 return nil 95 } 96 97 func (m *VirtualMachineRequest) GetOperationType() common.Operation { 98 if m != nil { 99 return m.OperationType 100 } 101 return common.Operation_GET 102 } 103 104 type VirtualMachineResponse struct { 105 VirtualMachines []*VirtualMachine `protobuf:"bytes,1,rep,name=VirtualMachines,proto3" json:"VirtualMachines,omitempty"` 106 Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` 107 Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` 108 XXX_NoUnkeyedLiteral struct{} `json:"-"` 109 XXX_unrecognized []byte `json:"-"` 110 XXX_sizecache int32 `json:"-"` 111 } 112 113 func (m *VirtualMachineResponse) Reset() { *m = VirtualMachineResponse{} } 114 func (m *VirtualMachineResponse) String() string { return proto.CompactTextString(m) } 115 func (*VirtualMachineResponse) ProtoMessage() {} 116 func (*VirtualMachineResponse) Descriptor() ([]byte, []int) { 117 return fileDescriptor_a65ab853cd24c92b, []int{1} 118 } 119 120 func (m *VirtualMachineResponse) XXX_Unmarshal(b []byte) error { 121 return xxx_messageInfo_VirtualMachineResponse.Unmarshal(m, b) 122 } 123 func (m *VirtualMachineResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 124 return xxx_messageInfo_VirtualMachineResponse.Marshal(b, m, deterministic) 125 } 126 func (m *VirtualMachineResponse) XXX_Merge(src proto.Message) { 127 xxx_messageInfo_VirtualMachineResponse.Merge(m, src) 128 } 129 func (m *VirtualMachineResponse) XXX_Size() int { 130 return xxx_messageInfo_VirtualMachineResponse.Size(m) 131 } 132 func (m *VirtualMachineResponse) XXX_DiscardUnknown() { 133 xxx_messageInfo_VirtualMachineResponse.DiscardUnknown(m) 134 } 135 136 var xxx_messageInfo_VirtualMachineResponse proto.InternalMessageInfo 137 138 func (m *VirtualMachineResponse) GetVirtualMachines() []*VirtualMachine { 139 if m != nil { 140 return m.VirtualMachines 141 } 142 return nil 143 } 144 145 func (m *VirtualMachineResponse) GetResult() *wrappers.BoolValue { 146 if m != nil { 147 return m.Result 148 } 149 return nil 150 } 151 152 func (m *VirtualMachineResponse) GetError() string { 153 if m != nil { 154 return m.Error 155 } 156 return "" 157 } 158 159 type SSHPublicKey struct { 160 Keydata string `protobuf:"bytes,1,opt,name=keydata,proto3" json:"keydata,omitempty"` 161 XXX_NoUnkeyedLiteral struct{} `json:"-"` 162 XXX_unrecognized []byte `json:"-"` 163 XXX_sizecache int32 `json:"-"` 164 } 165 166 func (m *SSHPublicKey) Reset() { *m = SSHPublicKey{} } 167 func (m *SSHPublicKey) String() string { return proto.CompactTextString(m) } 168 func (*SSHPublicKey) ProtoMessage() {} 169 func (*SSHPublicKey) Descriptor() ([]byte, []int) { 170 return fileDescriptor_a65ab853cd24c92b, []int{2} 171 } 172 173 func (m *SSHPublicKey) XXX_Unmarshal(b []byte) error { 174 return xxx_messageInfo_SSHPublicKey.Unmarshal(m, b) 175 } 176 func (m *SSHPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 177 return xxx_messageInfo_SSHPublicKey.Marshal(b, m, deterministic) 178 } 179 func (m *SSHPublicKey) XXX_Merge(src proto.Message) { 180 xxx_messageInfo_SSHPublicKey.Merge(m, src) 181 } 182 func (m *SSHPublicKey) XXX_Size() int { 183 return xxx_messageInfo_SSHPublicKey.Size(m) 184 } 185 func (m *SSHPublicKey) XXX_DiscardUnknown() { 186 xxx_messageInfo_SSHPublicKey.DiscardUnknown(m) 187 } 188 189 var xxx_messageInfo_SSHPublicKey proto.InternalMessageInfo 190 191 func (m *SSHPublicKey) GetKeydata() string { 192 if m != nil { 193 return m.Keydata 194 } 195 return "" 196 } 197 198 type Disk struct { 199 // reference to the virtual hard disk managed by storage 200 Diskname string `protobuf:"bytes,1,opt,name=diskname,proto3" json:"diskname,omitempty"` 201 XXX_NoUnkeyedLiteral struct{} `json:"-"` 202 XXX_unrecognized []byte `json:"-"` 203 XXX_sizecache int32 `json:"-"` 204 } 205 206 func (m *Disk) Reset() { *m = Disk{} } 207 func (m *Disk) String() string { return proto.CompactTextString(m) } 208 func (*Disk) ProtoMessage() {} 209 func (*Disk) Descriptor() ([]byte, []int) { 210 return fileDescriptor_a65ab853cd24c92b, []int{3} 211 } 212 213 func (m *Disk) XXX_Unmarshal(b []byte) error { 214 return xxx_messageInfo_Disk.Unmarshal(m, b) 215 } 216 func (m *Disk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 217 return xxx_messageInfo_Disk.Marshal(b, m, deterministic) 218 } 219 func (m *Disk) XXX_Merge(src proto.Message) { 220 xxx_messageInfo_Disk.Merge(m, src) 221 } 222 func (m *Disk) XXX_Size() int { 223 return xxx_messageInfo_Disk.Size(m) 224 } 225 func (m *Disk) XXX_DiscardUnknown() { 226 xxx_messageInfo_Disk.DiscardUnknown(m) 227 } 228 229 var xxx_messageInfo_Disk proto.InternalMessageInfo 230 231 func (m *Disk) GetDiskname() string { 232 if m != nil { 233 return m.Diskname 234 } 235 return "" 236 } 237 238 type StorageConfiguration struct { 239 Osdisk *Disk `protobuf:"bytes,1,opt,name=osdisk,proto3" json:"osdisk,omitempty"` 240 Datadisks []*Disk `protobuf:"bytes,2,rep,name=datadisks,proto3" json:"datadisks,omitempty"` 241 ImageReference string `protobuf:"bytes,3,opt,name=imageReference,proto3" json:"imageReference,omitempty"` 242 VmConfigContainerName string `protobuf:"bytes,4,opt,name=vmConfigContainerName,proto3" json:"vmConfigContainerName,omitempty"` 243 XXX_NoUnkeyedLiteral struct{} `json:"-"` 244 XXX_unrecognized []byte `json:"-"` 245 XXX_sizecache int32 `json:"-"` 246 } 247 248 func (m *StorageConfiguration) Reset() { *m = StorageConfiguration{} } 249 func (m *StorageConfiguration) String() string { return proto.CompactTextString(m) } 250 func (*StorageConfiguration) ProtoMessage() {} 251 func (*StorageConfiguration) Descriptor() ([]byte, []int) { 252 return fileDescriptor_a65ab853cd24c92b, []int{4} 253 } 254 255 func (m *StorageConfiguration) XXX_Unmarshal(b []byte) error { 256 return xxx_messageInfo_StorageConfiguration.Unmarshal(m, b) 257 } 258 func (m *StorageConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 259 return xxx_messageInfo_StorageConfiguration.Marshal(b, m, deterministic) 260 } 261 func (m *StorageConfiguration) XXX_Merge(src proto.Message) { 262 xxx_messageInfo_StorageConfiguration.Merge(m, src) 263 } 264 func (m *StorageConfiguration) XXX_Size() int { 265 return xxx_messageInfo_StorageConfiguration.Size(m) 266 } 267 func (m *StorageConfiguration) XXX_DiscardUnknown() { 268 xxx_messageInfo_StorageConfiguration.DiscardUnknown(m) 269 } 270 271 var xxx_messageInfo_StorageConfiguration proto.InternalMessageInfo 272 273 func (m *StorageConfiguration) GetOsdisk() *Disk { 274 if m != nil { 275 return m.Osdisk 276 } 277 return nil 278 } 279 280 func (m *StorageConfiguration) GetDatadisks() []*Disk { 281 if m != nil { 282 return m.Datadisks 283 } 284 return nil 285 } 286 287 func (m *StorageConfiguration) GetImageReference() string { 288 if m != nil { 289 return m.ImageReference 290 } 291 return "" 292 } 293 294 func (m *StorageConfiguration) GetVmConfigContainerName() string { 295 if m != nil { 296 return m.VmConfigContainerName 297 } 298 return "" 299 } 300 301 type NetworkInterface struct { 302 // reference to network interface managed by network 303 NetworkInterfaceName string `protobuf:"bytes,1,opt,name=networkInterfaceName,proto3" json:"networkInterfaceName,omitempty"` 304 XXX_NoUnkeyedLiteral struct{} `json:"-"` 305 XXX_unrecognized []byte `json:"-"` 306 XXX_sizecache int32 `json:"-"` 307 } 308 309 func (m *NetworkInterface) Reset() { *m = NetworkInterface{} } 310 func (m *NetworkInterface) String() string { return proto.CompactTextString(m) } 311 func (*NetworkInterface) ProtoMessage() {} 312 func (*NetworkInterface) Descriptor() ([]byte, []int) { 313 return fileDescriptor_a65ab853cd24c92b, []int{5} 314 } 315 316 func (m *NetworkInterface) XXX_Unmarshal(b []byte) error { 317 return xxx_messageInfo_NetworkInterface.Unmarshal(m, b) 318 } 319 func (m *NetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 320 return xxx_messageInfo_NetworkInterface.Marshal(b, m, deterministic) 321 } 322 func (m *NetworkInterface) XXX_Merge(src proto.Message) { 323 xxx_messageInfo_NetworkInterface.Merge(m, src) 324 } 325 func (m *NetworkInterface) XXX_Size() int { 326 return xxx_messageInfo_NetworkInterface.Size(m) 327 } 328 func (m *NetworkInterface) XXX_DiscardUnknown() { 329 xxx_messageInfo_NetworkInterface.DiscardUnknown(m) 330 } 331 332 var xxx_messageInfo_NetworkInterface proto.InternalMessageInfo 333 334 func (m *NetworkInterface) GetNetworkInterfaceName() string { 335 if m != nil { 336 return m.NetworkInterfaceName 337 } 338 return "" 339 } 340 341 type NetworkConfiguration struct { 342 Interfaces []*NetworkInterface `protobuf:"bytes,1,rep,name=interfaces,proto3" json:"interfaces,omitempty"` 343 XXX_NoUnkeyedLiteral struct{} `json:"-"` 344 XXX_unrecognized []byte `json:"-"` 345 XXX_sizecache int32 `json:"-"` 346 } 347 348 func (m *NetworkConfiguration) Reset() { *m = NetworkConfiguration{} } 349 func (m *NetworkConfiguration) String() string { return proto.CompactTextString(m) } 350 func (*NetworkConfiguration) ProtoMessage() {} 351 func (*NetworkConfiguration) Descriptor() ([]byte, []int) { 352 return fileDescriptor_a65ab853cd24c92b, []int{6} 353 } 354 355 func (m *NetworkConfiguration) XXX_Unmarshal(b []byte) error { 356 return xxx_messageInfo_NetworkConfiguration.Unmarshal(m, b) 357 } 358 func (m *NetworkConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 359 return xxx_messageInfo_NetworkConfiguration.Marshal(b, m, deterministic) 360 } 361 func (m *NetworkConfiguration) XXX_Merge(src proto.Message) { 362 xxx_messageInfo_NetworkConfiguration.Merge(m, src) 363 } 364 func (m *NetworkConfiguration) XXX_Size() int { 365 return xxx_messageInfo_NetworkConfiguration.Size(m) 366 } 367 func (m *NetworkConfiguration) XXX_DiscardUnknown() { 368 xxx_messageInfo_NetworkConfiguration.DiscardUnknown(m) 369 } 370 371 var xxx_messageInfo_NetworkConfiguration proto.InternalMessageInfo 372 373 func (m *NetworkConfiguration) GetInterfaces() []*NetworkInterface { 374 if m != nil { 375 return m.Interfaces 376 } 377 return nil 378 } 379 380 type UserConfiguration struct { 381 Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` 382 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` 383 Usertype common.UserType `protobuf:"varint,3,opt,name=usertype,proto3,enum=moc.UserType" json:"usertype,omitempty"` 384 XXX_NoUnkeyedLiteral struct{} `json:"-"` 385 XXX_unrecognized []byte `json:"-"` 386 XXX_sizecache int32 `json:"-"` 387 } 388 389 func (m *UserConfiguration) Reset() { *m = UserConfiguration{} } 390 func (m *UserConfiguration) String() string { return proto.CompactTextString(m) } 391 func (*UserConfiguration) ProtoMessage() {} 392 func (*UserConfiguration) Descriptor() ([]byte, []int) { 393 return fileDescriptor_a65ab853cd24c92b, []int{7} 394 } 395 396 func (m *UserConfiguration) XXX_Unmarshal(b []byte) error { 397 return xxx_messageInfo_UserConfiguration.Unmarshal(m, b) 398 } 399 func (m *UserConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 400 return xxx_messageInfo_UserConfiguration.Marshal(b, m, deterministic) 401 } 402 func (m *UserConfiguration) XXX_Merge(src proto.Message) { 403 xxx_messageInfo_UserConfiguration.Merge(m, src) 404 } 405 func (m *UserConfiguration) XXX_Size() int { 406 return xxx_messageInfo_UserConfiguration.Size(m) 407 } 408 func (m *UserConfiguration) XXX_DiscardUnknown() { 409 xxx_messageInfo_UserConfiguration.DiscardUnknown(m) 410 } 411 412 var xxx_messageInfo_UserConfiguration proto.InternalMessageInfo 413 414 func (m *UserConfiguration) GetUsername() string { 415 if m != nil { 416 return m.Username 417 } 418 return "" 419 } 420 421 func (m *UserConfiguration) GetPassword() string { 422 if m != nil { 423 return m.Password 424 } 425 return "" 426 } 427 428 func (m *UserConfiguration) GetUsertype() common.UserType { 429 if m != nil { 430 return m.Usertype 431 } 432 return common.UserType_ROOT 433 } 434 435 type RDPConfiguration struct { 436 DisableRDP bool `protobuf:"varint,1,opt,name=disableRDP,proto3" json:"disableRDP,omitempty"` 437 Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` 438 XXX_NoUnkeyedLiteral struct{} `json:"-"` 439 XXX_unrecognized []byte `json:"-"` 440 XXX_sizecache int32 `json:"-"` 441 } 442 443 func (m *RDPConfiguration) Reset() { *m = RDPConfiguration{} } 444 func (m *RDPConfiguration) String() string { return proto.CompactTextString(m) } 445 func (*RDPConfiguration) ProtoMessage() {} 446 func (*RDPConfiguration) Descriptor() ([]byte, []int) { 447 return fileDescriptor_a65ab853cd24c92b, []int{8} 448 } 449 450 func (m *RDPConfiguration) XXX_Unmarshal(b []byte) error { 451 return xxx_messageInfo_RDPConfiguration.Unmarshal(m, b) 452 } 453 func (m *RDPConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 454 return xxx_messageInfo_RDPConfiguration.Marshal(b, m, deterministic) 455 } 456 func (m *RDPConfiguration) XXX_Merge(src proto.Message) { 457 xxx_messageInfo_RDPConfiguration.Merge(m, src) 458 } 459 func (m *RDPConfiguration) XXX_Size() int { 460 return xxx_messageInfo_RDPConfiguration.Size(m) 461 } 462 func (m *RDPConfiguration) XXX_DiscardUnknown() { 463 xxx_messageInfo_RDPConfiguration.DiscardUnknown(m) 464 } 465 466 var xxx_messageInfo_RDPConfiguration proto.InternalMessageInfo 467 468 func (m *RDPConfiguration) GetDisableRDP() bool { 469 if m != nil { 470 return m.DisableRDP 471 } 472 return false 473 } 474 475 func (m *RDPConfiguration) GetPort() uint32 { 476 if m != nil { 477 return m.Port 478 } 479 return 0 480 } 481 482 type LinuxConfiguration struct { 483 DisablePasswordAuthentication bool `protobuf:"varint,1,opt,name=disablePasswordAuthentication,proto3" json:"disablePasswordAuthentication,omitempty"` 484 XXX_NoUnkeyedLiteral struct{} `json:"-"` 485 XXX_unrecognized []byte `json:"-"` 486 XXX_sizecache int32 `json:"-"` 487 } 488 489 func (m *LinuxConfiguration) Reset() { *m = LinuxConfiguration{} } 490 func (m *LinuxConfiguration) String() string { return proto.CompactTextString(m) } 491 func (*LinuxConfiguration) ProtoMessage() {} 492 func (*LinuxConfiguration) Descriptor() ([]byte, []int) { 493 return fileDescriptor_a65ab853cd24c92b, []int{9} 494 } 495 496 func (m *LinuxConfiguration) XXX_Unmarshal(b []byte) error { 497 return xxx_messageInfo_LinuxConfiguration.Unmarshal(m, b) 498 } 499 func (m *LinuxConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 500 return xxx_messageInfo_LinuxConfiguration.Marshal(b, m, deterministic) 501 } 502 func (m *LinuxConfiguration) XXX_Merge(src proto.Message) { 503 xxx_messageInfo_LinuxConfiguration.Merge(m, src) 504 } 505 func (m *LinuxConfiguration) XXX_Size() int { 506 return xxx_messageInfo_LinuxConfiguration.Size(m) 507 } 508 func (m *LinuxConfiguration) XXX_DiscardUnknown() { 509 xxx_messageInfo_LinuxConfiguration.DiscardUnknown(m) 510 } 511 512 var xxx_messageInfo_LinuxConfiguration proto.InternalMessageInfo 513 514 func (m *LinuxConfiguration) GetDisablePasswordAuthentication() bool { 515 if m != nil { 516 return m.DisablePasswordAuthentication 517 } 518 return false 519 } 520 521 type WindowsConfiguration struct { 522 EnableAutomaticUpdates bool `protobuf:"varint,1,opt,name=enableAutomaticUpdates,proto3" json:"enableAutomaticUpdates,omitempty"` 523 TimeZone string `protobuf:"bytes,2,opt,name=timeZone,proto3" json:"timeZone,omitempty"` 524 RDPConfiguration *RDPConfiguration `protobuf:"bytes,3,opt,name=RDPConfiguration,proto3" json:"RDPConfiguration,omitempty"` 525 WinRMConfiguration *common.WinRMConfiguration `protobuf:"bytes,4,opt,name=WinRMConfiguration,proto3" json:"WinRMConfiguration,omitempty"` 526 XXX_NoUnkeyedLiteral struct{} `json:"-"` 527 XXX_unrecognized []byte `json:"-"` 528 XXX_sizecache int32 `json:"-"` 529 } 530 531 func (m *WindowsConfiguration) Reset() { *m = WindowsConfiguration{} } 532 func (m *WindowsConfiguration) String() string { return proto.CompactTextString(m) } 533 func (*WindowsConfiguration) ProtoMessage() {} 534 func (*WindowsConfiguration) Descriptor() ([]byte, []int) { 535 return fileDescriptor_a65ab853cd24c92b, []int{10} 536 } 537 538 func (m *WindowsConfiguration) XXX_Unmarshal(b []byte) error { 539 return xxx_messageInfo_WindowsConfiguration.Unmarshal(m, b) 540 } 541 func (m *WindowsConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 542 return xxx_messageInfo_WindowsConfiguration.Marshal(b, m, deterministic) 543 } 544 func (m *WindowsConfiguration) XXX_Merge(src proto.Message) { 545 xxx_messageInfo_WindowsConfiguration.Merge(m, src) 546 } 547 func (m *WindowsConfiguration) XXX_Size() int { 548 return xxx_messageInfo_WindowsConfiguration.Size(m) 549 } 550 func (m *WindowsConfiguration) XXX_DiscardUnknown() { 551 xxx_messageInfo_WindowsConfiguration.DiscardUnknown(m) 552 } 553 554 var xxx_messageInfo_WindowsConfiguration proto.InternalMessageInfo 555 556 func (m *WindowsConfiguration) GetEnableAutomaticUpdates() bool { 557 if m != nil { 558 return m.EnableAutomaticUpdates 559 } 560 return false 561 } 562 563 func (m *WindowsConfiguration) GetTimeZone() string { 564 if m != nil { 565 return m.TimeZone 566 } 567 return "" 568 } 569 570 func (m *WindowsConfiguration) GetRDPConfiguration() *RDPConfiguration { 571 if m != nil { 572 return m.RDPConfiguration 573 } 574 return nil 575 } 576 577 func (m *WindowsConfiguration) GetWinRMConfiguration() *common.WinRMConfiguration { 578 if m != nil { 579 return m.WinRMConfiguration 580 } 581 return nil 582 } 583 584 type OperatingSystemConfiguration struct { 585 ComputerName string `protobuf:"bytes,1,opt,name=computerName,proto3" json:"computerName,omitempty"` 586 Administrator *UserConfiguration `protobuf:"bytes,2,opt,name=administrator,proto3" json:"administrator,omitempty"` 587 Users []*UserConfiguration `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"` 588 CustomData string `protobuf:"bytes,4,opt,name=customData,proto3" json:"customData,omitempty"` 589 Publickeys []*SSHPublicKey `protobuf:"bytes,5,rep,name=publickeys,proto3" json:"publickeys,omitempty"` 590 Ostype common.OperatingSystemType `protobuf:"varint,6,opt,name=ostype,proto3,enum=moc.OperatingSystemType" json:"ostype,omitempty"` 591 // bootstrap engine can be cloud-init, Windows answer files, ... 592 OsBootstrapEngine common.OperatingSystemBootstrapEngine `protobuf:"varint,7,opt,name=osBootstrapEngine,proto3,enum=moc.OperatingSystemBootstrapEngine" json:"osBootstrapEngine,omitempty"` 593 LinuxConfiguration *LinuxConfiguration `protobuf:"bytes,8,opt,name=linuxConfiguration,proto3" json:"linuxConfiguration,omitempty"` 594 WindowsConfiguration *WindowsConfiguration `protobuf:"bytes,9,opt,name=windowsConfiguration,proto3" json:"windowsConfiguration,omitempty"` 595 ProxyConfiguration *common.ProxyConfiguration `protobuf:"bytes,10,opt,name=proxyConfiguration,proto3" json:"proxyConfiguration,omitempty"` 596 XXX_NoUnkeyedLiteral struct{} `json:"-"` 597 XXX_unrecognized []byte `json:"-"` 598 XXX_sizecache int32 `json:"-"` 599 } 600 601 func (m *OperatingSystemConfiguration) Reset() { *m = OperatingSystemConfiguration{} } 602 func (m *OperatingSystemConfiguration) String() string { return proto.CompactTextString(m) } 603 func (*OperatingSystemConfiguration) ProtoMessage() {} 604 func (*OperatingSystemConfiguration) Descriptor() ([]byte, []int) { 605 return fileDescriptor_a65ab853cd24c92b, []int{11} 606 } 607 608 func (m *OperatingSystemConfiguration) XXX_Unmarshal(b []byte) error { 609 return xxx_messageInfo_OperatingSystemConfiguration.Unmarshal(m, b) 610 } 611 func (m *OperatingSystemConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 612 return xxx_messageInfo_OperatingSystemConfiguration.Marshal(b, m, deterministic) 613 } 614 func (m *OperatingSystemConfiguration) XXX_Merge(src proto.Message) { 615 xxx_messageInfo_OperatingSystemConfiguration.Merge(m, src) 616 } 617 func (m *OperatingSystemConfiguration) XXX_Size() int { 618 return xxx_messageInfo_OperatingSystemConfiguration.Size(m) 619 } 620 func (m *OperatingSystemConfiguration) XXX_DiscardUnknown() { 621 xxx_messageInfo_OperatingSystemConfiguration.DiscardUnknown(m) 622 } 623 624 var xxx_messageInfo_OperatingSystemConfiguration proto.InternalMessageInfo 625 626 func (m *OperatingSystemConfiguration) GetComputerName() string { 627 if m != nil { 628 return m.ComputerName 629 } 630 return "" 631 } 632 633 func (m *OperatingSystemConfiguration) GetAdministrator() *UserConfiguration { 634 if m != nil { 635 return m.Administrator 636 } 637 return nil 638 } 639 640 func (m *OperatingSystemConfiguration) GetUsers() []*UserConfiguration { 641 if m != nil { 642 return m.Users 643 } 644 return nil 645 } 646 647 func (m *OperatingSystemConfiguration) GetCustomData() string { 648 if m != nil { 649 return m.CustomData 650 } 651 return "" 652 } 653 654 func (m *OperatingSystemConfiguration) GetPublickeys() []*SSHPublicKey { 655 if m != nil { 656 return m.Publickeys 657 } 658 return nil 659 } 660 661 func (m *OperatingSystemConfiguration) GetOstype() common.OperatingSystemType { 662 if m != nil { 663 return m.Ostype 664 } 665 return common.OperatingSystemType_WINDOWS 666 } 667 668 func (m *OperatingSystemConfiguration) GetOsBootstrapEngine() common.OperatingSystemBootstrapEngine { 669 if m != nil { 670 return m.OsBootstrapEngine 671 } 672 return common.OperatingSystemBootstrapEngine_CLOUD_INIT 673 } 674 675 func (m *OperatingSystemConfiguration) GetLinuxConfiguration() *LinuxConfiguration { 676 if m != nil { 677 return m.LinuxConfiguration 678 } 679 return nil 680 } 681 682 func (m *OperatingSystemConfiguration) GetWindowsConfiguration() *WindowsConfiguration { 683 if m != nil { 684 return m.WindowsConfiguration 685 } 686 return nil 687 } 688 689 func (m *OperatingSystemConfiguration) GetProxyConfiguration() *common.ProxyConfiguration { 690 if m != nil { 691 return m.ProxyConfiguration 692 } 693 return nil 694 } 695 696 type HardwareConfiguration struct { 697 VMSize common.VirtualMachineSizeType `protobuf:"varint,1,opt,name=VMSize,proto3,enum=moc.VirtualMachineSizeType" json:"VMSize,omitempty"` 698 CustomSize *common.VirtualMachineCustomSize `protobuf:"bytes,2,opt,name=customSize,proto3" json:"customSize,omitempty"` 699 DynamicMemoryConfiguration *common.DynamicMemoryConfiguration `protobuf:"bytes,3,opt,name=dynamicMemoryConfiguration,proto3" json:"dynamicMemoryConfiguration,omitempty"` 700 XXX_NoUnkeyedLiteral struct{} `json:"-"` 701 XXX_unrecognized []byte `json:"-"` 702 XXX_sizecache int32 `json:"-"` 703 } 704 705 func (m *HardwareConfiguration) Reset() { *m = HardwareConfiguration{} } 706 func (m *HardwareConfiguration) String() string { return proto.CompactTextString(m) } 707 func (*HardwareConfiguration) ProtoMessage() {} 708 func (*HardwareConfiguration) Descriptor() ([]byte, []int) { 709 return fileDescriptor_a65ab853cd24c92b, []int{12} 710 } 711 712 func (m *HardwareConfiguration) XXX_Unmarshal(b []byte) error { 713 return xxx_messageInfo_HardwareConfiguration.Unmarshal(m, b) 714 } 715 func (m *HardwareConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 716 return xxx_messageInfo_HardwareConfiguration.Marshal(b, m, deterministic) 717 } 718 func (m *HardwareConfiguration) XXX_Merge(src proto.Message) { 719 xxx_messageInfo_HardwareConfiguration.Merge(m, src) 720 } 721 func (m *HardwareConfiguration) XXX_Size() int { 722 return xxx_messageInfo_HardwareConfiguration.Size(m) 723 } 724 func (m *HardwareConfiguration) XXX_DiscardUnknown() { 725 xxx_messageInfo_HardwareConfiguration.DiscardUnknown(m) 726 } 727 728 var xxx_messageInfo_HardwareConfiguration proto.InternalMessageInfo 729 730 func (m *HardwareConfiguration) GetVMSize() common.VirtualMachineSizeType { 731 if m != nil { 732 return m.VMSize 733 } 734 return common.VirtualMachineSizeType_Default 735 } 736 737 func (m *HardwareConfiguration) GetCustomSize() *common.VirtualMachineCustomSize { 738 if m != nil { 739 return m.CustomSize 740 } 741 return nil 742 } 743 744 func (m *HardwareConfiguration) GetDynamicMemoryConfiguration() *common.DynamicMemoryConfiguration { 745 if m != nil { 746 return m.DynamicMemoryConfiguration 747 } 748 return nil 749 } 750 751 type UefiSettings struct { 752 SecureBootEnabled bool `protobuf:"varint,1,opt,name=secureBootEnabled,proto3" json:"secureBootEnabled,omitempty"` 753 XXX_NoUnkeyedLiteral struct{} `json:"-"` 754 XXX_unrecognized []byte `json:"-"` 755 XXX_sizecache int32 `json:"-"` 756 } 757 758 func (m *UefiSettings) Reset() { *m = UefiSettings{} } 759 func (m *UefiSettings) String() string { return proto.CompactTextString(m) } 760 func (*UefiSettings) ProtoMessage() {} 761 func (*UefiSettings) Descriptor() ([]byte, []int) { 762 return fileDescriptor_a65ab853cd24c92b, []int{13} 763 } 764 765 func (m *UefiSettings) XXX_Unmarshal(b []byte) error { 766 return xxx_messageInfo_UefiSettings.Unmarshal(m, b) 767 } 768 func (m *UefiSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 769 return xxx_messageInfo_UefiSettings.Marshal(b, m, deterministic) 770 } 771 func (m *UefiSettings) XXX_Merge(src proto.Message) { 772 xxx_messageInfo_UefiSettings.Merge(m, src) 773 } 774 func (m *UefiSettings) XXX_Size() int { 775 return xxx_messageInfo_UefiSettings.Size(m) 776 } 777 func (m *UefiSettings) XXX_DiscardUnknown() { 778 xxx_messageInfo_UefiSettings.DiscardUnknown(m) 779 } 780 781 var xxx_messageInfo_UefiSettings proto.InternalMessageInfo 782 783 func (m *UefiSettings) GetSecureBootEnabled() bool { 784 if m != nil { 785 return m.SecureBootEnabled 786 } 787 return false 788 } 789 790 type SecurityConfiguration struct { 791 EnableTPM bool `protobuf:"varint,1,opt,name=enableTPM,proto3" json:"enableTPM,omitempty"` 792 UefiSettings *UefiSettings `protobuf:"bytes,2,opt,name=uefiSettings,proto3" json:"uefiSettings,omitempty"` 793 SecurityType common.SecurityType `protobuf:"varint,3,opt,name=securityType,proto3,enum=moc.SecurityType" json:"securityType,omitempty"` 794 XXX_NoUnkeyedLiteral struct{} `json:"-"` 795 XXX_unrecognized []byte `json:"-"` 796 XXX_sizecache int32 `json:"-"` 797 } 798 799 func (m *SecurityConfiguration) Reset() { *m = SecurityConfiguration{} } 800 func (m *SecurityConfiguration) String() string { return proto.CompactTextString(m) } 801 func (*SecurityConfiguration) ProtoMessage() {} 802 func (*SecurityConfiguration) Descriptor() ([]byte, []int) { 803 return fileDescriptor_a65ab853cd24c92b, []int{14} 804 } 805 806 func (m *SecurityConfiguration) XXX_Unmarshal(b []byte) error { 807 return xxx_messageInfo_SecurityConfiguration.Unmarshal(m, b) 808 } 809 func (m *SecurityConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 810 return xxx_messageInfo_SecurityConfiguration.Marshal(b, m, deterministic) 811 } 812 func (m *SecurityConfiguration) XXX_Merge(src proto.Message) { 813 xxx_messageInfo_SecurityConfiguration.Merge(m, src) 814 } 815 func (m *SecurityConfiguration) XXX_Size() int { 816 return xxx_messageInfo_SecurityConfiguration.Size(m) 817 } 818 func (m *SecurityConfiguration) XXX_DiscardUnknown() { 819 xxx_messageInfo_SecurityConfiguration.DiscardUnknown(m) 820 } 821 822 var xxx_messageInfo_SecurityConfiguration proto.InternalMessageInfo 823 824 func (m *SecurityConfiguration) GetEnableTPM() bool { 825 if m != nil { 826 return m.EnableTPM 827 } 828 return false 829 } 830 831 func (m *SecurityConfiguration) GetUefiSettings() *UefiSettings { 832 if m != nil { 833 return m.UefiSettings 834 } 835 return nil 836 } 837 838 func (m *SecurityConfiguration) GetSecurityType() common.SecurityType { 839 if m != nil { 840 return m.SecurityType 841 } 842 return common.SecurityType_NOTCONFIGURED 843 } 844 845 type AvailabilitySetReference struct { 846 GroupName string `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,omitempty"` 847 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 848 XXX_NoUnkeyedLiteral struct{} `json:"-"` 849 XXX_unrecognized []byte `json:"-"` 850 XXX_sizecache int32 `json:"-"` 851 } 852 853 func (m *AvailabilitySetReference) Reset() { *m = AvailabilitySetReference{} } 854 func (m *AvailabilitySetReference) String() string { return proto.CompactTextString(m) } 855 func (*AvailabilitySetReference) ProtoMessage() {} 856 func (*AvailabilitySetReference) Descriptor() ([]byte, []int) { 857 return fileDescriptor_a65ab853cd24c92b, []int{15} 858 } 859 860 func (m *AvailabilitySetReference) XXX_Unmarshal(b []byte) error { 861 return xxx_messageInfo_AvailabilitySetReference.Unmarshal(m, b) 862 } 863 func (m *AvailabilitySetReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 864 return xxx_messageInfo_AvailabilitySetReference.Marshal(b, m, deterministic) 865 } 866 func (m *AvailabilitySetReference) XXX_Merge(src proto.Message) { 867 xxx_messageInfo_AvailabilitySetReference.Merge(m, src) 868 } 869 func (m *AvailabilitySetReference) XXX_Size() int { 870 return xxx_messageInfo_AvailabilitySetReference.Size(m) 871 } 872 func (m *AvailabilitySetReference) XXX_DiscardUnknown() { 873 xxx_messageInfo_AvailabilitySetReference.DiscardUnknown(m) 874 } 875 876 var xxx_messageInfo_AvailabilitySetReference proto.InternalMessageInfo 877 878 func (m *AvailabilitySetReference) GetGroupName() string { 879 if m != nil { 880 return m.GroupName 881 } 882 return "" 883 } 884 885 func (m *AvailabilitySetReference) GetName() string { 886 if m != nil { 887 return m.Name 888 } 889 return "" 890 } 891 892 type VirtualMachine struct { 893 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 894 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 895 Storage *StorageConfiguration `protobuf:"bytes,3,opt,name=storage,proto3" json:"storage,omitempty"` 896 Os *OperatingSystemConfiguration `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"` 897 Network *NetworkConfiguration `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"` 898 NodeName string `protobuf:"bytes,6,opt,name=nodeName,proto3" json:"nodeName,omitempty"` 899 GroupName string `protobuf:"bytes,7,opt,name=groupName,proto3" json:"groupName,omitempty"` 900 Status *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` 901 LocationName string `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"` 902 DisableHighAvailability bool `protobuf:"varint,10,opt,name=disableHighAvailability,proto3" json:"disableHighAvailability,omitempty"` 903 VmType VMType `protobuf:"varint,11,opt,name=vmType,proto3,enum=moc.cloudagent.compute.VMType" json:"vmType,omitempty"` 904 Hardware *HardwareConfiguration `protobuf:"bytes,12,opt,name=hardware,proto3" json:"hardware,omitempty"` 905 AllowedOwnerNodes []string `protobuf:"bytes,13,rep,name=allowedOwnerNodes,proto3" json:"allowedOwnerNodes,omitempty"` 906 PowerState common.PowerState `protobuf:"varint,14,opt,name=powerState,proto3,enum=moc.PowerState" json:"powerState,omitempty"` 907 Security *SecurityConfiguration `protobuf:"bytes,15,opt,name=security,proto3" json:"security,omitempty"` 908 Tags *common.Tags `protobuf:"bytes,16,opt,name=tags,proto3" json:"tags,omitempty"` 909 GuestAgent *common.GuestAgentConfiguration `protobuf:"bytes,17,opt,name=guestAgent,proto3" json:"guestAgent,omitempty"` 910 GuestAgentInstanceView *common.VirtualMachineAgentInstanceView `protobuf:"bytes,18,opt,name=guestAgentInstanceView,proto3" json:"guestAgentInstanceView,omitempty"` 911 AvailabilitySet *AvailabilitySetReference `protobuf:"bytes,19,opt,name=availabilitySet,proto3" json:"availabilitySet,omitempty"` 912 XXX_NoUnkeyedLiteral struct{} `json:"-"` 913 XXX_unrecognized []byte `json:"-"` 914 XXX_sizecache int32 `json:"-"` 915 } 916 917 func (m *VirtualMachine) Reset() { *m = VirtualMachine{} } 918 func (m *VirtualMachine) String() string { return proto.CompactTextString(m) } 919 func (*VirtualMachine) ProtoMessage() {} 920 func (*VirtualMachine) Descriptor() ([]byte, []int) { 921 return fileDescriptor_a65ab853cd24c92b, []int{16} 922 } 923 924 func (m *VirtualMachine) XXX_Unmarshal(b []byte) error { 925 return xxx_messageInfo_VirtualMachine.Unmarshal(m, b) 926 } 927 func (m *VirtualMachine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 928 return xxx_messageInfo_VirtualMachine.Marshal(b, m, deterministic) 929 } 930 func (m *VirtualMachine) XXX_Merge(src proto.Message) { 931 xxx_messageInfo_VirtualMachine.Merge(m, src) 932 } 933 func (m *VirtualMachine) XXX_Size() int { 934 return xxx_messageInfo_VirtualMachine.Size(m) 935 } 936 func (m *VirtualMachine) XXX_DiscardUnknown() { 937 xxx_messageInfo_VirtualMachine.DiscardUnknown(m) 938 } 939 940 var xxx_messageInfo_VirtualMachine proto.InternalMessageInfo 941 942 func (m *VirtualMachine) GetName() string { 943 if m != nil { 944 return m.Name 945 } 946 return "" 947 } 948 949 func (m *VirtualMachine) GetId() string { 950 if m != nil { 951 return m.Id 952 } 953 return "" 954 } 955 956 func (m *VirtualMachine) GetStorage() *StorageConfiguration { 957 if m != nil { 958 return m.Storage 959 } 960 return nil 961 } 962 963 func (m *VirtualMachine) GetOs() *OperatingSystemConfiguration { 964 if m != nil { 965 return m.Os 966 } 967 return nil 968 } 969 970 func (m *VirtualMachine) GetNetwork() *NetworkConfiguration { 971 if m != nil { 972 return m.Network 973 } 974 return nil 975 } 976 977 func (m *VirtualMachine) GetNodeName() string { 978 if m != nil { 979 return m.NodeName 980 } 981 return "" 982 } 983 984 func (m *VirtualMachine) GetGroupName() string { 985 if m != nil { 986 return m.GroupName 987 } 988 return "" 989 } 990 991 func (m *VirtualMachine) GetStatus() *common.Status { 992 if m != nil { 993 return m.Status 994 } 995 return nil 996 } 997 998 func (m *VirtualMachine) GetLocationName() string { 999 if m != nil { 1000 return m.LocationName 1001 } 1002 return "" 1003 } 1004 1005 func (m *VirtualMachine) GetDisableHighAvailability() bool { 1006 if m != nil { 1007 return m.DisableHighAvailability 1008 } 1009 return false 1010 } 1011 1012 func (m *VirtualMachine) GetVmType() VMType { 1013 if m != nil { 1014 return m.VmType 1015 } 1016 return VMType_TENANT 1017 } 1018 1019 func (m *VirtualMachine) GetHardware() *HardwareConfiguration { 1020 if m != nil { 1021 return m.Hardware 1022 } 1023 return nil 1024 } 1025 1026 func (m *VirtualMachine) GetAllowedOwnerNodes() []string { 1027 if m != nil { 1028 return m.AllowedOwnerNodes 1029 } 1030 return nil 1031 } 1032 1033 func (m *VirtualMachine) GetPowerState() common.PowerState { 1034 if m != nil { 1035 return m.PowerState 1036 } 1037 return common.PowerState_Unknown 1038 } 1039 1040 func (m *VirtualMachine) GetSecurity() *SecurityConfiguration { 1041 if m != nil { 1042 return m.Security 1043 } 1044 return nil 1045 } 1046 1047 func (m *VirtualMachine) GetTags() *common.Tags { 1048 if m != nil { 1049 return m.Tags 1050 } 1051 return nil 1052 } 1053 1054 func (m *VirtualMachine) GetGuestAgent() *common.GuestAgentConfiguration { 1055 if m != nil { 1056 return m.GuestAgent 1057 } 1058 return nil 1059 } 1060 1061 func (m *VirtualMachine) GetGuestAgentInstanceView() *common.VirtualMachineAgentInstanceView { 1062 if m != nil { 1063 return m.GuestAgentInstanceView 1064 } 1065 return nil 1066 } 1067 1068 func (m *VirtualMachine) GetAvailabilitySet() *AvailabilitySetReference { 1069 if m != nil { 1070 return m.AvailabilitySet 1071 } 1072 return nil 1073 } 1074 1075 type VirtualMachineOperationRequest struct { 1076 VirtualMachines []*VirtualMachine `protobuf:"bytes,1,rep,name=VirtualMachines,proto3" json:"VirtualMachines,omitempty"` 1077 OBSOLETE_OperationType common.VirtualMachineOperation `protobuf:"varint,2,opt,name=OBSOLETE_OperationType,json=OBSOLETEOperationType,proto3,enum=moc.VirtualMachineOperation" json:"OBSOLETE_OperationType,omitempty"` // Deprecated: Do not use. 1078 OperationType common.ProviderAccessOperation `protobuf:"varint,3,opt,name=OperationType,proto3,enum=moc.ProviderAccessOperation" json:"OperationType,omitempty"` 1079 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1080 XXX_unrecognized []byte `json:"-"` 1081 XXX_sizecache int32 `json:"-"` 1082 } 1083 1084 func (m *VirtualMachineOperationRequest) Reset() { *m = VirtualMachineOperationRequest{} } 1085 func (m *VirtualMachineOperationRequest) String() string { return proto.CompactTextString(m) } 1086 func (*VirtualMachineOperationRequest) ProtoMessage() {} 1087 func (*VirtualMachineOperationRequest) Descriptor() ([]byte, []int) { 1088 return fileDescriptor_a65ab853cd24c92b, []int{17} 1089 } 1090 1091 func (m *VirtualMachineOperationRequest) XXX_Unmarshal(b []byte) error { 1092 return xxx_messageInfo_VirtualMachineOperationRequest.Unmarshal(m, b) 1093 } 1094 func (m *VirtualMachineOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1095 return xxx_messageInfo_VirtualMachineOperationRequest.Marshal(b, m, deterministic) 1096 } 1097 func (m *VirtualMachineOperationRequest) XXX_Merge(src proto.Message) { 1098 xxx_messageInfo_VirtualMachineOperationRequest.Merge(m, src) 1099 } 1100 func (m *VirtualMachineOperationRequest) XXX_Size() int { 1101 return xxx_messageInfo_VirtualMachineOperationRequest.Size(m) 1102 } 1103 func (m *VirtualMachineOperationRequest) XXX_DiscardUnknown() { 1104 xxx_messageInfo_VirtualMachineOperationRequest.DiscardUnknown(m) 1105 } 1106 1107 var xxx_messageInfo_VirtualMachineOperationRequest proto.InternalMessageInfo 1108 1109 func (m *VirtualMachineOperationRequest) GetVirtualMachines() []*VirtualMachine { 1110 if m != nil { 1111 return m.VirtualMachines 1112 } 1113 return nil 1114 } 1115 1116 // Deprecated: Do not use. 1117 func (m *VirtualMachineOperationRequest) GetOBSOLETE_OperationType() common.VirtualMachineOperation { 1118 if m != nil { 1119 return m.OBSOLETE_OperationType 1120 } 1121 return common.VirtualMachineOperation_START 1122 } 1123 1124 func (m *VirtualMachineOperationRequest) GetOperationType() common.ProviderAccessOperation { 1125 if m != nil { 1126 return m.OperationType 1127 } 1128 return common.ProviderAccessOperation_Unspecified 1129 } 1130 1131 type VirtualMachineOperationResponse struct { 1132 VirtualMachines []*VirtualMachine `protobuf:"bytes,1,rep,name=VirtualMachines,proto3" json:"VirtualMachines,omitempty"` 1133 Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` 1134 Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` 1135 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1136 XXX_unrecognized []byte `json:"-"` 1137 XXX_sizecache int32 `json:"-"` 1138 } 1139 1140 func (m *VirtualMachineOperationResponse) Reset() { *m = VirtualMachineOperationResponse{} } 1141 func (m *VirtualMachineOperationResponse) String() string { return proto.CompactTextString(m) } 1142 func (*VirtualMachineOperationResponse) ProtoMessage() {} 1143 func (*VirtualMachineOperationResponse) Descriptor() ([]byte, []int) { 1144 return fileDescriptor_a65ab853cd24c92b, []int{18} 1145 } 1146 1147 func (m *VirtualMachineOperationResponse) XXX_Unmarshal(b []byte) error { 1148 return xxx_messageInfo_VirtualMachineOperationResponse.Unmarshal(m, b) 1149 } 1150 func (m *VirtualMachineOperationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1151 return xxx_messageInfo_VirtualMachineOperationResponse.Marshal(b, m, deterministic) 1152 } 1153 func (m *VirtualMachineOperationResponse) XXX_Merge(src proto.Message) { 1154 xxx_messageInfo_VirtualMachineOperationResponse.Merge(m, src) 1155 } 1156 func (m *VirtualMachineOperationResponse) XXX_Size() int { 1157 return xxx_messageInfo_VirtualMachineOperationResponse.Size(m) 1158 } 1159 func (m *VirtualMachineOperationResponse) XXX_DiscardUnknown() { 1160 xxx_messageInfo_VirtualMachineOperationResponse.DiscardUnknown(m) 1161 } 1162 1163 var xxx_messageInfo_VirtualMachineOperationResponse proto.InternalMessageInfo 1164 1165 func (m *VirtualMachineOperationResponse) GetVirtualMachines() []*VirtualMachine { 1166 if m != nil { 1167 return m.VirtualMachines 1168 } 1169 return nil 1170 } 1171 1172 func (m *VirtualMachineOperationResponse) GetResult() *wrappers.BoolValue { 1173 if m != nil { 1174 return m.Result 1175 } 1176 return nil 1177 } 1178 1179 func (m *VirtualMachineOperationResponse) GetError() string { 1180 if m != nil { 1181 return m.Error 1182 } 1183 return "" 1184 } 1185 1186 type VirtualMachineRunCommandRequest struct { 1187 VirtualMachine *VirtualMachine `protobuf:"bytes,1,opt,name=VirtualMachine,proto3" json:"VirtualMachine,omitempty"` 1188 Source *common.VirtualMachineRunCommandScriptSource `protobuf:"bytes,2,opt,name=Source,proto3" json:"Source,omitempty"` 1189 RunCommandInputParameters []*common.VirtualMachineRunCommandInputParameter `protobuf:"bytes,3,rep,name=RunCommandInputParameters,proto3" json:"RunCommandInputParameters,omitempty"` 1190 RunAsUser string `protobuf:"bytes,4,opt,name=RunAsUser,proto3" json:"RunAsUser,omitempty"` 1191 RunAsPassword string `protobuf:"bytes,5,opt,name=RunAsPassword,proto3" json:"RunAsPassword,omitempty"` 1192 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1193 XXX_unrecognized []byte `json:"-"` 1194 XXX_sizecache int32 `json:"-"` 1195 } 1196 1197 func (m *VirtualMachineRunCommandRequest) Reset() { *m = VirtualMachineRunCommandRequest{} } 1198 func (m *VirtualMachineRunCommandRequest) String() string { return proto.CompactTextString(m) } 1199 func (*VirtualMachineRunCommandRequest) ProtoMessage() {} 1200 func (*VirtualMachineRunCommandRequest) Descriptor() ([]byte, []int) { 1201 return fileDescriptor_a65ab853cd24c92b, []int{19} 1202 } 1203 1204 func (m *VirtualMachineRunCommandRequest) XXX_Unmarshal(b []byte) error { 1205 return xxx_messageInfo_VirtualMachineRunCommandRequest.Unmarshal(m, b) 1206 } 1207 func (m *VirtualMachineRunCommandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1208 return xxx_messageInfo_VirtualMachineRunCommandRequest.Marshal(b, m, deterministic) 1209 } 1210 func (m *VirtualMachineRunCommandRequest) XXX_Merge(src proto.Message) { 1211 xxx_messageInfo_VirtualMachineRunCommandRequest.Merge(m, src) 1212 } 1213 func (m *VirtualMachineRunCommandRequest) XXX_Size() int { 1214 return xxx_messageInfo_VirtualMachineRunCommandRequest.Size(m) 1215 } 1216 func (m *VirtualMachineRunCommandRequest) XXX_DiscardUnknown() { 1217 xxx_messageInfo_VirtualMachineRunCommandRequest.DiscardUnknown(m) 1218 } 1219 1220 var xxx_messageInfo_VirtualMachineRunCommandRequest proto.InternalMessageInfo 1221 1222 func (m *VirtualMachineRunCommandRequest) GetVirtualMachine() *VirtualMachine { 1223 if m != nil { 1224 return m.VirtualMachine 1225 } 1226 return nil 1227 } 1228 1229 func (m *VirtualMachineRunCommandRequest) GetSource() *common.VirtualMachineRunCommandScriptSource { 1230 if m != nil { 1231 return m.Source 1232 } 1233 return nil 1234 } 1235 1236 func (m *VirtualMachineRunCommandRequest) GetRunCommandInputParameters() []*common.VirtualMachineRunCommandInputParameter { 1237 if m != nil { 1238 return m.RunCommandInputParameters 1239 } 1240 return nil 1241 } 1242 1243 func (m *VirtualMachineRunCommandRequest) GetRunAsUser() string { 1244 if m != nil { 1245 return m.RunAsUser 1246 } 1247 return "" 1248 } 1249 1250 func (m *VirtualMachineRunCommandRequest) GetRunAsPassword() string { 1251 if m != nil { 1252 return m.RunAsPassword 1253 } 1254 return "" 1255 } 1256 1257 type VirtualMachineRunCommandResponse struct { 1258 VirtualMachine *VirtualMachine `protobuf:"bytes,1,opt,name=VirtualMachine,proto3" json:"VirtualMachine,omitempty"` 1259 InstanceView *common.VirtualMachineRunCommandInstanceView `protobuf:"bytes,2,opt,name=InstanceView,proto3" json:"InstanceView,omitempty"` 1260 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1261 XXX_unrecognized []byte `json:"-"` 1262 XXX_sizecache int32 `json:"-"` 1263 } 1264 1265 func (m *VirtualMachineRunCommandResponse) Reset() { *m = VirtualMachineRunCommandResponse{} } 1266 func (m *VirtualMachineRunCommandResponse) String() string { return proto.CompactTextString(m) } 1267 func (*VirtualMachineRunCommandResponse) ProtoMessage() {} 1268 func (*VirtualMachineRunCommandResponse) Descriptor() ([]byte, []int) { 1269 return fileDescriptor_a65ab853cd24c92b, []int{20} 1270 } 1271 1272 func (m *VirtualMachineRunCommandResponse) XXX_Unmarshal(b []byte) error { 1273 return xxx_messageInfo_VirtualMachineRunCommandResponse.Unmarshal(m, b) 1274 } 1275 func (m *VirtualMachineRunCommandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1276 return xxx_messageInfo_VirtualMachineRunCommandResponse.Marshal(b, m, deterministic) 1277 } 1278 func (m *VirtualMachineRunCommandResponse) XXX_Merge(src proto.Message) { 1279 xxx_messageInfo_VirtualMachineRunCommandResponse.Merge(m, src) 1280 } 1281 func (m *VirtualMachineRunCommandResponse) XXX_Size() int { 1282 return xxx_messageInfo_VirtualMachineRunCommandResponse.Size(m) 1283 } 1284 func (m *VirtualMachineRunCommandResponse) XXX_DiscardUnknown() { 1285 xxx_messageInfo_VirtualMachineRunCommandResponse.DiscardUnknown(m) 1286 } 1287 1288 var xxx_messageInfo_VirtualMachineRunCommandResponse proto.InternalMessageInfo 1289 1290 func (m *VirtualMachineRunCommandResponse) GetVirtualMachine() *VirtualMachine { 1291 if m != nil { 1292 return m.VirtualMachine 1293 } 1294 return nil 1295 } 1296 1297 func (m *VirtualMachineRunCommandResponse) GetInstanceView() *common.VirtualMachineRunCommandInstanceView { 1298 if m != nil { 1299 return m.InstanceView 1300 } 1301 return nil 1302 } 1303 1304 func init() { 1305 proto.RegisterEnum("moc.cloudagent.compute.VMType", VMType_name, VMType_value) 1306 proto.RegisterType((*VirtualMachineRequest)(nil), "moc.cloudagent.compute.VirtualMachineRequest") 1307 proto.RegisterType((*VirtualMachineResponse)(nil), "moc.cloudagent.compute.VirtualMachineResponse") 1308 proto.RegisterType((*SSHPublicKey)(nil), "moc.cloudagent.compute.SSHPublicKey") 1309 proto.RegisterType((*Disk)(nil), "moc.cloudagent.compute.Disk") 1310 proto.RegisterType((*StorageConfiguration)(nil), "moc.cloudagent.compute.StorageConfiguration") 1311 proto.RegisterType((*NetworkInterface)(nil), "moc.cloudagent.compute.NetworkInterface") 1312 proto.RegisterType((*NetworkConfiguration)(nil), "moc.cloudagent.compute.NetworkConfiguration") 1313 proto.RegisterType((*UserConfiguration)(nil), "moc.cloudagent.compute.UserConfiguration") 1314 proto.RegisterType((*RDPConfiguration)(nil), "moc.cloudagent.compute.RDPConfiguration") 1315 proto.RegisterType((*LinuxConfiguration)(nil), "moc.cloudagent.compute.LinuxConfiguration") 1316 proto.RegisterType((*WindowsConfiguration)(nil), "moc.cloudagent.compute.WindowsConfiguration") 1317 proto.RegisterType((*OperatingSystemConfiguration)(nil), "moc.cloudagent.compute.OperatingSystemConfiguration") 1318 proto.RegisterType((*HardwareConfiguration)(nil), "moc.cloudagent.compute.HardwareConfiguration") 1319 proto.RegisterType((*UefiSettings)(nil), "moc.cloudagent.compute.UefiSettings") 1320 proto.RegisterType((*SecurityConfiguration)(nil), "moc.cloudagent.compute.SecurityConfiguration") 1321 proto.RegisterType((*AvailabilitySetReference)(nil), "moc.cloudagent.compute.AvailabilitySetReference") 1322 proto.RegisterType((*VirtualMachine)(nil), "moc.cloudagent.compute.VirtualMachine") 1323 proto.RegisterType((*VirtualMachineOperationRequest)(nil), "moc.cloudagent.compute.VirtualMachineOperationRequest") 1324 proto.RegisterType((*VirtualMachineOperationResponse)(nil), "moc.cloudagent.compute.VirtualMachineOperationResponse") 1325 proto.RegisterType((*VirtualMachineRunCommandRequest)(nil), "moc.cloudagent.compute.VirtualMachineRunCommandRequest") 1326 proto.RegisterType((*VirtualMachineRunCommandResponse)(nil), "moc.cloudagent.compute.VirtualMachineRunCommandResponse") 1327 } 1328 1329 func init() { 1330 proto.RegisterFile("moc_cloudagent_virtualmachine.proto", fileDescriptor_a65ab853cd24c92b) 1331 } 1332 1333 var fileDescriptor_a65ab853cd24c92b = []byte{ 1334 // 1739 bytes of a gzipped FileDescriptorProto 1335 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0xdd, 0x6e, 0xe3, 0xc6, 1336 0xf5, 0x0f, 0x65, 0x5b, 0xb6, 0x8e, 0x3f, 0xd6, 0x9e, 0xb5, 0xbd, 0xfc, 0xfb, 0xef, 0x75, 0x0c, 1337 0x6e, 0x10, 0x38, 0xdb, 0x44, 0x4a, 0x9d, 0xed, 0x36, 0x28, 0x52, 0x04, 0xb2, 0xa5, 0xc4, 0x46, 1338 0x6c, 0x59, 0x1d, 0x69, 0x77, 0x01, 0xa3, 0xc0, 0x66, 0x4c, 0x8e, 0xe5, 0x81, 0x45, 0x0e, 0x3b, 1339 0x33, 0xb4, 0xa2, 0xa2, 0x37, 0xcd, 0x55, 0x8b, 0x5e, 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, 0x7e, 0xec, 0xec, 0x31, 1362 0x0f, 0x14, 0x61, 0x01, 0x15, 0x2d, 0xbd, 0xb7, 0x79, 0x63, 0x9e, 0xaf, 0x74, 0xbe, 0x82, 0xf5, 1363 0x16, 0x55, 0x03, 0x2e, 0x6e, 0x4f, 0x03, 0x45, 0xc5, 0x35, 0x71, 0x29, 0x3a, 0x84, 0xcd, 0x60, 1364 0x4a, 0xd6, 0x9a, 0x04, 0x29, 0x57, 0xe7, 0x7c, 0x0b, 0x9b, 0x09, 0x4f, 0x36, 0x5e, 0x27, 0x00, 1365 0x6c, 0x64, 0x38, 0xca, 0x99, 0x83, 0xa2, 0xad, 0x4f, 0x7b, 0x82, 0x53, 0x58, 0xe7, 0x7b, 0x0b, 1366 0x36, 0x5e, 0x49, 0x2a, 0xb2, 0xfc, 0xfb, 0xb0, 0x14, 0x49, 0x2a, 0x26, 0x87, 0x98, 0x9c, 0xf6, 1367 0x58, 0xaa, 0x2d, 0x42, 0x22, 0xe5, 0x80, 0x0b, 0xcf, 0xa4, 0xda, 0xd8, 0x62, 0x24, 0x45, 0x1f, 1368 0xc5, 0x1c, 0x4a, 0x17, 0xca, 0x9c, 0x29, 0x94, 0x55, 0xe3, 0xa1, 0x5e, 0x4d, 0x17, 0x06, 0x1e, 1369 0xab, 0x75, 0xb8, 0x70, 0xa3, 0x9d, 0x75, 0x61, 0x0f, 0xc0, 0x63, 0x92, 0x5c, 0xf5, 0x29, 0x6e, 1370 0xb4, 0x8d, 0x13, 0x4b, 0x38, 0x25, 0x41, 0x08, 0xe6, 0x43, 0x2e, 0xe2, 0x3c, 0x5f, 0xc5, 0xe6, 1371 0xbf, 0x73, 0x09, 0xe8, 0x8c, 0x05, 0xd1, 0x77, 0x59, 0xa6, 0x06, 0x3c, 0x4d, 0x70, 0xed, 0xc4, 1372 0xb7, 0x7a, 0xa4, 0x6e, 0x68, 0xa0, 0x98, 0x6b, 0x0c, 0x12, 0xf2, 0xfb, 0x8d, 0x9c, 0xdf, 0x97, 1373 0x60, 0xf3, 0x0d, 0x0b, 0x3c, 0x3e, 0x90, 0x59, 0xfa, 0x97, 0xb0, 0x4d, 0x03, 0x0d, 0xac, 0x47, 1374 0x8a, 0xfb, 0x44, 0x31, 0xf7, 0x55, 0xe8, 0x11, 0x65, 0xce, 0x45, 0xf3, 0x16, 0x68, 0x75, 0xa1, 1375 0x28, 0xe6, 0xd3, 0x4b, 0x1e, 0xc4, 0x8d, 0xa4, 0x82, 0xc7, 0xdf, 0xa8, 0x3b, 0x1b, 0x10, 0x13, 1376 0xc3, 0x7b, 0x4e, 0x79, 0xda, 0x1e, 0xcf, 0x86, 0xf4, 0x6b, 0x40, 0x6f, 0x58, 0x80, 0xcf, 0xb3, 1377 0xbc, 0xf3, 0x86, 0xf7, 0x89, 0xe1, 0x9d, 0x55, 0xe3, 0x1c, 0x88, 0xf3, 0x8f, 0x05, 0xd8, 0x4d, 1378 0x9a, 0x5c, 0xd0, 0xeb, 0x0c, 0xa5, 0xa2, 0x7e, 0x76, 0x25, 0x07, 0x56, 0x12, 0xbf, 0x44, 0x2a, 1379 0xc7, 0x33, 0x32, 0x74, 0x01, 0xab, 0xc4, 0xf3, 0x59, 0xc0, 0xa4, 0x12, 0x44, 0x71, 0x91, 0x74, 1380 0xac, 0x8f, 0x8a, 0x36, 0x38, 0x93, 0xa5, 0x38, 0x8b, 0x47, 0x5f, 0xc2, 0x82, 0xce, 0x28, 0x69, 1381 0xcf, 0x99, 0x7a, 0x78, 0x07, 0xa2, 0x18, 0x87, 0x3e, 0x00, 0x70, 0x23, 0xa9, 0xb8, 0xdf, 0xd0, 1382 0x5d, 0x6e, 0x3e, 0x95, 0xd5, 0x29, 0x39, 0x6a, 0x00, 0x84, 0xa6, 0x2b, 0xde, 0xd2, 0xa1, 0xb4, 1383 0x17, 0xcc, 0x5a, 0x1f, 0x14, 0xad, 0x95, 0x6e, 0xa1, 0x38, 0x85, 0x43, 0x9f, 0xea, 0x8e, 0x67, 1384 0x6a, 0x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x93, 0x45, 0xa2, 0x8f, 0x61, 0x43, 0x52, 0x37, 0x12, 0x54, 0xa7, 0x47, 0xd3, 0x34, 1396 0x2b, 0x2f, 0xe9, 0x5d, 0xb3, 0x0a, 0xe7, 0xaf, 0x16, 0x6c, 0x75, 0xb4, 0x94, 0xa9, 0x2c, 0x2f, 1397 0xda, 0x85, 0x4a, 0xdc, 0xea, 0xba, 0xed, 0xf3, 0x04, 0x3f, 0x11, 0xa0, 0x13, 0x58, 0x89, 0x52, 1398 0xab, 0x26, 0x71, 0x29, 0x2c, 0x9c, 0xb4, 0x87, 0x38, 0x83, 0x44, 0x3f, 0x81, 0x15, 0x99, 0x38, 1399 0xd0, 0x9d, 0x0c, 0x97, 0x0d, 0xc3, 0xd4, 0x49, 0x29, 0x70, 0xc6, 0xcc, 0x39, 0x03, 0xbb, 0x7e, 1400 0x47, 0x58, 0x9f, 0x5c, 0xb1, 0x3e, 0x53, 0xc3, 0x0e, 0x55, 0x93, 0x29, 0xbf, 0x0b, 0x95, 0x9e, 1401 0xe0, 0x51, 0x98, 0x6a, 0x56, 0x13, 0x81, 0x1e, 0x35, 0x66, 0x12, 0xc6, 0x5d, 0xda, 0xfc, 0x77, 1402 0xfe, 0xb0, 0x04, 0x6b, 0xd9, 0xe3, 0x1c, 0x9b, 0x59, 0x13, 0x33, 0xb4, 0x06, 0x25, 0x96, 0x0c, 1403 0x48, 0x5c, 0x62, 0x1e, 0xfa, 0x0a, 0x16, 0x65, 0x7c, 0x01, 0x4a, 0x4e, 0xb2, 0xb0, 0x10, 0xf2, 1404 0xee, 0x49, 0x78, 0x04, 0x46, 0x0d, 0x28, 0x71, 0x99, 0xb4, 0xee, 0x17, 0x45, 0x14, 0xf7, 0xb5, 1405 0x68, 0x5c, 0xe2, 0x52, 0x7b, 0x93, 0x5c, 0x3b, 0xec, 0x85, 0xfb, 0xbd, 0xc9, 0xbb, 0x85, 0xe0, 1406 0x11, 0x58, 0x8f, 0xb2, 0x80, 0x7b, 0xf1,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df, 0x5a, 0x00, 0x93, 0x50, 0xa3, 0x07, 1440 0x32, 0xcd, 0xd4, 0xe6, 0xce, 0xe7, 0xef, 0x0e, 0x1c, 0xf9, 0x70, 0xf4, 0xe3, 0xcb, 0x5a, 0x8f, 1441 0xa9, 0x9b, 0xe8, 0x4a, 0x83, 0x6a, 0x3e, 0x73, 0x05, 0x97, 0xfc, 0x5a, 0xd5, 0x7c, 0xee, 0xd6, 1442 0x44, 0xe8, 0xd6, 0x26, 0xac, 0xb5, 0x84, 0xf5, 0xaa, 0x6c, 0x1a, 0xcc, 0x67, 0xff, 0x09, 0x00, 1443 0x00, 0xff, 0xff, 0xf6, 0x57, 0x1c, 0x1d, 0x25, 0x15, 0x00, 0x00, 1444 } 1445 1446 // Reference imports to suppress errors if they are not otherwise used. 1447 var _ context.Context 1448 var _ grpc.ClientConn 1449 1450 // This is a compile-time assertion to ensure that this generated file 1451 // is compatible with the grpc package it is being compiled against. 1452 const _ = grpc.SupportPackageIsVersion4 1453 1454 // VirtualMachineAgentClient is the client API for VirtualMachineAgent service. 1455 // 1456 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1457 type VirtualMachineAgentClient interface { 1458 Invoke(ctx context.Context, in *VirtualMachineRequest, opts ...grpc.CallOption) (*VirtualMachineResponse, error) 1459 Operate(ctx context.Context, in *VirtualMachineOperationRequest, opts ...grpc.CallOption) (*VirtualMachineOperationResponse, error) 1460 RunCommand(ctx context.Context, in *VirtualMachineRunCommandRequest, opts ...grpc.CallOption) (*VirtualMachineRunCommandResponse, error) 1461 } 1462 1463 type virtualMachineAgentClient struct { 1464 cc *grpc.ClientConn 1465 } 1466 1467 func NewVirtualMachineAgentClient(cc *grpc.ClientConn) VirtualMachineAgentClient { 1468 return &virtualMachineAgentClient{cc} 1469 } 1470 1471 func (c *virtualMachineAgentClient) Invoke(ctx context.Context, in *VirtualMachineRequest, opts ...grpc.CallOption) (*VirtualMachineResponse, error) { 1472 out := new(VirtualMachineResponse) 1473 err := c.cc.Invoke(ctx, "/moc.cloudagent.compute.VirtualMachineAgent/Invoke", in, out, opts...) 1474 if err != nil { 1475 return nil, err 1476 } 1477 return out, nil 1478 } 1479 1480 func (c *virtualMachineAgentClient) Operate(ctx context.Context, in *VirtualMachineOperationRequest, opts ...grpc.CallOption) (*VirtualMachineOperationResponse, error) { 1481 out := new(VirtualMachineOperationResponse) 1482 err := c.cc.Invoke(ctx, "/moc.cloudagent.compute.VirtualMachineAgent/Operate", in, out, opts...) 1483 if err != nil { 1484 return nil, err 1485 } 1486 return out, nil 1487 } 1488 1489 func (c *virtualMachineAgentClient) RunCommand(ctx context.Context, in *VirtualMachineRunCommandRequest, opts ...grpc.CallOption) (*VirtualMachineRunCommandResponse, error) { 1490 out := new(VirtualMachineRunCommandResponse) 1491 err := c.cc.Invoke(ctx, "/moc.cloudagent.compute.VirtualMachineAgent/RunCommand", in, out, opts...) 1492 if err != nil { 1493 return nil, err 1494 } 1495 return out, nil 1496 } 1497 1498 // VirtualMachineAgentServer is the server API for VirtualMachineAgent service. 1499 type VirtualMachineAgentServer interface { 1500 Invoke(context.Context, *VirtualMachineRequest) (*VirtualMachineResponse, error) 1501 Operate(context.Context, *VirtualMachineOperationRequest) (*VirtualMachineOperationResponse, error) 1502 RunCommand(context.Context, *VirtualMachineRunCommandRequest) (*VirtualMachineRunCommandResponse, error) 1503 } 1504 1505 // UnimplementedVirtualMachineAgentServer can be embedded to have forward compatible implementations. 1506 type UnimplementedVirtualMachineAgentServer struct { 1507 } 1508 1509 func (*UnimplementedVirtualMachineAgentServer) Invoke(ctx context.Context, req *VirtualMachineRequest) (*VirtualMachineResponse, error) { 1510 return nil, status.Errorf(codes.Unimplemented, "method Invoke not implemented") 1511 } 1512 func (*UnimplementedVirtualMachineAgentServer) Operate(ctx context.Context, req *VirtualMachineOperationRequest) (*VirtualMachineOperationResponse, error) { 1513 return nil, status.Errorf(codes.Unimplemented, "method Operate not implemented") 1514 } 1515 func (*UnimplementedVirtualMachineAgentServer) RunCommand(ctx context.Context, req *VirtualMachineRunCommandRequest) (*VirtualMachineRunCommandResponse, error) { 1516 return nil, status.Errorf(codes.Unimplemented, "method RunCommand not implemented") 1517 } 1518 1519 func RegisterVirtualMachineAgentServer(s *grpc.Server, srv VirtualMachineAgentServer) { 1520 s.RegisterService(&_VirtualMachineAgent_serviceDesc, srv) 1521 } 1522 1523 func _VirtualMachineAgent_Invoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1524 in := new(VirtualMachineRequest) 1525 if err := dec(in); err != nil { 1526 return nil, err 1527 } 1528 if interceptor == nil { 1529 return srv.(VirtualMachineAgentServer).Invoke(ctx, in) 1530 } 1531 info := &grpc.UnaryServerInfo{ 1532 Server: srv, 1533 FullMethod: "/moc.cloudagent.compute.VirtualMachineAgent/Invoke", 1534 } 1535 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1536 return srv.(VirtualMachineAgentServer).Invoke(ctx, req.(*VirtualMachineRequest)) 1537 } 1538 return interceptor(ctx, in, info, handler) 1539 } 1540 1541 func _VirtualMachineAgent_Operate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1542 in := new(VirtualMachineOperationRequest) 1543 if err := dec(in); err != nil { 1544 return nil, err 1545 } 1546 if interceptor == nil { 1547 return srv.(VirtualMachineAgentServer).Operate(ctx, in) 1548 } 1549 info := &grpc.UnaryServerInfo{ 1550 Server: srv, 1551 FullMethod: "/moc.cloudagent.compute.VirtualMachineAgent/Operate", 1552 } 1553 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1554 return srv.(VirtualMachineAgentServer).Operate(ctx, req.(*VirtualMachineOperationRequest)) 1555 } 1556 return interceptor(ctx, in, info, handler) 1557 } 1558 1559 func _VirtualMachineAgent_RunCommand_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1560 in := new(VirtualMachineRunCommandRequest) 1561 if err := dec(in); err != nil { 1562 return nil, err 1563 } 1564 if interceptor == nil { 1565 return srv.(VirtualMachineAgentServer).RunCommand(ctx, in) 1566 } 1567 info := &grpc.UnaryServerInfo{ 1568 Server: srv, 1569 FullMethod: "/moc.cloudagent.compute.VirtualMachineAgent/RunCommand", 1570 } 1571 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1572 return srv.(VirtualMachineAgentServer).RunCommand(ctx, req.(*VirtualMachineRunCommandRequest)) 1573 } 1574 return interceptor(ctx, in, info, handler) 1575 } 1576 1577 var _VirtualMachineAgent_serviceDesc = grpc.ServiceDesc{ 1578 ServiceName: "moc.cloudagent.compute.VirtualMachineAgent", 1579 HandlerType: (*VirtualMachineAgentServer)(nil), 1580 Methods: []grpc.MethodDesc{ 1581 { 1582 MethodName: "Invoke", 1583 Handler: _VirtualMachineAgent_Invoke_Handler, 1584 }, 1585 { 1586 MethodName: "Operate", 1587 Handler: _VirtualMachineAgent_Operate_Handler, 1588 }, 1589 { 1590 MethodName: "RunCommand", 1591 Handler: _VirtualMachineAgent_RunCommand_Handler, 1592 }, 1593 }, 1594 Streams: []grpc.StreamDesc{}, 1595 Metadata: "moc_cloudagent_virtualmachine.proto", 1596 }