github.com/gogo/protobuf@v1.3.2/protoc-gen-gogo/testdata/imports/test_import_all.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: imports/test_import_all.proto
     3  
     4  package imports
     5  
     6  import (
     7  	fmt "fmt"
     8  	proto "github.com/gogo/protobuf/proto"
     9  	fmt1 "github.com/gogo/protobuf/protoc-gen-gogo/testdata/imports/fmt"
    10  	test_a_1 "github.com/gogo/protobuf/protoc-gen-gogo/testdata/imports/test_a_1"
    11  	test_a_2 "github.com/gogo/protobuf/protoc-gen-gogo/testdata/imports/test_a_2"
    12  	test_b_1 "github.com/gogo/protobuf/protoc-gen-gogo/testdata/imports/test_b_1"
    13  	math "math"
    14  )
    15  
    16  // Reference imports to suppress errors if they are not otherwise used.
    17  var _ = proto.Marshal
    18  var _ = fmt.Errorf
    19  var _ = math.Inf
    20  
    21  // This is a compile-time assertion to ensure that this generated file
    22  // is compatible with the proto package it is being compiled against.
    23  // A compilation error at this line likely means your copy of the
    24  // proto package needs to be updated.
    25  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    26  
    27  type All struct {
    28  	Am1                  *test_a_1.M1 `protobuf:"bytes,1,opt,name=am1,proto3" json:"am1,omitempty"`
    29  	Am2                  *test_a_1.M2 `protobuf:"bytes,2,opt,name=am2,proto3" json:"am2,omitempty"`
    30  	Am3                  *test_a_2.M3 `protobuf:"bytes,3,opt,name=am3,proto3" json:"am3,omitempty"`
    31  	Am4                  *test_a_2.M4 `protobuf:"bytes,4,opt,name=am4,proto3" json:"am4,omitempty"`
    32  	Bm1                  *test_b_1.M1 `protobuf:"bytes,5,opt,name=bm1,proto3" json:"bm1,omitempty"`
    33  	Bm2                  *test_b_1.M2 `protobuf:"bytes,6,opt,name=bm2,proto3" json:"bm2,omitempty"`
    34  	Fmt                  *fmt1.M      `protobuf:"bytes,7,opt,name=fmt,proto3" json:"fmt,omitempty"`
    35  	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
    36  	XXX_unrecognized     []byte       `json:"-"`
    37  	XXX_sizecache        int32        `json:"-"`
    38  }
    39  
    40  func (m *All) Reset()         { *m = All{} }
    41  func (m *All) String() string { return proto.CompactTextString(m) }
    42  func (*All) ProtoMessage()    {}
    43  func (*All) Descriptor() ([]byte, []int) {
    44  	return fileDescriptor_324466f0afc16f77, []int{0}
    45  }
    46  func (m *All) XXX_Unmarshal(b []byte) error {
    47  	return xxx_messageInfo_All.Unmarshal(m, b)
    48  }
    49  func (m *All) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    50  	return xxx_messageInfo_All.Marshal(b, m, deterministic)
    51  }
    52  func (m *All) XXX_Merge(src proto.Message) {
    53  	xxx_messageInfo_All.Merge(m, src)
    54  }
    55  func (m *All) XXX_Size() int {
    56  	return xxx_messageInfo_All.Size(m)
    57  }
    58  func (m *All) XXX_DiscardUnknown() {
    59  	xxx_messageInfo_All.DiscardUnknown(m)
    60  }
    61  
    62  var xxx_messageInfo_All proto.InternalMessageInfo
    63  
    64  func (m *All) GetAm1() *test_a_1.M1 {
    65  	if m != nil {
    66  		return m.Am1
    67  	}
    68  	return nil
    69  }
    70  
    71  func (m *All) GetAm2() *test_a_1.M2 {
    72  	if m != nil {
    73  		return m.Am2
    74  	}
    75  	return nil
    76  }
    77  
    78  func (m *All) GetAm3() *test_a_2.M3 {
    79  	if m != nil {
    80  		return m.Am3
    81  	}
    82  	return nil
    83  }
    84  
    85  func (m *All) GetAm4() *test_a_2.M4 {
    86  	if m != nil {
    87  		return m.Am4
    88  	}
    89  	return nil
    90  }
    91  
    92  func (m *All) GetBm1() *test_b_1.M1 {
    93  	if m != nil {
    94  		return m.Bm1
    95  	}
    96  	return nil
    97  }
    98  
    99  func (m *All) GetBm2() *test_b_1.M2 {
   100  	if m != nil {
   101  		return m.Bm2
   102  	}
   103  	return nil
   104  }
   105  
   106  func (m *All) GetFmt() *fmt1.M {
   107  	if m != nil {
   108  		return m.Fmt
   109  	}
   110  	return nil
   111  }
   112  
   113  func init() {
   114  	proto.RegisterType((*All)(nil), "test.All")
   115  }
   116  
   117  func init() { proto.RegisterFile("imports/test_import_all.proto", fileDescriptor_324466f0afc16f77) }
   118  
   119  var fileDescriptor_324466f0afc16f77 = []byte{
   120  	// 258 bytes of a gzipped FileDescriptorProto
   121  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0xd0, 0x31, 0x4f, 0xf3, 0x30,
   122  	0x10, 0x06, 0x60, 0xe5, 0x73, 0xbf, 0x20, 0x99, 0x05, 0x85, 0xc5, 0x20, 0x90, 0x50, 0x27, 0x96,
   123  	0xda, 0xb2, 0x9d, 0x05, 0x31, 0xc1, 0xde, 0xa5, 0x23, 0x4b, 0xe4, 0x2b, 0x4d, 0xa8, 0x94, 0xc3,
   124  	0x51, 0x7a, 0xfd, 0xbd, 0xfc, 0x15, 0x64, 0x1f, 0x48, 0x10, 0x9a, 0x2d, 0x79, 0x9f, 0xd7, 0x3e,
   125  	0xdb, 0xf2, 0x76, 0x8f, 0x43, 0x1c, 0xe9, 0x60, 0x68, 0x77, 0xa0, 0x86, 0x7f, 0x9a, 0xd0, 0xf7,
   126  	0x7a, 0x18, 0x23, 0xc5, 0x6a, 0x91, 0xe2, 0xeb, 0xab, 0x5f, 0xa5, 0xd0, 0x58, 0x83, 0x96, 0x0b,
   127  	0xa7, 0xc8, 0xcd, 0x90, 0x33, 0xe8, 0xe7, 0xa9, 0x3e, 0x49, 0x30, 0x3f, 0x0b, 0x7e, 0xce, 0xba,
   128  	0xfc, 0xa6, 0x16, 0xc9, 0x20, 0x87, 0xcb, 0x8f, 0x42, 0x8a, 0xa7, 0xbe, 0xaf, 0x6e, 0xa4, 0x08,
   129  	0x68, 0x55, 0x71, 0x57, 0xdc, 0x9f, 0x3b, 0xa9, 0xd3, 0x6a, 0x1d, 0xf4, 0xda, 0x6e, 0x52, 0xcc,
   130  	0xea, 0xd4, 0xbf, 0x89, 0xba, 0xa4, 0x8e, 0xd5, 0x2b, 0x31, 0x51, 0x9f, 0xd4, 0xb3, 0xd6, 0x6a,
   131  	0x31, 0xd1, 0x3a, 0x69, 0x5d, 0x2d, 0xa5, 0x00, 0xb4, 0xea, 0x7f, 0xd6, 0x0b, 0x56, 0xd0, 0x43,
   132  	0x18, 0xc9, 0xe6, 0xe9, 0x80, 0x96, 0x3b, 0x4e, 0x95, 0x7f, 0x3b, 0x2e, 0x9f, 0x01, 0xd0, 0x55,
   133  	0x4a, 0x8a, 0x16, 0x49, 0x9d, 0xe5, 0x4e, 0xa9, 0x5b, 0x24, 0xbd, 0xde, 0xa4, 0xe8, 0xf9, 0xf1,
   134  	0xe5, 0xa1, 0xdb, 0xd3, 0xdb, 0x11, 0xf4, 0x36, 0xa2, 0xe9, 0x62, 0x17, 0x4d, 0xbe, 0x3a, 0x1c,
   135  	0x5b, 0xfe, 0xd8, 0xae, 0xba, 0xdd, 0xfb, 0x2a, 0x43, 0xda, 0xfa, 0x35, 0x50, 0x30, 0x5f, 0x4f,
   136  	0x05, 0x65, 0x6e, 0xf8, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7f, 0xd4, 0x5c, 0x7f, 0x03, 0x02,
   137  	0x00, 0x00,
   138  }