// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: github.com/lightstep/lightstep-tracer-common/tmpgen/collector.proto /* Package collectorpb is a generated protocol buffer package. It is generated from these files: github.com/lightstep/lightstep-tracer-common/tmpgen/collector.proto It has these top-level messages: SpanContext KeyValue Log Reference Span Reporter MetricsSample InternalMetrics Auth ReportRequest Command ReportResponse */ package collectorpb // import "github.com/lightstep/lightstep-tracer-common/golang/gogo/collectorpb" import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" import google_protobuf "github.com/gogo/protobuf/types" import _ "google.golang.org/genproto/googleapis/api/annotations" import ( context "golang.org/x/net/context" grpc "google.golang.org/grpc" ) import encoding_binary "encoding/binary" import io "io" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package type Reference_Relationship int32 const ( Reference_CHILD_OF Reference_Relationship = 0 Reference_FOLLOWS_FROM Reference_Relationship = 1 ) var Reference_Relationship_name = map[int32]string{ 0: "CHILD_OF", 1: "FOLLOWS_FROM", } var Reference_Relationship_value = map[string]int32{ "CHILD_OF": 0, "FOLLOWS_FROM": 1, } func (x Reference_Relationship) String() string { return proto.EnumName(Reference_Relationship_name, int32(x)) } func (Reference_Relationship) EnumDescriptor() ([]byte, []int) { return fileDescriptorCollector, []int{3, 0} } type SpanContext struct { TraceId uint64 `protobuf:"varint,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` SpanId uint64 `protobuf:"varint,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` Baggage map[string]string `protobuf:"bytes,3,rep,name=baggage" json:"baggage,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *SpanContext) Reset() { *m = SpanContext{} } func (m *SpanContext) String() string { return proto.CompactTextString(m) } func (*SpanContext) ProtoMessage() {} func (*SpanContext) Descriptor() ([]byte, []int) { return fileDescriptorCollector, []int{0} } func (m *SpanContext) GetTraceId() uint64 { if m != nil { return m.TraceId } return 0 } func (m *SpanContext) GetSpanId() uint64 { if m != nil { return m.SpanId } return 0 } func (m *SpanContext) GetBaggage() map[string]string { if m != nil { return m.Baggage } return nil } // Represent both tags and log fields. type KeyValue struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Types that are valid to be assigned to Value: // *KeyValue_StringValue // *KeyValue_IntValue // *KeyValue_DoubleValue // *KeyValue_BoolValue // *KeyValue_JsonValue Value isKeyValue_Value `protobuf_oneof:"value"` } func (m *KeyValue) Reset() { *m = KeyValue{} } func (m *KeyValue) String() string { return proto.CompactTextString(m) } func (*KeyValue) ProtoMessage() {} func (*KeyValue) Descriptor() ([]byte, []int) { return fileDescriptorCollector, []int{1} } type isKeyValue_Value interface { isKeyValue_Value() MarshalTo([]byte) (int, error) Size() int } type KeyValue_StringValue struct { StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"` } type KeyValue_IntValue struct { IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"` } type KeyValue_DoubleValue struct { DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"` } type KeyValue_BoolValue struct { BoolValue bool `protobuf:"varint,5,opt,name=bool_value,json=boolValue,proto3,oneof"` } type KeyValue_JsonValue struct { JsonValue string `protobuf:"bytes,6,opt,name=json_value,json=jsonValue,proto3,oneof"` } func (*KeyValue_StringValue) isKeyValue_Value() {} func (*KeyValue_IntValue) isKeyValue_Value() {} func (*KeyValue_DoubleValue) isKeyValue_Value() {} func (*KeyValue_BoolValue) isKeyValue_Value() {} func (*KeyValue_JsonValue) isKeyValue_Value() {} func (m *KeyValue) GetValue() isKeyValue_Value { if m != nil { return m.Value } return nil } func (m *KeyValue) GetKey() string { if m != nil { return m.Key } return "" } func (m *KeyValue) GetStringValue() string { if x, ok := m.GetValue().(*KeyValue_StringValue); ok { return x.StringValue } return "" } func (m *KeyValue) GetIntValue() int64 { if x, ok := m.GetValue().(*KeyValue_IntValue); ok { return x.IntValue } return 0 } func (m *KeyValue) GetDoubleValue() float64 { if x, ok := m.GetValue().(*KeyValue_DoubleValue); ok { return x.DoubleValue } return 0 } func (m *KeyValue) GetBoolValue() bool { if x, ok := m.GetValue().(*KeyValue_BoolValue); ok { return x.BoolValue } return false } func (m *KeyValue) GetJsonValue() string { if x, ok := m.GetValue().(*KeyValue_JsonValue); ok { return x.JsonValue } return "" } // XXX_OneofFuncs is for the internal use of the proto package. func (*KeyValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _KeyValue_OneofMarshaler, _KeyValue_OneofUnmarshaler, _KeyValue_OneofSizer, []interface{}{ (*KeyValue_StringValue)(nil), (*KeyValue_IntValue)(nil), (*KeyValue_DoubleValue)(nil), (*KeyValue_BoolValue)(nil), (*KeyValue_JsonValue)(nil), } } func _KeyValue_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { m := msg.(*KeyValue) // value switch x := m.Value.(type) { case *KeyValue_StringValue: _ = b.EncodeVarint(2<<3 | proto.WireBytes) _ = b.EncodeStringBytes(x.StringValue) case *KeyValue_IntValue: _ = b.EncodeVarint(3<<3 | proto.WireVarint) _ = b.EncodeVarint(uint64(x.IntValue)) case *KeyValue_DoubleValue: _ = b.EncodeVarint(4<<3 | proto.WireFixed64) _ = b.EncodeFixed64(math.Float64bits(x.DoubleValue)) case *KeyValue_BoolValue: t := uint64(0) if x.BoolValue { t = 1 } _ = b.EncodeVarint(5<<3 | proto.WireVarint) _ = b.EncodeVarint(t) case *KeyValue_JsonValue: _ = b.EncodeVarint(6<<3 | proto.WireBytes) _ = b.EncodeStringBytes(x.JsonValue) case nil: default: return fmt.Errorf("KeyValue.Value has unexpected type %T", x) } return nil } func _KeyValue_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { m := msg.(*KeyValue) switch tag { case 2: // value.string_value if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeStringBytes() m.Value = &KeyValue_StringValue{x} return true, err case 3: // value.int_value if wire != proto.WireVarint { return true, proto.ErrInternalBadWireType } x, err := b.DecodeVarint() m.Value = &KeyValue_IntValue{int64(x)} return true, err case 4: // value.double_value if wire != proto.WireFixed64 { return true, proto.ErrInternalBadWireType } x, err := b.DecodeFixed64() m.Value = &KeyValue_DoubleValue{math.Float64frombits(x)} return true, err case 5: // value.bool_value if wire != proto.WireVarint { return true, proto.ErrInternalBadWireType } x, err := b.DecodeVarint() m.Value = &KeyValue_BoolValue{x != 0} return true, err case 6: // value.json_value if wire != proto.WireBytes { return true, proto.ErrInternalBadWireType } x, err := b.DecodeStringBytes() m.Value = &KeyValue_JsonValue{x} return true, err default: return false, nil } } func _KeyValue_OneofSizer(msg proto.Message) (n int) { m := msg.(*KeyValue) // value switch x := m.Value.(type) { case *KeyValue_StringValue: n += proto.SizeVarint(2<<3 | proto.WireBytes) n += proto.SizeVarint(uint64(len(x.StringValue))) n += len(x.StringValue) case *KeyValue_IntValue: n += proto.SizeVarint(3<<3 | proto.WireVarint) n += proto.SizeVarint(uint64(x.IntValue)) case *KeyValue_DoubleValue: n += proto.SizeVarint(4<<3 | proto.WireFixed64) n += 8 case *KeyValue_BoolValue: n += proto.SizeVarint(5<<3 | proto.WireVarint) n += 1 case *KeyValue_JsonValue: n += proto.SizeVarint(6<<3 | proto.WireBytes) n += proto.SizeVarint(uint64(len(x.JsonValue))) n += len(x.JsonValue) case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) } return n } type Log struct { Timestamp *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=timestamp" json:"timestamp,omitempty"` Fields []*KeyValue `protobuf:"bytes,2,rep,name=fields" json:"fields,omitempty"` } func (m *Log) Reset() { *m = Log{} } func (m *Log) String() string { return proto.CompactTextString(m) } func (*Log) ProtoMessage() {} func (*Log) Descriptor() ([]byte, []int) { return fileDescriptorCollector, []int{2} } func (m *Log) GetTimestamp() *google_protobuf.Timestamp { if m != nil { return m.Timestamp } return nil } func (m *Log) GetFields() []*KeyValue { if m != nil { return m.Fields } return nil } type Reference struct { Relationship Reference_Relationship `protobuf:"varint,1,opt,name=relationship,proto3,enum=lightstep.collector.Reference_Relationship" json:"relationship,omitempty"` SpanContext *SpanContext `protobuf:"bytes,2,opt,name=span_context,json=spanContext" json:"span_context,omitempty"` } func (m *Reference) Reset() { *m = Reference{} } func (m *Reference) String() string { return proto.CompactTextString(m) } func (*Reference) ProtoMessage() {} func (*Reference) Descriptor() ([]byte, []int) { return fileDescriptorCollector, []int{3} } func (m *Reference) GetRelationship() Reference_Relationship { if m != nil { return m.Relationship } return Reference_CHILD_OF } func (m *Reference) GetSpanContext() *SpanContext { if m != nil { return m.SpanContext } return nil } type Span struct { SpanContext *SpanContext `protobuf:"bytes,1,opt,name=span_context,json=spanContext" json:"span_context,omitempty"` OperationName string `protobuf:"bytes,2,opt,name=operation_name,json=operationName,proto3" json:"operation_name,omitempty"` References []*Reference `protobuf:"bytes,3,rep,name=references" json:"references,omitempty"` StartTimestamp *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=start_timestamp,json=startTimestamp" json:"start_timestamp,omitempty"` DurationMicros uint64 `protobuf:"varint,5,opt,name=duration_micros,json=durationMicros,proto3" json:"duration_micros,omitempty"` Tags []*KeyValue `protobuf:"bytes,6,rep,name=tags" json:"tags,omitempty"` Logs []*Log `protobuf:"bytes,7,rep,name=logs" json:"logs,omitempty"` } func (m *Span) Reset() { *m = Span{} } func (m *Span) String() string { return proto.CompactTextString(m) } func (*Span) ProtoMessage() {} func (*Span) Descriptor() ([]byte, []int) { return fileDescriptorCollector, []int{4} } func (m *Span) GetSpanContext() *SpanContext { if m != nil { return m.SpanContext } return nil } func (m *Span) GetOperationName() string { if m != nil { return m.OperationName } return "" } func (m *Span) GetReferences() []*Reference { if m != nil { return m.References } return nil } func (m *Span) GetStartTimestamp() *google_protobuf.Timestamp { if m != nil { return m.StartTimestamp } return nil } func (m *Span) GetDurationMicros() uint64 { if m != nil { return m.DurationMicros } return 0 } func (m *Span) GetTags() []*KeyValue { if m != nil { return m.Tags } return nil } func (m *Span) GetLogs() []*Log { if m != nil { return m.Logs } return nil } type Reporter struct { ReporterId uint64 `protobuf:"varint,1,opt,name=reporter_id,json=reporterId,proto3" json:"reporter_id,omitempty"` Tags []*KeyValue `protobuf:"bytes,4,rep,name=tags" json:"tags,omitempty"` } func (m *Reporter) Reset() { *m = Reporter{} } func (m *Reporter) String() string { return proto.CompactTextString(m) } func (*Reporter) ProtoMessage() {} func (*Reporter) Descriptor() ([]byte, []int) { return fileDescriptorCollector, []int{5} } func (m *Reporter) GetReporterId() uint64 { if m != nil { return m.ReporterId } return 0 } func (m *Reporter) GetTags() []*KeyValue { if m != nil { return m.Tags } return nil } type MetricsSample struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are valid to be assigned to Value: // *MetricsSample_IntValue // *MetricsSample_DoubleValue Value isMetricsSample_Value `protobuf_oneof:"value"` } func (m *MetricsSample) Reset() { *m = MetricsSample{} } func (m *MetricsSample) String() string { return proto.CompactTextString(m) } func (*MetricsSample) ProtoMessage() {} func (*MetricsSample) Descriptor() ([]byte, []int) { return fileDescriptorCollector, []int{6} } type isMetricsSample_Value interface { isMetricsSample_Value() MarshalTo([]byte) (int, error) Size() int } type MetricsSample_IntValue struct { IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"` } type MetricsSample_DoubleValue struct { DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"` } func (*MetricsSample_IntValue) isMetricsSample_Value() {} func (*MetricsSample_DoubleValue) isMetricsSample_Value() {} func (m *MetricsSample) GetValue() isMetricsSample_Value { if m != nil { return m.Value } return nil } func (m *MetricsSample) GetName() string { if m != nil { return m.Name } return "" } func (m *MetricsSample) GetIntValue() int64 { if x, ok := m.GetValue().(*MetricsSample_IntValue); ok { return x.IntValue } return 0 } func (m *MetricsSample) GetDoubleValue() float64 { if x, ok := m.GetValue().(*MetricsSample_DoubleValue); ok { return x.DoubleValue } return 0 } // XXX_OneofFuncs is for the internal use of the proto package. func (*MetricsSample) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _MetricsSample_OneofMarshaler, _MetricsSample_OneofUnmarshaler, _MetricsSample_OneofSizer, []interface{}{ (*MetricsSample_IntValue)(nil), (*MetricsSample_DoubleValue)(nil), } } func _MetricsSample_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { m := msg.(*MetricsSample) // value switch x := m.Value.(type) { case *MetricsSample_IntValue: _ = b.EncodeVarint(2<<3 | proto.WireVarint) _ = b.EncodeVarint(uint64(x.IntValue)) case *MetricsSample_DoubleValue: _ = b.EncodeVarint(3<<3 | proto.WireFixed64) _ = b.EncodeFixed64(math.Float64bits(x.DoubleValue)) case nil: default: return fmt.Errorf("MetricsSample.Value has unexpected type %T", x) } return nil } func _MetricsSample_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { m := msg.(*MetricsSample) switch tag { case 2: // value.int_value if wire != proto.WireVarint { return true, proto.ErrInternalBadWireType } x, err := b.DecodeVarint() m.Value = &MetricsSample_IntValue{int64(x)} return true, err case 3: // value.double_value if wire != proto.WireFixed64 { return true, proto.ErrInternalBadWireType } x, err := b.DecodeFixed64() m.Value = &MetricsSample_DoubleValue{math.Float64frombits(x)} return true, err default: return false, nil } } func _MetricsSample_OneofSizer(msg proto.Message) (n int) { m := msg.(*MetricsSample) // value switch x := m.Value.(type) { case *MetricsSample_IntValue: n += proto.SizeVarint(2<<3 | proto.WireVarint) n += proto.SizeVarint(uint64(x.IntValue)) case *MetricsSample_DoubleValue: n += proto.SizeVarint(3<<3 | proto.WireFixed64) n += 8 case nil: default: panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) } return n } type InternalMetrics struct { StartTimestamp *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=start_timestamp,json=startTimestamp" json:"start_timestamp,omitempty"` DurationMicros uint64 `protobuf:"varint,2,opt,name=duration_micros,json=durationMicros,proto3" json:"duration_micros,omitempty"` Logs []*Log `protobuf:"bytes,3,rep,name=logs" json:"logs,omitempty"` Counts []*MetricsSample `protobuf:"bytes,4,rep,name=counts" json:"counts,omitempty"` Gauges []*MetricsSample `protobuf:"bytes,5,rep,name=gauges" json:"gauges,omitempty"` } func (m *InternalMetrics) Reset() { *m = InternalMetrics{} } func (m *InternalMetrics) String() string { return proto.CompactTextString(m) } func (*InternalMetrics) ProtoMessage() {} func (*InternalMetrics) Descriptor() ([]byte, []int) { return fileDescriptorCollector, []int{7} } func (m *InternalMetrics) GetStartTimestamp() *google_protobuf.Timestamp { if m != nil { return m.StartTimestamp } return nil } func (m *InternalMetrics) GetDurationMicros() uint64 { if m != nil { return m.DurationMicros } return 0 } func (m *InternalMetrics) GetLogs() []*Log { if m != nil { return m.Logs } return nil } func (m *InternalMetrics) GetCounts() []*MetricsSample { if m != nil { return m.Counts } return nil } func (m *InternalMetrics) GetGauges() []*MetricsSample { if m != nil { return m.Gauges } return nil } type Auth struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` } func (m *Auth) Reset() { *m = Auth{} } func (m *Auth) String() string { return proto.CompactTextString(m) } func (*Auth) ProtoMessage() {} func (*Auth) Descriptor() ([]byte, []int) { return fileDescriptorCollector, []int{8} } func (m *Auth) GetAccessToken() string { if m != nil { return m.AccessToken } return "" } type ReportRequest struct { Reporter *Reporter `protobuf:"bytes,1,opt,name=reporter" json:"reporter,omitempty"` Auth *Auth `protobuf:"bytes,2,opt,name=auth" json:"auth,omitempty"` Spans []*Span `protobuf:"bytes,3,rep,name=spans" json:"spans,omitempty"` TimestampOffsetMicros int64 `protobuf:"varint,5,opt,name=timestamp_offset_micros,json=timestampOffsetMicros,proto3" json:"timestamp_offset_micros,omitempty"` InternalMetrics *InternalMetrics `protobuf:"bytes,6,opt,name=internal_metrics,json=internalMetrics" json:"internal_metrics,omitempty"` } func (m *ReportRequest) Reset() { *m = ReportRequest{} } func (m *ReportRequest) String() string { return proto.CompactTextString(m) } func (*ReportRequest) ProtoMessage() {} func (*ReportRequest) Descriptor() ([]byte, []int) { return fileDescriptorCollector, []int{9} } func (m *ReportRequest) GetReporter() *Reporter { if m != nil { return m.Reporter } return nil } func (m *ReportRequest) GetAuth() *Auth { if m != nil { return m.Auth } return nil } func (m *ReportRequest) GetSpans() []*Span { if m != nil { return m.Spans } return nil } func (m *ReportRequest) GetTimestampOffsetMicros() int64 { if m != nil { return m.TimestampOffsetMicros } return 0 } func (m *ReportRequest) GetInternalMetrics() *InternalMetrics { if m != nil { return m.InternalMetrics } return nil } type Command struct { Disable bool `protobuf:"varint,1,opt,name=disable,proto3" json:"disable,omitempty"` DevMode bool `protobuf:"varint,2,opt,name=dev_mode,json=devMode,proto3" json:"dev_mode,omitempty"` } func (m *Command) Reset() { *m = Command{} } func (m *Command) String() string { return proto.CompactTextString(m) } func (*Command) ProtoMessage() {} func (*Command) Descriptor() ([]byte, []int) { return fileDescriptorCollector, []int{10} } func (m *Command) GetDisable() bool { if m != nil { return m.Disable } return false } func (m *Command) GetDevMode() bool { if m != nil { return m.DevMode } return false } type ReportResponse struct { Commands []*Command `protobuf:"bytes,1,rep,name=commands" json:"commands,omitempty"` ReceiveTimestamp *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=receive_timestamp,json=receiveTimestamp" json:"receive_timestamp,omitempty"` TransmitTimestamp *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=transmit_timestamp,json=transmitTimestamp" json:"transmit_timestamp,omitempty"` Errors []string `protobuf:"bytes,4,rep,name=errors" json:"errors,omitempty"` Warnings []string `protobuf:"bytes,5,rep,name=warnings" json:"warnings,omitempty"` Infos []string `protobuf:"bytes,6,rep,name=infos" json:"infos,omitempty"` } func (m *ReportResponse) Reset() { *m = ReportResponse{} } func (m *ReportResponse) String() string { return proto.CompactTextString(m) } func (*ReportResponse) ProtoMessage() {} func (*ReportResponse) Descriptor() ([]byte, []int) { return fileDescriptorCollector, []int{11} } func (m *ReportResponse) GetCommands() []*Command { if m != nil { return m.Commands } return nil } func (m *ReportResponse) GetReceiveTimestamp() *google_protobuf.Timestamp { if m != nil { return m.ReceiveTimestamp } return nil } func (m *ReportResponse) GetTransmitTimestamp() *google_protobuf.Timestamp { if m != nil { return m.TransmitTimestamp } return nil } func (m *ReportResponse) GetErrors() []string { if m != nil { return m.Errors } return nil } func (m *ReportResponse) GetWarnings() []string { if m != nil { return m.Warnings } return nil } func (m *ReportResponse) GetInfos() []string { if m != nil { return m.Infos } return nil } func init() { proto.RegisterType((*SpanContext)(nil), "lightstep.collector.SpanContext") proto.RegisterType((*KeyValue)(nil), "lightstep.collector.KeyValue") proto.RegisterType((*Log)(nil), "lightstep.collector.Log") proto.RegisterType((*Reference)(nil), "lightstep.collector.Reference") proto.RegisterType((*Span)(nil), "lightstep.collector.Span") proto.RegisterType((*Reporter)(nil), "lightstep.collector.Reporter") proto.RegisterType((*MetricsSample)(nil), "lightstep.collector.MetricsSample") proto.RegisterType((*InternalMetrics)(nil), "lightstep.collector.InternalMetrics") proto.RegisterType((*Auth)(nil), "lightstep.collector.Auth") proto.RegisterType((*ReportRequest)(nil), "lightstep.collector.ReportRequest") proto.RegisterType((*Command)(nil), "lightstep.collector.Command") proto.RegisterType((*ReportResponse)(nil), "lightstep.collector.ReportResponse") proto.RegisterEnum("lightstep.collector.Reference_Relationship", Reference_Relationship_name, Reference_Relationship_value) } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 // Client API for CollectorService service type CollectorServiceClient interface { Report(ctx context.Context, in *ReportRequest, opts ...grpc.CallOption) (*ReportResponse, error) } type collectorServiceClient struct { cc *grpc.ClientConn } func NewCollectorServiceClient(cc *grpc.ClientConn) CollectorServiceClient { return &collectorServiceClient{cc} } func (c *collectorServiceClient) Report(ctx context.Context, in *ReportRequest, opts ...grpc.CallOption) (*ReportResponse, error) { out := new(ReportResponse) err := grpc.Invoke(ctx, "/lightstep.collector.CollectorService/Report", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } // Server API for CollectorService service type CollectorServiceServer interface { Report(context.Context, *ReportRequest) (*ReportResponse, error) } func RegisterCollectorServiceServer(s *grpc.Server, srv CollectorServiceServer) { s.RegisterService(&_CollectorService_serviceDesc, srv) } func _CollectorService_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ReportRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(CollectorServiceServer).Report(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/lightstep.collector.CollectorService/Report", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CollectorServiceServer).Report(ctx, req.(*ReportRequest)) } return interceptor(ctx, in, info, handler) } var _CollectorService_serviceDesc = grpc.ServiceDesc{ ServiceName: "lightstep.collector.CollectorService", HandlerType: (*CollectorServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Report", Handler: _CollectorService_Report_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/lightstep/lightstep-tracer-common/tmpgen/collector.proto", } func (m *SpanContext) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *SpanContext) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.TraceId != 0 { dAtA[i] = 0x8 i++ i = encodeVarintCollector(dAtA, i, uint64(m.TraceId)) } if m.SpanId != 0 { dAtA[i] = 0x10 i++ i = encodeVarintCollector(dAtA, i, uint64(m.SpanId)) } if len(m.Baggage) > 0 { for k, _ := range m.Baggage { dAtA[i] = 0x1a i++ v := m.Baggage[k] mapSize := 1 + len(k) + sovCollector(uint64(len(k))) + 1 + len(v) + sovCollector(uint64(len(v))) i = encodeVarintCollector(dAtA, i, uint64(mapSize)) dAtA[i] = 0xa i++ i = encodeVarintCollector(dAtA, i, uint64(len(k))) i += copy(dAtA[i:], k) dAtA[i] = 0x12 i++ i = encodeVarintCollector(dAtA, i, uint64(len(v))) i += copy(dAtA[i:], v) } } return i, nil } func (m *KeyValue) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *KeyValue) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Key) > 0 { dAtA[i] = 0xa i++ i = encodeVarintCollector(dAtA, i, uint64(len(m.Key))) i += copy(dAtA[i:], m.Key) } if m.Value != nil { nn1, err := m.Value.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += nn1 } return i, nil } func (m *KeyValue_StringValue) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x12 i++ i = encodeVarintCollector(dAtA, i, uint64(len(m.StringValue))) i += copy(dAtA[i:], m.StringValue) return i, nil } func (m *KeyValue_IntValue) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x18 i++ i = encodeVarintCollector(dAtA, i, uint64(m.IntValue)) return i, nil } func (m *KeyValue_DoubleValue) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x21 i++ encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.DoubleValue)))) i += 8 return i, nil } func (m *KeyValue_BoolValue) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x28 i++ if m.BoolValue { dAtA[i] = 1 } else { dAtA[i] = 0 } i++ return i, nil } func (m *KeyValue_JsonValue) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x32 i++ i = encodeVarintCollector(dAtA, i, uint64(len(m.JsonValue))) i += copy(dAtA[i:], m.JsonValue) return i, nil } func (m *Log) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *Log) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.Timestamp != nil { dAtA[i] = 0xa i++ i = encodeVarintCollector(dAtA, i, uint64(m.Timestamp.Size())) n2, err := m.Timestamp.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n2 } if len(m.Fields) > 0 { for _, msg := range m.Fields { dAtA[i] = 0x12 i++ i = encodeVarintCollector(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } return i, nil } func (m *Reference) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *Reference) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.Relationship != 0 { dAtA[i] = 0x8 i++ i = encodeVarintCollector(dAtA, i, uint64(m.Relationship)) } if m.SpanContext != nil { dAtA[i] = 0x12 i++ i = encodeVarintCollector(dAtA, i, uint64(m.SpanContext.Size())) n3, err := m.SpanContext.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n3 } return i, nil } func (m *Span) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *Span) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.SpanContext != nil { dAtA[i] = 0xa i++ i = encodeVarintCollector(dAtA, i, uint64(m.SpanContext.Size())) n4, err := m.SpanContext.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n4 } if len(m.OperationName) > 0 { dAtA[i] = 0x12 i++ i = encodeVarintCollector(dAtA, i, uint64(len(m.OperationName))) i += copy(dAtA[i:], m.OperationName) } if len(m.References) > 0 { for _, msg := range m.References { dAtA[i] = 0x1a i++ i = encodeVarintCollector(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if m.StartTimestamp != nil { dAtA[i] = 0x22 i++ i = encodeVarintCollector(dAtA, i, uint64(m.StartTimestamp.Size())) n5, err := m.StartTimestamp.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n5 } if m.DurationMicros != 0 { dAtA[i] = 0x28 i++ i = encodeVarintCollector(dAtA, i, uint64(m.DurationMicros)) } if len(m.Tags) > 0 { for _, msg := range m.Tags { dAtA[i] = 0x32 i++ i = encodeVarintCollector(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.Logs) > 0 { for _, msg := range m.Logs { dAtA[i] = 0x3a i++ i = encodeVarintCollector(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } return i, nil } func (m *Reporter) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *Reporter) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.ReporterId != 0 { dAtA[i] = 0x8 i++ i = encodeVarintCollector(dAtA, i, uint64(m.ReporterId)) } if len(m.Tags) > 0 { for _, msg := range m.Tags { dAtA[i] = 0x22 i++ i = encodeVarintCollector(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } return i, nil } func (m *MetricsSample) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *MetricsSample) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Name) > 0 { dAtA[i] = 0xa i++ i = encodeVarintCollector(dAtA, i, uint64(len(m.Name))) i += copy(dAtA[i:], m.Name) } if m.Value != nil { nn6, err := m.Value.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += nn6 } return i, nil } func (m *MetricsSample_IntValue) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x10 i++ i = encodeVarintCollector(dAtA, i, uint64(m.IntValue)) return i, nil } func (m *MetricsSample_DoubleValue) MarshalTo(dAtA []byte) (int, error) { i := 0 dAtA[i] = 0x19 i++ encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.DoubleValue)))) i += 8 return i, nil } func (m *InternalMetrics) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *InternalMetrics) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.StartTimestamp != nil { dAtA[i] = 0xa i++ i = encodeVarintCollector(dAtA, i, uint64(m.StartTimestamp.Size())) n7, err := m.StartTimestamp.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n7 } if m.DurationMicros != 0 { dAtA[i] = 0x10 i++ i = encodeVarintCollector(dAtA, i, uint64(m.DurationMicros)) } if len(m.Logs) > 0 { for _, msg := range m.Logs { dAtA[i] = 0x1a i++ i = encodeVarintCollector(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.Counts) > 0 { for _, msg := range m.Counts { dAtA[i] = 0x22 i++ i = encodeVarintCollector(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if len(m.Gauges) > 0 { for _, msg := range m.Gauges { dAtA[i] = 0x2a i++ i = encodeVarintCollector(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } return i, nil } func (m *Auth) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *Auth) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if len(m.AccessToken) > 0 { dAtA[i] = 0xa i++ i = encodeVarintCollector(dAtA, i, uint64(len(m.AccessToken))) i += copy(dAtA[i:], m.AccessToken) } return i, nil } func (m *ReportRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *ReportRequest) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.Reporter != nil { dAtA[i] = 0xa i++ i = encodeVarintCollector(dAtA, i, uint64(m.Reporter.Size())) n8, err := m.Reporter.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n8 } if m.Auth != nil { dAtA[i] = 0x12 i++ i = encodeVarintCollector(dAtA, i, uint64(m.Auth.Size())) n9, err := m.Auth.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n9 } if len(m.Spans) > 0 { for _, msg := range m.Spans { dAtA[i] = 0x1a i++ i = encodeVarintCollector(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if m.TimestampOffsetMicros != 0 { dAtA[i] = 0x28 i++ i = encodeVarintCollector(dAtA, i, uint64(m.TimestampOffsetMicros)) } if m.InternalMetrics != nil { dAtA[i] = 0x32 i++ i = encodeVarintCollector(dAtA, i, uint64(m.InternalMetrics.Size())) n10, err := m.InternalMetrics.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n10 } return i, nil } func (m *Command) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *Command) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.Disable { dAtA[i] = 0x8 i++ if m.Disable { dAtA[i] = 1 } else { dAtA[i] = 0 } i++ } if m.DevMode { dAtA[i] = 0x10 i++ if m.DevMode { dAtA[i] = 1 } else { dAtA[i] = 0 } i++ } return i, nil } func (m *ReportResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *ReportResponse) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Commands) > 0 { for _, msg := range m.Commands { dAtA[i] = 0xa i++ i = encodeVarintCollector(dAtA, i, uint64(msg.Size())) n, err := msg.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n } } if m.ReceiveTimestamp != nil { dAtA[i] = 0x12 i++ i = encodeVarintCollector(dAtA, i, uint64(m.ReceiveTimestamp.Size())) n11, err := m.ReceiveTimestamp.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n11 } if m.TransmitTimestamp != nil { dAtA[i] = 0x1a i++ i = encodeVarintCollector(dAtA, i, uint64(m.TransmitTimestamp.Size())) n12, err := m.TransmitTimestamp.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n12 } if len(m.Errors) > 0 { for _, s := range m.Errors { dAtA[i] = 0x22 i++ l = len(s) for l >= 1<<7 { dAtA[i] = uint8(uint64(l)&0x7f | 0x80) l >>= 7 i++ } dAtA[i] = uint8(l) i++ i += copy(dAtA[i:], s) } } if len(m.Warnings) > 0 { for _, s := range m.Warnings { dAtA[i] = 0x2a i++ l = len(s) for l >= 1<<7 { dAtA[i] = uint8(uint64(l)&0x7f | 0x80) l >>= 7 i++ } dAtA[i] = uint8(l) i++ i += copy(dAtA[i:], s) } } if len(m.Infos) > 0 { for _, s := range m.Infos { dAtA[i] = 0x32 i++ l = len(s) for l >= 1<<7 { dAtA[i] = uint8(uint64(l)&0x7f | 0x80) l >>= 7 i++ } dAtA[i] = uint8(l) i++ i += copy(dAtA[i:], s) } } return i, nil } func encodeVarintCollector(dAtA []byte, offset int, v uint64) int { for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) v >>= 7 offset++ } dAtA[offset] = uint8(v) return offset + 1 } func (m *SpanContext) Size() (n int) { var l int _ = l if m.TraceId != 0 { n += 1 + sovCollector(uint64(m.TraceId)) } if m.SpanId != 0 { n += 1 + sovCollector(uint64(m.SpanId)) } if len(m.Baggage) > 0 { for k, v := range m.Baggage { _ = k _ = v mapEntrySize := 1 + len(k) + sovCollector(uint64(len(k))) + 1 + len(v) + sovCollector(uint64(len(v))) n += mapEntrySize + 1 + sovCollector(uint64(mapEntrySize)) } } return n } func (m *KeyValue) Size() (n int) { var l int _ = l l = len(m.Key) if l > 0 { n += 1 + l + sovCollector(uint64(l)) } if m.Value != nil { n += m.Value.Size() } return n } func (m *KeyValue_StringValue) Size() (n int) { var l int _ = l l = len(m.StringValue) n += 1 + l + sovCollector(uint64(l)) return n } func (m *KeyValue_IntValue) Size() (n int) { var l int _ = l n += 1 + sovCollector(uint64(m.IntValue)) return n } func (m *KeyValue_DoubleValue) Size() (n int) { var l int _ = l n += 9 return n } func (m *KeyValue_BoolValue) Size() (n int) { var l int _ = l n += 2 return n } func (m *KeyValue_JsonValue) Size() (n int) { var l int _ = l l = len(m.JsonValue) n += 1 + l + sovCollector(uint64(l)) return n } func (m *Log) Size() (n int) { var l int _ = l if m.Timestamp != nil { l = m.Timestamp.Size() n += 1 + l + sovCollector(uint64(l)) } if len(m.Fields) > 0 { for _, e := range m.Fields { l = e.Size() n += 1 + l + sovCollector(uint64(l)) } } return n } func (m *Reference) Size() (n int) { var l int _ = l if m.Relationship != 0 { n += 1 + sovCollector(uint64(m.Relationship)) } if m.SpanContext != nil { l = m.SpanContext.Size() n += 1 + l + sovCollector(uint64(l)) } return n } func (m *Span) Size() (n int) { var l int _ = l if m.SpanContext != nil { l = m.SpanContext.Size() n += 1 + l + sovCollector(uint64(l)) } l = len(m.OperationName) if l > 0 { n += 1 + l + sovCollector(uint64(l)) } if len(m.References) > 0 { for _, e := range m.References { l = e.Size() n += 1 + l + sovCollector(uint64(l)) } } if m.StartTimestamp != nil { l = m.StartTimestamp.Size() n += 1 + l + sovCollector(uint64(l)) } if m.DurationMicros != 0 { n += 1 + sovCollector(uint64(m.DurationMicros)) } if len(m.Tags) > 0 { for _, e := range m.Tags { l = e.Size() n += 1 + l + sovCollector(uint64(l)) } } if len(m.Logs) > 0 { for _, e := range m.Logs { l = e.Size() n += 1 + l + sovCollector(uint64(l)) } } return n } func (m *Reporter) Size() (n int) { var l int _ = l if m.ReporterId != 0 { n += 1 + sovCollector(uint64(m.ReporterId)) } if len(m.Tags) > 0 { for _, e := range m.Tags { l = e.Size() n += 1 + l + sovCollector(uint64(l)) } } return n } func (m *MetricsSample) Size() (n int) { var l int _ = l l = len(m.Name) if l > 0 { n += 1 + l + sovCollector(uint64(l)) } if m.Value != nil { n += m.Value.Size() } return n } func (m *MetricsSample_IntValue) Size() (n int) { var l int _ = l n += 1 + sovCollector(uint64(m.IntValue)) return n } func (m *MetricsSample_DoubleValue) Size() (n int) { var l int _ = l n += 9 return n } func (m *InternalMetrics) Size() (n int) { var l int _ = l if m.StartTimestamp != nil { l = m.StartTimestamp.Size() n += 1 + l + sovCollector(uint64(l)) } if m.DurationMicros != 0 { n += 1 + sovCollector(uint64(m.DurationMicros)) } if len(m.Logs) > 0 { for _, e := range m.Logs { l = e.Size() n += 1 + l + sovCollector(uint64(l)) } } if len(m.Counts) > 0 { for _, e := range m.Counts { l = e.Size() n += 1 + l + sovCollector(uint64(l)) } } if len(m.Gauges) > 0 { for _, e := range m.Gauges { l = e.Size() n += 1 + l + sovCollector(uint64(l)) } } return n } func (m *Auth) Size() (n int) { var l int _ = l l = len(m.AccessToken) if l > 0 { n += 1 + l + sovCollector(uint64(l)) } return n } func (m *ReportRequest) Size() (n int) { var l int _ = l if m.Reporter != nil { l = m.Reporter.Size() n += 1 + l + sovCollector(uint64(l)) } if m.Auth != nil { l = m.Auth.Size() n += 1 + l + sovCollector(uint64(l)) } if len(m.Spans) > 0 { for _, e := range m.Spans { l = e.Size() n += 1 + l + sovCollector(uint64(l)) } } if m.TimestampOffsetMicros != 0 { n += 1 + sovCollector(uint64(m.TimestampOffsetMicros)) } if m.InternalMetrics != nil { l = m.InternalMetrics.Size() n += 1 + l + sovCollector(uint64(l)) } return n } func (m *Command) Size() (n int) { var l int _ = l if m.Disable { n += 2 } if m.DevMode { n += 2 } return n } func (m *ReportResponse) Size() (n int) { var l int _ = l if len(m.Commands) > 0 { for _, e := range m.Commands { l = e.Size() n += 1 + l + sovCollector(uint64(l)) } } if m.ReceiveTimestamp != nil { l = m.ReceiveTimestamp.Size() n += 1 + l + sovCollector(uint64(l)) } if m.TransmitTimestamp != nil { l = m.TransmitTimestamp.Size() n += 1 + l + sovCollector(uint64(l)) } if len(m.Errors) > 0 { for _, s := range m.Errors { l = len(s) n += 1 + l + sovCollector(uint64(l)) } } if len(m.Warnings) > 0 { for _, s := range m.Warnings { l = len(s) n += 1 + l + sovCollector(uint64(l)) } } if len(m.Infos) > 0 { for _, s := range m.Infos { l = len(s) n += 1 + l + sovCollector(uint64(l)) } } return n } func sovCollector(x uint64) (n int) { for { n++ x >>= 7 if x == 0 { break } } return n } func sozCollector(x uint64) (n int) { return sovCollector(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } func (m *SpanContext) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: SpanContext: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: SpanContext: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field TraceId", wireType) } m.TraceId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.TraceId |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field SpanId", wireType) } m.SpanId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.SpanId |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Baggage", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } if m.Baggage == nil { m.Baggage = make(map[string]string) } var mapkey string var mapvalue string for iNdEx < postIndex { entryPreIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) if fieldNum == 1 { var stringLenmapkey uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLenmapkey |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } intStringLenmapkey := int(stringLenmapkey) if intStringLenmapkey < 0 { return ErrInvalidLengthCollector } postStringIndexmapkey := iNdEx + intStringLenmapkey if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) iNdEx = postStringIndexmapkey } else if fieldNum == 2 { var stringLenmapvalue uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLenmapvalue |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } intStringLenmapvalue := int(stringLenmapvalue) if intStringLenmapvalue < 0 { return ErrInvalidLengthCollector } postStringIndexmapvalue := iNdEx + intStringLenmapvalue if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) iNdEx = postStringIndexmapvalue } else { iNdEx = entryPreIndex skippy, err := skipCollector(dAtA[iNdEx:]) if err != nil { return err } if skippy < 0 { return ErrInvalidLengthCollector } if (iNdEx + skippy) > postIndex { return io.ErrUnexpectedEOF } iNdEx += skippy } } m.Baggage[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCollector(dAtA[iNdEx:]) if err != nil { return err } if skippy < 0 { return ErrInvalidLengthCollector } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *KeyValue) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: KeyValue: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: KeyValue: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + intStringLen if postIndex > l { return io.ErrUnexpectedEOF } m.Key = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field StringValue", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + intStringLen if postIndex > l { return io.ErrUnexpectedEOF } m.Value = &KeyValue_StringValue{string(dAtA[iNdEx:postIndex])} iNdEx = postIndex case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field IntValue", wireType) } var v int64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ v |= (int64(b) & 0x7F) << shift if b < 0x80 { break } } m.Value = &KeyValue_IntValue{v} case 4: if wireType != 1 { return fmt.Errorf("proto: wrong wireType = %d for field DoubleValue", wireType) } var v uint64 if (iNdEx + 8) > l { return io.ErrUnexpectedEOF } v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) iNdEx += 8 m.Value = &KeyValue_DoubleValue{float64(math.Float64frombits(v))} case 5: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field BoolValue", wireType) } var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ v |= (int(b) & 0x7F) << shift if b < 0x80 { break } } b := bool(v != 0) m.Value = &KeyValue_BoolValue{b} case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field JsonValue", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + intStringLen if postIndex > l { return io.ErrUnexpectedEOF } m.Value = &KeyValue_JsonValue{string(dAtA[iNdEx:postIndex])} iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCollector(dAtA[iNdEx:]) if err != nil { return err } if skippy < 0 { return ErrInvalidLengthCollector } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *Log) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: Log: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: Log: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } if m.Timestamp == nil { m.Timestamp = &google_protobuf.Timestamp{} } if err := m.Timestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } m.Fields = append(m.Fields, &KeyValue{}) if err := m.Fields[len(m.Fields)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCollector(dAtA[iNdEx:]) if err != nil { return err } if skippy < 0 { return ErrInvalidLengthCollector } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *Reference) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: Reference: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: Reference: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Relationship", wireType) } m.Relationship = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.Relationship |= (Reference_Relationship(b) & 0x7F) << shift if b < 0x80 { break } } case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field SpanContext", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } if m.SpanContext == nil { m.SpanContext = &SpanContext{} } if err := m.SpanContext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCollector(dAtA[iNdEx:]) if err != nil { return err } if skippy < 0 { return ErrInvalidLengthCollector } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *Span) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: Span: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: Span: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field SpanContext", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } if m.SpanContext == nil { m.SpanContext = &SpanContext{} } if err := m.SpanContext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field OperationName", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + intStringLen if postIndex > l { return io.ErrUnexpectedEOF } m.OperationName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field References", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } m.References = append(m.References, &Reference{}) if err := m.References[len(m.References)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field StartTimestamp", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } if m.StartTimestamp == nil { m.StartTimestamp = &google_protobuf.Timestamp{} } if err := m.StartTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 5: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field DurationMicros", wireType) } m.DurationMicros = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.DurationMicros |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } m.Tags = append(m.Tags, &KeyValue{}) if err := m.Tags[len(m.Tags)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Logs", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } m.Logs = append(m.Logs, &Log{}) if err := m.Logs[len(m.Logs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCollector(dAtA[iNdEx:]) if err != nil { return err } if skippy < 0 { return ErrInvalidLengthCollector } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *Reporter) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: Reporter: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: Reporter: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field ReporterId", wireType) } m.ReporterId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.ReporterId |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Tags", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } m.Tags = append(m.Tags, &KeyValue{}) if err := m.Tags[len(m.Tags)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCollector(dAtA[iNdEx:]) if err != nil { return err } if skippy < 0 { return ErrInvalidLengthCollector } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *MetricsSample) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: MetricsSample: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: MetricsSample: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + intStringLen if postIndex > l { return io.ErrUnexpectedEOF } m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field IntValue", wireType) } var v int64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ v |= (int64(b) & 0x7F) << shift if b < 0x80 { break } } m.Value = &MetricsSample_IntValue{v} case 3: if wireType != 1 { return fmt.Errorf("proto: wrong wireType = %d for field DoubleValue", wireType) } var v uint64 if (iNdEx + 8) > l { return io.ErrUnexpectedEOF } v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) iNdEx += 8 m.Value = &MetricsSample_DoubleValue{float64(math.Float64frombits(v))} default: iNdEx = preIndex skippy, err := skipCollector(dAtA[iNdEx:]) if err != nil { return err } if skippy < 0 { return ErrInvalidLengthCollector } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *InternalMetrics) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: InternalMetrics: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: InternalMetrics: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field StartTimestamp", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } if m.StartTimestamp == nil { m.StartTimestamp = &google_protobuf.Timestamp{} } if err := m.StartTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field DurationMicros", wireType) } m.DurationMicros = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.DurationMicros |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Logs", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } m.Logs = append(m.Logs, &Log{}) if err := m.Logs[len(m.Logs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Counts", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } m.Counts = append(m.Counts, &MetricsSample{}) if err := m.Counts[len(m.Counts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Gauges", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } m.Gauges = append(m.Gauges, &MetricsSample{}) if err := m.Gauges[len(m.Gauges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCollector(dAtA[iNdEx:]) if err != nil { return err } if skippy < 0 { return ErrInvalidLengthCollector } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *Auth) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: Auth: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: Auth: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AccessToken", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + intStringLen if postIndex > l { return io.ErrUnexpectedEOF } m.AccessToken = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCollector(dAtA[iNdEx:]) if err != nil { return err } if skippy < 0 { return ErrInvalidLengthCollector } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *ReportRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: ReportRequest: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: ReportRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Reporter", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } if m.Reporter == nil { m.Reporter = &Reporter{} } if err := m.Reporter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Auth", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } if m.Auth == nil { m.Auth = &Auth{} } if err := m.Auth.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Spans", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } m.Spans = append(m.Spans, &Span{}) if err := m.Spans[len(m.Spans)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 5: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field TimestampOffsetMicros", wireType) } m.TimestampOffsetMicros = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ m.TimestampOffsetMicros |= (int64(b) & 0x7F) << shift if b < 0x80 { break } } case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field InternalMetrics", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } if m.InternalMetrics == nil { m.InternalMetrics = &InternalMetrics{} } if err := m.InternalMetrics.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCollector(dAtA[iNdEx:]) if err != nil { return err } if skippy < 0 { return ErrInvalidLengthCollector } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *Command) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: Command: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: Command: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Disable", wireType) } var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ v |= (int(b) & 0x7F) << shift if b < 0x80 { break } } m.Disable = bool(v != 0) case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field DevMode", wireType) } var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ v |= (int(b) & 0x7F) << shift if b < 0x80 { break } } m.DevMode = bool(v != 0) default: iNdEx = preIndex skippy, err := skipCollector(dAtA[iNdEx:]) if err != nil { return err } if skippy < 0 { return ErrInvalidLengthCollector } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func (m *ReportResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { return fmt.Errorf("proto: ReportResponse: wiretype end group for non-group") } if fieldNum <= 0 { return fmt.Errorf("proto: ReportResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Commands", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } m.Commands = append(m.Commands, &Command{}) if err := m.Commands[len(m.Commands)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ReceiveTimestamp", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } if m.ReceiveTimestamp == nil { m.ReceiveTimestamp = &google_protobuf.Timestamp{} } if err := m.ReceiveTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field TransmitTimestamp", wireType) } var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } if msglen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } if m.TransmitTimestamp == nil { m.TransmitTimestamp = &google_protobuf.Timestamp{} } if err := m.TransmitTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Errors", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + intStringLen if postIndex > l { return io.ErrUnexpectedEOF } m.Errors = append(m.Errors, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Warnings", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + intStringLen if postIndex > l { return io.ErrUnexpectedEOF } m.Warnings = append(m.Warnings, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Infos", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCollector } if iNdEx >= l { return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } intStringLen := int(stringLen) if intStringLen < 0 { return ErrInvalidLengthCollector } postIndex := iNdEx + intStringLen if postIndex > l { return io.ErrUnexpectedEOF } m.Infos = append(m.Infos, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCollector(dAtA[iNdEx:]) if err != nil { return err } if skippy < 0 { return ErrInvalidLengthCollector } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy } } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } func skipCollector(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 for iNdEx < l { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return 0, ErrIntOverflowCollector } if iNdEx >= l { return 0, io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } wireType := int(wire & 0x7) switch wireType { case 0: for shift := uint(0); ; shift += 7 { if shift >= 64 { return 0, ErrIntOverflowCollector } if iNdEx >= l { return 0, io.ErrUnexpectedEOF } iNdEx++ if dAtA[iNdEx-1] < 0x80 { break } } return iNdEx, nil case 1: iNdEx += 8 return iNdEx, nil case 2: var length int for shift := uint(0); ; shift += 7 { if shift >= 64 { return 0, ErrIntOverflowCollector } if iNdEx >= l { return 0, io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ length |= (int(b) & 0x7F) << shift if b < 0x80 { break } } iNdEx += length if length < 0 { return 0, ErrInvalidLengthCollector } return iNdEx, nil case 3: for { var innerWire uint64 var start int = iNdEx for shift := uint(0); ; shift += 7 { if shift >= 64 { return 0, ErrIntOverflowCollector } if iNdEx >= l { return 0, io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ innerWire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } innerWireType := int(innerWire & 0x7) if innerWireType == 4 { break } next, err := skipCollector(dAtA[start:]) if err != nil { return 0, err } iNdEx = start + next } return iNdEx, nil case 4: return iNdEx, nil case 5: iNdEx += 4 return iNdEx, nil default: return 0, fmt.Errorf("proto: illegal wireType %d", wireType) } } panic("unreachable") } var ( ErrInvalidLengthCollector = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCollector = fmt.Errorf("proto: integer overflow") ) func init() { proto.RegisterFile("github.com/lightstep/lightstep-tracer-common/tmpgen/collector.proto", fileDescriptorCollector) } var fileDescriptorCollector = []byte{ // 1137 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdd, 0x6e, 0xe3, 0x44, 0x14, 0xae, 0x9d, 0x6c, 0x7e, 0x4e, 0xb2, 0x6d, 0x76, 0xf8, 0x4b, 0xc3, 0xb6, 0x9b, 0x75, 0x41, 0x14, 0x96, 0x3a, 0x10, 0x84, 0x54, 0x7a, 0xb1, 0xd2, 0x36, 0xd0, 0x6d, 0x44, 0x4a, 0x56, 0xd3, 0x15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