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, 0x84, 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, 0x29, 0x67, 0x69, 0x74, 0x65, 0x61,
129 0x2e, 0x64, 0x65, 0x76, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2d, 0x70, 0x72, 0x6f,
130 0x74, 0x6f, 0x2d, 0x67, 0x6f, 0x2f, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x69,
131 0x6e, 0x67, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x50, 0x69, 0x6e,
132 0x67, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x07, 0x50, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xe2, 0x02,
133 0x13, 0x50, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61,
134 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x50, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62,
135 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
136 }
137
138 var (
139 file_ping_v1_messages_proto_rawDescOnce sync.Once
140 file_ping_v1_messages_proto_rawDescData = file_ping_v1_messages_proto_rawDesc
141 )
142
143 func file_ping_v1_messages_proto_rawDescGZIP() []byte {
144 file_ping_v1_messages_proto_rawDescOnce.Do(func() {
145 file_ping_v1_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_ping_v1_messages_proto_rawDescData)
146 })
147 return file_ping_v1_messages_proto_rawDescData
148 }
149
150 var file_ping_v1_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
151 var file_ping_v1_messages_proto_goTypes = []interface{}{
152 (*PingRequest)(nil), // 0: ping.v1.PingRequest
153 (*PingResponse)(nil), // 1: ping.v1.PingResponse
154 }
155 var file_ping_v1_messages_proto_depIdxs = []int32{
156 0, // [0:0] is the sub-list for method output_type
157 0, // [0:0] is the sub-list for method input_type
158 0, // [0:0] is the sub-list for extension type_name
159 0, // [0:0] is the sub-list for extension extendee
160 0, // [0:0] is the sub-list for field type_name
161 }
162
163 func init() { file_ping_v1_messages_proto_init() }
164 func file_ping_v1_messages_proto_init() {
165 if File_ping_v1_messages_proto != nil {
166 return
167 }
168 if !protoimpl.UnsafeEnabled {
169 file_ping_v1_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
170 switch v := v.(*PingRequest); i {
171 case 0:
172 return &v.state
173 case 1:
174 return &v.sizeCache
175 case 2:
176 return &v.unknownFields
177 default:
178 return nil
179 }
180 }
181 file_ping_v1_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
182 switch v := v.(*PingResponse); i {
183 case 0:
184 return &v.state
185 case 1:
186 return &v.sizeCache
187 case 2:
188 return &v.unknownFields
189 default:
190 return nil
191 }
192 }
193 }
194 type x struct{}
195 out := protoimpl.TypeBuilder{
196 File: protoimpl.DescBuilder{
197 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
198 RawDescriptor: file_ping_v1_messages_proto_rawDesc,
199 NumEnums: 0,
200 NumMessages: 2,
201 NumExtensions: 0,
202 NumServices: 0,
203 },
204 GoTypes: file_ping_v1_messages_proto_goTypes,
205 DependencyIndexes: file_ping_v1_messages_proto_depIdxs,
206 MessageInfos: file_ping_v1_messages_proto_msgTypes,
207 }.Build()
208 File_ping_v1_messages_proto = out.File
209 file_ping_v1_messages_proto_rawDesc = nil
210 file_ping_v1_messages_proto_goTypes = nil
211 file_ping_v1_messages_proto_depIdxs = nil
212 }