1// Code generated by protoc-gen-gogo. DO NOT EDIT.
2// source: extension_base/extension_base.proto
3
4package extension_base
5
6import (
7	fmt "fmt"
8	proto "github.com/gogo/protobuf/proto"
9	math "math"
10)
11
12// Reference imports to suppress errors if they are not otherwise used.
13var _ = proto.Marshal
14var _ = fmt.Errorf
15var _ = math.Inf
16
17// This is a compile-time assertion to ensure that this generated file
18// is compatible with the proto package it is being compiled against.
19// A compilation error at this line likely means your copy of the
20// proto package needs to be updated.
21const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
22
23type BaseMessage struct {
24	Height                       *int32   `protobuf:"varint,1,opt,name=height" json:"height,omitempty"`
25	XXX_NoUnkeyedLiteral         struct{} `json:"-"`
26	proto.XXX_InternalExtensions `json:"-"`
27	XXX_unrecognized             []byte `json:"-"`
28	XXX_sizecache                int32  `json:"-"`
29}
30
31func (m *BaseMessage) Reset()         { *m = BaseMessage{} }
32func (m *BaseMessage) String() string { return proto.CompactTextString(m) }
33func (*BaseMessage) ProtoMessage()    {}
34func (*BaseMessage) Descriptor() ([]byte, []int) {
35	return fileDescriptor_2fbd53bac0b7ca8a, []int{0}
36}
37
38var extRange_BaseMessage = []proto.ExtensionRange{
39	{Start: 4, End: 9},
40	{Start: 16, End: 536870911},
41}
42
43func (*BaseMessage) ExtensionRangeArray() []proto.ExtensionRange {
44	return extRange_BaseMessage
45}
46
47func (m *BaseMessage) XXX_Unmarshal(b []byte) error {
48	return xxx_messageInfo_BaseMessage.Unmarshal(m, b)
49}
50func (m *BaseMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
51	return xxx_messageInfo_BaseMessage.Marshal(b, m, deterministic)
52}
53func (m *BaseMessage) XXX_Merge(src proto.Message) {
54	xxx_messageInfo_BaseMessage.Merge(m, src)
55}
56func (m *BaseMessage) XXX_Size() int {
57	return xxx_messageInfo_BaseMessage.Size(m)
58}
59func (m *BaseMessage) XXX_DiscardUnknown() {
60	xxx_messageInfo_BaseMessage.DiscardUnknown(m)
61}
62
63var xxx_messageInfo_BaseMessage proto.InternalMessageInfo
64
65func (m *BaseMessage) GetHeight() int32 {
66	if m != nil && m.Height != nil {
67		return *m.Height
68	}
69	return 0
70}
71
72// Another message that may be extended, using message_set_wire_format.
73type OldStyleMessage struct {
74	XXX_NoUnkeyedLiteral         struct{} `json:"-"`
75	proto.XXX_InternalExtensions `protobuf_messageset:"1" json:"-"`
76	XXX_unrecognized             []byte `json:"-"`
77	XXX_sizecache                int32  `json:"-"`
78}
79
80func (m *OldStyleMessage) Reset()         { *m = OldStyleMessage{} }
81func (m *OldStyleMessage) String() string { return proto.CompactTextString(m) }
82func (*OldStyleMessage) ProtoMessage()    {}
83func (*OldStyleMessage) Descriptor() ([]byte, []int) {
84	return fileDescriptor_2fbd53bac0b7ca8a, []int{1}
85}
86
87var extRange_OldStyleMessage = []proto.ExtensionRange{
88	{Start: 100, End: 2147483646},
89}
90
91func (*OldStyleMessage) ExtensionRangeArray() []proto.ExtensionRange {
92	return extRange_OldStyleMessage
93}
94
95func (m *OldStyleMessage) XXX_Unmarshal(b []byte) error {
96	return xxx_messageInfo_OldStyleMessage.Unmarshal(m, b)
97}
98func (m *OldStyleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
99	return xxx_messageInfo_OldStyleMessage.Marshal(b, m, deterministic)
100}
101func (m *OldStyleMessage) XXX_Merge(src proto.Message) {
102	xxx_messageInfo_OldStyleMessage.Merge(m, src)
103}
104func (m *OldStyleMessage) XXX_Size() int {
105	return xxx_messageInfo_OldStyleMessage.Size(m)
106}
107func (m *OldStyleMessage) XXX_DiscardUnknown() {
108	xxx_messageInfo_OldStyleMessage.DiscardUnknown(m)
109}
110
111var xxx_messageInfo_OldStyleMessage proto.InternalMessageInfo
112
113func init() {
114	proto.RegisterType((*BaseMessage)(nil), "extension_base.BaseMessage")
115	proto.RegisterType((*OldStyleMessage)(nil), "extension_base.OldStyleMessage")
116}
117
118func init() {
119	proto.RegisterFile("extension_base/extension_base.proto", fileDescriptor_2fbd53bac0b7ca8a)
120}
121
122var fileDescriptor_2fbd53bac0b7ca8a = []byte{
123	// 175 bytes of a gzipped FileDescriptorProto
124	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xad, 0x28, 0x49,
125	0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0x8b, 0x4f, 0x4a, 0x2c, 0x4e, 0xd5, 0x47, 0xe5, 0xea, 0x15, 0x14,
126	0xe5, 0x97, 0xe4, 0x0b, 0xf1, 0xa1, 0x8a, 0x2a, 0x99, 0x72, 0x71, 0x3b, 0x25, 0x16, 0xa7, 0xfa,
127	0xa6, 0x16, 0x17, 0x27, 0xa6, 0xa7, 0x0a, 0x89, 0x71, 0xb1, 0x65, 0xa4, 0x66, 0xa6, 0x67, 0x94,
128	0x48, 0x30, 0x2a, 0x30, 0x6a, 0xb0, 0x06, 0x41, 0x79, 0x5a, 0x2c, 0x1c, 0x2c, 0x02, 0x5c, 0x5a,
129	0x1c, 0x1c, 0x02, 0x02, 0x0d, 0x0d, 0x0d, 0x0d, 0x4c, 0x4a, 0xf2, 0x5c, 0xfc, 0xfe, 0x39, 0x29,
130	0xc1, 0x25, 0x95, 0x39, 0x30, 0xad, 0x5a, 0x1c, 0x1c, 0x29, 0x02, 0xff, 0xff, 0xff, 0xff, 0xcf,
131	0x6e, 0xc5, 0xc4, 0xc1, 0xe8, 0xe4, 0x14, 0xe5, 0x90, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97,
132	0x9c, 0x9f, 0xab, 0x9f, 0x9e, 0x9f, 0x9e, 0xaf, 0x0f, 0x76, 0x40, 0x52, 0x69, 0x1a, 0x84, 0x91,
133	0xac, 0x9b, 0x9e, 0x9a, 0xa7, 0x0b, 0x96, 0x28, 0x49, 0x2d, 0x2e, 0x49, 0x49, 0x2c, 0x49, 0x44,
134	0x73, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x60, 0xef, 0xa3, 0xb7, 0xd1, 0x00, 0x00, 0x00,
135}
136