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