github.com/gogo/protobuf@v1.3.2/protoc-gen-gogo/testdata/import_public/sub/b.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: import_public/sub/b.proto
     3  
     4  package sub
     5  
     6  import (
     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.
    13  var _ = proto.Marshal
    14  var _ = fmt.Errorf
    15  var _ = 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.
    21  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    22  
    23  type M2 struct {
    24  	XXX_NoUnkeyedLiteral         struct{} `json:"-"`
    25  	proto.XXX_InternalExtensions `json:"-"`
    26  	XXX_unrecognized             []byte `json:"-"`
    27  	XXX_sizecache                int32  `json:"-"`
    28  }
    29  
    30  func (m *M2) Reset()         { *m = M2{} }
    31  func (m *M2) String() string { return proto.CompactTextString(m) }
    32  func (*M2) ProtoMessage()    {}
    33  func (*M2) Descriptor() ([]byte, []int) {
    34  	return fileDescriptor_fc66afda3d7c2232, []int{0}
    35  }
    36  
    37  var extRange_M2 = []proto.ExtensionRange{
    38  	{Start: 1, End: 536870911},
    39  }
    40  
    41  func (*M2) ExtensionRangeArray() []proto.ExtensionRange {
    42  	return extRange_M2
    43  }
    44  
    45  func (m *M2) XXX_Unmarshal(b []byte) error {
    46  	return xxx_messageInfo_M2.Unmarshal(m, b)
    47  }
    48  func (m *M2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    49  	return xxx_messageInfo_M2.Marshal(b, m, deterministic)
    50  }
    51  func (m *M2) XXX_Merge(src proto.Message) {
    52  	xxx_messageInfo_M2.Merge(m, src)
    53  }
    54  func (m *M2) XXX_Size() int {
    55  	return xxx_messageInfo_M2.Size(m)
    56  }
    57  func (m *M2) XXX_DiscardUnknown() {
    58  	xxx_messageInfo_M2.DiscardUnknown(m)
    59  }
    60  
    61  var xxx_messageInfo_M2 proto.InternalMessageInfo
    62  
    63  func init() {
    64  	proto.RegisterType((*M2)(nil), "goproto.test.import_public.sub.M2")
    65  }
    66  
    67  func init() { proto.RegisterFile("import_public/sub/b.proto", fileDescriptor_fc66afda3d7c2232) }
    68  
    69  var fileDescriptor_fc66afda3d7c2232 = []byte{
    70  	// 129 bytes of a gzipped FileDescriptorProto
    71  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0xcc, 0x2d, 0xc8,
    72  	0x2f, 0x2a, 0x89, 0x2f, 0x28, 0x4d, 0xca, 0xc9, 0x4c, 0xd6, 0x2f, 0x2e, 0x4d, 0xd2, 0x4f, 0xd2,
    73  	0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x4b, 0xcf, 0x07, 0x33, 0xf4, 0x4a, 0x52, 0x8b, 0x4b,
    74  	0xf4, 0x50, 0xd4, 0xe9, 0x15, 0x97, 0x26, 0x29, 0xf1, 0x71, 0x31, 0xf9, 0x1a, 0x69, 0x71, 0x70,
    75  	0x30, 0x0a, 0x34, 0x34, 0x34, 0x34, 0x30, 0x39, 0xb9, 0x46, 0x39, 0xa7, 0x67, 0x96, 0x64, 0x94,
    76  	0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xa7, 0xe7, 0xeb, 0x83, 0xf5, 0x27, 0x95, 0xa6,
    77  	0x41, 0x18, 0xc9, 0xba, 0xe9, 0xa9, 0x79, 0xba, 0x60, 0x09, 0x90, 0x91, 0x29, 0x89, 0x25, 0x89,
    78  	0xfa, 0x18, 0xd6, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x3c, 0x08, 0x57, 0x92, 0x00, 0x00,
    79  	0x00,
    80  }