Debian Codegraph @

go/xds/annotations/v3/migrate.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.10
4 // protoc v5.29.3
5 // source: xds/annotations/v3/migrate.proto
6
7 package v3
8
9 import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 descriptorpb "google.golang.org/protobuf/types/descriptorpb"
13 reflect "reflect"
14 sync "sync"
15 unsafe "unsafe"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 type MigrateAnnotation struct {
26 state protoimpl.MessageState `protogen:"open.v1"`
27 Rename string `protobuf:"bytes,1,opt,name=rename,proto3" json:"rename,omitempty"`
28 unknownFields protoimpl.UnknownFields
29 sizeCache protoimpl.SizeCache
30 }
31
32 func (x *MigrateAnnotation) Reset() {
33 *x = MigrateAnnotation{}
34 mi := &file_xds_annotations_v3_migrate_proto_msgTypes[0]
35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
36 ms.StoreMessageInfo(mi)
37 }
38
39 func (x *MigrateAnnotation) String() string {
40 return protoimpl.X.MessageStringOf(x)
41 }
42
43 func (*MigrateAnnotation) ProtoMessage() {}
44
45 func (x *MigrateAnnotation) ProtoReflect() protoreflect.Message {
46 mi := &file_xds_annotations_v3_migrate_proto_msgTypes[0]
47 if x != nil {
48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
49 if ms.LoadMessageInfo() == nil {
50 ms.StoreMessageInfo(mi)
51 }
52 return ms
53 }
54 return mi.MessageOf(x)
55 }
56
57 // Deprecated: Use MigrateAnnotation.ProtoReflect.Descriptor instead.
58 func (*MigrateAnnotation) Descriptor() ([]byte, []int) {
59 return file_xds_annotations_v3_migrate_proto_rawDescGZIP(), []int{0}
60 }
61
62 func (x *MigrateAnnotation) GetRename() string {
63 if x != nil {
64 return x.Rename
65 }
66 return ""
67 }
68
69 type FieldMigrateAnnotation struct {
70 state protoimpl.MessageState `protogen:"open.v1"`
71 Rename string `protobuf:"bytes,1,opt,name=rename,proto3" json:"rename,omitempty"`
72 OneofPromotion string `protobuf:"bytes,2,opt,name=oneof_promotion,json=oneofPromotion,proto3" json:"oneof_promotion,omitempty"`
73 unknownFields protoimpl.UnknownFields
74 sizeCache protoimpl.SizeCache
75 }
76
77 func (x *FieldMigrateAnnotation) Reset() {
78 *x = FieldMigrateAnnotation{}
79 mi := &file_xds_annotations_v3_migrate_proto_msgTypes[1]
80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
81 ms.StoreMessageInfo(mi)
82 }
83
84 func (x *FieldMigrateAnnotation) String() string {
85 return protoimpl.X.MessageStringOf(x)
86 }
87
88 func (*FieldMigrateAnnotation) ProtoMessage() {}
89
90 func (x *FieldMigrateAnnotation) ProtoReflect() protoreflect.Message {
91 mi := &file_xds_annotations_v3_migrate_proto_msgTypes[1]
92 if x != nil {
93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
94 if ms.LoadMessageInfo() == nil {
95 ms.StoreMessageInfo(mi)
96 }
97 return ms
98 }
99 return mi.MessageOf(x)
100 }
101
102 // Deprecated: Use FieldMigrateAnnotation.ProtoReflect.Descriptor instead.
103 func (*FieldMigrateAnnotation) Descriptor() ([]byte, []int) {
104 return file_xds_annotations_v3_migrate_proto_rawDescGZIP(), []int{1}
105 }
106
107 func (x *FieldMigrateAnnotation) GetRename() string {
108 if x != nil {
109 return x.Rename
110 }
111 return ""
112 }
113
114 func (x *FieldMigrateAnnotation) GetOneofPromotion() string {
115 if x != nil {
116 return x.OneofPromotion
117 }
118 return ""
119 }
120
121 type FileMigrateAnnotation struct {
122 state protoimpl.MessageState `protogen:"open.v1"`
123 MoveToPackage string `protobuf:"bytes,2,opt,name=move_to_package,json=moveToPackage,proto3" json:"move_to_package,omitempty"`
124 unknownFields protoimpl.UnknownFields
125 sizeCache protoimpl.SizeCache
126 }
127
128 func (x *FileMigrateAnnotation) Reset() {
129 *x = FileMigrateAnnotation{}
130 mi := &file_xds_annotations_v3_migrate_proto_msgTypes[2]
131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
132 ms.StoreMessageInfo(mi)
133 }
134
135 func (x *FileMigrateAnnotation) String() string {
136 return protoimpl.X.MessageStringOf(x)
137 }
138
139 func (*FileMigrateAnnotation) ProtoMessage() {}
140
141 func (x *FileMigrateAnnotation) ProtoReflect() protoreflect.Message {
142 mi := &file_xds_annotations_v3_migrate_proto_msgTypes[2]
143 if x != nil {
144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
145 if ms.LoadMessageInfo() == nil {
146 ms.StoreMessageInfo(mi)
147 }
148 return ms
149 }
150 return mi.MessageOf(x)
151 }
152
153 // Deprecated: Use FileMigrateAnnotation.ProtoReflect.Descriptor instead.
154 func (*FileMigrateAnnotation) Descriptor() ([]byte, []int) {
155 return file_xds_annotations_v3_migrate_proto_rawDescGZIP(), []int{2}
156 }
157
158 func (x *FileMigrateAnnotation) GetMoveToPackage() string {
159 if x != nil {
160 return x.MoveToPackage
161 }
162 return ""
163 }
164
165 var file_xds_annotations_v3_migrate_proto_extTypes = []protoimpl.ExtensionInfo{
166 {
167 ExtendedType: (*descriptorpb.MessageOptions)(nil),
168 ExtensionType: (*MigrateAnnotation)(nil),
169 Field: 112948430,
170 Name: "xds.annotations.v3.message_migrate",
171 Tag: "bytes,112948430,opt,name=message_migrate",
172 Filename: "xds/annotations/v3/migrate.proto",
173 },
174 {
175 ExtendedType: (*descriptorpb.FieldOptions)(nil),
176 ExtensionType: (*FieldMigrateAnnotation)(nil),
177 Field: 112948430,
178 Name: "xds.annotations.v3.field_migrate",
179 Tag: "bytes,112948430,opt,name=field_migrate",
180 Filename: "xds/annotations/v3/migrate.proto",
181 },
182 {
183 ExtendedType: (*descriptorpb.EnumOptions)(nil),
184 ExtensionType: (*MigrateAnnotation)(nil),
185 Field: 112948430,
186 Name: "xds.annotations.v3.enum_migrate",
187 Tag: "bytes,112948430,opt,name=enum_migrate",
188 Filename: "xds/annotations/v3/migrate.proto",
189 },
190 {
191 ExtendedType: (*descriptorpb.EnumValueOptions)(nil),
192 ExtensionType: (*MigrateAnnotation)(nil),
193 Field: 112948430,
194 Name: "xds.annotations.v3.enum_value_migrate",
195 Tag: "bytes,112948430,opt,name=enum_value_migrate",
196 Filename: "xds/annotations/v3/migrate.proto",
197 },
198 {
199 ExtendedType: (*descriptorpb.FileOptions)(nil),
200 ExtensionType: (*FileMigrateAnnotation)(nil),
201 Field: 112948430,
202 Name: "xds.annotations.v3.file_migrate",
203 Tag: "bytes,112948430,opt,name=file_migrate",
204 Filename: "xds/annotations/v3/migrate.proto",
205 },
206 }
207
208 // Extension fields to descriptorpb.MessageOptions.
209 var (
210 // optional xds.annotations.v3.MigrateAnnotation message_migrate = 112948430;
211 E_MessageMigrate = &file_xds_annotations_v3_migrate_proto_extTypes[0]
212 )
213
214 // Extension fields to descriptorpb.FieldOptions.
215 var (
216 // optional xds.annotations.v3.FieldMigrateAnnotation field_migrate = 112948430;
217 E_FieldMigrate = &file_xds_annotations_v3_migrate_proto_extTypes[1]
218 )
219
220 // Extension fields to descriptorpb.EnumOptions.
221 var (
222 // optional xds.annotations.v3.MigrateAnnotation enum_migrate = 112948430;
223 E_EnumMigrate = &file_xds_annotations_v3_migrate_proto_extTypes[2]
224 )
225
226 // Extension fields to descriptorpb.EnumValueOptions.
227 var (
228 // optional xds.annotations.v3.MigrateAnnotation enum_value_migrate = 112948430;
229 E_EnumValueMigrate = &file_xds_annotations_v3_migrate_proto_extTypes[3]
230 )
231
232 // Extension fields to descriptorpb.FileOptions.
233 var (
234 // optional xds.annotations.v3.FileMigrateAnnotation file_migrate = 112948430;
235 E_FileMigrate = &file_xds_annotations_v3_migrate_proto_extTypes[4]
236 )
237
238 var File_xds_annotations_v3_migrate_proto protoreflect.FileDescriptor
239
240 const file_xds_annotations_v3_migrate_proto_rawDesc = "" +
241 "\n" +
242 " xds/annotations/v3/migrate.proto\x12\x12xds.annotations.v3\x1a google/protobuf/descriptor.proto\"+\n" +
243 "\x11MigrateAnnotation\x12\x16\n" +
244 "\x06rename\x18\x01 \x01(\tR\x06rename\"Y\n" +
245 "\x16FieldMigrateAnnotation\x12\x16\n" +
246 "\x06rename\x18\x01 \x01(\tR\x06rename\x12'\n" +
247 "\x0foneof_promotion\x18\x02 \x01(\tR\x0eoneofPromotion\"?\n" +
248 "\x15FileMigrateAnnotation\x12&\n" +
249 "\x0fmove_to_package\x18\x02 \x01(\tR\rmoveToPackage:r\n" +
250 "\x0fmessage_migrate\x12\x1f.google.protobuf.MessageOptions\x18\xce\xe9\xed5 \x01(\v2%.xds.annotations.v3.MigrateAnnotationR\x0emessageMigrate:q\n" +
251 "\rfield_migrate\x12\x1d.google.protobuf.FieldOptions\x18\xce\xe9\xed5 \x01(\v2*.xds.annotations.v3.FieldMigrateAnnotationR\ffieldMigrate:i\n" +
252 "\fenum_migrate\x12\x1c.google.protobuf.EnumOptions\x18\xce\xe9\xed5 \x01(\v2%.xds.annotations.v3.MigrateAnnotationR\venumMigrate:y\n" +
253 "\x12enum_value_migrate\x12!.google.protobuf.EnumValueOptions\x18\xce\xe9\xed5 \x01(\v2%.xds.annotations.v3.MigrateAnnotationR\x10enumValueMigrate:m\n" +
254 "\ffile_migrate\x12\x1c.google.protobuf.FileOptions\x18\xce\xe9\xed5 \x01(\v2).xds.annotations.v3.FileMigrateAnnotationR\vfileMigrateB+Z)github.com/cncf/xds/go/xds/annotations/v3b\x06proto3"
255
256 var (
257 file_xds_annotations_v3_migrate_proto_rawDescOnce sync.Once
258 file_xds_annotations_v3_migrate_proto_rawDescData []byte
259 )
260
261 func file_xds_annotations_v3_migrate_proto_rawDescGZIP() []byte {
262 file_xds_annotations_v3_migrate_proto_rawDescOnce.Do(func() {
263 file_xds_annotations_v3_migrate_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_xds_annotations_v3_migrate_proto_rawDesc), len(file_xds_annotations_v3_migrate_proto_rawDesc)))
264 })
265 return file_xds_annotations_v3_migrate_proto_rawDescData
266 }
267
268 var file_xds_annotations_v3_migrate_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
269 var file_xds_annotations_v3_migrate_proto_goTypes = []any{
270 (*MigrateAnnotation)(nil), // 0: xds.annotations.v3.MigrateAnnotation
271 (*FieldMigrateAnnotation)(nil), // 1: xds.annotations.v3.FieldMigrateAnnotation
272 (*FileMigrateAnnotation)(nil), // 2: xds.annotations.v3.FileMigrateAnnotation
273 (*descriptorpb.MessageOptions)(nil), // 3: google.protobuf.MessageOptions
274 (*descriptorpb.FieldOptions)(nil), // 4: google.protobuf.FieldOptions
275 (*descriptorpb.EnumOptions)(nil), // 5: google.protobuf.EnumOptions
276 (*descriptorpb.EnumValueOptions)(nil), // 6: google.protobuf.EnumValueOptions
277 (*descriptorpb.FileOptions)(nil), // 7: google.protobuf.FileOptions
278 }
279 var file_xds_annotations_v3_migrate_proto_depIdxs = []int32{
280 3, // 0: xds.annotations.v3.message_migrate:extendee -> google.protobuf.MessageOptions
281 4, // 1: xds.annotations.v3.field_migrate:extendee -> google.protobuf.FieldOptions
282 5, // 2: xds.annotations.v3.enum_migrate:extendee -> google.protobuf.EnumOptions
283 6, // 3: xds.annotations.v3.enum_value_migrate:extendee -> google.protobuf.EnumValueOptions
284 7, // 4: xds.annotations.v3.file_migrate:extendee -> google.protobuf.FileOptions
285 0, // 5: xds.annotations.v3.message_migrate:type_name -> xds.annotations.v3.MigrateAnnotation
286 1, // 6: xds.annotations.v3.field_migrate:type_name -> xds.annotations.v3.FieldMigrateAnnotation
287 0, // 7: xds.annotations.v3.enum_migrate:type_name -> xds.annotations.v3.MigrateAnnotation
288 0, // 8: xds.annotations.v3.enum_value_migrate:type_name -> xds.annotations.v3.MigrateAnnotation
289 2, // 9: xds.annotations.v3.file_migrate:type_name -> xds.annotations.v3.FileMigrateAnnotation
290 10, // [10:10] is the sub-list for method output_type
291 10, // [10:10] is the sub-list for method input_type
292 5, // [5:10] is the sub-list for extension type_name
293 0, // [0:5] is the sub-list for extension extendee
294 0, // [0:0] is the sub-list for field type_name
295 }
296
297 func init() { file_xds_annotations_v3_migrate_proto_init() }
298 func file_xds_annotations_v3_migrate_proto_init() {
299 if File_xds_annotations_v3_migrate_proto != nil {
300 return
301 }
302 type x struct{}
303 out := protoimpl.TypeBuilder{
304 File: protoimpl.DescBuilder{
305 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
306 RawDescriptor: unsafe.Slice(unsafe.StringData(file_xds_annotations_v3_migrate_proto_rawDesc), len(file_xds_annotations_v3_migrate_proto_rawDesc)),
307 NumEnums: 0,
308 NumMessages: 3,
309 NumExtensions: 5,
310 NumServices: 0,
311 },
312 GoTypes: file_xds_annotations_v3_migrate_proto_goTypes,
313 DependencyIndexes: file_xds_annotations_v3_migrate_proto_depIdxs,
314 MessageInfos: file_xds_annotations_v3_migrate_proto_msgTypes,
315 ExtensionInfos: file_xds_annotations_v3_migrate_proto_extTypes,
316 }.Build()
317 File_xds_annotations_v3_migrate_proto = out.File
318 file_xds_annotations_v3_migrate_proto_goTypes = nil
319 file_xds_annotations_v3_migrate_proto_depIdxs = nil
320 }