github.com/microsoft/moc@v0.17.1/rpc/cloudagent/storage/moc_cloudagent_virtualharddisk.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: moc_cloudagent_virtualharddisk.proto 3 4 package storage 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 VirtualHardDiskRequest struct { 30 VirtualHardDisks []*VirtualHardDisk `protobuf:"bytes,1,rep,name=VirtualHardDisks,proto3" json:"VirtualHardDisks,omitempty"` 31 OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` 32 XXX_NoUnkeyedLiteral struct{} `json:"-"` 33 XXX_unrecognized []byte `json:"-"` 34 XXX_sizecache int32 `json:"-"` 35 } 36 37 func (m *VirtualHardDiskRequest) Reset() { *m = VirtualHardDiskRequest{} } 38 func (m *VirtualHardDiskRequest) String() string { return proto.CompactTextString(m) } 39 func (*VirtualHardDiskRequest) ProtoMessage() {} 40 func (*VirtualHardDiskRequest) Descriptor() ([]byte, []int) { 41 return fileDescriptor_e3ff93a45373b349, []int{0} 42 } 43 44 func (m *VirtualHardDiskRequest) XXX_Unmarshal(b []byte) error { 45 return xxx_messageInfo_VirtualHardDiskRequest.Unmarshal(m, b) 46 } 47 func (m *VirtualHardDiskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 48 return xxx_messageInfo_VirtualHardDiskRequest.Marshal(b, m, deterministic) 49 } 50 func (m *VirtualHardDiskRequest) XXX_Merge(src proto.Message) { 51 xxx_messageInfo_VirtualHardDiskRequest.Merge(m, src) 52 } 53 func (m *VirtualHardDiskRequest) XXX_Size() int { 54 return xxx_messageInfo_VirtualHardDiskRequest.Size(m) 55 } 56 func (m *VirtualHardDiskRequest) XXX_DiscardUnknown() { 57 xxx_messageInfo_VirtualHardDiskRequest.DiscardUnknown(m) 58 } 59 60 var xxx_messageInfo_VirtualHardDiskRequest proto.InternalMessageInfo 61 62 func (m *VirtualHardDiskRequest) GetVirtualHardDisks() []*VirtualHardDisk { 63 if m != nil { 64 return m.VirtualHardDisks 65 } 66 return nil 67 } 68 69 func (m *VirtualHardDiskRequest) GetOperationType() common.Operation { 70 if m != nil { 71 return m.OperationType 72 } 73 return common.Operation_GET 74 } 75 76 type VirtualHardDiskResponse struct { 77 VirtualHardDisks []*VirtualHardDisk `protobuf:"bytes,1,rep,name=VirtualHardDisks,proto3" json:"VirtualHardDisks,omitempty"` 78 Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` 79 Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` 80 XXX_NoUnkeyedLiteral struct{} `json:"-"` 81 XXX_unrecognized []byte `json:"-"` 82 XXX_sizecache int32 `json:"-"` 83 } 84 85 func (m *VirtualHardDiskResponse) Reset() { *m = VirtualHardDiskResponse{} } 86 func (m *VirtualHardDiskResponse) String() string { return proto.CompactTextString(m) } 87 func (*VirtualHardDiskResponse) ProtoMessage() {} 88 func (*VirtualHardDiskResponse) Descriptor() ([]byte, []int) { 89 return fileDescriptor_e3ff93a45373b349, []int{1} 90 } 91 92 func (m *VirtualHardDiskResponse) XXX_Unmarshal(b []byte) error { 93 return xxx_messageInfo_VirtualHardDiskResponse.Unmarshal(m, b) 94 } 95 func (m *VirtualHardDiskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 96 return xxx_messageInfo_VirtualHardDiskResponse.Marshal(b, m, deterministic) 97 } 98 func (m *VirtualHardDiskResponse) XXX_Merge(src proto.Message) { 99 xxx_messageInfo_VirtualHardDiskResponse.Merge(m, src) 100 } 101 func (m *VirtualHardDiskResponse) XXX_Size() int { 102 return xxx_messageInfo_VirtualHardDiskResponse.Size(m) 103 } 104 func (m *VirtualHardDiskResponse) XXX_DiscardUnknown() { 105 xxx_messageInfo_VirtualHardDiskResponse.DiscardUnknown(m) 106 } 107 108 var xxx_messageInfo_VirtualHardDiskResponse proto.InternalMessageInfo 109 110 func (m *VirtualHardDiskResponse) GetVirtualHardDisks() []*VirtualHardDisk { 111 if m != nil { 112 return m.VirtualHardDisks 113 } 114 return nil 115 } 116 117 func (m *VirtualHardDiskResponse) GetResult() *wrappers.BoolValue { 118 if m != nil { 119 return m.Result 120 } 121 return nil 122 } 123 124 func (m *VirtualHardDiskResponse) GetError() string { 125 if m != nil { 126 return m.Error 127 } 128 return "" 129 } 130 131 type VirtualHardDisk struct { 132 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 133 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 134 ContainerName string `protobuf:"bytes,3,opt,name=containerName,proto3" json:"containerName,omitempty"` 135 Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` 136 Status *common.Status `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` 137 Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` 138 Dynamic bool `protobuf:"varint,7,opt,name=dynamic,proto3" json:"dynamic,omitempty"` 139 Blocksizebytes int32 `protobuf:"varint,8,opt,name=blocksizebytes,proto3" json:"blocksizebytes,omitempty"` 140 Logicalsectorbytes int32 `protobuf:"varint,9,opt,name=logicalsectorbytes,proto3" json:"logicalsectorbytes,omitempty"` 141 Physicalsectorbytes int32 `protobuf:"varint,10,opt,name=physicalsectorbytes,proto3" json:"physicalsectorbytes,omitempty"` 142 Controllernumber int64 `protobuf:"varint,11,opt,name=controllernumber,proto3" json:"controllernumber,omitempty"` 143 Controllerlocation int64 `protobuf:"varint,12,opt,name=controllerlocation,proto3" json:"controllerlocation,omitempty"` 144 Disknumber int64 `protobuf:"varint,13,opt,name=disknumber,proto3" json:"disknumber,omitempty"` 145 VirtualmachineName string `protobuf:"bytes,14,opt,name=virtualmachineName,proto3" json:"virtualmachineName,omitempty"` 146 Scsipath string `protobuf:"bytes,15,opt,name=scsipath,proto3" json:"scsipath,omitempty"` 147 AttachedVirtualmachineName string `protobuf:"bytes,16,opt,name=attachedVirtualmachineName,proto3" json:"attachedVirtualmachineName,omitempty"` 148 AttachedNodeName string `protobuf:"bytes,17,opt,name=attachedNodeName,proto3" json:"attachedNodeName,omitempty"` 149 GroupName string `protobuf:"bytes,18,opt,name=groupName,proto3" json:"groupName,omitempty"` 150 LocationName string `protobuf:"bytes,19,opt,name=locationName,proto3" json:"locationName,omitempty"` 151 HyperVGeneration common.HyperVGeneration `protobuf:"varint,20,opt,name=hyperVGeneration,proto3,enum=moc.HyperVGeneration" json:"hyperVGeneration,omitempty"` 152 DiskFileFormat common.DiskFileFormat `protobuf:"varint,21,opt,name=diskFileFormat,proto3,enum=moc.DiskFileFormat" json:"diskFileFormat,omitempty"` 153 CloudInitDataSource common.CloudInitDataSource `protobuf:"varint,22,opt,name=cloudInitDataSource,proto3,enum=moc.CloudInitDataSource" json:"cloudInitDataSource,omitempty"` 154 Tags *common.Tags `protobuf:"bytes,23,opt,name=tags,proto3" json:"tags,omitempty"` 155 XXX_NoUnkeyedLiteral struct{} `json:"-"` 156 XXX_unrecognized []byte `json:"-"` 157 XXX_sizecache int32 `json:"-"` 158 } 159 160 func (m *VirtualHardDisk) Reset() { *m = VirtualHardDisk{} } 161 func (m *VirtualHardDisk) String() string { return proto.CompactTextString(m) } 162 func (*VirtualHardDisk) ProtoMessage() {} 163 func (*VirtualHardDisk) Descriptor() ([]byte, []int) { 164 return fileDescriptor_e3ff93a45373b349, []int{2} 165 } 166 167 func (m *VirtualHardDisk) XXX_Unmarshal(b []byte) error { 168 return xxx_messageInfo_VirtualHardDisk.Unmarshal(m, b) 169 } 170 func (m *VirtualHardDisk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 171 return xxx_messageInfo_VirtualHardDisk.Marshal(b, m, deterministic) 172 } 173 func (m *VirtualHardDisk) XXX_Merge(src proto.Message) { 174 xxx_messageInfo_VirtualHardDisk.Merge(m, src) 175 } 176 func (m *VirtualHardDisk) XXX_Size() int { 177 return xxx_messageInfo_VirtualHardDisk.Size(m) 178 } 179 func (m *VirtualHardDisk) XXX_DiscardUnknown() { 180 xxx_messageInfo_VirtualHardDisk.DiscardUnknown(m) 181 } 182 183 var xxx_messageInfo_VirtualHardDisk proto.InternalMessageInfo 184 185 func (m *VirtualHardDisk) GetName() string { 186 if m != nil { 187 return m.Name 188 } 189 return "" 190 } 191 192 func (m *VirtualHardDisk) GetId() string { 193 if m != nil { 194 return m.Id 195 } 196 return "" 197 } 198 199 func (m *VirtualHardDisk) GetContainerName() string { 200 if m != nil { 201 return m.ContainerName 202 } 203 return "" 204 } 205 206 func (m *VirtualHardDisk) GetPath() string { 207 if m != nil { 208 return m.Path 209 } 210 return "" 211 } 212 213 func (m *VirtualHardDisk) GetStatus() *common.Status { 214 if m != nil { 215 return m.Status 216 } 217 return nil 218 } 219 220 func (m *VirtualHardDisk) GetSize() int64 { 221 if m != nil { 222 return m.Size 223 } 224 return 0 225 } 226 227 func (m *VirtualHardDisk) GetDynamic() bool { 228 if m != nil { 229 return m.Dynamic 230 } 231 return false 232 } 233 234 func (m *VirtualHardDisk) GetBlocksizebytes() int32 { 235 if m != nil { 236 return m.Blocksizebytes 237 } 238 return 0 239 } 240 241 func (m *VirtualHardDisk) GetLogicalsectorbytes() int32 { 242 if m != nil { 243 return m.Logicalsectorbytes 244 } 245 return 0 246 } 247 248 func (m *VirtualHardDisk) GetPhysicalsectorbytes() int32 { 249 if m != nil { 250 return m.Physicalsectorbytes 251 } 252 return 0 253 } 254 255 func (m *VirtualHardDisk) GetControllernumber() int64 { 256 if m != nil { 257 return m.Controllernumber 258 } 259 return 0 260 } 261 262 func (m *VirtualHardDisk) GetControllerlocation() int64 { 263 if m != nil { 264 return m.Controllerlocation 265 } 266 return 0 267 } 268 269 func (m *VirtualHardDisk) GetDisknumber() int64 { 270 if m != nil { 271 return m.Disknumber 272 } 273 return 0 274 } 275 276 func (m *VirtualHardDisk) GetVirtualmachineName() string { 277 if m != nil { 278 return m.VirtualmachineName 279 } 280 return "" 281 } 282 283 func (m *VirtualHardDisk) GetScsipath() string { 284 if m != nil { 285 return m.Scsipath 286 } 287 return "" 288 } 289 290 func (m *VirtualHardDisk) GetAttachedVirtualmachineName() string { 291 if m != nil { 292 return m.AttachedVirtualmachineName 293 } 294 return "" 295 } 296 297 func (m *VirtualHardDisk) GetAttachedNodeName() string { 298 if m != nil { 299 return m.AttachedNodeName 300 } 301 return "" 302 } 303 304 func (m *VirtualHardDisk) GetGroupName() string { 305 if m != nil { 306 return m.GroupName 307 } 308 return "" 309 } 310 311 func (m *VirtualHardDisk) GetLocationName() string { 312 if m != nil { 313 return m.LocationName 314 } 315 return "" 316 } 317 318 func (m *VirtualHardDisk) GetHyperVGeneration() common.HyperVGeneration { 319 if m != nil { 320 return m.HyperVGeneration 321 } 322 return common.HyperVGeneration_HyperVGenerationV2 323 } 324 325 func (m *VirtualHardDisk) GetDiskFileFormat() common.DiskFileFormat { 326 if m != nil { 327 return m.DiskFileFormat 328 } 329 return common.DiskFileFormat_DiskFileFormatVHDX 330 } 331 332 func (m *VirtualHardDisk) GetCloudInitDataSource() common.CloudInitDataSource { 333 if m != nil { 334 return m.CloudInitDataSource 335 } 336 return common.CloudInitDataSource_NoCloud 337 } 338 339 func (m *VirtualHardDisk) GetTags() *common.Tags { 340 if m != nil { 341 return m.Tags 342 } 343 return nil 344 } 345 346 func init() { 347 proto.RegisterType((*VirtualHardDiskRequest)(nil), "moc.cloudagent.storage.VirtualHardDiskRequest") 348 proto.RegisterType((*VirtualHardDiskResponse)(nil), "moc.cloudagent.storage.VirtualHardDiskResponse") 349 proto.RegisterType((*VirtualHardDisk)(nil), "moc.cloudagent.storage.VirtualHardDisk") 350 } 351 352 func init() { 353 proto.RegisterFile("moc_cloudagent_virtualharddisk.proto", fileDescriptor_e3ff93a45373b349) 354 } 355 356 var fileDescriptor_e3ff93a45373b349 = []byte{ 357 // 719 bytes of a gzipped FileDescriptorProto 358 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xcf, 0x6e, 0xdb, 0x38, 359 0x10, 0xc6, 0x57, 0x89, 0xe3, 0xc4, 0xe3, 0xc4, 0xf1, 0xd2, 0xf9, 0x43, 0x18, 0xbb, 0x81, 0xe1, 360 0x0d, 0x76, 0x8d, 0x3d, 0x48, 0xbb, 0x6e, 0x6f, 0x05, 0x0a, 0x24, 0x4d, 0xd3, 0xa4, 0x87, 0x14, 361 0x50, 0x02, 0x1f, 0x7a, 0x09, 0x68, 0x8a, 0x91, 0x09, 0x4b, 0xa2, 0x4a, 0x52, 0x29, 0xdc, 0x6b, 362 0x2f, 0x7d, 0x8f, 0x3e, 0x42, 0x51, 0xa0, 0x8f, 0x57, 0x68, 0x64, 0xc7, 0xb5, 0x6c, 0x14, 0xb9, 363 0xf4, 0x64, 0xeb, 0xfb, 0x7e, 0xf3, 0x69, 0x34, 0xd2, 0x10, 0x8e, 0x63, 0xc5, 0x6f, 0x79, 0xa4, 364 0xb2, 0x80, 0x85, 0x22, 0xb1, 0xb7, 0xf7, 0x52, 0xdb, 0x8c, 0x45, 0x23, 0xa6, 0x83, 0x40, 0x9a, 365 0xb1, 0x9b, 0x6a, 0x65, 0x15, 0x39, 0x88, 0x15, 0x77, 0xe7, 0x94, 0x6b, 0xac, 0xd2, 0x2c, 0x14, 366 0xed, 0xa3, 0x50, 0xa9, 0x30, 0x12, 0x1e, 0x52, 0xc3, 0xec, 0xce, 0x7b, 0xaf, 0x59, 0x9a, 0x0a, 367 0x6d, 0x8a, 0xba, 0xf6, 0x21, 0xa6, 0xab, 0x38, 0x56, 0xc9, 0xf4, 0xa7, 0x30, 0xba, 0x9f, 0x1d, 368 0x38, 0x18, 0x14, 0xb7, 0xba, 0x60, 0x3a, 0x38, 0x93, 0x66, 0xec, 0x8b, 0x77, 0x99, 0x30, 0x96, 369 0x5c, 0x43, 0xb3, 0xe4, 0x18, 0xea, 0x74, 0xd6, 0x7b, 0xf5, 0xfe, 0x3f, 0xee, 0xea, 0x36, 0xdc, 370 0x72, 0xd2, 0x52, 0x00, 0x79, 0x0a, 0x3b, 0x6f, 0x52, 0xa1, 0x99, 0x95, 0x2a, 0xb9, 0x99, 0xa4, 371 0x82, 0xae, 0x75, 0x9c, 0x5e, 0xa3, 0xdf, 0xc0, 0xc4, 0x07, 0xc7, 0x5f, 0x84, 0xba, 0xdf, 0x1c, 372 0x38, 0x5c, 0xea, 0xd2, 0xa4, 0x2a, 0x31, 0xe2, 0xd7, 0xb4, 0xd9, 0x87, 0xaa, 0x2f, 0x4c, 0x16, 373 0x59, 0xec, 0xaf, 0xde, 0x6f, 0xbb, 0xc5, 0x80, 0xdd, 0xd9, 0x80, 0xdd, 0x53, 0xa5, 0xa2, 0x01, 374 0x8b, 0x32, 0xe1, 0x4f, 0x49, 0xb2, 0x07, 0x1b, 0x2f, 0xb5, 0x56, 0x9a, 0xae, 0x77, 0x9c, 0x5e, 375 0xcd, 0x2f, 0x2e, 0xba, 0x5f, 0x36, 0x61, 0xb7, 0x14, 0x4f, 0x08, 0x54, 0x12, 0x16, 0x0b, 0xea, 376 0x20, 0x88, 0xff, 0x49, 0x03, 0xd6, 0x64, 0x80, 0x77, 0xab, 0xf9, 0x6b, 0x32, 0x20, 0xc7, 0xb0, 377 0xc3, 0x55, 0x62, 0x99, 0x4c, 0x84, 0xbe, 0xca, 0xe1, 0x22, 0x75, 0x51, 0x24, 0x14, 0x2a, 0x29, 378 0xb3, 0x23, 0x5a, 0xc9, 0xcd, 0xd3, 0xca, 0xa7, 0xaf, 0xd4, 0xf1, 0x51, 0x21, 0x7f, 0x41, 0xd5, 379 0x58, 0x66, 0x33, 0x43, 0x37, 0xf0, 0x09, 0xea, 0x38, 0x8c, 0x6b, 0x94, 0xfc, 0xa9, 0x95, 0x37, 380 0x62, 0xe4, 0x07, 0x41, 0xab, 0x1d, 0xa7, 0xb7, 0xee, 0xe3, 0x7f, 0x42, 0x61, 0x33, 0x98, 0x24, 381 0x2c, 0x96, 0x9c, 0x6e, 0x76, 0x9c, 0xde, 0x96, 0x3f, 0xbb, 0x24, 0x7f, 0x43, 0x63, 0x18, 0x29, 382 0x3e, 0xce, 0xb1, 0xe1, 0xc4, 0x0a, 0x43, 0xb7, 0x3a, 0x4e, 0x6f, 0xc3, 0x2f, 0xa9, 0xc4, 0x05, 383 0x12, 0xa9, 0x50, 0x72, 0x16, 0x19, 0xc1, 0xad, 0xd2, 0x05, 0x5b, 0x43, 0x76, 0x85, 0x43, 0xfe, 384 0x83, 0x56, 0x3a, 0x9a, 0x98, 0x72, 0x01, 0x60, 0xc1, 0x2a, 0x8b, 0xfc, 0x0b, 0xcd, 0x7c, 0x0e, 385 0x5a, 0x45, 0x91, 0xd0, 0x49, 0x16, 0x0f, 0x85, 0xa6, 0x75, 0x7c, 0x86, 0x25, 0x3d, 0xef, 0x66, 386 0xae, 0x45, 0x8a, 0xe3, 0x57, 0x45, 0xb7, 0x91, 0x5e, 0xe1, 0x90, 0x23, 0x80, 0x7c, 0xe1, 0xa6, 387 0xa9, 0x3b, 0xc8, 0xfd, 0xa0, 0xe4, 0x79, 0xd3, 0xdd, 0x8c, 0x19, 0x1f, 0xc9, 0x44, 0xe0, 0xdb, 388 0x69, 0xe0, 0xdb, 0x59, 0xe1, 0x90, 0x36, 0x6c, 0x19, 0x6e, 0x24, 0xbe, 0xa6, 0x5d, 0xa4, 0x1e, 389 0xae, 0xc9, 0x73, 0x68, 0x33, 0x6b, 0x19, 0x1f, 0x89, 0x60, 0xb0, 0x9c, 0xd9, 0x44, 0xfa, 0x27, 390 0x44, 0x3e, 0x87, 0x99, 0x7b, 0xa5, 0x82, 0xa2, 0xea, 0x77, 0xac, 0x5a, 0xd2, 0xc9, 0x1f, 0x50, 391 0x0b, 0xb5, 0xca, 0x52, 0x84, 0x08, 0x42, 0x73, 0x81, 0x74, 0x61, 0x7b, 0x36, 0x01, 0x04, 0x5a, 392 0x08, 0x2c, 0x68, 0xe4, 0x04, 0x9a, 0xa3, 0x49, 0x2a, 0xf4, 0xe0, 0x95, 0x48, 0xa6, 0xdb, 0x49, 393 0xf7, 0x70, 0x7d, 0xf7, 0xf1, 0xe3, 0xba, 0x28, 0x99, 0xfe, 0x12, 0x4e, 0x9e, 0x41, 0x23, 0x1f, 394 0xe5, 0xb9, 0x8c, 0xc4, 0xb9, 0xd2, 0x31, 0xb3, 0x74, 0x1f, 0x03, 0x5a, 0x18, 0x70, 0xb6, 0x60, 395 0xf9, 0x25, 0x94, 0xbc, 0x86, 0x16, 0x2e, 0xf3, 0x65, 0x22, 0xed, 0x19, 0xb3, 0xec, 0x5a, 0x65, 396 0x9a, 0x0b, 0x7a, 0x80, 0x09, 0x14, 0x13, 0x5e, 0x2c, 0xfb, 0xfe, 0xaa, 0x22, 0xf2, 0x27, 0x54, 397 0x2c, 0x0b, 0x0d, 0x3d, 0xc4, 0xe5, 0xa8, 0x61, 0xf1, 0x0d, 0x0b, 0x8d, 0x8f, 0x72, 0xff, 0xa3, 398 0x03, 0x7b, 0xa5, 0xad, 0x3d, 0xc9, 0x8f, 0x10, 0x32, 0x86, 0xea, 0x65, 0x72, 0xaf, 0xc6, 0x82, 399 0xb8, 0x8f, 0x3d, 0x5d, 0x8a, 0xe3, 0xb4, 0xed, 0x3d, 0x9a, 0x2f, 0x0e, 0xb6, 0xee, 0x6f, 0xa7, 400 0xff, 0xbf, 0xf5, 0x42, 0x69, 0x47, 0xd9, 0xd0, 0xe5, 0x2a, 0xf6, 0x62, 0xc9, 0xb5, 0x32, 0xea, 401 0xce, 0x7a, 0xb1, 0xe2, 0x9e, 0x4e, 0xb9, 0x37, 0x0f, 0xf3, 0xa6, 0x61, 0xc3, 0x2a, 0x1e, 0x50, 402 0x4f, 0xbe, 0x07, 0x00, 0x00, 0xff, 0xff, 0xa3, 0x0c, 0xd5, 0x92, 0x4f, 0x06, 0x00, 0x00, 403 } 404 405 // Reference imports to suppress errors if they are not otherwise used. 406 var _ context.Context 407 var _ grpc.ClientConn 408 409 // This is a compile-time assertion to ensure that this generated file 410 // is compatible with the grpc package it is being compiled against. 411 const _ = grpc.SupportPackageIsVersion4 412 413 // VirtualHardDiskAgentClient is the client API for VirtualHardDiskAgent service. 414 // 415 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 416 type VirtualHardDiskAgentClient interface { 417 Invoke(ctx context.Context, in *VirtualHardDiskRequest, opts ...grpc.CallOption) (*VirtualHardDiskResponse, error) 418 } 419 420 type virtualHardDiskAgentClient struct { 421 cc *grpc.ClientConn 422 } 423 424 func NewVirtualHardDiskAgentClient(cc *grpc.ClientConn) VirtualHardDiskAgentClient { 425 return &virtualHardDiskAgentClient{cc} 426 } 427 428 func (c *virtualHardDiskAgentClient) Invoke(ctx context.Context, in *VirtualHardDiskRequest, opts ...grpc.CallOption) (*VirtualHardDiskResponse, error) { 429 out := new(VirtualHardDiskResponse) 430 err := c.cc.Invoke(ctx, "/moc.cloudagent.storage.VirtualHardDiskAgent/Invoke", in, out, opts...) 431 if err != nil { 432 return nil, err 433 } 434 return out, nil 435 } 436 437 // VirtualHardDiskAgentServer is the server API for VirtualHardDiskAgent service. 438 type VirtualHardDiskAgentServer interface { 439 Invoke(context.Context, *VirtualHardDiskRequest) (*VirtualHardDiskResponse, error) 440 } 441 442 // UnimplementedVirtualHardDiskAgentServer can be embedded to have forward compatible implementations. 443 type UnimplementedVirtualHardDiskAgentServer struct { 444 } 445 446 func (*UnimplementedVirtualHardDiskAgentServer) Invoke(ctx context.Context, req *VirtualHardDiskRequest) (*VirtualHardDiskResponse, error) { 447 return nil, status.Errorf(codes.Unimplemented, "method Invoke not implemented") 448 } 449 450 func RegisterVirtualHardDiskAgentServer(s *grpc.Server, srv VirtualHardDiskAgentServer) { 451 s.RegisterService(&_VirtualHardDiskAgent_serviceDesc, srv) 452 } 453 454 func _VirtualHardDiskAgent_Invoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 455 in := new(VirtualHardDiskRequest) 456 if err := dec(in); err != nil { 457 return nil, err 458 } 459 if interceptor == nil { 460 return srv.(VirtualHardDiskAgentServer).Invoke(ctx, in) 461 } 462 info := &grpc.UnaryServerInfo{ 463 Server: srv, 464 FullMethod: "/moc.cloudagent.storage.VirtualHardDiskAgent/Invoke", 465 } 466 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 467 return srv.(VirtualHardDiskAgentServer).Invoke(ctx, req.(*VirtualHardDiskRequest)) 468 } 469 return interceptor(ctx, in, info, handler) 470 } 471 472 var _VirtualHardDiskAgent_serviceDesc = grpc.ServiceDesc{ 473 ServiceName: "moc.cloudagent.storage.VirtualHardDiskAgent", 474 HandlerType: (*VirtualHardDiskAgentServer)(nil), 475 Methods: []grpc.MethodDesc{ 476 { 477 MethodName: "Invoke", 478 Handler: _VirtualHardDiskAgent_Invoke_Handler, 479 }, 480 }, 481 Streams: []grpc.StreamDesc{}, 482 Metadata: "moc_cloudagent_virtualharddisk.proto", 483 }