blob: 2d010a065ee2fbaded09272cc831e490361326dd [file] [log] [blame]
Damien Neile475eaa2019-01-26 14:24:59 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: test_weak.proto
3
4package test
5
6import (
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.
19const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
20
21type WeakImportMessage struct {
22 XXX_NoUnkeyedLiteral struct{} `json:"-"`
23 XXX_unrecognized []byte `json:"-"`
24 XXX_sizecache int32 `json:"-"`
25}
26
27func (m *WeakImportMessage) ProtoReflect() protoreflect.Message {
28 return xxx_TestWeak_protoFile_messageTypes[0].MessageOf(m)
29}
30func (m *WeakImportMessage) Reset() { *m = WeakImportMessage{} }
31func (m *WeakImportMessage) String() string { return proto.CompactTextString(m) }
32func (*WeakImportMessage) ProtoMessage() {}
33func (*WeakImportMessage) Descriptor() ([]byte, []int) {
34 return fileDescriptor_c2b8edfebc4f71b3_gzipped, []int{0}
35}
36
37func (m *WeakImportMessage) XXX_Unmarshal(b []byte) error {
38 return xxx_messageInfo_WeakImportMessage.Unmarshal(m, b)
39}
40func (m *WeakImportMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
41 return xxx_messageInfo_WeakImportMessage.Marshal(b, m, deterministic)
42}
43func (m *WeakImportMessage) XXX_Merge(src proto.Message) {
44 xxx_messageInfo_WeakImportMessage.Merge(m, src)
45}
46func (m *WeakImportMessage) XXX_Size() int {
47 return xxx_messageInfo_WeakImportMessage.Size(m)
48}
49func (m *WeakImportMessage) XXX_DiscardUnknown() {
50 xxx_messageInfo_WeakImportMessage.DiscardUnknown(m)
51}
52
53var xxx_messageInfo_WeakImportMessage proto.InternalMessageInfo
54
55func init() {
56 proto.RegisterFile("test_weak.proto", fileDescriptor_c2b8edfebc4f71b3_gzipped)
57 proto.RegisterType((*WeakImportMessage)(nil), "goproto.proto.test.WeakImportMessage")
58}
59
60var fileDescriptor_c2b8edfebc4f71b3 = []byte{
61 // 116 bytes of the wire-encoded FileDescriptorProto
62 0x0a, 0x0f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x77, 0x65, 0x61, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74,
63 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
64 0x2e, 0x74, 0x65, 0x73, 0x74, 0x22, 0x13, 0x0a, 0x11, 0x57, 0x65, 0x61, 0x6b, 0x49, 0x6d, 0x70,
65 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69,
66 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f,
67 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65,
68 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f,
69 0x74, 0x65, 0x73, 0x74,
70}
71
72var fileDescriptor_c2b8edfebc4f71b3_gzipped = func() []byte {
73 bb := new(bytes.Buffer)
74 zw, _ := gzip.NewWriterLevel(bb, gzip.NoCompression)
75 zw.Write(fileDescriptor_c2b8edfebc4f71b3)
76 zw.Close()
77 return bb.Bytes()
78}()
79
80const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
81
82var TestWeak_protoFile protoreflect.FileDescriptor
83
84var xxx_TestWeak_protoFile_messageTypes [1]protoimpl.MessageType
85var xxx_TestWeak_protoFile_goTypes = []interface{}{
86 (*WeakImportMessage)(nil), // 0: goproto.proto.test.WeakImportMessage
87}
88var xxx_TestWeak_protoFile_depIdxs = []int32{}
89
90func init() {
91 var messageTypes [1]protoreflect.MessageType
92 TestWeak_protoFile = protoimpl.FileBuilder{
93 RawDescriptor: fileDescriptor_c2b8edfebc4f71b3,
94 GoTypes: xxx_TestWeak_protoFile_goTypes,
95 DependencyIndexes: xxx_TestWeak_protoFile_depIdxs,
96 MessageOutputTypes: messageTypes[:],
97 }.Init()
98 messageGoTypes := xxx_TestWeak_protoFile_goTypes[0:][:1]
99 for i, mt := range messageTypes[:] {
100 xxx_TestWeak_protoFile_messageTypes[i].GoType = reflect.TypeOf(messageGoTypes[i])
101 xxx_TestWeak_protoFile_messageTypes[i].PBType = mt
102 }
103 xxx_TestWeak_protoFile_goTypes = nil
104 xxx_TestWeak_protoFile_depIdxs = nil
105}