github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/common/protoext/testing/test.pb.go (about) 1 package testing 2 3 import ( 4 _ "github.com/v2fly/v2ray-core/v5/common/protoext" 5 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 6 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 7 reflect "reflect" 8 sync "sync" 9 ) 10 11 const ( 12 // Verify that this generated code is sufficiently up-to-date. 13 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 14 // Verify that runtime/protoimpl is sufficiently up-to-date. 15 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 16 ) 17 18 type TestingMessage struct { 19 state protoimpl.MessageState 20 sizeCache protoimpl.SizeCache 21 unknownFields protoimpl.UnknownFields 22 23 TestField string `protobuf:"bytes,1,opt,name=test_field,json=testField,proto3" json:"test_field,omitempty"` 24 } 25 26 func (x *TestingMessage) Reset() { 27 *x = TestingMessage{} 28 if protoimpl.UnsafeEnabled { 29 mi := &file_common_protoext_testing_test_proto_msgTypes[0] 30 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 31 ms.StoreMessageInfo(mi) 32 } 33 } 34 35 func (x *TestingMessage) String() string { 36 return protoimpl.X.MessageStringOf(x) 37 } 38 39 func (*TestingMessage) ProtoMessage() {} 40 41 func (x *TestingMessage) ProtoReflect() protoreflect.Message { 42 mi := &file_common_protoext_testing_test_proto_msgTypes[0] 43 if protoimpl.UnsafeEnabled && x != nil { 44 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 45 if ms.LoadMessageInfo() == nil { 46 ms.StoreMessageInfo(mi) 47 } 48 return ms 49 } 50 return mi.MessageOf(x) 51 } 52 53 // Deprecated: Use TestingMessage.ProtoReflect.Descriptor instead. 54 func (*TestingMessage) Descriptor() ([]byte, []int) { 55 return file_common_protoext_testing_test_proto_rawDescGZIP(), []int{0} 56 } 57 58 func (x *TestingMessage) GetTestField() string { 59 if x != nil { 60 return x.TestField 61 } 62 return "" 63 } 64 65 var File_common_protoext_testing_test_proto protoreflect.FileDescriptor 66 67 var file_common_protoext_testing_test_proto_rawDesc = []byte{ 68 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 69 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 70 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 71 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 72 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 73 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 74 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x0e, 0x54, 0x65, 75 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x0a, 76 0x74, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 77 0x42, 0x11, 0x82, 0xb5, 0x18, 0x0d, 0x12, 0x04, 0x74, 0x65, 0x73, 0x74, 0x12, 0x05, 0x74, 0x65, 78 0x73, 0x74, 0x32, 0x52, 0x09, 0x74, 0x65, 0x73, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x11, 79 0x82, 0xb5, 0x18, 0x0d, 0x0a, 0x04, 0x64, 0x65, 0x6d, 0x6f, 0x0a, 0x05, 0x64, 0x65, 0x6d, 0x6f, 80 0x32, 0x42, 0x84, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 81 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 82 0x6f, 0x65, 0x78, 0x74, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x01, 0x5a, 0x33, 83 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 84 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 85 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 86 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x22, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 87 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x45, 0x78, 0x74, 88 0x2e, 0x54, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 89 } 90 91 var ( 92 file_common_protoext_testing_test_proto_rawDescOnce sync.Once 93 file_common_protoext_testing_test_proto_rawDescData = file_common_protoext_testing_test_proto_rawDesc 94 ) 95 96 func file_common_protoext_testing_test_proto_rawDescGZIP() []byte { 97 file_common_protoext_testing_test_proto_rawDescOnce.Do(func() { 98 file_common_protoext_testing_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_protoext_testing_test_proto_rawDescData) 99 }) 100 return file_common_protoext_testing_test_proto_rawDescData 101 } 102 103 var file_common_protoext_testing_test_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 104 var file_common_protoext_testing_test_proto_goTypes = []interface{}{ 105 (*TestingMessage)(nil), // 0: v2ray.core.common.protoext.testing.TestingMessage 106 } 107 var file_common_protoext_testing_test_proto_depIdxs = []int32{ 108 0, // [0:0] is the sub-list for method output_type 109 0, // [0:0] is the sub-list for method input_type 110 0, // [0:0] is the sub-list for extension type_name 111 0, // [0:0] is the sub-list for extension extendee 112 0, // [0:0] is the sub-list for field type_name 113 } 114 115 func init() { file_common_protoext_testing_test_proto_init() } 116 func file_common_protoext_testing_test_proto_init() { 117 if File_common_protoext_testing_test_proto != nil { 118 return 119 } 120 if !protoimpl.UnsafeEnabled { 121 file_common_protoext_testing_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 122 switch v := v.(*TestingMessage); i { 123 case 0: 124 return &v.state 125 case 1: 126 return &v.sizeCache 127 case 2: 128 return &v.unknownFields 129 default: 130 return nil 131 } 132 } 133 } 134 type x struct{} 135 out := protoimpl.TypeBuilder{ 136 File: protoimpl.DescBuilder{ 137 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 138 RawDescriptor: file_common_protoext_testing_test_proto_rawDesc, 139 NumEnums: 0, 140 NumMessages: 1, 141 NumExtensions: 0, 142 NumServices: 0, 143 }, 144 GoTypes: file_common_protoext_testing_test_proto_goTypes, 145 DependencyIndexes: file_common_protoext_testing_test_proto_depIdxs, 146 MessageInfos: file_common_protoext_testing_test_proto_msgTypes, 147 }.Build() 148 File_common_protoext_testing_test_proto = out.File 149 file_common_protoext_testing_test_proto_rawDesc = nil 150 file_common_protoext_testing_test_proto_goTypes = nil 151 file_common_protoext_testing_test_proto_depIdxs = nil 152 }