1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: imports/test_import_a1m1.proto 3 4package imports // import "github.com/golang/protobuf/protoc-gen-go/testdata/imports" 5 6import proto "github.com/golang/protobuf/proto" 7import fmt "fmt" 8import math "math" 9import test_a_1 "github.com/golang/protobuf/protoc-gen-go/testdata/imports/test_a_1" 10 11// Reference imports to suppress errors if they are not otherwise used. 12var _ = proto.Marshal 13var _ = fmt.Errorf 14var _ = math.Inf 15 16// This is a compile-time assertion to ensure that this generated file 17// is compatible with the proto package it is being compiled against. 18// A compilation error at this line likely means your copy of the 19// proto package needs to be updated. 20const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 21 22type A1M1 struct { 23 F *test_a_1.M1 `protobuf:"bytes,1,opt,name=f,proto3" json:"f,omitempty"` 24 XXX_NoUnkeyedLiteral struct{} `json:"-"` 25 XXX_unrecognized []byte `json:"-"` 26 XXX_sizecache int32 `json:"-"` 27} 28 29func (m *A1M1) Reset() { *m = A1M1{} } 30func (m *A1M1) String() string { return proto.CompactTextString(m) } 31func (*A1M1) ProtoMessage() {} 32func (*A1M1) Descriptor() ([]byte, []int) { 33 return fileDescriptor_test_import_a1m1_d7f2b5c638a69f6e, []int{0} 34} 35func (m *A1M1) XXX_Unmarshal(b []byte) error { 36 return xxx_messageInfo_A1M1.Unmarshal(m, b) 37} 38func (m *A1M1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 39 return xxx_messageInfo_A1M1.Marshal(b, m, deterministic) 40} 41func (dst *A1M1) XXX_Merge(src proto.Message) { 42 xxx_messageInfo_A1M1.Merge(dst, src) 43} 44func (m *A1M1) XXX_Size() int { 45 return xxx_messageInfo_A1M1.Size(m) 46} 47func (m *A1M1) XXX_DiscardUnknown() { 48 xxx_messageInfo_A1M1.DiscardUnknown(m) 49} 50 51var xxx_messageInfo_A1M1 proto.InternalMessageInfo 52 53func (m *A1M1) GetF() *test_a_1.M1 { 54 if m != nil { 55 return m.F 56 } 57 return nil 58} 59 60func init() { 61 proto.RegisterType((*A1M1)(nil), "test.A1M1") 62} 63 64func init() { 65 proto.RegisterFile("imports/test_import_a1m1.proto", fileDescriptor_test_import_a1m1_d7f2b5c638a69f6e) 66} 67 68var fileDescriptor_test_import_a1m1_d7f2b5c638a69f6e = []byte{ 69 // 149 bytes of a gzipped FileDescriptorProto 70 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcb, 0xcc, 0x2d, 0xc8, 71 0x2f, 0x2a, 0x29, 0xd6, 0x2f, 0x49, 0x2d, 0x2e, 0x89, 0x87, 0x70, 0xe2, 0x13, 0x0d, 0x73, 0x0d, 72 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x58, 0x40, 0xe2, 0x52, 0x92, 0x28, 0xaa, 0x12, 0xe3, 73 0x0d, 0xf5, 0x61, 0x0a, 0x94, 0x14, 0xb8, 0x58, 0x1c, 0x0d, 0x7d, 0x0d, 0x85, 0x24, 0xb8, 0x18, 74 0xd3, 0x24, 0x18, 0x15, 0x18, 0x35, 0xb8, 0x8d, 0xb8, 0xf4, 0x40, 0xca, 0xf4, 0x12, 0xf5, 0x7c, 75 0x0d, 0x83, 0x18, 0xd3, 0x9c, 0xac, 0xa3, 0x2c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 76 0xf3, 0x73, 0xf5, 0xd3, 0xf3, 0x73, 0x12, 0xf3, 0xd2, 0xf5, 0xc1, 0x9a, 0x93, 0x4a, 0xd3, 0x20, 77 0x8c, 0x64, 0xdd, 0xf4, 0xd4, 0x3c, 0xdd, 0xf4, 0x7c, 0xb0, 0xf9, 0x29, 0x89, 0x25, 0x89, 0xfa, 78 0x50, 0x0b, 0x93, 0xd8, 0xc0, 0xf2, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x84, 0x2f, 0x18, 79 0x23, 0xa8, 0x00, 0x00, 0x00, 80} 81