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

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: imports/test_import_a1m1.proto
     3  
     4  package imports
     5  
     6  import (
     7  	fmt "fmt"
     8  	proto "github.com/gogo/protobuf/proto"
     9  	test_a_1 "github.com/gogo/protobuf/protoc-gen-gogo/testdata/imports/test_a_1"
    10  	math "math"
    11  )
    12  
    13  // Reference imports to suppress errors if they are not otherwise used.
    14  var _ = proto.Marshal
    15  var _ = fmt.Errorf
    16  var _ = math.Inf
    17  
    18  // This is a compile-time assertion to ensure that this generated file
    19  // is compatible with the proto package it is being compiled against.
    20  // A compilation error at this line likely means your copy of the
    21  // proto package needs to be updated.
    22  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    23  
    24  type A1M1 struct {
    25  	F                    *test_a_1.M1 `protobuf:"bytes,1,opt,name=f,proto3" json:"f,omitempty"`
    26  	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
    27  	XXX_unrecognized     []byte       `json:"-"`
    28  	XXX_sizecache        int32        `json:"-"`
    29  }
    30  
    31  func (m *A1M1) Reset()         { *m = A1M1{} }
    32  func (m *A1M1) String() string { return proto.CompactTextString(m) }
    33  func (*A1M1) ProtoMessage()    {}
    34  func (*A1M1) Descriptor() ([]byte, []int) {
    35  	return fileDescriptor_3b904a47327455f3, []int{0}
    36  }
    37  func (m *A1M1) XXX_Unmarshal(b []byte) error {
    38  	return xxx_messageInfo_A1M1.Unmarshal(m, b)
    39  }
    40  func (m *A1M1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    41  	return xxx_messageInfo_A1M1.Marshal(b, m, deterministic)
    42  }
    43  func (m *A1M1) XXX_Merge(src proto.Message) {
    44  	xxx_messageInfo_A1M1.Merge(m, src)
    45  }
    46  func (m *A1M1) XXX_Size() int {
    47  	return xxx_messageInfo_A1M1.Size(m)
    48  }
    49  func (m *A1M1) XXX_DiscardUnknown() {
    50  	xxx_messageInfo_A1M1.DiscardUnknown(m)
    51  }
    52  
    53  var xxx_messageInfo_A1M1 proto.InternalMessageInfo
    54  
    55  func (m *A1M1) GetF() *test_a_1.M1 {
    56  	if m != nil {
    57  		return m.F
    58  	}
    59  	return nil
    60  }
    61  
    62  func init() {
    63  	proto.RegisterType((*A1M1)(nil), "test.A1M1")
    64  }
    65  
    66  func init() { proto.RegisterFile("imports/test_import_a1m1.proto", fileDescriptor_3b904a47327455f3) }
    67  
    68  var fileDescriptor_3b904a47327455f3 = []byte{
    69  	// 147 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, 0xd3, 0xf3, 0xf5, 0xc1, 0x5a, 0x93, 0x4a, 0xd3, 0x20, 0x8c, 0x64,
    77  	0xdd, 0xf4, 0xd4, 0x3c, 0x5d, 0xb0, 0x04, 0x48, 0x63, 0x4a, 0x62, 0x49, 0xa2, 0x3e, 0xd4, 0xc2,
    78  	0x24, 0x36, 0xb0, 0x0a, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6e, 0xc2, 0xe7, 0xde, 0xa8,
    79  	0x00, 0x00, 0x00,
    80  }