...

Source file src/github.com/gogo/protobuf/test/importdedup/proto.pb.go

Documentation: github.com/gogo/protobuf/test/importdedup

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: proto.proto
     3  
     4  package importdedup
     5  
     6  import (
     7  	fmt "fmt"
     8  	_ "github.com/gogo/protobuf/gogoproto"
     9  	proto "github.com/gogo/protobuf/proto"
    10  	github_com_gogo_protobuf_test_importdedup_subpkg "github.com/gogo/protobuf/test/importdedup/subpkg"
    11  	subpkg "github.com/gogo/protobuf/test/importdedup/subpkg"
    12  	math "math"
    13  )
    14  
    15  // Reference imports to suppress errors if they are not otherwise used.
    16  var _ = proto.Marshal
    17  var _ = fmt.Errorf
    18  var _ = math.Inf
    19  
    20  // This is a compile-time assertion to ensure that this generated file
    21  // is compatible with the proto package it is being compiled against.
    22  // A compilation error at this line likely means your copy of the
    23  // proto package needs to be updated.
    24  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    25  
    26  type Object struct {
    27  	CustomField          *github_com_gogo_protobuf_test_importdedup_subpkg.CustomType `protobuf:"bytes,1,opt,name=CustomField,customtype=github.com/gogo/protobuf/test/importdedup/subpkg.CustomType" json:"CustomField,omitempty"`
    28  	SubObject            *subpkg.SubObject                                            `protobuf:"bytes,2,opt,name=SubObject" json:"SubObject,omitempty"`
    29  	XXX_NoUnkeyedLiteral struct{}                                                     `json:"-"`
    30  	XXX_unrecognized     []byte                                                       `json:"-"`
    31  	XXX_sizecache        int32                                                        `json:"-"`
    32  }
    33  
    34  func (m *Object) Reset()         { *m = Object{} }
    35  func (m *Object) String() string { return proto.CompactTextString(m) }
    36  func (*Object) ProtoMessage()    {}
    37  func (*Object) Descriptor() ([]byte, []int) {
    38  	return fileDescriptor_2fcc84b9998d60d8, []int{0}
    39  }
    40  func (m *Object) XXX_Unmarshal(b []byte) error {
    41  	return xxx_messageInfo_Object.Unmarshal(m, b)
    42  }
    43  func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    44  	return xxx_messageInfo_Object.Marshal(b, m, deterministic)
    45  }
    46  func (m *Object) XXX_Merge(src proto.Message) {
    47  	xxx_messageInfo_Object.Merge(m, src)
    48  }
    49  func (m *Object) XXX_Size() int {
    50  	return xxx_messageInfo_Object.Size(m)
    51  }
    52  func (m *Object) XXX_DiscardUnknown() {
    53  	xxx_messageInfo_Object.DiscardUnknown(m)
    54  }
    55  
    56  var xxx_messageInfo_Object proto.InternalMessageInfo
    57  
    58  func (m *Object) GetSubObject() *subpkg.SubObject {
    59  	if m != nil {
    60  		return m.SubObject
    61  	}
    62  	return nil
    63  }
    64  
    65  func init() {
    66  	proto.RegisterType((*Object)(nil), "importdedup.Object")
    67  }
    68  
    69  func init() { proto.RegisterFile("proto.proto", fileDescriptor_2fcc84b9998d60d8) }
    70  
    71  var fileDescriptor_2fcc84b9998d60d8 = []byte{
    72  	// 175 bytes of a gzipped FileDescriptorProto
    73  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2e, 0x28, 0xca, 0x2f,
    74  	0xc9, 0xd7, 0x03, 0x93, 0x42, 0xdc, 0x99, 0xb9, 0x05, 0xf9, 0x45, 0x25, 0x29, 0xa9, 0x29, 0xa5,
    75  	0x05, 0x52, 0xba, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0xe9, 0xf9,
    76  	0xe9, 0xf9, 0xfa, 0x60, 0x35, 0x49, 0xa5, 0x69, 0x60, 0x1e, 0x98, 0x03, 0x66, 0x41, 0xf4, 0x4a,
    77  	0xd9, 0xe3, 0x54, 0x5e, 0x92, 0x5a, 0x5c, 0xa2, 0x8f, 0x64, 0xb2, 0x7e, 0x71, 0x69, 0x52, 0x41,
    78  	0x76, 0x3a, 0x98, 0x42, 0x58, 0xae, 0x34, 0x87, 0x91, 0x8b, 0xcd, 0x3f, 0x29, 0x2b, 0x35, 0xb9,
    79  	0x44, 0x28, 0x91, 0x8b, 0xdb, 0xb9, 0xb4, 0xb8, 0x24, 0x3f, 0xd7, 0x2d, 0x33, 0x35, 0x27, 0x45,
    80  	0x82, 0x51, 0x81, 0x51, 0x83, 0xc7, 0xc9, 0xfe, 0xd6, 0x3d, 0x79, 0x6b, 0x52, 0x2d, 0xd1, 0x83,
    81  	0x98, 0x13, 0x52, 0x59, 0x90, 0x1a, 0x84, 0x6c, 0xa6, 0x90, 0x3e, 0x17, 0x67, 0x70, 0x69, 0x12,
    82  	0xc4, 0x3e, 0x09, 0x26, 0x05, 0x46, 0x0d, 0x6e, 0x23, 0x41, 0x3d, 0xa8, 0x1e, 0xb8, 0x44, 0x10,
    83  	0x42, 0x0d, 0x20, 0x00, 0x00, 0xff, 0xff, 0x21, 0x11, 0x7d, 0xc2, 0x29, 0x01, 0x00, 0x00,
    84  }
    85  

View as plain text