github.com/brownsys/tracing-framework-go@v0.0.0-20161210174012-0542a62412fe/other/trace/baggage/internal/proto/baggage.pb.go (about)

     1  // Code generated by protoc-gen-go.
     2  // source: baggage.proto
     3  // DO NOT EDIT!
     4  
     5  /*
     6  Package proto is a generated protocol buffer package.
     7  
     8  It is generated from these files:
     9  	baggage.proto
    10  
    11  It has these top-level messages:
    12  	BaggageMessage
    13  */
    14  package proto
    15  
    16  import proto1 "github.com/golang/protobuf/proto"
    17  import fmt "fmt"
    18  import math "math"
    19  
    20  // Reference imports to suppress errors if they are not otherwise used.
    21  var _ = proto1.Marshal
    22  var _ = fmt.Errorf
    23  var _ = math.Inf
    24  
    25  // This is a compile-time assertion to ensure that this generated file
    26  // is compatible with the proto package it is being compiled against.
    27  const _ = proto1.ProtoPackageIsVersion1
    28  
    29  type BaggageMessage struct {
    30  	Namespace        []*BaggageMessage_NamespaceData `protobuf:"bytes,1,rep,name=namespace" json:"namespace,omitempty"`
    31  	XXX_unrecognized []byte                          `json:"-"`
    32  }
    33  
    34  func (m *BaggageMessage) Reset()                    { *m = BaggageMessage{} }
    35  func (m *BaggageMessage) String() string            { return proto1.CompactTextString(m) }
    36  func (*BaggageMessage) ProtoMessage()               {}
    37  func (*BaggageMessage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
    38  
    39  func (m *BaggageMessage) GetNamespace() []*BaggageMessage_NamespaceData {
    40  	if m != nil {
    41  		return m.Namespace
    42  	}
    43  	return nil
    44  }
    45  
    46  // Mapping of key to several values
    47  type BaggageMessage_BagData struct {
    48  	Key              []byte   `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
    49  	Value            [][]byte `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"`
    50  	XXX_unrecognized []byte   `json:"-"`
    51  }
    52  
    53  func (m *BaggageMessage_BagData) Reset()                    { *m = BaggageMessage_BagData{} }
    54  func (m *BaggageMessage_BagData) String() string            { return proto1.CompactTextString(m) }
    55  func (*BaggageMessage_BagData) ProtoMessage()               {}
    56  func (*BaggageMessage_BagData) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
    57  
    58  func (m *BaggageMessage_BagData) GetKey() []byte {
    59  	if m != nil {
    60  		return m.Key
    61  	}
    62  	return nil
    63  }
    64  
    65  func (m *BaggageMessage_BagData) GetValue() [][]byte {
    66  	if m != nil {
    67  		return m.Value
    68  	}
    69  	return nil
    70  }
    71  
    72  // Mapping of a namespace to a BagData
    73  type BaggageMessage_NamespaceData struct {
    74  	Key              []byte                    `protobuf:"bytes,1,req,name=key" json:"key,omitempty"`
    75  	Bag              []*BaggageMessage_BagData `protobuf:"bytes,2,rep,name=bag" json:"bag,omitempty"`
    76  	XXX_unrecognized []byte                    `json:"-"`
    77  }
    78  
    79  func (m *BaggageMessage_NamespaceData) Reset()                    { *m = BaggageMessage_NamespaceData{} }
    80  func (m *BaggageMessage_NamespaceData) String() string            { return proto1.CompactTextString(m) }
    81  func (*BaggageMessage_NamespaceData) ProtoMessage()               {}
    82  func (*BaggageMessage_NamespaceData) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 1} }
    83  
    84  func (m *BaggageMessage_NamespaceData) GetKey() []byte {
    85  	if m != nil {
    86  		return m.Key
    87  	}
    88  	return nil
    89  }
    90  
    91  func (m *BaggageMessage_NamespaceData) GetBag() []*BaggageMessage_BagData {
    92  	if m != nil {
    93  		return m.Bag
    94  	}
    95  	return nil
    96  }
    97  
    98  func init() {
    99  	proto1.RegisterType((*BaggageMessage)(nil), "proto.BaggageMessage")
   100  	proto1.RegisterType((*BaggageMessage_BagData)(nil), "proto.BaggageMessage.BagData")
   101  	proto1.RegisterType((*BaggageMessage_NamespaceData)(nil), "proto.BaggageMessage.NamespaceData")
   102  }
   103  
   104  var fileDescriptor0 = []byte{
   105  	// 147 bytes of a gzipped FileDescriptorProto
   106  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0x4d, 0x4a, 0x4c, 0x4f,
   107  	0x4f, 0x4c, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05, 0x53, 0x4a, 0x3b, 0x19,
   108  	0xb9, 0xf8, 0x9c, 0x20, 0x12, 0xbe, 0xa9, 0xc5, 0xc5, 0x40, 0x4a, 0xc8, 0x8c, 0x8b, 0x33, 0x2f,
   109  	0x31, 0x37, 0xb5, 0xb8, 0x20, 0x31, 0x39, 0x55, 0x82, 0x51, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x19,
   110  	0xa2, 0x49, 0x0f, 0x55, 0xa5, 0x9e, 0x1f, 0x4c, 0x99, 0x4b, 0x62, 0x49, 0xa2, 0x94, 0x2a, 0x17,
   111  	0x3b, 0x50, 0x1e, 0xc4, 0x14, 0xe2, 0xe6, 0x62, 0xce, 0x4e, 0xad, 0x04, 0x6a, 0x66, 0xd2, 0xe0,
   112  	0x11, 0xe2, 0xe5, 0x62, 0x2d, 0x4b, 0xcc, 0x29, 0x4d, 0x95, 0x60, 0x02, 0x9a, 0xc5, 0x23, 0xe5,
   113  	0xc1, 0xc5, 0x8b, 0xa2, 0x0f, 0x55, 0xb1, 0x16, 0x17, 0x33, 0xd0, 0x9d, 0x60, 0xa5, 0xdc, 0x46,
   114  	0xb2, 0xd8, 0xad, 0x85, 0xda, 0x02, 0x08, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x45, 0x4a, 0x7c, 0xd2,
   115  	0x00, 0x00, 0x00,
   116  }