1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: extension_extra/extension_extra.proto 3 4package extension_extra // import "github.com/golang/protobuf/protoc-gen-go/testdata/extension_extra" 5 6import proto "github.com/golang/protobuf/proto" 7import fmt "fmt" 8import math "math" 9 10// Reference imports to suppress errors if they are not otherwise used. 11var _ = proto.Marshal 12var _ = fmt.Errorf 13var _ = math.Inf 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.ProtoPackageIsVersion2 // please upgrade the proto package 20 21type ExtraMessage struct { 22 Width *int32 `protobuf:"varint,1,opt,name=width" json:"width,omitempty"` 23 XXX_NoUnkeyedLiteral struct{} `json:"-"` 24 XXX_unrecognized []byte `json:"-"` 25 XXX_sizecache int32 `json:"-"` 26} 27 28func (m *ExtraMessage) Reset() { *m = ExtraMessage{} } 29func (m *ExtraMessage) String() string { return proto.CompactTextString(m) } 30func (*ExtraMessage) ProtoMessage() {} 31func (*ExtraMessage) Descriptor() ([]byte, []int) { 32 return fileDescriptor_extension_extra_83adf2410f49f816, []int{0} 33} 34func (m *ExtraMessage) XXX_Unmarshal(b []byte) error { 35 return xxx_messageInfo_ExtraMessage.Unmarshal(m, b) 36} 37func (m *ExtraMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 38 return xxx_messageInfo_ExtraMessage.Marshal(b, m, deterministic) 39} 40func (dst *ExtraMessage) XXX_Merge(src proto.Message) { 41 xxx_messageInfo_ExtraMessage.Merge(dst, src) 42} 43func (m *ExtraMessage) XXX_Size() int { 44 return xxx_messageInfo_ExtraMessage.Size(m) 45} 46func (m *ExtraMessage) XXX_DiscardUnknown() { 47 xxx_messageInfo_ExtraMessage.DiscardUnknown(m) 48} 49 50var xxx_messageInfo_ExtraMessage proto.InternalMessageInfo 51 52func (m *ExtraMessage) GetWidth() int32 { 53 if m != nil && m.Width != nil { 54 return *m.Width 55 } 56 return 0 57} 58 59func init() { 60 proto.RegisterType((*ExtraMessage)(nil), "extension_extra.ExtraMessage") 61} 62 63func init() { 64 proto.RegisterFile("extension_extra/extension_extra.proto", fileDescriptor_extension_extra_83adf2410f49f816) 65} 66 67var fileDescriptor_extension_extra_83adf2410f49f816 = []byte{ 68 // 133 bytes of a gzipped FileDescriptorProto 69 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4d, 0xad, 0x28, 0x49, 70 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0x8b, 0x4f, 0xad, 0x28, 0x29, 0x4a, 0xd4, 0x47, 0xe3, 0xeb, 0x15, 71 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0xf1, 0xa3, 0x09, 0x2b, 0xa9, 0x70, 0xf1, 0xb8, 0x82, 0x18, 0xbe, 72 0xa9, 0xc5, 0xc5, 0x89, 0xe9, 0xa9, 0x42, 0x22, 0x5c, 0xac, 0xe5, 0x99, 0x29, 0x25, 0x19, 0x12, 73 0x8c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x93, 0x73, 0x94, 0x63, 0x7a, 0x66, 0x49, 0x46, 74 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x3e, 0xd8, 0xc4, 75 0xa4, 0xd2, 0x34, 0x08, 0x23, 0x59, 0x37, 0x3d, 0x35, 0x4f, 0x37, 0x3d, 0x5f, 0xbf, 0x24, 0xb5, 76 0xb8, 0x24, 0x25, 0xb1, 0x04, 0xc3, 0x05, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf1, 0xec, 0xe3, 77 0xb7, 0xa3, 0x00, 0x00, 0x00, 78} 79