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 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15) 16 17type MessageSet struct { 18 state protoimpl.MessageState 19 sizeCache protoimpl.SizeCache 20 unknownFields protoimpl.UnknownFields 21 extensionFields protoimpl.ExtensionFields 22} 23 24func (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 33func (x *MessageSet) String() string { 34 return protoimpl.X.MessageStringOf(x) 35} 36 37func (*MessageSet) ProtoMessage() {} 38 39func (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// Deprecated: Use MessageSet.ProtoReflect.Descriptor instead. 52func (*MessageSet) Descriptor() ([]byte, []int) { 53 return file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescGZIP(), []int{0} 54} 55 56type 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 64func (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 73func (x *MessageSetContainer) String() string { 74 return protoimpl.X.MessageStringOf(x) 75} 76 77func (*MessageSetContainer) ProtoMessage() {} 78 79func (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// Deprecated: Use MessageSetContainer.ProtoReflect.Descriptor instead. 92func (*MessageSetContainer) Descriptor() ([]byte, []int) { 93 return file_internal_testprotos_messageset_messagesetpb_message_set_proto_rawDescGZIP(), []int{1} 94} 95 96func (x *MessageSetContainer) GetMessageSet() *MessageSet { 97 if x != nil { 98 return x.MessageSet 99 } 100 return nil 101} 102 103var File_internal_testprotos_messageset_messagesetpb_message_set_proto protoreflect.FileDescriptor 104 105var 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 126var ( 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 131func 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 138var file_internal_testprotos_messageset_messagesetpb_message_set_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 139var file_internal_testprotos_messageset_messagesetpb_message_set_proto_goTypes = []interface{}{ 140 (*MessageSet)(nil), // 0: goproto.proto.messageset.MessageSet 141 (*MessageSetContainer)(nil), // 1: goproto.proto.messageset.MessageSetContainer 142} 143var file_internal_testprotos_messageset_messagesetpb_message_set_proto_depIdxs = []int32{ 144 0, // 0: goproto.proto.messageset.MessageSetContainer.message_set:type_name -> goproto.proto.messageset.MessageSet 145 1, // [1:1] is the sub-list for method output_type 146 1, // [1:1] is the sub-list for method input_type 147 1, // [1:1] is the sub-list for extension type_name 148 1, // [1:1] is the sub-list for extension extendee 149 0, // [0:1] is the sub-list for field type_name 150} 151 152func init() { file_internal_testprotos_messageset_messagesetpb_message_set_proto_init() } 153func 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