blob: c75905d6b14adcf9f283a7e0ae34e0f904390a46 [file] [log] [blame]
Damien Neile475eaa2019-01-26 14:24:59 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: test_public.proto
3
4package test
5
6import (
Damien Neile475eaa2019-01-26 14:24:59 -08007 proto "github.com/golang/protobuf/proto"
Joe Tsaicf81e672019-02-28 14:08:31 -08008 protoapi "github.com/golang/protobuf/protoapi"
Damien Neile475eaa2019-01-26 14:24:59 -08009 protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
10 protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
11 reflect "reflect"
12)
13
14// This is a compile-time assertion to ensure that this generated file
15// is compatible with the proto package it is being compiled against.
16// A compilation error at this line likely means your copy of the
17// proto package needs to be updated.
18const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
19
20type PublicImportMessage struct {
21 XXX_NoUnkeyedLiteral struct{} `json:"-"`
22 XXX_unrecognized []byte `json:"-"`
23 XXX_sizecache int32 `json:"-"`
24}
25
26func (m *PublicImportMessage) ProtoReflect() protoreflect.Message {
Damien Neil71c66032019-02-20 16:13:57 -080027 return xxx_ProtoFile_test_public_messageTypes[0].MessageOf(m)
Damien Neile475eaa2019-01-26 14:24:59 -080028}
29func (m *PublicImportMessage) Reset() { *m = PublicImportMessage{} }
30func (m *PublicImportMessage) String() string { return proto.CompactTextString(m) }
31func (*PublicImportMessage) ProtoMessage() {}
32func (*PublicImportMessage) Descriptor() ([]byte, []int) {
33 return fileDescriptor_36dd44afd5b47374_gzipped, []int{0}
34}
35
36func (m *PublicImportMessage) XXX_Unmarshal(b []byte) error {
37 return xxx_messageInfo_PublicImportMessage.Unmarshal(m, b)
38}
39func (m *PublicImportMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
40 return xxx_messageInfo_PublicImportMessage.Marshal(b, m, deterministic)
41}
42func (m *PublicImportMessage) XXX_Merge(src proto.Message) {
43 xxx_messageInfo_PublicImportMessage.Merge(m, src)
44}
45func (m *PublicImportMessage) XXX_Size() int {
46 return xxx_messageInfo_PublicImportMessage.Size(m)
47}
48func (m *PublicImportMessage) XXX_DiscardUnknown() {
49 xxx_messageInfo_PublicImportMessage.DiscardUnknown(m)
50}
51
52var xxx_messageInfo_PublicImportMessage proto.InternalMessageInfo
53
54func init() {
55 proto.RegisterFile("test_public.proto", fileDescriptor_36dd44afd5b47374_gzipped)
56 proto.RegisterType((*PublicImportMessage)(nil), "goproto.proto.test.PublicImportMessage")
57}
58
59var fileDescriptor_36dd44afd5b47374 = []byte{
60 // 120 bytes of the wire-encoded FileDescriptorProto
61 0x0a, 0x11, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2e, 0x70, 0x72,
62 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
63 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x50, 0x75, 0x62, 0x6c, 0x69,
64 0x63, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x38,
65 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c,
66 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f,
67 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f,
68 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
69}
70
Joe Tsaicf81e672019-02-28 14:08:31 -080071var fileDescriptor_36dd44afd5b47374_gzipped = protoapi.CompressGZIP(fileDescriptor_36dd44afd5b47374)
Damien Neile475eaa2019-01-26 14:24:59 -080072
73const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
74
Damien Neil71c66032019-02-20 16:13:57 -080075var ProtoFile_test_public protoreflect.FileDescriptor
Damien Neile475eaa2019-01-26 14:24:59 -080076
Damien Neil71c66032019-02-20 16:13:57 -080077var xxx_ProtoFile_test_public_messageTypes [1]protoimpl.MessageType
78var xxx_ProtoFile_test_public_goTypes = []interface{}{
Damien Neile475eaa2019-01-26 14:24:59 -080079 (*PublicImportMessage)(nil), // 0: goproto.proto.test.PublicImportMessage
80}
Damien Neil71c66032019-02-20 16:13:57 -080081var xxx_ProtoFile_test_public_depIdxs = []int32{}
Damien Neile475eaa2019-01-26 14:24:59 -080082
83func init() {
84 var messageTypes [1]protoreflect.MessageType
Damien Neil71c66032019-02-20 16:13:57 -080085 ProtoFile_test_public = protoimpl.FileBuilder{
Damien Neile475eaa2019-01-26 14:24:59 -080086 RawDescriptor: fileDescriptor_36dd44afd5b47374,
Damien Neil71c66032019-02-20 16:13:57 -080087 GoTypes: xxx_ProtoFile_test_public_goTypes,
88 DependencyIndexes: xxx_ProtoFile_test_public_depIdxs,
Damien Neile475eaa2019-01-26 14:24:59 -080089 MessageOutputTypes: messageTypes[:],
90 }.Init()
Damien Neil71c66032019-02-20 16:13:57 -080091 messageGoTypes := xxx_ProtoFile_test_public_goTypes[0:][:1]
Damien Neile475eaa2019-01-26 14:24:59 -080092 for i, mt := range messageTypes[:] {
Damien Neil71c66032019-02-20 16:13:57 -080093 xxx_ProtoFile_test_public_messageTypes[i].GoType = reflect.TypeOf(messageGoTypes[i])
94 xxx_ProtoFile_test_public_messageTypes[i].PBType = mt
Damien Neile475eaa2019-01-26 14:24:59 -080095 }
Damien Neil71c66032019-02-20 16:13:57 -080096 xxx_ProtoFile_test_public_goTypes = nil
97 xxx_ProtoFile_test_public_depIdxs = nil
Damien Neile475eaa2019-01-26 14:24:59 -080098}