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