github.com/microsoft/moc@v0.17.1/rpc/cloudagent/compute/moc_cloudagent_baremetalmachine.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: moc_cloudagent_baremetalmachine.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 BareMetalMachineRequest struct { 30 BareMetalMachines []*BareMetalMachine `protobuf:"bytes,1,rep,name=BareMetalMachines,proto3" json:"BareMetalMachines,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 *BareMetalMachineRequest) Reset() { *m = BareMetalMachineRequest{} } 38 func (m *BareMetalMachineRequest) String() string { return proto.CompactTextString(m) } 39 func (*BareMetalMachineRequest) ProtoMessage() {} 40 func (*BareMetalMachineRequest) Descriptor() ([]byte, []int) { 41 return fileDescriptor_2eaefc18860ff022, []int{0} 42 } 43 44 func (m *BareMetalMachineRequest) XXX_Unmarshal(b []byte) error { 45 return xxx_messageInfo_BareMetalMachineRequest.Unmarshal(m, b) 46 } 47 func (m *BareMetalMachineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 48 return xxx_messageInfo_BareMetalMachineRequest.Marshal(b, m, deterministic) 49 } 50 func (m *BareMetalMachineRequest) XXX_Merge(src proto.Message) { 51 xxx_messageInfo_BareMetalMachineRequest.Merge(m, src) 52 } 53 func (m *BareMetalMachineRequest) XXX_Size() int { 54 return xxx_messageInfo_BareMetalMachineRequest.Size(m) 55 } 56 func (m *BareMetalMachineRequest) XXX_DiscardUnknown() { 57 xxx_messageInfo_BareMetalMachineRequest.DiscardUnknown(m) 58 } 59 60 var xxx_messageInfo_BareMetalMachineRequest proto.InternalMessageInfo 61 62 func (m *BareMetalMachineRequest) GetBareMetalMachines() []*BareMetalMachine { 63 if m != nil { 64 return m.BareMetalMachines 65 } 66 return nil 67 } 68 69 func (m *BareMetalMachineRequest) GetOperationType() common.Operation { 70 if m != nil { 71 return m.OperationType 72 } 73 return common.Operation_GET 74 } 75 76 type BareMetalMachineResponse struct { 77 BareMetalMachines []*BareMetalMachine `protobuf:"bytes,1,rep,name=BareMetalMachines,proto3" json:"BareMetalMachines,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 *BareMetalMachineResponse) Reset() { *m = BareMetalMachineResponse{} } 86 func (m *BareMetalMachineResponse) String() string { return proto.CompactTextString(m) } 87 func (*BareMetalMachineResponse) ProtoMessage() {} 88 func (*BareMetalMachineResponse) Descriptor() ([]byte, []int) { 89 return fileDescriptor_2eaefc18860ff022, []int{1} 90 } 91 92 func (m *BareMetalMachineResponse) XXX_Unmarshal(b []byte) error { 93 return xxx_messageInfo_BareMetalMachineResponse.Unmarshal(m, b) 94 } 95 func (m *BareMetalMachineResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 96 return xxx_messageInfo_BareMetalMachineResponse.Marshal(b, m, deterministic) 97 } 98 func (m *BareMetalMachineResponse) XXX_Merge(src proto.Message) { 99 xxx_messageInfo_BareMetalMachineResponse.Merge(m, src) 100 } 101 func (m *BareMetalMachineResponse) XXX_Size() int { 102 return xxx_messageInfo_BareMetalMachineResponse.Size(m) 103 } 104 func (m *BareMetalMachineResponse) XXX_DiscardUnknown() { 105 xxx_messageInfo_BareMetalMachineResponse.DiscardUnknown(m) 106 } 107 108 var xxx_messageInfo_BareMetalMachineResponse proto.InternalMessageInfo 109 110 func (m *BareMetalMachineResponse) GetBareMetalMachines() []*BareMetalMachine { 111 if m != nil { 112 return m.BareMetalMachines 113 } 114 return nil 115 } 116 117 func (m *BareMetalMachineResponse) GetResult() *wrappers.BoolValue { 118 if m != nil { 119 return m.Result 120 } 121 return nil 122 } 123 124 func (m *BareMetalMachineResponse) GetError() string { 125 if m != nil { 126 return m.Error 127 } 128 return "" 129 } 130 131 type BareMetalMachineStorageConfiguration struct { 132 ImageReference string `protobuf:"bytes,2,opt,name=imageReference,proto3" json:"imageReference,omitempty"` 133 XXX_NoUnkeyedLiteral struct{} `json:"-"` 134 XXX_unrecognized []byte `json:"-"` 135 XXX_sizecache int32 `json:"-"` 136 } 137 138 func (m *BareMetalMachineStorageConfiguration) Reset() { *m = BareMetalMachineStorageConfiguration{} } 139 func (m *BareMetalMachineStorageConfiguration) String() string { return proto.CompactTextString(m) } 140 func (*BareMetalMachineStorageConfiguration) ProtoMessage() {} 141 func (*BareMetalMachineStorageConfiguration) Descriptor() ([]byte, []int) { 142 return fileDescriptor_2eaefc18860ff022, []int{2} 143 } 144 145 func (m *BareMetalMachineStorageConfiguration) XXX_Unmarshal(b []byte) error { 146 return xxx_messageInfo_BareMetalMachineStorageConfiguration.Unmarshal(m, b) 147 } 148 func (m *BareMetalMachineStorageConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 149 return xxx_messageInfo_BareMetalMachineStorageConfiguration.Marshal(b, m, deterministic) 150 } 151 func (m *BareMetalMachineStorageConfiguration) XXX_Merge(src proto.Message) { 152 xxx_messageInfo_BareMetalMachineStorageConfiguration.Merge(m, src) 153 } 154 func (m *BareMetalMachineStorageConfiguration) XXX_Size() int { 155 return xxx_messageInfo_BareMetalMachineStorageConfiguration.Size(m) 156 } 157 func (m *BareMetalMachineStorageConfiguration) XXX_DiscardUnknown() { 158 xxx_messageInfo_BareMetalMachineStorageConfiguration.DiscardUnknown(m) 159 } 160 161 var xxx_messageInfo_BareMetalMachineStorageConfiguration proto.InternalMessageInfo 162 163 func (m *BareMetalMachineStorageConfiguration) GetImageReference() string { 164 if m != nil { 165 return m.ImageReference 166 } 167 return "" 168 } 169 170 type BareMetalMachineOperatingSystemConfiguration struct { 171 ComputerName string `protobuf:"bytes,1,opt,name=computerName,proto3" json:"computerName,omitempty"` 172 Administrator *UserConfiguration `protobuf:"bytes,2,opt,name=administrator,proto3" json:"administrator,omitempty"` 173 Users []*UserConfiguration `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"` 174 CustomData string `protobuf:"bytes,4,opt,name=customData,proto3" json:"customData,omitempty"` 175 PublicKeys []*SSHPublicKey `protobuf:"bytes,5,rep,name=publicKeys,proto3" json:"publicKeys,omitempty"` 176 LinuxConfiguration *LinuxConfiguration `protobuf:"bytes,6,opt,name=linuxConfiguration,proto3" json:"linuxConfiguration,omitempty"` 177 XXX_NoUnkeyedLiteral struct{} `json:"-"` 178 XXX_unrecognized []byte `json:"-"` 179 XXX_sizecache int32 `json:"-"` 180 } 181 182 func (m *BareMetalMachineOperatingSystemConfiguration) Reset() { 183 *m = BareMetalMachineOperatingSystemConfiguration{} 184 } 185 func (m *BareMetalMachineOperatingSystemConfiguration) String() string { 186 return proto.CompactTextString(m) 187 } 188 func (*BareMetalMachineOperatingSystemConfiguration) ProtoMessage() {} 189 func (*BareMetalMachineOperatingSystemConfiguration) Descriptor() ([]byte, []int) { 190 return fileDescriptor_2eaefc18860ff022, []int{3} 191 } 192 193 func (m *BareMetalMachineOperatingSystemConfiguration) XXX_Unmarshal(b []byte) error { 194 return xxx_messageInfo_BareMetalMachineOperatingSystemConfiguration.Unmarshal(m, b) 195 } 196 func (m *BareMetalMachineOperatingSystemConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 197 return xxx_messageInfo_BareMetalMachineOperatingSystemConfiguration.Marshal(b, m, deterministic) 198 } 199 func (m *BareMetalMachineOperatingSystemConfiguration) XXX_Merge(src proto.Message) { 200 xxx_messageInfo_BareMetalMachineOperatingSystemConfiguration.Merge(m, src) 201 } 202 func (m *BareMetalMachineOperatingSystemConfiguration) XXX_Size() int { 203 return xxx_messageInfo_BareMetalMachineOperatingSystemConfiguration.Size(m) 204 } 205 func (m *BareMetalMachineOperatingSystemConfiguration) XXX_DiscardUnknown() { 206 xxx_messageInfo_BareMetalMachineOperatingSystemConfiguration.DiscardUnknown(m) 207 } 208 209 var xxx_messageInfo_BareMetalMachineOperatingSystemConfiguration proto.InternalMessageInfo 210 211 func (m *BareMetalMachineOperatingSystemConfiguration) GetComputerName() string { 212 if m != nil { 213 return m.ComputerName 214 } 215 return "" 216 } 217 218 func (m *BareMetalMachineOperatingSystemConfiguration) GetAdministrator() *UserConfiguration { 219 if m != nil { 220 return m.Administrator 221 } 222 return nil 223 } 224 225 func (m *BareMetalMachineOperatingSystemConfiguration) GetUsers() []*UserConfiguration { 226 if m != nil { 227 return m.Users 228 } 229 return nil 230 } 231 232 func (m *BareMetalMachineOperatingSystemConfiguration) GetCustomData() string { 233 if m != nil { 234 return m.CustomData 235 } 236 return "" 237 } 238 239 func (m *BareMetalMachineOperatingSystemConfiguration) GetPublicKeys() []*SSHPublicKey { 240 if m != nil { 241 return m.PublicKeys 242 } 243 return nil 244 } 245 246 func (m *BareMetalMachineOperatingSystemConfiguration) GetLinuxConfiguration() *LinuxConfiguration { 247 if m != nil { 248 return m.LinuxConfiguration 249 } 250 return nil 251 } 252 253 type BareMetalMachine struct { 254 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 255 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 256 Storage *BareMetalMachineStorageConfiguration `protobuf:"bytes,3,opt,name=storage,proto3" json:"storage,omitempty"` 257 Os *BareMetalMachineOperatingSystemConfiguration `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"` 258 Security *SecurityConfiguration `protobuf:"bytes,5,opt,name=security,proto3" json:"security,omitempty"` 259 Fqdn string `protobuf:"bytes,6,opt,name=fqdn,proto3" json:"fqdn,omitempty"` 260 GroupName string `protobuf:"bytes,7,opt,name=groupName,proto3" json:"groupName,omitempty"` 261 Status *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` 262 LocationName string `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"` 263 Tags *common.Tags `protobuf:"bytes,10,opt,name=tags,proto3" json:"tags,omitempty"` 264 XXX_NoUnkeyedLiteral struct{} `json:"-"` 265 XXX_unrecognized []byte `json:"-"` 266 XXX_sizecache int32 `json:"-"` 267 } 268 269 func (m *BareMetalMachine) Reset() { *m = BareMetalMachine{} } 270 func (m *BareMetalMachine) String() string { return proto.CompactTextString(m) } 271 func (*BareMetalMachine) ProtoMessage() {} 272 func (*BareMetalMachine) Descriptor() ([]byte, []int) { 273 return fileDescriptor_2eaefc18860ff022, []int{4} 274 } 275 276 func (m *BareMetalMachine) XXX_Unmarshal(b []byte) error { 277 return xxx_messageInfo_BareMetalMachine.Unmarshal(m, b) 278 } 279 func (m *BareMetalMachine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 280 return xxx_messageInfo_BareMetalMachine.Marshal(b, m, deterministic) 281 } 282 func (m *BareMetalMachine) XXX_Merge(src proto.Message) { 283 xxx_messageInfo_BareMetalMachine.Merge(m, src) 284 } 285 func (m *BareMetalMachine) XXX_Size() int { 286 return xxx_messageInfo_BareMetalMachine.Size(m) 287 } 288 func (m *BareMetalMachine) XXX_DiscardUnknown() { 289 xxx_messageInfo_BareMetalMachine.DiscardUnknown(m) 290 } 291 292 var xxx_messageInfo_BareMetalMachine proto.InternalMessageInfo 293 294 func (m *BareMetalMachine) GetName() string { 295 if m != nil { 296 return m.Name 297 } 298 return "" 299 } 300 301 func (m *BareMetalMachine) GetId() string { 302 if m != nil { 303 return m.Id 304 } 305 return "" 306 } 307 308 func (m *BareMetalMachine) GetStorage() *BareMetalMachineStorageConfiguration { 309 if m != nil { 310 return m.Storage 311 } 312 return nil 313 } 314 315 func (m *BareMetalMachine) GetOs() *BareMetalMachineOperatingSystemConfiguration { 316 if m != nil { 317 return m.Os 318 } 319 return nil 320 } 321 322 func (m *BareMetalMachine) GetSecurity() *SecurityConfiguration { 323 if m != nil { 324 return m.Security 325 } 326 return nil 327 } 328 329 func (m *BareMetalMachine) GetFqdn() string { 330 if m != nil { 331 return m.Fqdn 332 } 333 return "" 334 } 335 336 func (m *BareMetalMachine) GetGroupName() string { 337 if m != nil { 338 return m.GroupName 339 } 340 return "" 341 } 342 343 func (m *BareMetalMachine) GetStatus() *common.Status { 344 if m != nil { 345 return m.Status 346 } 347 return nil 348 } 349 350 func (m *BareMetalMachine) GetLocationName() string { 351 if m != nil { 352 return m.LocationName 353 } 354 return "" 355 } 356 357 func (m *BareMetalMachine) GetTags() *common.Tags { 358 if m != nil { 359 return m.Tags 360 } 361 return nil 362 } 363 364 func init() { 365 proto.RegisterType((*BareMetalMachineRequest)(nil), "moc.cloudagent.compute.BareMetalMachineRequest") 366 proto.RegisterType((*BareMetalMachineResponse)(nil), "moc.cloudagent.compute.BareMetalMachineResponse") 367 proto.RegisterType((*BareMetalMachineStorageConfiguration)(nil), "moc.cloudagent.compute.BareMetalMachineStorageConfiguration") 368 proto.RegisterType((*BareMetalMachineOperatingSystemConfiguration)(nil), "moc.cloudagent.compute.BareMetalMachineOperatingSystemConfiguration") 369 proto.RegisterType((*BareMetalMachine)(nil), "moc.cloudagent.compute.BareMetalMachine") 370 } 371 372 func init() { 373 proto.RegisterFile("moc_cloudagent_baremetalmachine.proto", fileDescriptor_2eaefc18860ff022) 374 } 375 376 var fileDescriptor_2eaefc18860ff022 = []byte{ 377 // 680 bytes of a gzipped FileDescriptorProto 378 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xcd, 0x6e, 0xd3, 0x4a, 379 0x14, 0xc7, 0xaf, 0xf3, 0xd5, 0xe6, 0xe4, 0x36, 0xba, 0x77, 0x04, 0xd4, 0x8a, 0x00, 0x55, 0x69, 380 0x41, 0x01, 0x81, 0x0d, 0x86, 0x25, 0x12, 0x22, 0x14, 0x89, 0x0a, 0xda, 0xa2, 0x49, 0xe9, 0xa2, 381 0x9b, 0x6a, 0xe2, 0x4c, 0xdc, 0x11, 0x1e, 0x8f, 0x3b, 0x1f, 0x85, 0xbc, 0x00, 0xe2, 0x4d, 0xd8, 382 0xb0, 0x65, 0xc7, 0x0b, 0xf0, 0x56, 0x28, 0x63, 0xb7, 0xa9, 0x9d, 0x06, 0x85, 0x05, 0xab, 0x38, 383 0xe7, 0xe3, 0x77, 0xce, 0xfc, 0xcf, 0x99, 0x81, 0x3b, 0x5c, 0x84, 0xc7, 0x61, 0x2c, 0xcc, 0x88, 384 0x44, 0x34, 0xd1, 0xc7, 0x43, 0x22, 0x29, 0xa7, 0x9a, 0xc4, 0x9c, 0x84, 0x27, 0x2c, 0xa1, 0x5e, 385 0x2a, 0x85, 0x16, 0xe8, 0x06, 0x17, 0xa1, 0x37, 0x0b, 0xf3, 0x42, 0xc1, 0x53, 0xa3, 0x69, 0xe7, 386 0x76, 0x24, 0x44, 0x14, 0x53, 0xdf, 0x46, 0x0d, 0xcd, 0xd8, 0xff, 0x28, 0x49, 0x9a, 0x52, 0xa9, 387 0xb2, 0xbc, 0xce, 0xba, 0xc5, 0x0b, 0xce, 0x45, 0x92, 0xff, 0xe4, 0x8e, 0xcd, 0x52, 0xdd, 0x33, 388 0x26, 0xb5, 0x29, 0x55, 0xed, 0x7e, 0x75, 0x60, 0xbd, 0x4f, 0x24, 0xdd, 0x9d, 0x36, 0xb4, 0x9b, 389 0xb9, 0x30, 0x3d, 0x35, 0x54, 0x69, 0x74, 0x08, 0xff, 0x97, 0x5d, 0xca, 0x75, 0x36, 0xaa, 0xbd, 390 0x56, 0xd0, 0xf3, 0xae, 0xee, 0xd6, 0x9b, 0x63, 0xcd, 0x23, 0xd0, 0x53, 0x58, 0xdb, 0x4f, 0xa9, 391 0x24, 0x9a, 0x89, 0xe4, 0x60, 0x92, 0x52, 0xb7, 0xb2, 0xe1, 0xf4, 0xda, 0x41, 0xdb, 0x32, 0x2f, 392 0x3c, 0xb8, 0x18, 0xd4, 0xfd, 0xe1, 0x80, 0x3b, 0xdf, 0xa9, 0x4a, 0x45, 0xa2, 0xe8, 0x5f, 0x6b, 393 0x35, 0x80, 0x06, 0xa6, 0xca, 0xc4, 0xda, 0xf6, 0xd8, 0x0a, 0x3a, 0x5e, 0x36, 0x0d, 0xef, 0x7c, 394 0x1a, 0x5e, 0x5f, 0x88, 0xf8, 0x90, 0xc4, 0x86, 0xe2, 0x3c, 0x12, 0x5d, 0x83, 0xfa, 0x2b, 0x29, 395 0x85, 0x74, 0xab, 0x1b, 0x4e, 0xaf, 0x89, 0xb3, 0x3f, 0xdd, 0x3d, 0xd8, 0x2a, 0xe3, 0x07, 0x5a, 396 0x48, 0x12, 0xd1, 0x97, 0x22, 0x19, 0xb3, 0xc8, 0x64, 0x47, 0x45, 0x77, 0xa1, 0xcd, 0x38, 0x89, 397 0x28, 0xa6, 0x63, 0x2a, 0x69, 0x12, 0x66, 0xea, 0x34, 0x71, 0xc9, 0xda, 0xfd, 0x56, 0x85, 0x07, 398 0x65, 0x60, 0x2e, 0x58, 0x12, 0x0d, 0x26, 0x4a, 0x53, 0x5e, 0x04, 0x77, 0xe1, 0xdf, 0xfc, 0xe4, 399 0x72, 0x8f, 0x70, 0xea, 0x3a, 0x16, 0x5b, 0xb0, 0xa1, 0x7d, 0x58, 0x23, 0x23, 0xce, 0x12, 0xa6, 400 0xb4, 0x24, 0x5a, 0xc8, 0xfc, 0xd4, 0xf7, 0x16, 0x49, 0xf8, 0x5e, 0x51, 0x59, 0xa8, 0x82, 0x8b, 401 0xf9, 0xe8, 0x39, 0xd4, 0x8d, 0xa2, 0x52, 0xb9, 0x55, 0x3b, 0x8b, 0x3f, 0x00, 0x65, 0x79, 0x68, 402 0x0b, 0x20, 0x34, 0x4a, 0x0b, 0xbe, 0x4d, 0x34, 0x71, 0x6b, 0xd3, 0x9e, 0xfb, 0xb5, 0x2f, 0xdf, 403 0x5d, 0x07, 0x5f, 0xb2, 0xa3, 0x6d, 0x80, 0xd4, 0x0c, 0x63, 0x16, 0xbe, 0xa1, 0x13, 0xe5, 0xd6, 404 0x6d, 0xad, 0xad, 0x45, 0xb5, 0x06, 0x83, 0xd7, 0xef, 0xce, 0x83, 0xf1, 0xa5, 0x3c, 0x74, 0x04, 405 0x28, 0x66, 0x89, 0xf9, 0x54, 0x68, 0xc4, 0x6d, 0x58, 0x09, 0xee, 0x2f, 0xa2, 0xbd, 0x9d, 0xcb, 406 0xc0, 0x57, 0x50, 0xba, 0x3f, 0xab, 0xf0, 0x5f, 0x79, 0x5c, 0x08, 0x41, 0x2d, 0x99, 0x8d, 0xc2, 407 0x7e, 0xa3, 0x36, 0x54, 0xd8, 0x28, 0x9f, 0x79, 0x85, 0x8d, 0xd0, 0x21, 0xac, 0xa8, 0x6c, 0x4f, 408 0xec, 0x3e, 0xb5, 0x82, 0x67, 0xcb, 0xee, 0xf3, 0x55, 0xeb, 0x85, 0xcf, 0x61, 0xe8, 0x00, 0x2a, 409 0x42, 0x59, 0x41, 0x5b, 0xc1, 0xf6, 0xb2, 0xc8, 0xdf, 0x2d, 0x18, 0xae, 0x08, 0x85, 0x76, 0x60, 410 0x55, 0xd1, 0xd0, 0x48, 0xa6, 0x27, 0x6e, 0xdd, 0xb2, 0x1f, 0x2e, 0x1c, 0x43, 0x1e, 0x57, 0x84, 411 0x5c, 0xa4, 0x4f, 0xc5, 0x19, 0x9f, 0x8e, 0x32, 0xfd, 0x9b, 0xd8, 0x7e, 0xa3, 0x9b, 0xd0, 0x8c, 412 0xa4, 0x30, 0xa9, 0x5d, 0xe0, 0x15, 0xeb, 0x98, 0x19, 0xd0, 0x26, 0x34, 0x94, 0x26, 0xda, 0x28, 413 0x77, 0xd5, 0x96, 0x6e, 0xd9, 0xd2, 0x03, 0x6b, 0xc2, 0xb9, 0x6b, 0x7a, 0x0d, 0x62, 0x11, 0xda, 414 0x62, 0x96, 0xd2, 0xcc, 0xae, 0xc1, 0x65, 0x1b, 0xba, 0x05, 0x35, 0x4d, 0x22, 0xe5, 0x82, 0xc5, 415 0x34, 0x2d, 0xe6, 0x80, 0x44, 0x0a, 0x5b, 0x73, 0xf0, 0xd9, 0x81, 0xeb, 0x65, 0x65, 0x5e, 0x4c, 416 0xcf, 0x86, 0x38, 0x34, 0x76, 0x92, 0x33, 0xf1, 0x81, 0x22, 0x7f, 0xe9, 0x57, 0x27, 0x7b, 0x6c, 417 0x3b, 0x8f, 0x96, 0x4f, 0xc8, 0xde, 0xbc, 0xee, 0x3f, 0xfd, 0xc7, 0x47, 0x7e, 0xc4, 0xf4, 0x89, 418 0x19, 0x4e, 0x83, 0x7d, 0xce, 0x42, 0x29, 0x94, 0x18, 0x6b, 0x9f, 0x8b, 0xd0, 0x97, 0x69, 0xe8, 419 0xcf, 0x68, 0x7e, 0x4e, 0x1b, 0x36, 0xec, 0xc3, 0xf5, 0xe4, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 420 0x64, 0xdf, 0xbc, 0x4a, 0x95, 0x06, 0x00, 0x00, 421 } 422 423 // Reference imports to suppress errors if they are not otherwise used. 424 var _ context.Context 425 var _ grpc.ClientConn 426 427 // This is a compile-time assertion to ensure that this generated file 428 // is compatible with the grpc package it is being compiled against. 429 const _ = grpc.SupportPackageIsVersion4 430 431 // BareMetalMachineAgentClient is the client API for BareMetalMachineAgent service. 432 // 433 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 434 type BareMetalMachineAgentClient interface { 435 Invoke(ctx context.Context, in *BareMetalMachineRequest, opts ...grpc.CallOption) (*BareMetalMachineResponse, error) 436 } 437 438 type bareMetalMachineAgentClient struct { 439 cc *grpc.ClientConn 440 } 441 442 func NewBareMetalMachineAgentClient(cc *grpc.ClientConn) BareMetalMachineAgentClient { 443 return &bareMetalMachineAgentClient{cc} 444 } 445 446 func (c *bareMetalMachineAgentClient) Invoke(ctx context.Context, in *BareMetalMachineRequest, opts ...grpc.CallOption) (*BareMetalMachineResponse, error) { 447 out := new(BareMetalMachineResponse) 448 err := c.cc.Invoke(ctx, "/moc.cloudagent.compute.BareMetalMachineAgent/Invoke", in, out, opts...) 449 if err != nil { 450 return nil, err 451 } 452 return out, nil 453 } 454 455 // BareMetalMachineAgentServer is the server API for BareMetalMachineAgent service. 456 type BareMetalMachineAgentServer interface { 457 Invoke(context.Context, *BareMetalMachineRequest) (*BareMetalMachineResponse, error) 458 } 459 460 // UnimplementedBareMetalMachineAgentServer can be embedded to have forward compatible implementations. 461 type UnimplementedBareMetalMachineAgentServer struct { 462 } 463 464 func (*UnimplementedBareMetalMachineAgentServer) Invoke(ctx context.Context, req *BareMetalMachineRequest) (*BareMetalMachineResponse, error) { 465 return nil, status.Errorf(codes.Unimplemented, "method Invoke not implemented") 466 } 467 468 func RegisterBareMetalMachineAgentServer(s *grpc.Server, srv BareMetalMachineAgentServer) { 469 s.RegisterService(&_BareMetalMachineAgent_serviceDesc, srv) 470 } 471 472 func _BareMetalMachineAgent_Invoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 473 in := new(BareMetalMachineRequest) 474 if err := dec(in); err != nil { 475 return nil, err 476 } 477 if interceptor == nil { 478 return srv.(BareMetalMachineAgentServer).Invoke(ctx, in) 479 } 480 info := &grpc.UnaryServerInfo{ 481 Server: srv, 482 FullMethod: "/moc.cloudagent.compute.BareMetalMachineAgent/Invoke", 483 } 484 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 485 return srv.(BareMetalMachineAgentServer).Invoke(ctx, req.(*BareMetalMachineRequest)) 486 } 487 return interceptor(ctx, in, info, handler) 488 } 489 490 var _BareMetalMachineAgent_serviceDesc = grpc.ServiceDesc{ 491 ServiceName: "moc.cloudagent.compute.BareMetalMachineAgent", 492 HandlerType: (*BareMetalMachineAgentServer)(nil), 493 Methods: []grpc.MethodDesc{ 494 { 495 MethodName: "Invoke", 496 Handler: _BareMetalMachineAgent_Invoke_Handler, 497 }, 498 }, 499 Streams: []grpc.StreamDesc{}, 500 Metadata: "moc_cloudagent_baremetalmachine.proto", 501 }