| // Code generated by protoc-gen-gogo. DO NOT EDIT. |
| // source: imports/test_import_all.proto |
| |
| package imports // import "github.com/gogo/protobuf/protoc-gen-gogo/testdata/imports" |
| |
| import proto "github.com/gogo/protobuf/proto" |
| import fmt "fmt" |
| import math "math" |
| import fmt1 "github.com/gogo/protobuf/protoc-gen-gogo/testdata/imports/fmt" |
| import test_a_1 "github.com/gogo/protobuf/protoc-gen-gogo/testdata/imports/test_a_1" |
| import test_a_2 "github.com/gogo/protobuf/protoc-gen-gogo/testdata/imports/test_a_2" |
| import test_b_1 "github.com/gogo/protobuf/protoc-gen-gogo/testdata/imports/test_b_1" |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| |
| type All struct { |
| Am1 *test_a_1.M1 `protobuf:"bytes,1,opt,name=am1" json:"am1,omitempty"` |
| Am2 *test_a_1.M2 `protobuf:"bytes,2,opt,name=am2" json:"am2,omitempty"` |
| Am3 *test_a_2.M3 `protobuf:"bytes,3,opt,name=am3" json:"am3,omitempty"` |
| Am4 *test_a_2.M4 `protobuf:"bytes,4,opt,name=am4" json:"am4,omitempty"` |
| Bm1 *test_b_1.M1 `protobuf:"bytes,5,opt,name=bm1" json:"bm1,omitempty"` |
| Bm2 *test_b_1.M2 `protobuf:"bytes,6,opt,name=bm2" json:"bm2,omitempty"` |
| Fmt *fmt1.M `protobuf:"bytes,7,opt,name=fmt" json:"fmt,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *All) Reset() { *m = All{} } |
| func (m *All) String() string { return proto.CompactTextString(m) } |
| func (*All) ProtoMessage() {} |
| func (*All) Descriptor() ([]byte, []int) { |
| return fileDescriptor_test_import_all_a07d58de416f602a, []int{0} |
| } |
| func (m *All) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_All.Unmarshal(m, b) |
| } |
| func (m *All) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_All.Marshal(b, m, deterministic) |
| } |
| func (dst *All) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_All.Merge(dst, src) |
| } |
| func (m *All) XXX_Size() int { |
| return xxx_messageInfo_All.Size(m) |
| } |
| func (m *All) XXX_DiscardUnknown() { |
| xxx_messageInfo_All.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_All proto.InternalMessageInfo |
| |
| func (m *All) GetAm1() *test_a_1.M1 { |
| if m != nil { |
| return m.Am1 |
| } |
| return nil |
| } |
| |
| func (m *All) GetAm2() *test_a_1.M2 { |
| if m != nil { |
| return m.Am2 |
| } |
| return nil |
| } |
| |
| func (m *All) GetAm3() *test_a_2.M3 { |
| if m != nil { |
| return m.Am3 |
| } |
| return nil |
| } |
| |
| func (m *All) GetAm4() *test_a_2.M4 { |
| if m != nil { |
| return m.Am4 |
| } |
| return nil |
| } |
| |
| func (m *All) GetBm1() *test_b_1.M1 { |
| if m != nil { |
| return m.Bm1 |
| } |
| return nil |
| } |
| |
| func (m *All) GetBm2() *test_b_1.M2 { |
| if m != nil { |
| return m.Bm2 |
| } |
| return nil |
| } |
| |
| func (m *All) GetFmt() *fmt1.M { |
| if m != nil { |
| return m.Fmt |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*All)(nil), "test.All") |
| } |
| |
| func init() { |
| proto.RegisterFile("imports/test_import_all.proto", fileDescriptor_test_import_all_a07d58de416f602a) |
| } |
| |
| var fileDescriptor_test_import_all_a07d58de416f602a = []byte{ |
| // 258 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74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