Damien Neil | e475eaa | 2019-01-26 14:24:59 -0800 | [diff] [blame^] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: test_public.proto |
| 3 | |
| 4 | package test |
| 5 | |
| 6 | import ( |
| 7 | bytes "bytes" |
| 8 | gzip "compress/gzip" |
| 9 | proto "github.com/golang/protobuf/proto" |
| 10 | protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect" |
| 11 | protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl" |
| 12 | reflect "reflect" |
| 13 | ) |
| 14 | |
| 15 | // This is a compile-time assertion to ensure that this generated file |
| 16 | // is compatible with the proto package it is being compiled against. |
| 17 | // A compilation error at this line likely means your copy of the |
| 18 | // proto package needs to be updated. |
| 19 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 20 | |
| 21 | type PublicImportMessage struct { |
| 22 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 23 | XXX_unrecognized []byte `json:"-"` |
| 24 | XXX_sizecache int32 `json:"-"` |
| 25 | } |
| 26 | |
| 27 | func (m *PublicImportMessage) ProtoReflect() protoreflect.Message { |
| 28 | return xxx_TestPublic_protoFile_messageTypes[0].MessageOf(m) |
| 29 | } |
| 30 | func (m *PublicImportMessage) Reset() { *m = PublicImportMessage{} } |
| 31 | func (m *PublicImportMessage) String() string { return proto.CompactTextString(m) } |
| 32 | func (*PublicImportMessage) ProtoMessage() {} |
| 33 | func (*PublicImportMessage) Descriptor() ([]byte, []int) { |
| 34 | return fileDescriptor_36dd44afd5b47374_gzipped, []int{0} |
| 35 | } |
| 36 | |
| 37 | func (m *PublicImportMessage) XXX_Unmarshal(b []byte) error { |
| 38 | return xxx_messageInfo_PublicImportMessage.Unmarshal(m, b) |
| 39 | } |
| 40 | func (m *PublicImportMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 41 | return xxx_messageInfo_PublicImportMessage.Marshal(b, m, deterministic) |
| 42 | } |
| 43 | func (m *PublicImportMessage) XXX_Merge(src proto.Message) { |
| 44 | xxx_messageInfo_PublicImportMessage.Merge(m, src) |
| 45 | } |
| 46 | func (m *PublicImportMessage) XXX_Size() int { |
| 47 | return xxx_messageInfo_PublicImportMessage.Size(m) |
| 48 | } |
| 49 | func (m *PublicImportMessage) XXX_DiscardUnknown() { |
| 50 | xxx_messageInfo_PublicImportMessage.DiscardUnknown(m) |
| 51 | } |
| 52 | |
| 53 | var xxx_messageInfo_PublicImportMessage proto.InternalMessageInfo |
| 54 | |
| 55 | func init() { |
| 56 | proto.RegisterFile("test_public.proto", fileDescriptor_36dd44afd5b47374_gzipped) |
| 57 | proto.RegisterType((*PublicImportMessage)(nil), "goproto.proto.test.PublicImportMessage") |
| 58 | } |
| 59 | |
| 60 | var fileDescriptor_36dd44afd5b47374 = []byte{ |
| 61 | // 120 bytes of the wire-encoded FileDescriptorProto |
| 62 | 0x0a, 0x11, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2e, 0x70, 0x72, |
| 63 | 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, |
| 64 | 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x50, 0x75, 0x62, 0x6c, 0x69, |
| 65 | 0x63, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x38, |
| 66 | 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, |
| 67 | 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, |
| 68 | 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, |
| 69 | 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, |
| 70 | } |
| 71 | |
| 72 | var fileDescriptor_36dd44afd5b47374_gzipped = func() []byte { |
| 73 | bb := new(bytes.Buffer) |
| 74 | zw, _ := gzip.NewWriterLevel(bb, gzip.NoCompression) |
| 75 | zw.Write(fileDescriptor_36dd44afd5b47374) |
| 76 | zw.Close() |
| 77 | return bb.Bytes() |
| 78 | }() |
| 79 | |
| 80 | const _ = protoimpl.EnforceVersion(protoimpl.Version - 0) |
| 81 | |
| 82 | var TestPublic_protoFile protoreflect.FileDescriptor |
| 83 | |
| 84 | var xxx_TestPublic_protoFile_messageTypes [1]protoimpl.MessageType |
| 85 | var xxx_TestPublic_protoFile_goTypes = []interface{}{ |
| 86 | (*PublicImportMessage)(nil), // 0: goproto.proto.test.PublicImportMessage |
| 87 | } |
| 88 | var xxx_TestPublic_protoFile_depIdxs = []int32{} |
| 89 | |
| 90 | func init() { |
| 91 | var messageTypes [1]protoreflect.MessageType |
| 92 | TestPublic_protoFile = protoimpl.FileBuilder{ |
| 93 | RawDescriptor: fileDescriptor_36dd44afd5b47374, |
| 94 | GoTypes: xxx_TestPublic_protoFile_goTypes, |
| 95 | DependencyIndexes: xxx_TestPublic_protoFile_depIdxs, |
| 96 | MessageOutputTypes: messageTypes[:], |
| 97 | }.Init() |
| 98 | messageGoTypes := xxx_TestPublic_protoFile_goTypes[0:][:1] |
| 99 | for i, mt := range messageTypes[:] { |
| 100 | xxx_TestPublic_protoFile_messageTypes[i].GoType = reflect.TypeOf(messageGoTypes[i]) |
| 101 | xxx_TestPublic_protoFile_messageTypes[i].PBType = mt |
| 102 | } |
| 103 | xxx_TestPublic_protoFile_goTypes = nil |
| 104 | xxx_TestPublic_protoFile_depIdxs = nil |
| 105 | } |