1
2
3
4
5
6
7
8
9
10
11
12
13 package examplepb
14
15 import (
16 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
17 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
18 durationpb "google.golang.org/protobuf/types/known/durationpb"
19 reflect "reflect"
20 sync "sync"
21 )
22
23 const (
24
25 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
26
27 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
28 )
29
30
31 type GenerateUnboundMethodsSimpleMessage struct {
32 state protoimpl.MessageState
33 sizeCache protoimpl.SizeCache
34 unknownFields protoimpl.UnknownFields
35
36
37 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
38 Num int64 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"`
39 Duration *durationpb.Duration `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"`
40 }
41
42 func (x *GenerateUnboundMethodsSimpleMessage) Reset() {
43 *x = GenerateUnboundMethodsSimpleMessage{}
44 if protoimpl.UnsafeEnabled {
45 mi := &file_examples_internal_proto_examplepb_generate_unbound_methods_proto_msgTypes[0]
46 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
47 ms.StoreMessageInfo(mi)
48 }
49 }
50
51 func (x *GenerateUnboundMethodsSimpleMessage) String() string {
52 return protoimpl.X.MessageStringOf(x)
53 }
54
55 func (*GenerateUnboundMethodsSimpleMessage) ProtoMessage() {}
56
57 func (x *GenerateUnboundMethodsSimpleMessage) ProtoReflect() protoreflect.Message {
58 mi := &file_examples_internal_proto_examplepb_generate_unbound_methods_proto_msgTypes[0]
59 if protoimpl.UnsafeEnabled && x != nil {
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 if ms.LoadMessageInfo() == nil {
62 ms.StoreMessageInfo(mi)
63 }
64 return ms
65 }
66 return mi.MessageOf(x)
67 }
68
69
70 func (*GenerateUnboundMethodsSimpleMessage) Descriptor() ([]byte, []int) {
71 return file_examples_internal_proto_examplepb_generate_unbound_methods_proto_rawDescGZIP(), []int{0}
72 }
73
74 func (x *GenerateUnboundMethodsSimpleMessage) GetId() string {
75 if x != nil {
76 return x.Id
77 }
78 return ""
79 }
80
81 func (x *GenerateUnboundMethodsSimpleMessage) GetNum() int64 {
82 if x != nil {
83 return x.Num
84 }
85 return 0
86 }
87
88 func (x *GenerateUnboundMethodsSimpleMessage) GetDuration() *durationpb.Duration {
89 if x != nil {
90 return x.Duration
91 }
92 return nil
93 }
94
95 var File_examples_internal_proto_examplepb_generate_unbound_methods_proto protoreflect.FileDescriptor
96
97 var file_examples_internal_proto_examplepb_generate_unbound_methods_proto_rawDesc = []byte{
98 0x0a, 0x40, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
99 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c,
100 0x65, 0x70, 0x62, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x62,
101 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f,
102 0x74, 0x6f, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
103 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
104 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
105 0x70, 0x62, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
106 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
107 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x23, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x55, 0x6e,
108 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x53, 0x69, 0x6d, 0x70,
109 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
110 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d,
111 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x35, 0x0a, 0x08, 0x64,
112 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e,
113 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
114 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
115 0x6f, 0x6e, 0x32, 0xc6, 0x04, 0x0a, 0x21, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x55,
116 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x45, 0x63, 0x68,
117 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb0, 0x01, 0x0a, 0x04, 0x45, 0x63, 0x68,
118 0x6f, 0x12, 0x53, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
119 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
120 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
121 0x70, 0x62, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x55, 0x6e, 0x62, 0x6f, 0x75,
122 0x6e, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d,
123 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x53, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
124 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69,
125 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78,
126 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
127 0x55, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x53, 0x69,
128 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0xb4, 0x01, 0x0a, 0x08,
129 0x45, 0x63, 0x68, 0x6f, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x53, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e,
130 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73,
131 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
132 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61,
133 0x74, 0x65, 0x55, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73,
134 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x53, 0x2e,
135 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61,
136 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70,
137 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x47,
138 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x55, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x65,
139 0x74, 0x68, 0x6f, 0x64, 0x73, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
140 0x67, 0x65, 0x12, 0xb6, 0x01, 0x0a, 0x0a, 0x45, 0x63, 0x68, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74,
141 0x65, 0x12, 0x53, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79,
142 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
143 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
144 0x70, 0x62, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x55, 0x6e, 0x62, 0x6f, 0x75,
145 0x6e, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d,
146 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x53, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61,
147 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69,
148 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78,
149 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
150 0x55, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x53, 0x69,
151 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x4d, 0x5a, 0x4b, 0x67,
152 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x65,
153 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61,
154 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
155 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
156 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
157 0x6f, 0x33,
158 }
159
160 var (
161 file_examples_internal_proto_examplepb_generate_unbound_methods_proto_rawDescOnce sync.Once
162 file_examples_internal_proto_examplepb_generate_unbound_methods_proto_rawDescData = file_examples_internal_proto_examplepb_generate_unbound_methods_proto_rawDesc
163 )
164
165 func file_examples_internal_proto_examplepb_generate_unbound_methods_proto_rawDescGZIP() []byte {
166 file_examples_internal_proto_examplepb_generate_unbound_methods_proto_rawDescOnce.Do(func() {
167 file_examples_internal_proto_examplepb_generate_unbound_methods_proto_rawDescData = protoimpl.X.CompressGZIP(file_examples_internal_proto_examplepb_generate_unbound_methods_proto_rawDescData)
168 })
169 return file_examples_internal_proto_examplepb_generate_unbound_methods_proto_rawDescData
170 }
171
172 var file_examples_internal_proto_examplepb_generate_unbound_methods_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
173 var file_examples_internal_proto_examplepb_generate_unbound_methods_proto_goTypes = []interface{}{
174 (*GenerateUnboundMethodsSimpleMessage)(nil),
175 (*durationpb.Duration)(nil),
176 }
177 var file_examples_internal_proto_examplepb_generate_unbound_methods_proto_depIdxs = []int32{
178 1,
179 0,
180 0,
181 0,
182 0,
183 0,
184 0,
185 4,
186 1,
187 1,
188 1,
189 0,
190 }
191
192 func init() { file_examples_internal_proto_examplepb_generate_unbound_methods_proto_init() }
193 func file_examples_internal_proto_examplepb_generate_unbound_methods_proto_init() {
194 if File_examples_internal_proto_examplepb_generate_unbound_methods_proto != nil {
195 return
196 }
197 if !protoimpl.UnsafeEnabled {
198 file_examples_internal_proto_examplepb_generate_unbound_methods_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
199 switch v := v.(*GenerateUnboundMethodsSimpleMessage); i {
200 case 0:
201 return &v.state
202 case 1:
203 return &v.sizeCache
204 case 2:
205 return &v.unknownFields
206 default:
207 return nil
208 }
209 }
210 }
211 type x struct{}
212 out := protoimpl.TypeBuilder{
213 File: protoimpl.DescBuilder{
214 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
215 RawDescriptor: file_examples_internal_proto_examplepb_generate_unbound_methods_proto_rawDesc,
216 NumEnums: 0,
217 NumMessages: 1,
218 NumExtensions: 0,
219 NumServices: 1,
220 },
221 GoTypes: file_examples_internal_proto_examplepb_generate_unbound_methods_proto_goTypes,
222 DependencyIndexes: file_examples_internal_proto_examplepb_generate_unbound_methods_proto_depIdxs,
223 MessageInfos: file_examples_internal_proto_examplepb_generate_unbound_methods_proto_msgTypes,
224 }.Build()
225 File_examples_internal_proto_examplepb_generate_unbound_methods_proto = out.File
226 file_examples_internal_proto_examplepb_generate_unbound_methods_proto_rawDesc = nil
227 file_examples_internal_proto_examplepb_generate_unbound_methods_proto_goTypes = nil
228 file_examples_internal_proto_examplepb_generate_unbound_methods_proto_depIdxs = nil
229 }
230
View as plain text