Debian Codegraph @

ping/v1/messages.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.28.1
4 // protoc (unknown)
5 // source: ping/v1/messages.proto
6
7 package pingv1
8
9 import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 reflect "reflect"
13 sync "sync"
14 )
15
16 const (
17 // Verify that this generated code is sufficiently up-to-date.
18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19 // Verify that runtime/protoimpl is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
21 )
22
23 type PingRequest struct {
24 state protoimpl.MessageState
25 sizeCache protoimpl.SizeCache
26 unknownFields protoimpl.UnknownFields
27
28 Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
29 }
30
31 func (x *PingRequest) Reset() {
32 *x = PingRequest{}
33 if protoimpl.UnsafeEnabled {
34 mi := &file_ping_v1_messages_proto_msgTypes[0]
35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
36 ms.StoreMessageInfo(mi)
37 }
38 }
39
40 func (x *PingRequest) String() string {
41 return protoimpl.X.MessageStringOf(x)
42 }
43
44 func (*PingRequest) ProtoMessage() {}
45
46 func (x *PingRequest) ProtoReflect() protoreflect.Message {
47 mi := &file_ping_v1_messages_proto_msgTypes[0]
48 if protoimpl.UnsafeEnabled && x != nil {
49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
50 if ms.LoadMessageInfo() == nil {
51 ms.StoreMessageInfo(mi)
52 }
53 return ms
54 }
55 return mi.MessageOf(x)
56 }
57
58 // Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
59 func (*PingRequest) Descriptor() ([]byte, []int) {
60 return file_ping_v1_messages_proto_rawDescGZIP(), []int{0}
61 }
62
63 func (x *PingRequest) GetData() string {
64 if x != nil {
65 return x.Data
66 }
67 return ""
68 }
69
70 type PingResponse struct {
71 state protoimpl.MessageState
72 sizeCache protoimpl.SizeCache
73 unknownFields protoimpl.UnknownFields
74
75 Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
76 }
77
78 func (x *PingResponse) Reset() {
79 *x = PingResponse{}
80 if protoimpl.UnsafeEnabled {
81 mi := &file_ping_v1_messages_proto_msgTypes[1]
82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
83 ms.StoreMessageInfo(mi)
84 }
85 }
86
87 func (x *PingResponse) String() string {
88 return protoimpl.X.MessageStringOf(x)
89 }
90
91 func (*PingResponse) ProtoMessage() {}
92
93 func (x *PingResponse) ProtoReflect() protoreflect.Message {
94 mi := &file_ping_v1_messages_proto_msgTypes[1]
95 if protoimpl.UnsafeEnabled && x != nil {
96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
97 if ms.LoadMessageInfo() == nil {
98 ms.StoreMessageInfo(mi)
99 }
100 return ms
101 }
102 return mi.MessageOf(x)
103 }
104
105 // Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
106 func (*PingResponse) Descriptor() ([]byte, []int) {
107 return file_ping_v1_messages_proto_rawDescGZIP(), []int{1}
108 }
109
110 func (x *PingResponse) GetData() string {
111 if x != nil {
112 return x.Data
113 }
114 return ""
115 }
116
117 var File_ping_v1_messages_proto protoreflect.FileDescriptor
118
119 var file_ping_v1_messages_proto_rawDesc = []byte{
120 0x0a, 0x16, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
121 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x76,
122 0x31, 0x22, 0x21, 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
123 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
124 0x64, 0x61, 0x74, 0x61, 0x22, 0x22, 0x0a, 0x0c, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70,
125 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
126 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x90, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d,
127 0x2e, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
128 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x63, 0x6f, 0x64, 0x65, 0x2e,
129 0x66, 0x6f, 0x72, 0x67, 0x65, 0x6a, 0x6f, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6f, 0x72, 0x67,
130 0x65, 0x6a, 0x6f, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2d, 0x70, 0x72, 0x6f, 0x74,
131 0x6f, 0x2f, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x69, 0x6e, 0x67, 0x76, 0x31,
132 0xa2, 0x02, 0x03, 0x50, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x50, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31,
133 0xca, 0x02, 0x07, 0x50, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x13, 0x50, 0x69, 0x6e,
134 0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
135 0xea, 0x02, 0x08, 0x50, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
136 0x74, 0x6f, 0x33,
137 }
138
139 var (
140 file_ping_v1_messages_proto_rawDescOnce sync.Once
141 file_ping_v1_messages_proto_rawDescData = file_ping_v1_messages_proto_rawDesc
142 )
143
144 func file_ping_v1_messages_proto_rawDescGZIP() []byte {
145 file_ping_v1_messages_proto_rawDescOnce.Do(func() {
146 file_ping_v1_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_ping_v1_messages_proto_rawDescData)
147 })
148 return file_ping_v1_messages_proto_rawDescData
149 }
150
151 var file_ping_v1_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
152 var file_ping_v1_messages_proto_goTypes = []interface{}{
153 (*PingRequest)(nil), // 0: ping.v1.PingRequest
154 (*PingResponse)(nil), // 1: ping.v1.PingResponse
155 }
156 var file_ping_v1_messages_proto_depIdxs = []int32{
157 0, // [0:0] is the sub-list for method output_type
158 0, // [0:0] is the sub-list for method input_type
159 0, // [0:0] is the sub-list for extension type_name
160 0, // [0:0] is the sub-list for extension extendee
161 0, // [0:0] is the sub-list for field type_name
162 }
163
164 func init() { file_ping_v1_messages_proto_init() }
165 func file_ping_v1_messages_proto_init() {
166 if File_ping_v1_messages_proto != nil {
167 return
168 }
169 if !protoimpl.UnsafeEnabled {
170 file_ping_v1_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
171 switch v := v.(*PingRequest); i {
172 case 0:
173 return &v.state
174 case 1:
175 return &v.sizeCache
176 case 2:
177 return &v.unknownFields
178 default:
179 return nil
180 }
181 }
182 file_ping_v1_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
183 switch v := v.(*PingResponse); i {
184 case 0:
185 return &v.state
186 case 1:
187 return &v.sizeCache
188 case 2:
189 return &v.unknownFields
190 default:
191 return nil
192 }
193 }
194 }
195 type x struct{}
196 out := protoimpl.TypeBuilder{
197 File: protoimpl.DescBuilder{
198 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
199 RawDescriptor: file_ping_v1_messages_proto_rawDesc,
200 NumEnums: 0,
201 NumMessages: 2,
202 NumExtensions: 0,
203 NumServices: 0,
204 },
205 GoTypes: file_ping_v1_messages_proto_goTypes,
206 DependencyIndexes: file_ping_v1_messages_proto_depIdxs,
207 MessageInfos: file_ping_v1_messages_proto_msgTypes,
208 }.Build()
209 File_ping_v1_messages_proto = out.File
210 file_ping_v1_messages_proto_rawDesc = nil
211 file_ping_v1_messages_proto_goTypes = nil
212 file_ping_v1_messages_proto_depIdxs = nil
213 }