github.com/mysteriumnetwork/node@v0.0.0-20240516044423-365054f76801/pb/ping.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/ping.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 PingPong struct { 29 state protoimpl.MessageState 30 sizeCache protoimpl.SizeCache 31 unknownFields protoimpl.UnknownFields 32 33 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 34 } 35 36 func (x *PingPong) Reset() { 37 *x = PingPong{} 38 if protoimpl.UnsafeEnabled { 39 mi := &file_pb_ping_proto_msgTypes[0] 40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 41 ms.StoreMessageInfo(mi) 42 } 43 } 44 45 func (x *PingPong) String() string { 46 return protoimpl.X.MessageStringOf(x) 47 } 48 49 func (*PingPong) ProtoMessage() {} 50 51 func (x *PingPong) ProtoReflect() protoreflect.Message { 52 mi := &file_pb_ping_proto_msgTypes[0] 53 if protoimpl.UnsafeEnabled && x != nil { 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 if ms.LoadMessageInfo() == nil { 56 ms.StoreMessageInfo(mi) 57 } 58 return ms 59 } 60 return mi.MessageOf(x) 61 } 62 63 // Deprecated: Use PingPong.ProtoReflect.Descriptor instead. 64 func (*PingPong) Descriptor() ([]byte, []int) { 65 return file_pb_ping_proto_rawDescGZIP(), []int{0} 66 } 67 68 func (x *PingPong) GetValue() string { 69 if x != nil { 70 return x.Value 71 } 72 return "" 73 } 74 75 var File_pb_ping_proto protoreflect.FileDescriptor 76 77 var file_pb_ping_proto_rawDesc = []byte{ 78 0x0a, 0x0d, 0x70, 0x62, 0x2f, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 79 0x02, 0x70, 0x62, 0x22, 0x20, 0x0a, 0x08, 0x50, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6e, 0x67, 0x12, 80 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 81 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 82 0x72, 0x6f, 0x74, 0x6f, 0x33, 83 } 84 85 var ( 86 file_pb_ping_proto_rawDescOnce sync.Once 87 file_pb_ping_proto_rawDescData = file_pb_ping_proto_rawDesc 88 ) 89 90 func file_pb_ping_proto_rawDescGZIP() []byte { 91 file_pb_ping_proto_rawDescOnce.Do(func() { 92 file_pb_ping_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_ping_proto_rawDescData) 93 }) 94 return file_pb_ping_proto_rawDescData 95 } 96 97 var file_pb_ping_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 98 var file_pb_ping_proto_goTypes = []interface{}{ 99 (*PingPong)(nil), // 0: pb.PingPong 100 } 101 var file_pb_ping_proto_depIdxs = []int32{ 102 0, // [0:0] is the sub-list for method output_type 103 0, // [0:0] is the sub-list for method input_type 104 0, // [0:0] is the sub-list for extension type_name 105 0, // [0:0] is the sub-list for extension extendee 106 0, // [0:0] is the sub-list for field type_name 107 } 108 109 func init() { file_pb_ping_proto_init() } 110 func file_pb_ping_proto_init() { 111 if File_pb_ping_proto != nil { 112 return 113 } 114 if !protoimpl.UnsafeEnabled { 115 file_pb_ping_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 116 switch v := v.(*PingPong); i { 117 case 0: 118 return &v.state 119 case 1: 120 return &v.sizeCache 121 case 2: 122 return &v.unknownFields 123 default: 124 return nil 125 } 126 } 127 } 128 type x struct{} 129 out := protoimpl.TypeBuilder{ 130 File: protoimpl.DescBuilder{ 131 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 132 RawDescriptor: file_pb_ping_proto_rawDesc, 133 NumEnums: 0, 134 NumMessages: 1, 135 NumExtensions: 0, 136 NumServices: 0, 137 }, 138 GoTypes: file_pb_ping_proto_goTypes, 139 DependencyIndexes: file_pb_ping_proto_depIdxs, 140 MessageInfos: file_pb_ping_proto_msgTypes, 141 }.Build() 142 File_pb_ping_proto = out.File 143 file_pb_ping_proto_rawDesc = nil 144 file_pb_ping_proto_goTypes = nil 145 file_pb_ping_proto_depIdxs = nil 146 }