1
2
3
4
5
6
7
8 package messagesetpb
9
10 import (
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 reflect "reflect"
14 sync "sync"
15 )
16
17 type MessageSet struct {
18 state protoimpl.MessageState
19 sizeCache protoimpl.SizeCache
20 unknownFields protoimpl.UnknownFields
21 extensionFields protoimpl.ExtensionFields
22 }
23
24 func (x *MessageSet) Reset() {
25 *x = MessageSet{}
26 if protoimpl.UnsafeEnabled {
27 mi := &file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes[0]
28 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
29 ms.StoreMessageInfo(mi)
30 }
31 }
32
33 func (x *MessageSet) String() string {
34 return protoimpl.X.MessageStringOf(x)
35 }
36
37 func (*MessageSet) ProtoMessage() {}
38
39 func (x *MessageSet) ProtoReflect() protoreflect.Message {
40 mi := &file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes[0]
41 if protoimpl.UnsafeEnabled && x != nil {
42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43 if ms.LoadMessageInfo() == nil {
44 ms.StoreMessageInfo(mi)
45 }
46 return ms
47 }
48 return mi.MessageOf(x)
49 }
50
51
52 func (*MessageSet) Descriptor() ([]byte, []int) {
53 return file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescGZIP(), []int{0}
54 }
55
56 type MessageSetContainer struct {
57 state protoimpl.MessageState
58 sizeCache protoimpl.SizeCache
59 unknownFields protoimpl.UnknownFields
60
61 MessageSet *MessageSet `protobuf:"bytes,1,opt,name=message_set,json=messageSet" json:"message_set,omitempty"`
62 }
63
64 func (x *MessageSetContainer) Reset() {
65 *x = MessageSetContainer{}
66 if protoimpl.UnsafeEnabled {
67 mi := &file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes[1]
68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
69 ms.StoreMessageInfo(mi)
70 }
71 }
72
73 func (x *MessageSetContainer) String() string {
74 return protoimpl.X.MessageStringOf(x)
75 }
76
77 func (*MessageSetContainer) ProtoMessage() {}
78
79 func (x *MessageSetContainer) ProtoReflect() protoreflect.Message {
80 mi := &file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes[1]
81 if protoimpl.UnsafeEnabled && x != nil {
82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
83 if ms.LoadMessageInfo() == nil {
84 ms.StoreMessageInfo(mi)
85 }
86 return ms
87 }
88 return mi.MessageOf(x)
89 }
90
91
92 func (*MessageSetContainer) Descriptor() ([]byte, []int) {
93 return file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescGZIP(), []int{1}
94 }
95
96 func (x *MessageSetContainer) GetMessageSet() *MessageSet {
97 if x != nil {
98 return x.MessageSet
99 }
100 return nil
101 }
102
103 var File_internal_testprotos_messageset_messagesetpb_message_set_proto protoreflect.FileDescriptor
104
105 var file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDesc = []byte{
106 0x0a, 0x3d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
107 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74,
108 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x70, 0x62, 0x2f, 0x6d, 0x65,
109 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
110 0x18, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d,
111 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73,
112 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff,
113 0x07, 0x3a, 0x02, 0x08, 0x01, 0x22, 0x5c, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
114 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x0b,
115 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
116 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74,
117 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73,
118 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x52, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
119 0x53, 0x65, 0x74, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
120 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
121 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
122 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74,
123 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x70, 0x62,
124 }
125
126 var (
127 file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescOnce sync.Once
128 file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescData = file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDesc
129 )
130
131 func file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescGZIP() []byte {
132 file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescOnce.Do(func() {
133 file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescData)
134 })
135 return file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescData
136 }
137
138 var file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
139 var file_internal_testprotos_messageset_messagesetpb_message_set_proto_goTypes = []interface{}{
140 (*MessageSet)(nil),
141 (*MessageSetContainer)(nil),
142 }
143 var file_internal_testprotos_messageset_messagesetpb_message_set_proto_depIdxs = []int32{
144 0,
145 1,
146 1,
147 1,
148 1,
149 0,
150 }
151
152 func init() { file_internal_testprotos_messageset_messagesetpb_message_set_proto_init() }
153 func file_internal_testprotos_messageset_messagesetpb_message_set_proto_init() {
154 if File_internal_testprotos_messageset_messagesetpb_message_set_proto != nil {
155 return
156 }
157 if !protoimpl.UnsafeEnabled {
158 file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
159 switch v := v.(*MessageSet); i {
160 case 0:
161 return &v.state
162 case 1:
163 return &v.sizeCache
164 case 2:
165 return &v.unknownFields
166 case 3:
167 return &v.extensionFields
168 default:
169 return nil
170 }
171 }
172 file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
173 switch v := v.(*MessageSetContainer); i {
174 case 0:
175 return &v.state
176 case 1:
177 return &v.sizeCache
178 case 2:
179 return &v.unknownFields
180 default:
181 return nil
182 }
183 }
184 }
185 type x struct{}
186 out := protoimpl.TypeBuilder{
187 File: protoimpl.DescBuilder{
188 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
189 RawDescriptor: file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDesc,
190 NumEnums: 0,
191 NumMessages: 2,
192 NumExtensions: 0,
193 NumServices: 0,
194 },
195 GoTypes: file_internal_testprotos_messageset_messagesetpb_message_set_proto_goTypes,
196 DependencyIndexes: file_internal_testprotos_messageset_messagesetpb_message_set_proto_depIdxs,
197 MessageInfos: file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes,
198 }.Build()
199 File_internal_testprotos_messageset_messagesetpb_message_set_proto = out.File
200 file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDesc = nil
201 file_internal_testprotos_messageset_messagesetpb_message_set_proto_goTypes = nil
202 file_internal_testprotos_messageset_messagesetpb_message_set_proto_depIdxs = nil
203 }
204
View as plain text