github.com/mysteriumnetwork/node@v0.0.0-20240516044423-365054f76801/pb/session.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v4.24.4 5 // source: pb/session.proto 6 7 package pb 8 9 import ( 10 proto "github.com/golang/protobuf/proto" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 // This is a compile-time assertion that a sufficiently up-to-date version 25 // of the legacy proto package is being used. 26 const _ = proto.ProtoPackageIsVersion4 27 28 type SessionRequest struct { 29 state protoimpl.MessageState 30 sizeCache protoimpl.SizeCache 31 unknownFields protoimpl.UnknownFields 32 33 Consumer *ConsumerInfo `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` 34 ProposalID int64 `protobuf:"varint,2,opt,name=proposalID,proto3" json:"proposalID,omitempty"` 35 Config []byte `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` 36 } 37 38 func (x *SessionRequest) Reset() { 39 *x = SessionRequest{} 40 if protoimpl.UnsafeEnabled { 41 mi := &file_pb_session_proto_msgTypes[0] 42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 43 ms.StoreMessageInfo(mi) 44 } 45 } 46 47 func (x *SessionRequest) String() string { 48 return protoimpl.X.MessageStringOf(x) 49 } 50 51 func (*SessionRequest) ProtoMessage() {} 52 53 func (x *SessionRequest) ProtoReflect() protoreflect.Message { 54 mi := &file_pb_session_proto_msgTypes[0] 55 if protoimpl.UnsafeEnabled && x != nil { 56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 57 if ms.LoadMessageInfo() == nil { 58 ms.StoreMessageInfo(mi) 59 } 60 return ms 61 } 62 return mi.MessageOf(x) 63 } 64 65 // Deprecated: Use SessionRequest.ProtoReflect.Descriptor instead. 66 func (*SessionRequest) Descriptor() ([]byte, []int) { 67 return file_pb_session_proto_rawDescGZIP(), []int{0} 68 } 69 70 func (x *SessionRequest) GetConsumer() *ConsumerInfo { 71 if x != nil { 72 return x.Consumer 73 } 74 return nil 75 } 76 77 func (x *SessionRequest) GetProposalID() int64 { 78 if x != nil { 79 return x.ProposalID 80 } 81 return 0 82 } 83 84 func (x *SessionRequest) GetConfig() []byte { 85 if x != nil { 86 return x.Config 87 } 88 return nil 89 } 90 91 type SessionResponse struct { 92 state protoimpl.MessageState 93 sizeCache protoimpl.SizeCache 94 unknownFields protoimpl.UnknownFields 95 96 ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` 97 PaymentInfo string `protobuf:"bytes,2,opt,name=PaymentInfo,proto3" json:"PaymentInfo,omitempty"` 98 Config []byte `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` 99 } 100 101 func (x *SessionResponse) Reset() { 102 *x = SessionResponse{} 103 if protoimpl.UnsafeEnabled { 104 mi := &file_pb_session_proto_msgTypes[1] 105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 106 ms.StoreMessageInfo(mi) 107 } 108 } 109 110 func (x *SessionResponse) String() string { 111 return protoimpl.X.MessageStringOf(x) 112 } 113 114 func (*SessionResponse) ProtoMessage() {} 115 116 func (x *SessionResponse) ProtoReflect() protoreflect.Message { 117 mi := &file_pb_session_proto_msgTypes[1] 118 if protoimpl.UnsafeEnabled && x != nil { 119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 120 if ms.LoadMessageInfo() == nil { 121 ms.StoreMessageInfo(mi) 122 } 123 return ms 124 } 125 return mi.MessageOf(x) 126 } 127 128 // Deprecated: Use SessionResponse.ProtoReflect.Descriptor instead. 129 func (*SessionResponse) Descriptor() ([]byte, []int) { 130 return file_pb_session_proto_rawDescGZIP(), []int{1} 131 } 132 133 func (x *SessionResponse) GetID() string { 134 if x != nil { 135 return x.ID 136 } 137 return "" 138 } 139 140 func (x *SessionResponse) GetPaymentInfo() string { 141 if x != nil { 142 return x.PaymentInfo 143 } 144 return "" 145 } 146 147 func (x *SessionResponse) GetConfig() []byte { 148 if x != nil { 149 return x.Config 150 } 151 return nil 152 } 153 154 type SessionInfo struct { 155 state protoimpl.MessageState 156 sizeCache protoimpl.SizeCache 157 unknownFields protoimpl.UnknownFields 158 159 ConsumerID string `protobuf:"bytes,1,opt,name=consumerID,proto3" json:"consumerID,omitempty"` 160 SessionID string `protobuf:"bytes,2,opt,name=sessionID,proto3" json:"sessionID,omitempty"` 161 } 162 163 func (x *SessionInfo) Reset() { 164 *x = SessionInfo{} 165 if protoimpl.UnsafeEnabled { 166 mi := &file_pb_session_proto_msgTypes[2] 167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 168 ms.StoreMessageInfo(mi) 169 } 170 } 171 172 func (x *SessionInfo) String() string { 173 return protoimpl.X.MessageStringOf(x) 174 } 175 176 func (*SessionInfo) ProtoMessage() {} 177 178 func (x *SessionInfo) ProtoReflect() protoreflect.Message { 179 mi := &file_pb_session_proto_msgTypes[2] 180 if protoimpl.UnsafeEnabled && x != nil { 181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 182 if ms.LoadMessageInfo() == nil { 183 ms.StoreMessageInfo(mi) 184 } 185 return ms 186 } 187 return mi.MessageOf(x) 188 } 189 190 // Deprecated: Use SessionInfo.ProtoReflect.Descriptor instead. 191 func (*SessionInfo) Descriptor() ([]byte, []int) { 192 return file_pb_session_proto_rawDescGZIP(), []int{2} 193 } 194 195 func (x *SessionInfo) GetConsumerID() string { 196 if x != nil { 197 return x.ConsumerID 198 } 199 return "" 200 } 201 202 func (x *SessionInfo) GetSessionID() string { 203 if x != nil { 204 return x.SessionID 205 } 206 return "" 207 } 208 209 type ConsumerInfo struct { 210 state protoimpl.MessageState 211 sizeCache protoimpl.SizeCache 212 unknownFields protoimpl.UnknownFields 213 214 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 215 HermesID string `protobuf:"bytes,2,opt,name=hermesID,proto3" json:"hermesID,omitempty"` 216 PaymentVersion string `protobuf:"bytes,3,opt,name=paymentVersion,proto3" json:"paymentVersion,omitempty"` 217 Location *LocationInfo `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` 218 Pricing *Pricing `protobuf:"bytes,5,opt,name=pricing,proto3" json:"pricing,omitempty"` 219 } 220 221 func (x *ConsumerInfo) Reset() { 222 *x = ConsumerInfo{} 223 if protoimpl.UnsafeEnabled { 224 mi := &file_pb_session_proto_msgTypes[3] 225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 226 ms.StoreMessageInfo(mi) 227 } 228 } 229 230 func (x *ConsumerInfo) String() string { 231 return protoimpl.X.MessageStringOf(x) 232 } 233 234 func (*ConsumerInfo) ProtoMessage() {} 235 236 func (x *ConsumerInfo) ProtoReflect() protoreflect.Message { 237 mi := &file_pb_session_proto_msgTypes[3] 238 if protoimpl.UnsafeEnabled && x != nil { 239 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 240 if ms.LoadMessageInfo() == nil { 241 ms.StoreMessageInfo(mi) 242 } 243 return ms 244 } 245 return mi.MessageOf(x) 246 } 247 248 // Deprecated: Use ConsumerInfo.ProtoReflect.Descriptor instead. 249 func (*ConsumerInfo) Descriptor() ([]byte, []int) { 250 return file_pb_session_proto_rawDescGZIP(), []int{3} 251 } 252 253 func (x *ConsumerInfo) GetId() string { 254 if x != nil { 255 return x.Id 256 } 257 return "" 258 } 259 260 func (x *ConsumerInfo) GetHermesID() string { 261 if x != nil { 262 return x.HermesID 263 } 264 return "" 265 } 266 267 func (x *ConsumerInfo) GetPaymentVersion() string { 268 if x != nil { 269 return x.PaymentVersion 270 } 271 return "" 272 } 273 274 func (x *ConsumerInfo) GetLocation() *LocationInfo { 275 if x != nil { 276 return x.Location 277 } 278 return nil 279 } 280 281 func (x *ConsumerInfo) GetPricing() *Pricing { 282 if x != nil { 283 return x.Pricing 284 } 285 return nil 286 } 287 288 type LocationInfo struct { 289 state protoimpl.MessageState 290 sizeCache protoimpl.SizeCache 291 unknownFields protoimpl.UnknownFields 292 293 Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` 294 } 295 296 func (x *LocationInfo) Reset() { 297 *x = LocationInfo{} 298 if protoimpl.UnsafeEnabled { 299 mi := &file_pb_session_proto_msgTypes[4] 300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 301 ms.StoreMessageInfo(mi) 302 } 303 } 304 305 func (x *LocationInfo) String() string { 306 return protoimpl.X.MessageStringOf(x) 307 } 308 309 func (*LocationInfo) ProtoMessage() {} 310 311 func (x *LocationInfo) ProtoReflect() protoreflect.Message { 312 mi := &file_pb_session_proto_msgTypes[4] 313 if protoimpl.UnsafeEnabled && x != nil { 314 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 315 if ms.LoadMessageInfo() == nil { 316 ms.StoreMessageInfo(mi) 317 } 318 return ms 319 } 320 return mi.MessageOf(x) 321 } 322 323 // Deprecated: Use LocationInfo.ProtoReflect.Descriptor instead. 324 func (*LocationInfo) Descriptor() ([]byte, []int) { 325 return file_pb_session_proto_rawDescGZIP(), []int{4} 326 } 327 328 func (x *LocationInfo) GetCountry() string { 329 if x != nil { 330 return x.Country 331 } 332 return "" 333 } 334 335 type Pricing struct { 336 state protoimpl.MessageState 337 sizeCache protoimpl.SizeCache 338 unknownFields protoimpl.UnknownFields 339 340 PerGib []byte `protobuf:"bytes,1,opt,name=PerGib,proto3" json:"PerGib,omitempty"` 341 PerHour []byte `protobuf:"bytes,2,opt,name=PerHour,proto3" json:"PerHour,omitempty"` 342 } 343 344 func (x *Pricing) Reset() { 345 *x = Pricing{} 346 if protoimpl.UnsafeEnabled { 347 mi := &file_pb_session_proto_msgTypes[5] 348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 349 ms.StoreMessageInfo(mi) 350 } 351 } 352 353 func (x *Pricing) String() string { 354 return protoimpl.X.MessageStringOf(x) 355 } 356 357 func (*Pricing) ProtoMessage() {} 358 359 func (x *Pricing) ProtoReflect() protoreflect.Message { 360 mi := &file_pb_session_proto_msgTypes[5] 361 if protoimpl.UnsafeEnabled && x != nil { 362 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 363 if ms.LoadMessageInfo() == nil { 364 ms.StoreMessageInfo(mi) 365 } 366 return ms 367 } 368 return mi.MessageOf(x) 369 } 370 371 // Deprecated: Use Pricing.ProtoReflect.Descriptor instead. 372 func (*Pricing) Descriptor() ([]byte, []int) { 373 return file_pb_session_proto_rawDescGZIP(), []int{5} 374 } 375 376 func (x *Pricing) GetPerGib() []byte { 377 if x != nil { 378 return x.PerGib 379 } 380 return nil 381 } 382 383 func (x *Pricing) GetPerHour() []byte { 384 if x != nil { 385 return x.PerHour 386 } 387 return nil 388 } 389 390 type SessionStatus struct { 391 state protoimpl.MessageState 392 sizeCache protoimpl.SizeCache 393 unknownFields protoimpl.UnknownFields 394 395 ConsumerID string `protobuf:"bytes,1,opt,name=ConsumerID,proto3" json:"ConsumerID,omitempty"` 396 SessionID string `protobuf:"bytes,2,opt,name=SessionID,proto3" json:"SessionID,omitempty"` 397 Code uint32 `protobuf:"varint,3,opt,name=Code,proto3" json:"Code,omitempty"` 398 Message string `protobuf:"bytes,4,opt,name=Message,proto3" json:"Message,omitempty"` 399 } 400 401 func (x *SessionStatus) Reset() { 402 *x = SessionStatus{} 403 if protoimpl.UnsafeEnabled { 404 mi := &file_pb_session_proto_msgTypes[6] 405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 406 ms.StoreMessageInfo(mi) 407 } 408 } 409 410 func (x *SessionStatus) String() string { 411 return protoimpl.X.MessageStringOf(x) 412 } 413 414 func (*SessionStatus) ProtoMessage() {} 415 416 func (x *SessionStatus) ProtoReflect() protoreflect.Message { 417 mi := &file_pb_session_proto_msgTypes[6] 418 if protoimpl.UnsafeEnabled && x != nil { 419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 420 if ms.LoadMessageInfo() == nil { 421 ms.StoreMessageInfo(mi) 422 } 423 return ms 424 } 425 return mi.MessageOf(x) 426 } 427 428 // Deprecated: Use SessionStatus.ProtoReflect.Descriptor instead. 429 func (*SessionStatus) Descriptor() ([]byte, []int) { 430 return file_pb_session_proto_rawDescGZIP(), []int{6} 431 } 432 433 func (x *SessionStatus) GetConsumerID() string { 434 if x != nil { 435 return x.ConsumerID 436 } 437 return "" 438 } 439 440 func (x *SessionStatus) GetSessionID() string { 441 if x != nil { 442 return x.SessionID 443 } 444 return "" 445 } 446 447 func (x *SessionStatus) GetCode() uint32 { 448 if x != nil { 449 return x.Code 450 } 451 return 0 452 } 453 454 func (x *SessionStatus) GetMessage() string { 455 if x != nil { 456 return x.Message 457 } 458 return "" 459 } 460 461 var File_pb_session_proto protoreflect.FileDescriptor 462 463 var file_pb_session_proto_rawDesc = []byte{ 464 0x0a, 0x10, 0x70, 0x62, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 465 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x76, 0x0a, 0x0e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 466 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 467 0x75, 0x6d, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 468 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x63, 0x6f, 469 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 470 0x61, 0x6c, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 471 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 472 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5b, 473 0x0a, 0x0f, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 474 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 475 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 476 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 477 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 478 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x4b, 0x0a, 0x0b, 0x53, 479 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 480 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 481 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 482 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 483 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0xb7, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 484 0x73, 0x75, 0x6d, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 485 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x65, 0x72, 486 0x6d, 0x65, 0x73, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x65, 0x72, 487 0x6d, 0x65, 0x73, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 488 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 489 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 490 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 491 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 492 0x6f, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x07, 0x70, 493 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 494 0x62, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x70, 0x72, 0x69, 0x63, 0x69, 495 0x6e, 0x67, 0x22, 0x28, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 496 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 497 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x3b, 0x0a, 0x07, 498 0x50, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x65, 0x72, 0x47, 0x69, 499 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x50, 0x65, 0x72, 0x47, 0x69, 0x62, 0x12, 500 0x18, 0x0a, 0x07, 0x50, 0x65, 0x72, 0x48, 0x6f, 0x75, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 501 0x52, 0x07, 0x50, 0x65, 0x72, 0x48, 0x6f, 0x75, 0x72, 0x22, 0x7b, 0x0a, 0x0d, 0x53, 0x65, 0x73, 502 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 503 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 504 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x65, 505 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 506 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 507 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 508 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, 509 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 510 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 511 } 512 513 var ( 514 file_pb_session_proto_rawDescOnce sync.Once 515 file_pb_session_proto_rawDescData = file_pb_session_proto_rawDesc 516 ) 517 518 func file_pb_session_proto_rawDescGZIP() []byte { 519 file_pb_session_proto_rawDescOnce.Do(func() { 520 file_pb_session_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_session_proto_rawDescData) 521 }) 522 return file_pb_session_proto_rawDescData 523 } 524 525 var file_pb_session_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 526 var file_pb_session_proto_goTypes = []interface{}{ 527 (*SessionRequest)(nil), // 0: pb.SessionRequest 528 (*SessionResponse)(nil), // 1: pb.SessionResponse 529 (*SessionInfo)(nil), // 2: pb.SessionInfo 530 (*ConsumerInfo)(nil), // 3: pb.ConsumerInfo 531 (*LocationInfo)(nil), // 4: pb.LocationInfo 532 (*Pricing)(nil), // 5: pb.Pricing 533 (*SessionStatus)(nil), // 6: pb.SessionStatus 534 } 535 var file_pb_session_proto_depIdxs = []int32{ 536 3, // 0: pb.SessionRequest.consumer:type_name -> pb.ConsumerInfo 537 4, // 1: pb.ConsumerInfo.location:type_name -> pb.LocationInfo 538 5, // 2: pb.ConsumerInfo.pricing:type_name -> pb.Pricing 539 3, // [3:3] is the sub-list for method output_type 540 3, // [3:3] is the sub-list for method input_type 541 3, // [3:3] is the sub-list for extension type_name 542 3, // [3:3] is the sub-list for extension extendee 543 0, // [0:3] is the sub-list for field type_name 544 } 545 546 func init() { file_pb_session_proto_init() } 547 func file_pb_session_proto_init() { 548 if File_pb_session_proto != nil { 549 return 550 } 551 if !protoimpl.UnsafeEnabled { 552 file_pb_session_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 553 switch v := v.(*SessionRequest); i { 554 case 0: 555 return &v.state 556 case 1: 557 return &v.sizeCache 558 case 2: 559 return &v.unknownFields 560 default: 561 return nil 562 } 563 } 564 file_pb_session_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 565 switch v := v.(*SessionResponse); i { 566 case 0: 567 return &v.state 568 case 1: 569 return &v.sizeCache 570 case 2: 571 return &v.unknownFields 572 default: 573 return nil 574 } 575 } 576 file_pb_session_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 577 switch v := v.(*SessionInfo); i { 578 case 0: 579 return &v.state 580 case 1: 581 return &v.sizeCache 582 case 2: 583 return &v.unknownFields 584 default: 585 return nil 586 } 587 } 588 file_pb_session_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 589 switch v := v.(*ConsumerInfo); i { 590 case 0: 591 return &v.state 592 case 1: 593 return &v.sizeCache 594 case 2: 595 return &v.unknownFields 596 default: 597 return nil 598 } 599 } 600 file_pb_session_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 601 switch v := v.(*LocationInfo); i { 602 case 0: 603 return &v.state 604 case 1: 605 return &v.sizeCache 606 case 2: 607 return &v.unknownFields 608 default: 609 return nil 610 } 611 } 612 file_pb_session_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 613 switch v := v.(*Pricing); i { 614 case 0: 615 return &v.state 616 case 1: 617 return &v.sizeCache 618 case 2: 619 return &v.unknownFields 620 default: 621 return nil 622 } 623 } 624 file_pb_session_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 625 switch v := v.(*SessionStatus); i { 626 case 0: 627 return &v.state 628 case 1: 629 return &v.sizeCache 630 case 2: 631 return &v.unknownFields 632 default: 633 return nil 634 } 635 } 636 } 637 type x struct{} 638 out := protoimpl.TypeBuilder{ 639 File: protoimpl.DescBuilder{ 640 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 641 RawDescriptor: file_pb_session_proto_rawDesc, 642 NumEnums: 0, 643 NumMessages: 7, 644 NumExtensions: 0, 645 NumServices: 0, 646 }, 647 GoTypes: file_pb_session_proto_goTypes, 648 DependencyIndexes: file_pb_session_proto_depIdxs, 649 MessageInfos: file_pb_session_proto_msgTypes, 650 }.Build() 651 File_pb_session_proto = out.File 652 file_pb_session_proto_rawDesc = nil 653 file_pb_session_proto_goTypes = nil 654 file_pb_session_proto_depIdxs = nil 655 }