github.com/whiteCcinn/protobuf-go@v1.0.9/internal/testprotos/annotation/annotation.pb.go (about) 1 // Copyright 2019 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // source: internal/testprotos/annotation/annotation.proto 7 8 package annotation 9 10 import ( 11 protoreflect "github.com/whiteCcinn/protobuf-go/reflect/protoreflect" 12 protoimpl "github.com/whiteCcinn/protobuf-go/runtime/protoimpl" 13 descriptorpb "github.com/whiteCcinn/protobuf-go/types/descriptorpb" 14 reflect "reflect" 15 ) 16 17 var file_internal_testprotos_annotation_annotation_proto_extTypes = []protoimpl.ExtensionInfo{ 18 { 19 ExtendedType: (*descriptorpb.MessageOptions)(nil), 20 ExtensionType: (*bool)(nil), 21 Field: 37383685, 22 Name: "go_annotation.track_field_use", 23 Tag: "varint,37383685,opt,name=track_field_use", 24 Filename: "internal/testprotos/annotation/annotation.proto", 25 }, 26 } 27 28 // Extension fields to descriptorpb.MessageOptions. 29 var ( 30 // Setting this on a message enables tracking of which fields in the message 31 // a specific binary might access. As a consequence, it also disables the use 32 // of the message accessor methods to satisfy interfaces: they can only be 33 // called directly. 34 // 35 // optional bool track_field_use = 37383685; 36 E_TrackFieldUse = &file_internal_testprotos_annotation_annotation_proto_extTypes[0] 37 ) 38 39 var File_internal_testprotos_annotation_annotation_proto protoreflect.FileDescriptor 40 41 var file_internal_testprotos_annotation_annotation_proto_rawDesc = []byte{ 42 0x0a, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 43 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 44 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 45 0x6f, 0x12, 0x0d, 0x67, 0x6f, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 46 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 47 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 48 0x74, 0x6f, 0x3a, 0x4a, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x66, 0x69, 0x65, 0x6c, 49 0x64, 0x5f, 0x75, 0x73, 0x65, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 50 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 51 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x85, 0xdc, 0xe9, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 52 0x0d, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x55, 0x73, 0x65, 0x42, 0x3b, 53 0x5a, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 54 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 55 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 56 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 57 } 58 59 var file_internal_testprotos_annotation_annotation_proto_goTypes = []interface{}{ 60 (*descriptorpb.MessageOptions)(nil), // 0: google.protobuf.MessageOptions 61 } 62 var file_internal_testprotos_annotation_annotation_proto_depIdxs = []int32{ 63 0, // 0: go_annotation.track_field_use:extendee -> google.protobuf.MessageOptions 64 1, // [1:1] is the sub-list for method output_type 65 1, // [1:1] is the sub-list for method input_type 66 1, // [1:1] is the sub-list for extension type_name 67 0, // [0:1] is the sub-list for extension extendee 68 0, // [0:0] is the sub-list for field type_name 69 } 70 71 func init() { file_internal_testprotos_annotation_annotation_proto_init() } 72 func file_internal_testprotos_annotation_annotation_proto_init() { 73 if File_internal_testprotos_annotation_annotation_proto != nil { 74 return 75 } 76 type x struct{} 77 out := protoimpl.TypeBuilder{ 78 File: protoimpl.DescBuilder{ 79 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 80 RawDescriptor: file_internal_testprotos_annotation_annotation_proto_rawDesc, 81 NumEnums: 0, 82 NumMessages: 0, 83 NumExtensions: 1, 84 NumServices: 0, 85 }, 86 GoTypes: file_internal_testprotos_annotation_annotation_proto_goTypes, 87 DependencyIndexes: file_internal_testprotos_annotation_annotation_proto_depIdxs, 88 ExtensionInfos: file_internal_testprotos_annotation_annotation_proto_extTypes, 89 }.Build() 90 File_internal_testprotos_annotation_annotation_proto = out.File 91 file_internal_testprotos_annotation_annotation_proto_rawDesc = nil 92 file_internal_testprotos_annotation_annotation_proto_goTypes = nil 93 file_internal_testprotos_annotation_annotation_proto_depIdxs = nil 94 }