...

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

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

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: issue411.proto
     3  
     4  package issue411
     5  
     6  import (
     7  	fmt "fmt"
     8  	_ "github.com/gogo/protobuf/gogoproto"
     9  	proto "github.com/gogo/protobuf/proto"
    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 Span struct {
    25  	TraceID              TraceID  `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3,customtype=TraceID" json:"trace_id"`
    26  	SpanID               SpanID   `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3,customtype=SpanID" json:"span_id"`
    27  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    28  	XXX_unrecognized     []byte   `json:"-"`
    29  	XXX_sizecache        int32    `json:"-"`
    30  }
    31  
    32  func (m *Span) Reset()         { *m = Span{} }
    33  func (m *Span) String() string { return proto.CompactTextString(m) }
    34  func (*Span) ProtoMessage()    {}
    35  func (*Span) Descriptor() ([]byte, []int) {
    36  	return fileDescriptor_7e1ed5cde895f96f, []int{0}
    37  }
    38  func (m *Span) XXX_Unmarshal(b []byte) error {
    39  	return xxx_messageInfo_Span.Unmarshal(m, b)
    40  }
    41  func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    42  	return xxx_messageInfo_Span.Marshal(b, m, deterministic)
    43  }
    44  func (m *Span) XXX_Merge(src proto.Message) {
    45  	xxx_messageInfo_Span.Merge(m, src)
    46  }
    47  func (m *Span) XXX_Size() int {
    48  	return xxx_messageInfo_Span.Size(m)
    49  }
    50  func (m *Span) XXX_DiscardUnknown() {
    51  	xxx_messageInfo_Span.DiscardUnknown(m)
    52  }
    53  
    54  var xxx_messageInfo_Span proto.InternalMessageInfo
    55  
    56  func init() {
    57  	proto.RegisterType((*Span)(nil), "issue411.Span")
    58  }
    59  
    60  func init() { proto.RegisterFile("issue411.proto", fileDescriptor_7e1ed5cde895f96f) }
    61  
    62  var fileDescriptor_7e1ed5cde895f96f = []byte{
    63  	// 158 bytes of a gzipped FileDescriptorProto
    64  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xcb, 0x2c, 0x2e, 0x2e,
    65  	0x4d, 0x35, 0x31, 0x34, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x80, 0xf1, 0xa5, 0x74,
    66  	0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0xd3, 0xf3, 0xd3, 0xf3, 0xf5,
    67  	0xc1, 0x0a, 0x92, 0x4a, 0xd3, 0xc0, 0x3c, 0x30, 0x07, 0xcc, 0x82, 0x68, 0x54, 0x2a, 0xe0, 0x62,
    68  	0x09, 0x2e, 0x48, 0xcc, 0x13, 0x32, 0xe5, 0xe2, 0x28, 0x29, 0x4a, 0x4c, 0x4e, 0x8d, 0xcf, 0x4c,
    69  	0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x71, 0x92, 0x3a, 0x71, 0x4f, 0x9e, 0xe1, 0xd6, 0x3d, 0x79,
    70  	0xf6, 0x10, 0x90, 0xb8, 0xa7, 0xcb, 0x23, 0x04, 0x33, 0x88, 0x1d, 0xac, 0xd6, 0x33, 0x45, 0xc8,
    71  	0x90, 0x8b, 0xbd, 0xb8, 0x20, 0x31, 0x0f, 0xa4, 0x8b, 0x09, 0xac, 0x4b, 0x02, 0xaa, 0x8b, 0x0d,
    72  	0x64, 0x2a, 0x58, 0x13, 0x94, 0x15, 0xc4, 0x06, 0x52, 0xe8, 0x99, 0x92, 0xc4, 0x06, 0xb6, 0xd8,
    73  	0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xd9, 0x68, 0x60, 0x2b, 0xc3, 0x00, 0x00, 0x00,
    74  }
    75  

View as plain text