github.com/ronaksoft/rony@v0.16.26-0.20230807065236-1743dbfe6959/internal/testEnv/pb/service/service.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.17.3 5 // source: service.proto 6 7 package service 8 9 import ( 10 _ "github.com/ronaksoft/rony" 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 type GetRequest struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 Key []byte `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` 30 } 31 32 func (x *GetRequest) Reset() { 33 *x = GetRequest{} 34 if protoimpl.UnsafeEnabled { 35 mi := &file_service_proto_msgTypes[0] 36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 37 ms.StoreMessageInfo(mi) 38 } 39 } 40 41 func (x *GetRequest) String() string { 42 return protoimpl.X.MessageStringOf(x) 43 } 44 45 func (*GetRequest) ProtoMessage() {} 46 47 func (x *GetRequest) ProtoReflect() protoreflect.Message { 48 mi := &file_service_proto_msgTypes[0] 49 if protoimpl.UnsafeEnabled && x != nil { 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 if ms.LoadMessageInfo() == nil { 52 ms.StoreMessageInfo(mi) 53 } 54 return ms 55 } 56 return mi.MessageOf(x) 57 } 58 59 // Deprecated: Use GetRequest.ProtoReflect.Descriptor instead. 60 func (*GetRequest) Descriptor() ([]byte, []int) { 61 return file_service_proto_rawDescGZIP(), []int{0} 62 } 63 64 func (x *GetRequest) GetKey() []byte { 65 if x != nil { 66 return x.Key 67 } 68 return nil 69 } 70 71 type GetResponse struct { 72 state protoimpl.MessageState 73 sizeCache protoimpl.SizeCache 74 unknownFields protoimpl.UnknownFields 75 76 Key []byte `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` 77 Value []byte `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` 78 } 79 80 func (x *GetResponse) Reset() { 81 *x = GetResponse{} 82 if protoimpl.UnsafeEnabled { 83 mi := &file_service_proto_msgTypes[1] 84 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 85 ms.StoreMessageInfo(mi) 86 } 87 } 88 89 func (x *GetResponse) String() string { 90 return protoimpl.X.MessageStringOf(x) 91 } 92 93 func (*GetResponse) ProtoMessage() {} 94 95 func (x *GetResponse) ProtoReflect() protoreflect.Message { 96 mi := &file_service_proto_msgTypes[1] 97 if protoimpl.UnsafeEnabled && x != nil { 98 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 99 if ms.LoadMessageInfo() == nil { 100 ms.StoreMessageInfo(mi) 101 } 102 return ms 103 } 104 return mi.MessageOf(x) 105 } 106 107 // Deprecated: Use GetResponse.ProtoReflect.Descriptor instead. 108 func (*GetResponse) Descriptor() ([]byte, []int) { 109 return file_service_proto_rawDescGZIP(), []int{1} 110 } 111 112 func (x *GetResponse) GetKey() []byte { 113 if x != nil { 114 return x.Key 115 } 116 return nil 117 } 118 119 func (x *GetResponse) GetValue() []byte { 120 if x != nil { 121 return x.Value 122 } 123 return nil 124 } 125 126 type SetRequest struct { 127 state protoimpl.MessageState 128 sizeCache protoimpl.SizeCache 129 unknownFields protoimpl.UnknownFields 130 131 Key []byte `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` 132 Value []byte `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` 133 } 134 135 func (x *SetRequest) Reset() { 136 *x = SetRequest{} 137 if protoimpl.UnsafeEnabled { 138 mi := &file_service_proto_msgTypes[2] 139 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 140 ms.StoreMessageInfo(mi) 141 } 142 } 143 144 func (x *SetRequest) String() string { 145 return protoimpl.X.MessageStringOf(x) 146 } 147 148 func (*SetRequest) ProtoMessage() {} 149 150 func (x *SetRequest) ProtoReflect() protoreflect.Message { 151 mi := &file_service_proto_msgTypes[2] 152 if protoimpl.UnsafeEnabled && x != nil { 153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 154 if ms.LoadMessageInfo() == nil { 155 ms.StoreMessageInfo(mi) 156 } 157 return ms 158 } 159 return mi.MessageOf(x) 160 } 161 162 // Deprecated: Use SetRequest.ProtoReflect.Descriptor instead. 163 func (*SetRequest) Descriptor() ([]byte, []int) { 164 return file_service_proto_rawDescGZIP(), []int{2} 165 } 166 167 func (x *SetRequest) GetKey() []byte { 168 if x != nil { 169 return x.Key 170 } 171 return nil 172 } 173 174 func (x *SetRequest) GetValue() []byte { 175 if x != nil { 176 return x.Value 177 } 178 return nil 179 } 180 181 type SetResponse struct { 182 state protoimpl.MessageState 183 sizeCache protoimpl.SizeCache 184 unknownFields protoimpl.UnknownFields 185 186 OK bool `protobuf:"varint,1,opt,name=OK,proto3" json:"OK,omitempty"` 187 } 188 189 func (x *SetResponse) Reset() { 190 *x = SetResponse{} 191 if protoimpl.UnsafeEnabled { 192 mi := &file_service_proto_msgTypes[3] 193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 194 ms.StoreMessageInfo(mi) 195 } 196 } 197 198 func (x *SetResponse) String() string { 199 return protoimpl.X.MessageStringOf(x) 200 } 201 202 func (*SetResponse) ProtoMessage() {} 203 204 func (x *SetResponse) ProtoReflect() protoreflect.Message { 205 mi := &file_service_proto_msgTypes[3] 206 if protoimpl.UnsafeEnabled && x != nil { 207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 208 if ms.LoadMessageInfo() == nil { 209 ms.StoreMessageInfo(mi) 210 } 211 return ms 212 } 213 return mi.MessageOf(x) 214 } 215 216 // Deprecated: Use SetResponse.ProtoReflect.Descriptor instead. 217 func (*SetResponse) Descriptor() ([]byte, []int) { 218 return file_service_proto_rawDescGZIP(), []int{3} 219 } 220 221 func (x *SetResponse) GetOK() bool { 222 if x != nil { 223 return x.OK 224 } 225 return false 226 } 227 228 type EchoRequest struct { 229 state protoimpl.MessageState 230 sizeCache protoimpl.SizeCache 231 unknownFields protoimpl.UnknownFields 232 233 Int int64 `protobuf:"varint,1,opt,name=Int,proto3" json:"Int,omitempty"` 234 Timestamp int64 `protobuf:"varint,3,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"` 235 ReplicaSet uint64 `protobuf:"varint,4,opt,name=replica_set,json=replicaSet,proto3" json:"replica_set,omitempty"` 236 SomeData []byte `protobuf:"bytes,5,opt,name=SomeData,proto3" json:"SomeData,omitempty"` 237 } 238 239 func (x *EchoRequest) Reset() { 240 *x = EchoRequest{} 241 if protoimpl.UnsafeEnabled { 242 mi := &file_service_proto_msgTypes[4] 243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 244 ms.StoreMessageInfo(mi) 245 } 246 } 247 248 func (x *EchoRequest) String() string { 249 return protoimpl.X.MessageStringOf(x) 250 } 251 252 func (*EchoRequest) ProtoMessage() {} 253 254 func (x *EchoRequest) ProtoReflect() protoreflect.Message { 255 mi := &file_service_proto_msgTypes[4] 256 if protoimpl.UnsafeEnabled && x != nil { 257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 258 if ms.LoadMessageInfo() == nil { 259 ms.StoreMessageInfo(mi) 260 } 261 return ms 262 } 263 return mi.MessageOf(x) 264 } 265 266 // Deprecated: Use EchoRequest.ProtoReflect.Descriptor instead. 267 func (*EchoRequest) Descriptor() ([]byte, []int) { 268 return file_service_proto_rawDescGZIP(), []int{4} 269 } 270 271 func (x *EchoRequest) GetInt() int64 { 272 if x != nil { 273 return x.Int 274 } 275 return 0 276 } 277 278 func (x *EchoRequest) GetTimestamp() int64 { 279 if x != nil { 280 return x.Timestamp 281 } 282 return 0 283 } 284 285 func (x *EchoRequest) GetReplicaSet() uint64 { 286 if x != nil { 287 return x.ReplicaSet 288 } 289 return 0 290 } 291 292 func (x *EchoRequest) GetSomeData() []byte { 293 if x != nil { 294 return x.SomeData 295 } 296 return nil 297 } 298 299 type EchoResponse struct { 300 state protoimpl.MessageState 301 sizeCache protoimpl.SizeCache 302 unknownFields protoimpl.UnknownFields 303 304 Int int64 `protobuf:"varint,1,opt,name=Int,proto3" json:"Int,omitempty"` 305 Responder string `protobuf:"bytes,2,opt,name=Responder,proto3" json:"Responder,omitempty"` 306 Timestamp int64 `protobuf:"varint,4,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"` 307 Delay int64 `protobuf:"varint,5,opt,name=Delay,proto3" json:"Delay,omitempty"` 308 ServerID string `protobuf:"bytes,6,opt,name=ServerID,proto3" json:"ServerID,omitempty"` 309 SomeData []byte `protobuf:"bytes,7,opt,name=SomeData,proto3" json:"SomeData,omitempty"` 310 } 311 312 func (x *EchoResponse) Reset() { 313 *x = EchoResponse{} 314 if protoimpl.UnsafeEnabled { 315 mi := &file_service_proto_msgTypes[5] 316 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 317 ms.StoreMessageInfo(mi) 318 } 319 } 320 321 func (x *EchoResponse) String() string { 322 return protoimpl.X.MessageStringOf(x) 323 } 324 325 func (*EchoResponse) ProtoMessage() {} 326 327 func (x *EchoResponse) ProtoReflect() protoreflect.Message { 328 mi := &file_service_proto_msgTypes[5] 329 if protoimpl.UnsafeEnabled && x != nil { 330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 331 if ms.LoadMessageInfo() == nil { 332 ms.StoreMessageInfo(mi) 333 } 334 return ms 335 } 336 return mi.MessageOf(x) 337 } 338 339 // Deprecated: Use EchoResponse.ProtoReflect.Descriptor instead. 340 func (*EchoResponse) Descriptor() ([]byte, []int) { 341 return file_service_proto_rawDescGZIP(), []int{5} 342 } 343 344 func (x *EchoResponse) GetInt() int64 { 345 if x != nil { 346 return x.Int 347 } 348 return 0 349 } 350 351 func (x *EchoResponse) GetResponder() string { 352 if x != nil { 353 return x.Responder 354 } 355 return "" 356 } 357 358 func (x *EchoResponse) GetTimestamp() int64 { 359 if x != nil { 360 return x.Timestamp 361 } 362 return 0 363 } 364 365 func (x *EchoResponse) GetDelay() int64 { 366 if x != nil { 367 return x.Delay 368 } 369 return 0 370 } 371 372 func (x *EchoResponse) GetServerID() string { 373 if x != nil { 374 return x.ServerID 375 } 376 return "" 377 } 378 379 func (x *EchoResponse) GetSomeData() []byte { 380 if x != nil { 381 return x.SomeData 382 } 383 return nil 384 } 385 386 type Message1 struct { 387 state protoimpl.MessageState 388 sizeCache protoimpl.SizeCache 389 unknownFields protoimpl.UnknownFields 390 391 Param1 int64 `protobuf:"varint,1,opt,name=Param1,proto3" json:"Param1,omitempty"` 392 Param2 string `protobuf:"bytes,2,opt,name=Param2,proto3" json:"Param2,omitempty"` 393 M2 *Message2 `protobuf:"bytes,3,opt,name=M2,proto3" json:"M2,omitempty"` 394 M2S []*Message2 `protobuf:"bytes,4,rep,name=M2S,proto3" json:"M2S,omitempty"` 395 } 396 397 func (x *Message1) Reset() { 398 *x = Message1{} 399 if protoimpl.UnsafeEnabled { 400 mi := &file_service_proto_msgTypes[6] 401 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 402 ms.StoreMessageInfo(mi) 403 } 404 } 405 406 func (x *Message1) String() string { 407 return protoimpl.X.MessageStringOf(x) 408 } 409 410 func (*Message1) ProtoMessage() {} 411 412 func (x *Message1) ProtoReflect() protoreflect.Message { 413 mi := &file_service_proto_msgTypes[6] 414 if protoimpl.UnsafeEnabled && x != nil { 415 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 416 if ms.LoadMessageInfo() == nil { 417 ms.StoreMessageInfo(mi) 418 } 419 return ms 420 } 421 return mi.MessageOf(x) 422 } 423 424 // Deprecated: Use Message1.ProtoReflect.Descriptor instead. 425 func (*Message1) Descriptor() ([]byte, []int) { 426 return file_service_proto_rawDescGZIP(), []int{6} 427 } 428 429 func (x *Message1) GetParam1() int64 { 430 if x != nil { 431 return x.Param1 432 } 433 return 0 434 } 435 436 func (x *Message1) GetParam2() string { 437 if x != nil { 438 return x.Param2 439 } 440 return "" 441 } 442 443 func (x *Message1) GetM2() *Message2 { 444 if x != nil { 445 return x.M2 446 } 447 return nil 448 } 449 450 func (x *Message1) GetM2S() []*Message2 { 451 if x != nil { 452 return x.M2S 453 } 454 return nil 455 } 456 457 type Message2 struct { 458 state protoimpl.MessageState 459 sizeCache protoimpl.SizeCache 460 unknownFields protoimpl.UnknownFields 461 462 Param1 uint32 `protobuf:"fixed32,1,opt,name=Param1,proto3" json:"Param1,omitempty"` 463 P2 []byte `protobuf:"bytes,2,opt,name=P2,proto3" json:"P2,omitempty"` 464 P3 []int32 `protobuf:"varint,3,rep,packed,name=P3,proto3" json:"P3,omitempty"` 465 M1 *Message1 `protobuf:"bytes,4,opt,name=M1,proto3" json:"M1,omitempty"` 466 } 467 468 func (x *Message2) Reset() { 469 *x = Message2{} 470 if protoimpl.UnsafeEnabled { 471 mi := &file_service_proto_msgTypes[7] 472 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 473 ms.StoreMessageInfo(mi) 474 } 475 } 476 477 func (x *Message2) String() string { 478 return protoimpl.X.MessageStringOf(x) 479 } 480 481 func (*Message2) ProtoMessage() {} 482 483 func (x *Message2) ProtoReflect() protoreflect.Message { 484 mi := &file_service_proto_msgTypes[7] 485 if protoimpl.UnsafeEnabled && x != nil { 486 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 487 if ms.LoadMessageInfo() == nil { 488 ms.StoreMessageInfo(mi) 489 } 490 return ms 491 } 492 return mi.MessageOf(x) 493 } 494 495 // Deprecated: Use Message2.ProtoReflect.Descriptor instead. 496 func (*Message2) Descriptor() ([]byte, []int) { 497 return file_service_proto_rawDescGZIP(), []int{7} 498 } 499 500 func (x *Message2) GetParam1() uint32 { 501 if x != nil { 502 return x.Param1 503 } 504 return 0 505 } 506 507 func (x *Message2) GetP2() []byte { 508 if x != nil { 509 return x.P2 510 } 511 return nil 512 } 513 514 func (x *Message2) GetP3() []int32 { 515 if x != nil { 516 return x.P3 517 } 518 return nil 519 } 520 521 func (x *Message2) GetM1() *Message1 { 522 if x != nil { 523 return x.M1 524 } 525 return nil 526 } 527 528 var File_service_proto protoreflect.FileDescriptor 529 530 var file_service_proto_rawDesc = []byte{ 531 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 532 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 533 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x65, 534 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 535 0x28, 0x0c, 0x42, 0x24, 0x9a, 0xb5, 0x18, 0x07, 0x73, 0x6f, 0x6d, 0x65, 0x6b, 0x65, 0x79, 0x92, 536 0xb5, 0x18, 0x15, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x20, 0x73, 0x6f, 0x6d, 0x65, 0x20, 0x72, 0x61, 537 0x6e, 0x64, 0x6f, 0x6d, 0x20, 0x6b, 0x65, 0x79, 0x52, 0x03, 0x4b, 0x65, 0x79, 0x22, 0x35, 0x0a, 538 0x0b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 539 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x14, 540 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x56, 541 0x61, 0x6c, 0x75, 0x65, 0x22, 0x34, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 542 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 543 0x03, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 544 0x01, 0x28, 0x0c, 0x52, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1d, 0x0a, 0x0b, 0x53, 0x65, 545 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x4f, 0x4b, 0x18, 546 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x4f, 0x4b, 0x22, 0x7a, 0x0a, 0x0b, 0x45, 0x63, 0x68, 547 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x6e, 0x74, 0x18, 548 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x49, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x69, 549 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x54, 550 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 551 0x69, 0x63, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x72, 552 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x53, 0x6f, 0x6d, 553 0x65, 0x44, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x53, 0x6f, 0x6d, 554 0x65, 0x44, 0x61, 0x74, 0x61, 0x22, 0xaa, 0x01, 0x0a, 0x0c, 0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 555 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x6e, 0x74, 0x18, 0x01, 0x20, 556 0x01, 0x28, 0x03, 0x52, 0x03, 0x49, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x52, 0x65, 0x73, 0x70, 557 0x6f, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x52, 0x65, 0x73, 558 0x70, 0x6f, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 559 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x73, 560 0x74, 0x61, 0x6d, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x05, 0x20, 561 0x01, 0x28, 0x03, 0x52, 0x05, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x53, 0x65, 562 0x72, 0x76, 0x65, 0x72, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x53, 0x65, 563 0x72, 0x76, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x53, 0x6f, 0x6d, 0x65, 0x44, 0x61, 564 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x53, 0x6f, 0x6d, 0x65, 0x44, 0x61, 565 0x74, 0x61, 0x22, 0x82, 0x01, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x12, 566 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 567 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 568 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x12, 569 0x21, 0x0a, 0x02, 0x4d, 0x32, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x73, 0x65, 570 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x02, 571 0x4d, 0x32, 0x12, 0x23, 0x0a, 0x03, 0x4d, 0x32, 0x53, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 572 0x11, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 573 0x65, 0x32, 0x52, 0x03, 0x4d, 0x32, 0x53, 0x22, 0x65, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 574 0x67, 0x65, 0x32, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x18, 0x01, 0x20, 575 0x01, 0x28, 0x07, 0x52, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x12, 0x0e, 0x0a, 0x02, 0x50, 576 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x50, 0x32, 0x12, 0x0e, 0x0a, 0x02, 0x50, 577 0x33, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x02, 0x50, 0x33, 0x12, 0x21, 0x0a, 0x02, 0x4d, 578 0x31, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 579 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x52, 0x02, 0x4d, 0x31, 0x32, 0xe7, 580 0x03, 0x0a, 0x06, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x54, 0x0a, 0x04, 0x45, 0x63, 0x68, 581 0x6f, 0x12, 0x14, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x45, 0x63, 0x68, 0x6f, 582 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 583 0x65, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 584 0x9a, 0xb5, 0x18, 0x1b, 0x0a, 0x03, 0x67, 0x65, 0x74, 0x12, 0x12, 0x2f, 0x65, 0x63, 0x68, 0x6f, 585 0x2f, 0x3a, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x28, 0x01, 0x12, 586 0x42, 0x0a, 0x03, 0x53, 0x65, 0x74, 0x12, 0x13, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 587 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x73, 0x65, 588 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 589 0x65, 0x22, 0x10, 0x9a, 0xb5, 0x18, 0x0c, 0x0a, 0x04, 0x70, 0x6f, 0x73, 0x74, 0x12, 0x04, 0x2f, 590 0x73, 0x65, 0x74, 0x12, 0x50, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x13, 0x2e, 0x73, 0x65, 0x72, 591 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 592 0x14, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 593 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x9a, 0xb5, 0x18, 0x1a, 0x0a, 0x03, 0x67, 0x65, 0x74, 594 0x12, 0x13, 0x2f, 0x72, 0x65, 0x71, 0x2f, 0x3a, 0x4b, 0x65, 0x79, 0x2f, 0x73, 0x6f, 0x6d, 0x65, 595 0x74, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x6e, 0x0a, 0x0a, 0x45, 0x63, 0x68, 0x6f, 0x54, 0x75, 0x6e, 596 0x6e, 0x65, 0x6c, 0x12, 0x14, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x45, 0x63, 597 0x68, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x73, 0x65, 0x72, 0x76, 598 0x69, 0x63, 0x65, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 599 0x22, 0x33, 0x9a, 0xb5, 0x18, 0x2f, 0x0a, 0x03, 0x67, 0x65, 0x74, 0x12, 0x13, 0x2f, 0x65, 0x63, 600 0x68, 0x6f, 0x5f, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x3a, 0x58, 0x2f, 0x3a, 0x59, 0x59, 601 0x1a, 0x05, 0x58, 0x3d, 0x49, 0x6e, 0x74, 0x1a, 0x0c, 0x59, 0x59, 0x3d, 0x54, 0x69, 0x6d, 0x65, 602 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x41, 0x0a, 0x0c, 0x45, 0x63, 0x68, 0x6f, 0x49, 0x6e, 0x74, 603 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x14, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 604 0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x73, 0x65, 605 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 606 0x73, 0x65, 0x22, 0x04, 0x90, 0xb5, 0x18, 0x01, 0x12, 0x38, 0x0a, 0x09, 0x45, 0x63, 0x68, 0x6f, 607 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x14, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 608 0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x73, 0x65, 609 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x45, 0x63, 0x68, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 610 0x73, 0x65, 0x1a, 0x04, 0x8a, 0xb5, 0x18, 0x00, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x3b, 0x73, 611 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 612 } 613 614 var ( 615 file_service_proto_rawDescOnce sync.Once 616 file_service_proto_rawDescData = file_service_proto_rawDesc 617 ) 618 619 func file_service_proto_rawDescGZIP() []byte { 620 file_service_proto_rawDescOnce.Do(func() { 621 file_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_proto_rawDescData) 622 }) 623 return file_service_proto_rawDescData 624 } 625 626 var file_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 627 var file_service_proto_goTypes = []interface{}{ 628 (*GetRequest)(nil), // 0: service.GetRequest 629 (*GetResponse)(nil), // 1: service.GetResponse 630 (*SetRequest)(nil), // 2: service.SetRequest 631 (*SetResponse)(nil), // 3: service.SetResponse 632 (*EchoRequest)(nil), // 4: service.EchoRequest 633 (*EchoResponse)(nil), // 5: service.EchoResponse 634 (*Message1)(nil), // 6: service.Message1 635 (*Message2)(nil), // 7: service.Message2 636 } 637 var file_service_proto_depIdxs = []int32{ 638 7, // 0: service.Message1.M2:type_name -> service.Message2 639 7, // 1: service.Message1.M2S:type_name -> service.Message2 640 6, // 2: service.Message2.M1:type_name -> service.Message1 641 4, // 3: service.Sample.Echo:input_type -> service.EchoRequest 642 2, // 4: service.Sample.Set:input_type -> service.SetRequest 643 0, // 5: service.Sample.Get:input_type -> service.GetRequest 644 4, // 6: service.Sample.EchoTunnel:input_type -> service.EchoRequest 645 4, // 7: service.Sample.EchoInternal:input_type -> service.EchoRequest 646 4, // 8: service.Sample.EchoDelay:input_type -> service.EchoRequest 647 5, // 9: service.Sample.Echo:output_type -> service.EchoResponse 648 3, // 10: service.Sample.Set:output_type -> service.SetResponse 649 1, // 11: service.Sample.Get:output_type -> service.GetResponse 650 5, // 12: service.Sample.EchoTunnel:output_type -> service.EchoResponse 651 5, // 13: service.Sample.EchoInternal:output_type -> service.EchoResponse 652 5, // 14: service.Sample.EchoDelay:output_type -> service.EchoResponse 653 9, // [9:15] is the sub-list for method output_type 654 3, // [3:9] is the sub-list for method input_type 655 3, // [3:3] is the sub-list for extension type_name 656 3, // [3:3] is the sub-list for extension extendee 657 0, // [0:3] is the sub-list for field type_name 658 } 659 660 func init() { file_service_proto_init() } 661 func file_service_proto_init() { 662 if File_service_proto != nil { 663 return 664 } 665 if !protoimpl.UnsafeEnabled { 666 file_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 667 switch v := v.(*GetRequest); i { 668 case 0: 669 return &v.state 670 case 1: 671 return &v.sizeCache 672 case 2: 673 return &v.unknownFields 674 default: 675 return nil 676 } 677 } 678 file_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 679 switch v := v.(*GetResponse); i { 680 case 0: 681 return &v.state 682 case 1: 683 return &v.sizeCache 684 case 2: 685 return &v.unknownFields 686 default: 687 return nil 688 } 689 } 690 file_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 691 switch v := v.(*SetRequest); i { 692 case 0: 693 return &v.state 694 case 1: 695 return &v.sizeCache 696 case 2: 697 return &v.unknownFields 698 default: 699 return nil 700 } 701 } 702 file_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 703 switch v := v.(*SetResponse); i { 704 case 0: 705 return &v.state 706 case 1: 707 return &v.sizeCache 708 case 2: 709 return &v.unknownFields 710 default: 711 return nil 712 } 713 } 714 file_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 715 switch v := v.(*EchoRequest); i { 716 case 0: 717 return &v.state 718 case 1: 719 return &v.sizeCache 720 case 2: 721 return &v.unknownFields 722 default: 723 return nil 724 } 725 } 726 file_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 727 switch v := v.(*EchoResponse); i { 728 case 0: 729 return &v.state 730 case 1: 731 return &v.sizeCache 732 case 2: 733 return &v.unknownFields 734 default: 735 return nil 736 } 737 } 738 file_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 739 switch v := v.(*Message1); i { 740 case 0: 741 return &v.state 742 case 1: 743 return &v.sizeCache 744 case 2: 745 return &v.unknownFields 746 default: 747 return nil 748 } 749 } 750 file_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 751 switch v := v.(*Message2); i { 752 case 0: 753 return &v.state 754 case 1: 755 return &v.sizeCache 756 case 2: 757 return &v.unknownFields 758 default: 759 return nil 760 } 761 } 762 } 763 type x struct{} 764 out := protoimpl.TypeBuilder{ 765 File: protoimpl.DescBuilder{ 766 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 767 RawDescriptor: file_service_proto_rawDesc, 768 NumEnums: 0, 769 NumMessages: 8, 770 NumExtensions: 0, 771 NumServices: 1, 772 }, 773 GoTypes: file_service_proto_goTypes, 774 DependencyIndexes: file_service_proto_depIdxs, 775 MessageInfos: file_service_proto_msgTypes, 776 }.Build() 777 File_service_proto = out.File 778 file_service_proto_rawDesc = nil 779 file_service_proto_goTypes = nil 780 file_service_proto_depIdxs = nil 781 }