github.com/microsoft/moc@v0.17.1/rpc/cloudagent/compute/moc_cloudagent_galleryimage.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: moc_cloudagent_galleryimage.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 GalleryImageOSType int32 30 31 const ( 32 GalleryImageOSType_UNKNOWN GalleryImageOSType = 0 33 GalleryImageOSType_LINUX GalleryImageOSType = 1 34 GalleryImageOSType_WINDOWS GalleryImageOSType = 2 35 ) 36 37 var GalleryImageOSType_name = map[int32]string{ 38 0: "UNKNOWN", 39 1: "LINUX", 40 2: "WINDOWS", 41 } 42 43 var GalleryImageOSType_value = map[string]int32{ 44 "UNKNOWN": 0, 45 "LINUX": 1, 46 "WINDOWS": 2, 47 } 48 49 func (x GalleryImageOSType) String() string { 50 return proto.EnumName(GalleryImageOSType_name, int32(x)) 51 } 52 53 func (GalleryImageOSType) EnumDescriptor() ([]byte, []int) { 54 return fileDescriptor_4b5fad170433da5e, []int{0} 55 } 56 57 type GalleryImageRequest struct { 58 GalleryImages []*GalleryImage `protobuf:"bytes,1,rep,name=GalleryImages,proto3" json:"GalleryImages,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 *GalleryImageRequest) Reset() { *m = GalleryImageRequest{} } 66 func (m *GalleryImageRequest) String() string { return proto.CompactTextString(m) } 67 func (*GalleryImageRequest) ProtoMessage() {} 68 func (*GalleryImageRequest) Descriptor() ([]byte, []int) { 69 return fileDescriptor_4b5fad170433da5e, []int{0} 70 } 71 72 func (m *GalleryImageRequest) XXX_Unmarshal(b []byte) error { 73 return xxx_messageInfo_GalleryImageRequest.Unmarshal(m, b) 74 } 75 func (m *GalleryImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 76 return xxx_messageInfo_GalleryImageRequest.Marshal(b, m, deterministic) 77 } 78 func (m *GalleryImageRequest) XXX_Merge(src proto.Message) { 79 xxx_messageInfo_GalleryImageRequest.Merge(m, src) 80 } 81 func (m *GalleryImageRequest) XXX_Size() int { 82 return xxx_messageInfo_GalleryImageRequest.Size(m) 83 } 84 func (m *GalleryImageRequest) XXX_DiscardUnknown() { 85 xxx_messageInfo_GalleryImageRequest.DiscardUnknown(m) 86 } 87 88 var xxx_messageInfo_GalleryImageRequest proto.InternalMessageInfo 89 90 func (m *GalleryImageRequest) GetGalleryImages() []*GalleryImage { 91 if m != nil { 92 return m.GalleryImages 93 } 94 return nil 95 } 96 97 func (m *GalleryImageRequest) GetOperationType() common.Operation { 98 if m != nil { 99 return m.OperationType 100 } 101 return common.Operation_GET 102 } 103 104 type GalleryImageResponse struct { 105 GalleryImages []*GalleryImage `protobuf:"bytes,1,rep,name=GalleryImages,proto3" json:"GalleryImages,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 *GalleryImageResponse) Reset() { *m = GalleryImageResponse{} } 114 func (m *GalleryImageResponse) String() string { return proto.CompactTextString(m) } 115 func (*GalleryImageResponse) ProtoMessage() {} 116 func (*GalleryImageResponse) Descriptor() ([]byte, []int) { 117 return fileDescriptor_4b5fad170433da5e, []int{1} 118 } 119 120 func (m *GalleryImageResponse) XXX_Unmarshal(b []byte) error { 121 return xxx_messageInfo_GalleryImageResponse.Unmarshal(m, b) 122 } 123 func (m *GalleryImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 124 return xxx_messageInfo_GalleryImageResponse.Marshal(b, m, deterministic) 125 } 126 func (m *GalleryImageResponse) XXX_Merge(src proto.Message) { 127 xxx_messageInfo_GalleryImageResponse.Merge(m, src) 128 } 129 func (m *GalleryImageResponse) XXX_Size() int { 130 return xxx_messageInfo_GalleryImageResponse.Size(m) 131 } 132 func (m *GalleryImageResponse) XXX_DiscardUnknown() { 133 xxx_messageInfo_GalleryImageResponse.DiscardUnknown(m) 134 } 135 136 var xxx_messageInfo_GalleryImageResponse proto.InternalMessageInfo 137 138 func (m *GalleryImageResponse) GetGalleryImages() []*GalleryImage { 139 if m != nil { 140 return m.GalleryImages 141 } 142 return nil 143 } 144 145 func (m *GalleryImageResponse) GetResult() *wrappers.BoolValue { 146 if m != nil { 147 return m.Result 148 } 149 return nil 150 } 151 152 func (m *GalleryImageResponse) GetError() string { 153 if m != nil { 154 return m.Error 155 } 156 return "" 157 } 158 159 type SFSImageProperties struct { 160 CatalogName string `protobuf:"bytes,1,opt,name=catalogName,proto3" json:"catalogName,omitempty"` 161 Audience string `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"` 162 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` 163 ReleaseName string `protobuf:"bytes,4,opt,name=releaseName,proto3" json:"releaseName,omitempty"` 164 DestinationDir string `protobuf:"bytes,5,opt,name=destinationDir,proto3" json:"destinationDir,omitempty"` 165 Parts uint32 `protobuf:"varint,6,opt,name=parts,proto3" json:"parts,omitempty"` 166 XXX_NoUnkeyedLiteral struct{} `json:"-"` 167 XXX_unrecognized []byte `json:"-"` 168 XXX_sizecache int32 `json:"-"` 169 } 170 171 func (m *SFSImageProperties) Reset() { *m = SFSImageProperties{} } 172 func (m *SFSImageProperties) String() string { return proto.CompactTextString(m) } 173 func (*SFSImageProperties) ProtoMessage() {} 174 func (*SFSImageProperties) Descriptor() ([]byte, []int) { 175 return fileDescriptor_4b5fad170433da5e, []int{2} 176 } 177 178 func (m *SFSImageProperties) XXX_Unmarshal(b []byte) error { 179 return xxx_messageInfo_SFSImageProperties.Unmarshal(m, b) 180 } 181 func (m *SFSImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 182 return xxx_messageInfo_SFSImageProperties.Marshal(b, m, deterministic) 183 } 184 func (m *SFSImageProperties) XXX_Merge(src proto.Message) { 185 xxx_messageInfo_SFSImageProperties.Merge(m, src) 186 } 187 func (m *SFSImageProperties) XXX_Size() int { 188 return xxx_messageInfo_SFSImageProperties.Size(m) 189 } 190 func (m *SFSImageProperties) XXX_DiscardUnknown() { 191 xxx_messageInfo_SFSImageProperties.DiscardUnknown(m) 192 } 193 194 var xxx_messageInfo_SFSImageProperties proto.InternalMessageInfo 195 196 func (m *SFSImageProperties) GetCatalogName() string { 197 if m != nil { 198 return m.CatalogName 199 } 200 return "" 201 } 202 203 func (m *SFSImageProperties) GetAudience() string { 204 if m != nil { 205 return m.Audience 206 } 207 return "" 208 } 209 210 func (m *SFSImageProperties) GetVersion() string { 211 if m != nil { 212 return m.Version 213 } 214 return "" 215 } 216 217 func (m *SFSImageProperties) GetReleaseName() string { 218 if m != nil { 219 return m.ReleaseName 220 } 221 return "" 222 } 223 224 func (m *SFSImageProperties) GetDestinationDir() string { 225 if m != nil { 226 return m.DestinationDir 227 } 228 return "" 229 } 230 231 func (m *SFSImageProperties) GetParts() uint32 { 232 if m != nil { 233 return m.Parts 234 } 235 return 0 236 } 237 238 type LocalImageProperties struct { 239 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 240 XXX_NoUnkeyedLiteral struct{} `json:"-"` 241 XXX_unrecognized []byte `json:"-"` 242 XXX_sizecache int32 `json:"-"` 243 } 244 245 func (m *LocalImageProperties) Reset() { *m = LocalImageProperties{} } 246 func (m *LocalImageProperties) String() string { return proto.CompactTextString(m) } 247 func (*LocalImageProperties) ProtoMessage() {} 248 func (*LocalImageProperties) Descriptor() ([]byte, []int) { 249 return fileDescriptor_4b5fad170433da5e, []int{3} 250 } 251 252 func (m *LocalImageProperties) XXX_Unmarshal(b []byte) error { 253 return xxx_messageInfo_LocalImageProperties.Unmarshal(m, b) 254 } 255 func (m *LocalImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 256 return xxx_messageInfo_LocalImageProperties.Marshal(b, m, deterministic) 257 } 258 func (m *LocalImageProperties) XXX_Merge(src proto.Message) { 259 xxx_messageInfo_LocalImageProperties.Merge(m, src) 260 } 261 func (m *LocalImageProperties) XXX_Size() int { 262 return xxx_messageInfo_LocalImageProperties.Size(m) 263 } 264 func (m *LocalImageProperties) XXX_DiscardUnknown() { 265 xxx_messageInfo_LocalImageProperties.DiscardUnknown(m) 266 } 267 268 var xxx_messageInfo_LocalImageProperties proto.InternalMessageInfo 269 270 func (m *LocalImageProperties) GetPath() string { 271 if m != nil { 272 return m.Path 273 } 274 return "" 275 } 276 277 type CloneImageProperties struct { 278 CloneSource string `protobuf:"bytes,1,opt,name=cloneSource,proto3" json:"cloneSource,omitempty"` 279 XXX_NoUnkeyedLiteral struct{} `json:"-"` 280 XXX_unrecognized []byte `json:"-"` 281 XXX_sizecache int32 `json:"-"` 282 } 283 284 func (m *CloneImageProperties) Reset() { *m = CloneImageProperties{} } 285 func (m *CloneImageProperties) String() string { return proto.CompactTextString(m) } 286 func (*CloneImageProperties) ProtoMessage() {} 287 func (*CloneImageProperties) Descriptor() ([]byte, []int) { 288 return fileDescriptor_4b5fad170433da5e, []int{4} 289 } 290 291 func (m *CloneImageProperties) XXX_Unmarshal(b []byte) error { 292 return xxx_messageInfo_CloneImageProperties.Unmarshal(m, b) 293 } 294 func (m *CloneImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 295 return xxx_messageInfo_CloneImageProperties.Marshal(b, m, deterministic) 296 } 297 func (m *CloneImageProperties) XXX_Merge(src proto.Message) { 298 xxx_messageInfo_CloneImageProperties.Merge(m, src) 299 } 300 func (m *CloneImageProperties) XXX_Size() int { 301 return xxx_messageInfo_CloneImageProperties.Size(m) 302 } 303 func (m *CloneImageProperties) XXX_DiscardUnknown() { 304 xxx_messageInfo_CloneImageProperties.DiscardUnknown(m) 305 } 306 307 var xxx_messageInfo_CloneImageProperties proto.InternalMessageInfo 308 309 func (m *CloneImageProperties) GetCloneSource() string { 310 if m != nil { 311 return m.CloneSource 312 } 313 return "" 314 } 315 316 type HttpImageProperties struct { 317 HttpURL string `protobuf:"bytes,1,opt,name=httpURL,proto3" json:"httpURL,omitempty"` 318 XXX_NoUnkeyedLiteral struct{} `json:"-"` 319 XXX_unrecognized []byte `json:"-"` 320 XXX_sizecache int32 `json:"-"` 321 } 322 323 func (m *HttpImageProperties) Reset() { *m = HttpImageProperties{} } 324 func (m *HttpImageProperties) String() string { return proto.CompactTextString(m) } 325 func (*HttpImageProperties) ProtoMessage() {} 326 func (*HttpImageProperties) Descriptor() ([]byte, []int) { 327 return fileDescriptor_4b5fad170433da5e, []int{5} 328 } 329 330 func (m *HttpImageProperties) XXX_Unmarshal(b []byte) error { 331 return xxx_messageInfo_HttpImageProperties.Unmarshal(m, b) 332 } 333 func (m *HttpImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 334 return xxx_messageInfo_HttpImageProperties.Marshal(b, m, deterministic) 335 } 336 func (m *HttpImageProperties) XXX_Merge(src proto.Message) { 337 xxx_messageInfo_HttpImageProperties.Merge(m, src) 338 } 339 func (m *HttpImageProperties) XXX_Size() int { 340 return xxx_messageInfo_HttpImageProperties.Size(m) 341 } 342 func (m *HttpImageProperties) XXX_DiscardUnknown() { 343 xxx_messageInfo_HttpImageProperties.DiscardUnknown(m) 344 } 345 346 var xxx_messageInfo_HttpImageProperties proto.InternalMessageInfo 347 348 func (m *HttpImageProperties) GetHttpURL() string { 349 if m != nil { 350 return m.HttpURL 351 } 352 return "" 353 } 354 355 type AzureGalleryImageProperties struct { 356 SasURI string `protobuf:"bytes,1,opt,name=sasURI,proto3" json:"sasURI,omitempty"` 357 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` 358 XXX_NoUnkeyedLiteral struct{} `json:"-"` 359 XXX_unrecognized []byte `json:"-"` 360 XXX_sizecache int32 `json:"-"` 361 } 362 363 func (m *AzureGalleryImageProperties) Reset() { *m = AzureGalleryImageProperties{} } 364 func (m *AzureGalleryImageProperties) String() string { return proto.CompactTextString(m) } 365 func (*AzureGalleryImageProperties) ProtoMessage() {} 366 func (*AzureGalleryImageProperties) Descriptor() ([]byte, []int) { 367 return fileDescriptor_4b5fad170433da5e, []int{6} 368 } 369 370 func (m *AzureGalleryImageProperties) XXX_Unmarshal(b []byte) error { 371 return xxx_messageInfo_AzureGalleryImageProperties.Unmarshal(m, b) 372 } 373 func (m *AzureGalleryImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 374 return xxx_messageInfo_AzureGalleryImageProperties.Marshal(b, m, deterministic) 375 } 376 func (m *AzureGalleryImageProperties) XXX_Merge(src proto.Message) { 377 xxx_messageInfo_AzureGalleryImageProperties.Merge(m, src) 378 } 379 func (m *AzureGalleryImageProperties) XXX_Size() int { 380 return xxx_messageInfo_AzureGalleryImageProperties.Size(m) 381 } 382 func (m *AzureGalleryImageProperties) XXX_DiscardUnknown() { 383 xxx_messageInfo_AzureGalleryImageProperties.DiscardUnknown(m) 384 } 385 386 var xxx_messageInfo_AzureGalleryImageProperties proto.InternalMessageInfo 387 388 func (m *AzureGalleryImageProperties) GetSasURI() string { 389 if m != nil { 390 return m.SasURI 391 } 392 return "" 393 } 394 395 func (m *AzureGalleryImageProperties) GetVersion() string { 396 if m != nil { 397 return m.Version 398 } 399 return "" 400 } 401 402 type GalleryImage struct { 403 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 404 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 405 ImageOSType GalleryImageOSType `protobuf:"varint,3,opt,name=imageOSType,proto3,enum=moc.cloudagent.compute.GalleryImageOSType" json:"imageOSType,omitempty"` 406 // Path of the image on the cloud 407 Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` 408 Status *common.Status `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` 409 LocationName string `protobuf:"bytes,6,opt,name=locationName,proto3" json:"locationName,omitempty"` 410 Publisher string `protobuf:"bytes,7,opt,name=publisher,proto3" json:"publisher,omitempty"` 411 Sku string `protobuf:"bytes,8,opt,name=sku,proto3" json:"sku,omitempty"` 412 Offer string `protobuf:"bytes,9,opt,name=offer,proto3" json:"offer,omitempty"` 413 ContainerName string `protobuf:"bytes,10,opt,name=containerName,proto3" json:"containerName,omitempty"` 414 // Source of the GalleryImage from where we can copy the image from. 415 SourcePath string `protobuf:"bytes,11,opt,name=sourcePath,proto3" json:"sourcePath,omitempty"` 416 Tags *common.Tags `protobuf:"bytes,12,opt,name=tags,proto3" json:"tags,omitempty"` 417 SourceType common.ImageSource `protobuf:"varint,13,opt,name=sourceType,proto3,enum=moc.ImageSource" json:"sourceType,omitempty"` 418 HyperVGeneration common.HyperVGeneration `protobuf:"varint,14,opt,name=hyperVGeneration,proto3,enum=moc.HyperVGeneration" json:"hyperVGeneration,omitempty"` 419 CloudInitDataSource common.CloudInitDataSource `protobuf:"varint,15,opt,name=cloudInitDataSource,proto3,enum=moc.CloudInitDataSource" json:"cloudInitDataSource,omitempty"` 420 XXX_NoUnkeyedLiteral struct{} `json:"-"` 421 XXX_unrecognized []byte `json:"-"` 422 XXX_sizecache int32 `json:"-"` 423 } 424 425 func (m *GalleryImage) Reset() { *m = GalleryImage{} } 426 func (m *GalleryImage) String() string { return proto.CompactTextString(m) } 427 func (*GalleryImage) ProtoMessage() {} 428 func (*GalleryImage) Descriptor() ([]byte, []int) { 429 return fileDescriptor_4b5fad170433da5e, []int{7} 430 } 431 432 func (m *GalleryImage) XXX_Unmarshal(b []byte) error { 433 return xxx_messageInfo_GalleryImage.Unmarshal(m, b) 434 } 435 func (m *GalleryImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 436 return xxx_messageInfo_GalleryImage.Marshal(b, m, deterministic) 437 } 438 func (m *GalleryImage) XXX_Merge(src proto.Message) { 439 xxx_messageInfo_GalleryImage.Merge(m, src) 440 } 441 func (m *GalleryImage) XXX_Size() int { 442 return xxx_messageInfo_GalleryImage.Size(m) 443 } 444 func (m *GalleryImage) XXX_DiscardUnknown() { 445 xxx_messageInfo_GalleryImage.DiscardUnknown(m) 446 } 447 448 var xxx_messageInfo_GalleryImage proto.InternalMessageInfo 449 450 func (m *GalleryImage) GetName() string { 451 if m != nil { 452 return m.Name 453 } 454 return "" 455 } 456 457 func (m *GalleryImage) GetId() string { 458 if m != nil { 459 return m.Id 460 } 461 return "" 462 } 463 464 func (m *GalleryImage) GetImageOSType() GalleryImageOSType { 465 if m != nil { 466 return m.ImageOSType 467 } 468 return GalleryImageOSType_UNKNOWN 469 } 470 471 func (m *GalleryImage) GetPath() string { 472 if m != nil { 473 return m.Path 474 } 475 return "" 476 } 477 478 func (m *GalleryImage) GetStatus() *common.Status { 479 if m != nil { 480 return m.Status 481 } 482 return nil 483 } 484 485 func (m *GalleryImage) GetLocationName() string { 486 if m != nil { 487 return m.LocationName 488 } 489 return "" 490 } 491 492 func (m *GalleryImage) GetPublisher() string { 493 if m != nil { 494 return m.Publisher 495 } 496 return "" 497 } 498 499 func (m *GalleryImage) GetSku() string { 500 if m != nil { 501 return m.Sku 502 } 503 return "" 504 } 505 506 func (m *GalleryImage) GetOffer() string { 507 if m != nil { 508 return m.Offer 509 } 510 return "" 511 } 512 513 func (m *GalleryImage) GetContainerName() string { 514 if m != nil { 515 return m.ContainerName 516 } 517 return "" 518 } 519 520 func (m *GalleryImage) GetSourcePath() string { 521 if m != nil { 522 return m.SourcePath 523 } 524 return "" 525 } 526 527 func (m *GalleryImage) GetTags() *common.Tags { 528 if m != nil { 529 return m.Tags 530 } 531 return nil 532 } 533 534 func (m *GalleryImage) GetSourceType() common.ImageSource { 535 if m != nil { 536 return m.SourceType 537 } 538 return common.ImageSource_LOCAL_SOURCE 539 } 540 541 func (m *GalleryImage) GetHyperVGeneration() common.HyperVGeneration { 542 if m != nil { 543 return m.HyperVGeneration 544 } 545 return common.HyperVGeneration_HyperVGenerationV2 546 } 547 548 func (m *GalleryImage) GetCloudInitDataSource() common.CloudInitDataSource { 549 if m != nil { 550 return m.CloudInitDataSource 551 } 552 return common.CloudInitDataSource_NoCloud 553 } 554 555 func init() { 556 proto.RegisterEnum("moc.cloudagent.compute.GalleryImageOSType", GalleryImageOSType_name, GalleryImageOSType_value) 557 proto.RegisterType((*GalleryImageRequest)(nil), "moc.cloudagent.compute.GalleryImageRequest") 558 proto.RegisterType((*GalleryImageResponse)(nil), "moc.cloudagent.compute.GalleryImageResponse") 559 proto.RegisterType((*SFSImageProperties)(nil), "moc.cloudagent.compute.SFSImageProperties") 560 proto.RegisterType((*LocalImageProperties)(nil), "moc.cloudagent.compute.LocalImageProperties") 561 proto.RegisterType((*CloneImageProperties)(nil), "moc.cloudagent.compute.CloneImageProperties") 562 proto.RegisterType((*HttpImageProperties)(nil), "moc.cloudagent.compute.HttpImageProperties") 563 proto.RegisterType((*AzureGalleryImageProperties)(nil), "moc.cloudagent.compute.AzureGalleryImageProperties") 564 proto.RegisterType((*GalleryImage)(nil), "moc.cloudagent.compute.GalleryImage") 565 } 566 567 func init() { proto.RegisterFile("moc_cloudagent_galleryimage.proto", fileDescriptor_4b5fad170433da5e) } 568 569 var fileDescriptor_4b5fad170433da5e = []byte{ 570 // 796 bytes of a gzipped FileDescriptorProto 571 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xc1, 0x92, 0xdb, 0x44, 572 0x10, 0x8d, 0xbc, 0x5e, 0x3b, 0x6e, 0xad, 0x8d, 0x99, 0x35, 0xa0, 0x32, 0x81, 0x32, 0x62, 0x8b, 573 0x72, 0x05, 0x4a, 0x0a, 0x86, 0x03, 0x1c, 0x77, 0xb3, 0x90, 0x38, 0xb8, 0xec, 0xd4, 0x38, 0xce, 574 0x52, 0x5c, 0x52, 0x63, 0x79, 0x2c, 0xab, 0x22, 0x69, 0xc4, 0xcc, 0x28, 0xd4, 0xee, 0x17, 0xf0, 575 0x07, 0xfc, 0x04, 0x57, 0xfe, 0x82, 0x2b, 0xff, 0x43, 0xa9, 0x25, 0xaf, 0x25, 0x7b, 0x0f, 0x7b, 576 0xc8, 0xc9, 0x9a, 0x37, 0xfd, 0x5e, 0x77, 0xbf, 0x6e, 0x0f, 0x7c, 0x11, 0x09, 0xef, 0x8d, 0x17, 577 0x8a, 0x74, 0xc5, 0x7c, 0x1e, 0xeb, 0x37, 0x3e, 0x0b, 0x43, 0x2e, 0xaf, 0x83, 0x88, 0xf9, 0xdc, 578 0x49, 0xa4, 0xd0, 0x82, 0x7c, 0x1c, 0x09, 0xcf, 0xd9, 0x85, 0x38, 0x9e, 0x88, 0x92, 0x54, 0xf3, 579 0xfe, 0xe7, 0xbe, 0x10, 0x7e, 0xc8, 0x5d, 0x8c, 0x5a, 0xa6, 0x6b, 0xf7, 0x0f, 0xc9, 0x92, 0x84, 580 0x4b, 0x95, 0xf3, 0xfa, 0x9f, 0xa0, 0xb4, 0x88, 0x22, 0x11, 0x17, 0x3f, 0xf9, 0x85, 0xfd, 0x97, 581 0x01, 0xa7, 0xcf, 0xf2, 0x3c, 0xe3, 0x2c, 0x0f, 0xe5, 0xbf, 0xa7, 0x5c, 0x69, 0xf2, 0x02, 0xda, 582 0x65, 0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d, 0x84, 0x49, 0xad, 0xac, 0xc6, 0xc0, 0x18, 0xb6, 0x69, 0x7e, 594 0xb0, 0x9f, 0x40, 0x6f, 0x22, 0x3c, 0x16, 0xee, 0xf7, 0x63, 0x41, 0x3d, 0x61, 0x7a, 0x93, 0x37, 595 0x72, 0x51, 0xff, 0xf3, 0x1f, 0xcb, 0xa0, 0x88, 0xd8, 0x3f, 0x40, 0xef, 0x69, 0x28, 0x62, 0x7e, 596 0x97, 0x03, 0x19, 0x3e, 0x17, 0xa9, 0xf4, 0x76, 0x0e, 0xec, 0x20, 0xdb, 0x85, 0xd3, 0xe7, 0x5a, 597 0x27, 0x87, 0xa9, 0x9a, 0x1b, 0xad, 0x93, 0x05, 0x9d, 0x14, 0xa4, 0xed, 0xd1, 0x5e, 0xc0, 0xa7, 598 0xe7, 0x37, 0xa9, 0xe4, 0xe5, 0x59, 0x96, 0x88, 0x8f, 0xa0, 0xa1, 0x98, 0x5a, 0xd0, 0x71, 0xa5, 599 0xca, 0x02, 0x2b, 0x7b, 0x5a, 0xab, 0x78, 0x6a, 0xff, 0x57, 0x87, 0x93, 0xb2, 0x24, 0x21, 0x50, 600 0x8f, 0x77, 0x53, 0xc3, 0x6f, 0xd2, 0x81, 0x5a, 0xb0, 0x2a, 0x98, 0xb5, 0x60, 0x45, 0x26, 0x60, 601 0xe2, 0x1f, 0x74, 0x36, 0xc7, 0xd5, 0x3e, 0xc2, 0xd5, 0x7e, 0x7c, 0x9f, 0x5d, 0xcc, 0x19, 0xb4, 602 0x4c, 0xbf, 0xb5, 0xb7, 0xbe, 0x6f, 0x2f, 0xf9, 0x12, 0x1a, 0x4a, 0x33, 0x9d, 0x2a, 0x1c, 0xa3, 603 0x39, 0x32, 0x31, 0xc5, 0x1c, 0x21, 0x5a, 0x5c, 0x11, 0x1b, 0x4e, 0x42, 0xe1, 0xe1, 0x68, 0x71, 604 0x2d, 0x1a, 0x58, 0x66, 0x05, 0x23, 0x8f, 0xa0, 0x95, 0xa4, 0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, 0xc3, 0x32, 616 0xf5, 0x3c, 0x5b, 0x26, 0xc2, 0xa1, 0x31, 0x8e, 0xdf, 0x89, 0xb7, 0x9c, 0x7c, 0x7d, 0xaf, 0x37, 617 0x2f, 0x7f, 0xd2, 0xfb, 0xdf, 0xdc, 0x2f, 0x38, 0x7f, 0x65, 0xed, 0x07, 0x17, 0xdf, 0xfe, 0xe6, 618 0xfa, 0x81, 0xde, 0xa4, 0xcb, 0x2c, 0xd0, 0x8d, 0x02, 0x4f, 0x0a, 0x25, 0xd6, 0xda, 0x8d, 0x84, 619 0xe7, 0xca, 0xc4, 0x73, 0x77, 0x4a, 0x6e, 0xa1, 0xb4, 0x6c, 0xe0, 0xb3, 0xf9, 0xdd, 0xff, 0x01, 620 0x00, 0x00, 0xff, 0xff, 0x60, 0x7a, 0x88, 0x53, 0xca, 0x06, 0x00, 0x00, 621 } 622 623 // Reference imports to suppress errors if they are not otherwise used. 624 var _ context.Context 625 var _ grpc.ClientConn 626 627 // This is a compile-time assertion to ensure that this generated file 628 // is compatible with the grpc package it is being compiled against. 629 const _ = grpc.SupportPackageIsVersion4 630 631 // GalleryImageAgentClient is the client API for GalleryImageAgent service. 632 // 633 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 634 type GalleryImageAgentClient interface { 635 Invoke(ctx context.Context, in *GalleryImageRequest, opts ...grpc.CallOption) (*GalleryImageResponse, error) 636 } 637 638 type galleryImageAgentClient struct { 639 cc *grpc.ClientConn 640 } 641 642 func NewGalleryImageAgentClient(cc *grpc.ClientConn) GalleryImageAgentClient { 643 return &galleryImageAgentClient{cc} 644 } 645 646 func (c *galleryImageAgentClient) Invoke(ctx context.Context, in *GalleryImageRequest, opts ...grpc.CallOption) (*GalleryImageResponse, error) { 647 out := new(GalleryImageResponse) 648 err := c.cc.Invoke(ctx, "/moc.cloudagent.compute.GalleryImageAgent/Invoke", in, out, opts...) 649 if err != nil { 650 return nil, err 651 } 652 return out, nil 653 } 654 655 // GalleryImageAgentServer is the server API for GalleryImageAgent service. 656 type GalleryImageAgentServer interface { 657 Invoke(context.Context, *GalleryImageRequest) (*GalleryImageResponse, error) 658 } 659 660 // UnimplementedGalleryImageAgentServer can be embedded to have forward compatible implementations. 661 type UnimplementedGalleryImageAgentServer struct { 662 } 663 664 func (*UnimplementedGalleryImageAgentServer) Invoke(ctx context.Context, req *GalleryImageRequest) (*GalleryImageResponse, error) { 665 return nil, status.Errorf(codes.Unimplemented, "method Invoke not implemented") 666 } 667 668 func RegisterGalleryImageAgentServer(s *grpc.Server, srv GalleryImageAgentServer) { 669 s.RegisterService(&_GalleryImageAgent_serviceDesc, srv) 670 } 671 672 func _GalleryImageAgent_Invoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 673 in := new(GalleryImageRequest) 674 if err := dec(in); err != nil { 675 return nil, err 676 } 677 if interceptor == nil { 678 return srv.(GalleryImageAgentServer).Invoke(ctx, in) 679 } 680 info := &grpc.UnaryServerInfo{ 681 Server: srv, 682 FullMethod: "/moc.cloudagent.compute.GalleryImageAgent/Invoke", 683 } 684 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 685 return srv.(GalleryImageAgentServer).Invoke(ctx, req.(*GalleryImageRequest)) 686 } 687 return interceptor(ctx, in, info, handler) 688 } 689 690 var _GalleryImageAgent_serviceDesc = grpc.ServiceDesc{ 691 ServiceName: "moc.cloudagent.compute.GalleryImageAgent", 692 HandlerType: (*GalleryImageAgentServer)(nil), 693 Methods: []grpc.MethodDesc{ 694 { 695 MethodName: "Invoke", 696 Handler: _GalleryImageAgent_Invoke_Handler, 697 }, 698 }, 699 Streams: []grpc.StreamDesc{}, 700 Metadata: "moc_cloudagent_galleryimage.proto", 701 }