blob: d07082edcff061aa2fc3a3d0b41276a762b878dc [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/devtools/cloudtrace/v2/trace.proto
package cloudtrace // import "google.golang.org/genproto/googleapis/devtools/cloudtrace/v2"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
import wrappers "github.com/golang/protobuf/ptypes/wrappers"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import status "google.golang.org/genproto/googleapis/rpc/status"
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
// Indicates whether the message was sent or received.
type Span_TimeEvent_MessageEvent_Type int32
const (
// Unknown event type.
Span_TimeEvent_MessageEvent_TYPE_UNSPECIFIED Span_TimeEvent_MessageEvent_Type = 0
// Indicates a sent message.
Span_TimeEvent_MessageEvent_SENT Span_TimeEvent_MessageEvent_Type = 1
// Indicates a received message.
Span_TimeEvent_MessageEvent_RECEIVED Span_TimeEvent_MessageEvent_Type = 2
)
var Span_TimeEvent_MessageEvent_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "SENT",
2: "RECEIVED",
}
var Span_TimeEvent_MessageEvent_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"SENT": 1,
"RECEIVED": 2,
}
func (x Span_TimeEvent_MessageEvent_Type) String() string {
return proto.EnumName(Span_TimeEvent_MessageEvent_Type_name, int32(x))
}
func (Span_TimeEvent_MessageEvent_Type) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 1, 1, 0}
}
// The relationship of the current span relative to the linked span: child,
// parent, or unspecified.
type Span_Link_Type int32
const (
// The relationship of the two spans is unknown.
Span_Link_TYPE_UNSPECIFIED Span_Link_Type = 0
// The linked span is a child of the current span.
Span_Link_CHILD_LINKED_SPAN Span_Link_Type = 1
// The linked span is a parent of the current span.
Span_Link_PARENT_LINKED_SPAN Span_Link_Type = 2
)
var Span_Link_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "CHILD_LINKED_SPAN",
2: "PARENT_LINKED_SPAN",
}
var Span_Link_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"CHILD_LINKED_SPAN": 1,
"PARENT_LINKED_SPAN": 2,
}
func (x Span_Link_Type) String() string {
return proto.EnumName(Span_Link_Type_name, int32(x))
}
func (Span_Link_Type) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 3, 0}
}
// A span represents a single operation within a trace. Spans can be
// nested to form a trace tree. Often, a trace contains a root span
// that describes the end-to-end latency, and one or more subspans for
// its sub-operations. A trace can also contain multiple root spans,
// or none at all. Spans do not need to be contiguous—there may be
// gaps or overlaps between spans in a trace.
type Span struct {
// The resource name of the span in the following format:
//
// projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
//
// [TRACE_ID] is a unique identifier for a trace within a project;
// it is a 32-character hexadecimal encoding of a 16-byte array.
//
// [SPAN_ID] is a unique identifier for a span within a trace; it
// is a 16-character hexadecimal encoding of an 8-byte array.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The [SPAN_ID] portion of the span's resource name.
SpanId string `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
// The [SPAN_ID] of this span's parent span. If this is a root span,
// then this field must be empty.
ParentSpanId string `protobuf:"bytes,3,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"`
// A description of the span's operation (up to 128 bytes).
// Stackdriver Trace displays the description in the
// {% dynamic print site_values.console_name %}.
// For example, the display name can be a qualified method name or a file name
// and a line number where the operation is called. A best practice is to use
// the same display name within an application and at the same call point.
// This makes it easier to correlate spans in different traces.
DisplayName *TruncatableString `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The start time of the span. On the client side, this is the time kept by
// the local machine where the span execution starts. On the server side, this
// is the time when the server's application handler starts running.
StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The end time of the span. On the client side, this is the time kept by
// the local machine where the span execution ends. On the server side, this
// is the time when the server application handler stops running.
EndTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// A set of attributes on the span. You can have up to 32 attributes per
// span.
Attributes *Span_Attributes `protobuf:"bytes,7,opt,name=attributes,proto3" json:"attributes,omitempty"`
// Stack trace captured at the start of the span.
StackTrace *StackTrace `protobuf:"bytes,8,opt,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"`
// A set of time events. You can have up to 32 annotations and 128 message
// events per span.
TimeEvents *Span_TimeEvents `protobuf:"bytes,9,opt,name=time_events,json=timeEvents,proto3" json:"time_events,omitempty"`
// Links associated with the span. You can have up to 128 links per Span.
Links *Span_Links `protobuf:"bytes,10,opt,name=links,proto3" json:"links,omitempty"`
// An optional final status for this span.
Status *status.Status `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
// (Optional) Set this parameter to indicate whether this span is in
// the same process as its parent. If you do not set this parameter,
// Stackdriver Trace is unable to take advantage of this helpful
// information.
SameProcessAsParentSpan *wrappers.BoolValue `protobuf:"bytes,12,opt,name=same_process_as_parent_span,json=sameProcessAsParentSpan,proto3" json:"same_process_as_parent_span,omitempty"`
// An optional number of child spans that were generated while this span
// was active. If set, allows implementation to detect missing child spans.
ChildSpanCount *wrappers.Int32Value `protobuf:"bytes,13,opt,name=child_span_count,json=childSpanCount,proto3" json:"child_span_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Span) Reset() { *m = Span{} }
func (m *Span) String() string { return proto.CompactTextString(m) }
func (*Span) ProtoMessage() {}
func (*Span) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{0}
}
func (m *Span) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Span.Unmarshal(m, b)
}
func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Span.Marshal(b, m, deterministic)
}
func (dst *Span) XXX_Merge(src proto.Message) {
xxx_messageInfo_Span.Merge(dst, src)
}
func (m *Span) XXX_Size() int {
return xxx_messageInfo_Span.Size(m)
}
func (m *Span) XXX_DiscardUnknown() {
xxx_messageInfo_Span.DiscardUnknown(m)
}
var xxx_messageInfo_Span proto.InternalMessageInfo
func (m *Span) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Span) GetSpanId() string {
if m != nil {
return m.SpanId
}
return ""
}
func (m *Span) GetParentSpanId() string {
if m != nil {
return m.ParentSpanId
}
return ""
}
func (m *Span) GetDisplayName() *TruncatableString {
if m != nil {
return m.DisplayName
}
return nil
}
func (m *Span) GetStartTime() *timestamp.Timestamp {
if m != nil {
return m.StartTime
}
return nil
}
func (m *Span) GetEndTime() *timestamp.Timestamp {
if m != nil {
return m.EndTime
}
return nil
}
func (m *Span) GetAttributes() *Span_Attributes {
if m != nil {
return m.Attributes
}
return nil
}
func (m *Span) GetStackTrace() *StackTrace {
if m != nil {
return m.StackTrace
}
return nil
}
func (m *Span) GetTimeEvents() *Span_TimeEvents {
if m != nil {
return m.TimeEvents
}
return nil
}
func (m *Span) GetLinks() *Span_Links {
if m != nil {
return m.Links
}
return nil
}
func (m *Span) GetStatus() *status.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *Span) GetSameProcessAsParentSpan() *wrappers.BoolValue {
if m != nil {
return m.SameProcessAsParentSpan
}
return nil
}
func (m *Span) GetChildSpanCount() *wrappers.Int32Value {
if m != nil {
return m.ChildSpanCount
}
return nil
}
// A set of attributes, each in the format `[KEY]:[VALUE]`.
type Span_Attributes struct {
// The set of attributes. Each attribute's key can be up to 128 bytes
// long. The value can be a string up to 256 bytes, an integer, or the
// Boolean values `true` and `false`. For example:
//
// "/instance_id": "my-instance"
// "/http/user_agent": ""
// "/http/request_bytes": 300
// "abc.com/myattribute": true
AttributeMap map[string]*AttributeValue `protobuf:"bytes,1,rep,name=attribute_map,json=attributeMap,proto3" json:"attribute_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The number of attributes that were discarded. Attributes can be discarded
// because their keys are too long or because there are too many attributes.
// If this value is 0 then all attributes are valid.
DroppedAttributesCount int32 `protobuf:"varint,2,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Span_Attributes) Reset() { *m = Span_Attributes{} }
func (m *Span_Attributes) String() string { return proto.CompactTextString(m) }
func (*Span_Attributes) ProtoMessage() {}
func (*Span_Attributes) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 0}
}
func (m *Span_Attributes) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Span_Attributes.Unmarshal(m, b)
}
func (m *Span_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Span_Attributes.Marshal(b, m, deterministic)
}
func (dst *Span_Attributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_Span_Attributes.Merge(dst, src)
}
func (m *Span_Attributes) XXX_Size() int {
return xxx_messageInfo_Span_Attributes.Size(m)
}
func (m *Span_Attributes) XXX_DiscardUnknown() {
xxx_messageInfo_Span_Attributes.DiscardUnknown(m)
}
var xxx_messageInfo_Span_Attributes proto.InternalMessageInfo
func (m *Span_Attributes) GetAttributeMap() map[string]*AttributeValue {
if m != nil {
return m.AttributeMap
}
return nil
}
func (m *Span_Attributes) GetDroppedAttributesCount() int32 {
if m != nil {
return m.DroppedAttributesCount
}
return 0
}
// A time-stamped annotation or message event in the Span.
type Span_TimeEvent struct {
// The timestamp indicating the time the event occurred.
Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
// A `TimeEvent` can contain either an `Annotation` object or a
// `MessageEvent` object, but not both.
//
// Types that are valid to be assigned to Value:
// *Span_TimeEvent_Annotation_
// *Span_TimeEvent_MessageEvent_
Value isSpan_TimeEvent_Value `protobuf_oneof:"value"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Span_TimeEvent) Reset() { *m = Span_TimeEvent{} }
func (m *Span_TimeEvent) String() string { return proto.CompactTextString(m) }
func (*Span_TimeEvent) ProtoMessage() {}
func (*Span_TimeEvent) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 1}
}
func (m *Span_TimeEvent) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Span_TimeEvent.Unmarshal(m, b)
}
func (m *Span_TimeEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Span_TimeEvent.Marshal(b, m, deterministic)
}
func (dst *Span_TimeEvent) XXX_Merge(src proto.Message) {
xxx_messageInfo_Span_TimeEvent.Merge(dst, src)
}
func (m *Span_TimeEvent) XXX_Size() int {
return xxx_messageInfo_Span_TimeEvent.Size(m)
}
func (m *Span_TimeEvent) XXX_DiscardUnknown() {
xxx_messageInfo_Span_TimeEvent.DiscardUnknown(m)
}
var xxx_messageInfo_Span_TimeEvent proto.InternalMessageInfo
func (m *Span_TimeEvent) GetTime() *timestamp.Timestamp {
if m != nil {
return m.Time
}
return nil
}
type isSpan_TimeEvent_Value interface {
isSpan_TimeEvent_Value()
}
type Span_TimeEvent_Annotation_ struct {
Annotation *Span_TimeEvent_Annotation `protobuf:"bytes,2,opt,name=annotation,proto3,oneof"`
}
type Span_TimeEvent_MessageEvent_ struct {
MessageEvent *Span_TimeEvent_MessageEvent `protobuf:"bytes,3,opt,name=message_event,json=messageEvent,proto3,oneof"`
}
func (*Span_TimeEvent_Annotation_) isSpan_TimeEvent_Value() {}
func (*Span_TimeEvent_MessageEvent_) isSpan_TimeEvent_Value() {}
func (m *Span_TimeEvent) GetValue() isSpan_TimeEvent_Value {
if m != nil {
return m.Value
}
return nil
}
func (m *Span_TimeEvent) GetAnnotation() *Span_TimeEvent_Annotation {
if x, ok := m.GetValue().(*Span_TimeEvent_Annotation_); ok {
return x.Annotation
}
return nil
}
func (m *Span_TimeEvent) GetMessageEvent() *Span_TimeEvent_MessageEvent {
if x, ok := m.GetValue().(*Span_TimeEvent_MessageEvent_); ok {
return x.MessageEvent
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*Span_TimeEvent) 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 _Span_TimeEvent_OneofMarshaler, _Span_TimeEvent_OneofUnmarshaler, _Span_TimeEvent_OneofSizer, []interface{}{
(*Span_TimeEvent_Annotation_)(nil),
(*Span_TimeEvent_MessageEvent_)(nil),
}
}
func _Span_TimeEvent_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*Span_TimeEvent)
// value
switch x := m.Value.(type) {
case *Span_TimeEvent_Annotation_:
b.EncodeVarint(2<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Annotation); err != nil {
return err
}
case *Span_TimeEvent_MessageEvent_:
b.EncodeVarint(3<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.MessageEvent); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("Span_TimeEvent.Value has unexpected type %T", x)
}
return nil
}
func _Span_TimeEvent_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*Span_TimeEvent)
switch tag {
case 2: // value.annotation
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(Span_TimeEvent_Annotation)
err := b.DecodeMessage(msg)
m.Value = &Span_TimeEvent_Annotation_{msg}
return true, err
case 3: // value.message_event
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(Span_TimeEvent_MessageEvent)
err := b.DecodeMessage(msg)
m.Value = &Span_TimeEvent_MessageEvent_{msg}
return true, err
default:
return false, nil
}
}
func _Span_TimeEvent_OneofSizer(msg proto.Message) (n int) {
m := msg.(*Span_TimeEvent)
// value
switch x := m.Value.(type) {
case *Span_TimeEvent_Annotation_:
s := proto.Size(x.Annotation)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *Span_TimeEvent_MessageEvent_:
s := proto.Size(x.MessageEvent)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
// Text annotation with a set of attributes.
type Span_TimeEvent_Annotation struct {
// A user-supplied message describing the event. The maximum length for
// the description is 256 bytes.
Description *TruncatableString `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// A set of attributes on the annotation. You can have up to 4 attributes
// per Annotation.
Attributes *Span_Attributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Span_TimeEvent_Annotation) Reset() { *m = Span_TimeEvent_Annotation{} }
func (m *Span_TimeEvent_Annotation) String() string { return proto.CompactTextString(m) }
func (*Span_TimeEvent_Annotation) ProtoMessage() {}
func (*Span_TimeEvent_Annotation) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 1, 0}
}
func (m *Span_TimeEvent_Annotation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Span_TimeEvent_Annotation.Unmarshal(m, b)
}
func (m *Span_TimeEvent_Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Span_TimeEvent_Annotation.Marshal(b, m, deterministic)
}
func (dst *Span_TimeEvent_Annotation) XXX_Merge(src proto.Message) {
xxx_messageInfo_Span_TimeEvent_Annotation.Merge(dst, src)
}
func (m *Span_TimeEvent_Annotation) XXX_Size() int {
return xxx_messageInfo_Span_TimeEvent_Annotation.Size(m)
}
func (m *Span_TimeEvent_Annotation) XXX_DiscardUnknown() {
xxx_messageInfo_Span_TimeEvent_Annotation.DiscardUnknown(m)
}
var xxx_messageInfo_Span_TimeEvent_Annotation proto.InternalMessageInfo
func (m *Span_TimeEvent_Annotation) GetDescription() *TruncatableString {
if m != nil {
return m.Description
}
return nil
}
func (m *Span_TimeEvent_Annotation) GetAttributes() *Span_Attributes {
if m != nil {
return m.Attributes
}
return nil
}
// An event describing a message sent/received between Spans.
type Span_TimeEvent_MessageEvent struct {
// Type of MessageEvent. Indicates whether the message was sent or
// received.
Type Span_TimeEvent_MessageEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.cloudtrace.v2.Span_TimeEvent_MessageEvent_Type" json:"type,omitempty"`
// An identifier for the MessageEvent's message that can be used to match
// SENT and RECEIVED MessageEvents. It is recommended to be unique within
// a Span.
Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
// The number of uncompressed bytes sent or received.
UncompressedSizeBytes int64 `protobuf:"varint,3,opt,name=uncompressed_size_bytes,json=uncompressedSizeBytes,proto3" json:"uncompressed_size_bytes,omitempty"`
// The number of compressed bytes sent or received. If missing assumed to
// be the same size as uncompressed.
CompressedSizeBytes int64 `protobuf:"varint,4,opt,name=compressed_size_bytes,json=compressedSizeBytes,proto3" json:"compressed_size_bytes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Span_TimeEvent_MessageEvent) Reset() { *m = Span_TimeEvent_MessageEvent{} }
func (m *Span_TimeEvent_MessageEvent) String() string { return proto.CompactTextString(m) }
func (*Span_TimeEvent_MessageEvent) ProtoMessage() {}
func (*Span_TimeEvent_MessageEvent) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 1, 1}
}
func (m *Span_TimeEvent_MessageEvent) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Span_TimeEvent_MessageEvent.Unmarshal(m, b)
}
func (m *Span_TimeEvent_MessageEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Span_TimeEvent_MessageEvent.Marshal(b, m, deterministic)
}
func (dst *Span_TimeEvent_MessageEvent) XXX_Merge(src proto.Message) {
xxx_messageInfo_Span_TimeEvent_MessageEvent.Merge(dst, src)
}
func (m *Span_TimeEvent_MessageEvent) XXX_Size() int {
return xxx_messageInfo_Span_TimeEvent_MessageEvent.Size(m)
}
func (m *Span_TimeEvent_MessageEvent) XXX_DiscardUnknown() {
xxx_messageInfo_Span_TimeEvent_MessageEvent.DiscardUnknown(m)
}
var xxx_messageInfo_Span_TimeEvent_MessageEvent proto.InternalMessageInfo
func (m *Span_TimeEvent_MessageEvent) GetType() Span_TimeEvent_MessageEvent_Type {
if m != nil {
return m.Type
}
return Span_TimeEvent_MessageEvent_TYPE_UNSPECIFIED
}
func (m *Span_TimeEvent_MessageEvent) GetId() int64 {
if m != nil {
return m.Id
}
return 0
}
func (m *Span_TimeEvent_MessageEvent) GetUncompressedSizeBytes() int64 {
if m != nil {
return m.UncompressedSizeBytes
}
return 0
}
func (m *Span_TimeEvent_MessageEvent) GetCompressedSizeBytes() int64 {
if m != nil {
return m.CompressedSizeBytes
}
return 0
}
// A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation
// on the span, consisting of either user-supplied key:value pairs, or
// details of a message sent/received between Spans.
type Span_TimeEvents struct {
// A collection of `TimeEvent`s.
TimeEvent []*Span_TimeEvent `protobuf:"bytes,1,rep,name=time_event,json=timeEvent,proto3" json:"time_event,omitempty"`
// The number of dropped annotations in all the included time events.
// If the value is 0, then no annotations were dropped.
DroppedAnnotationsCount int32 `protobuf:"varint,2,opt,name=dropped_annotations_count,json=droppedAnnotationsCount,proto3" json:"dropped_annotations_count,omitempty"`
// The number of dropped message events in all the included time events.
// If the value is 0, then no message events were dropped.
DroppedMessageEventsCount int32 `protobuf:"varint,3,opt,name=dropped_message_events_count,json=droppedMessageEventsCount,proto3" json:"dropped_message_events_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Span_TimeEvents) Reset() { *m = Span_TimeEvents{} }
func (m *Span_TimeEvents) String() string { return proto.CompactTextString(m) }
func (*Span_TimeEvents) ProtoMessage() {}
func (*Span_TimeEvents) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 2}
}
func (m *Span_TimeEvents) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Span_TimeEvents.Unmarshal(m, b)
}
func (m *Span_TimeEvents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Span_TimeEvents.Marshal(b, m, deterministic)
}
func (dst *Span_TimeEvents) XXX_Merge(src proto.Message) {
xxx_messageInfo_Span_TimeEvents.Merge(dst, src)
}
func (m *Span_TimeEvents) XXX_Size() int {
return xxx_messageInfo_Span_TimeEvents.Size(m)
}
func (m *Span_TimeEvents) XXX_DiscardUnknown() {
xxx_messageInfo_Span_TimeEvents.DiscardUnknown(m)
}
var xxx_messageInfo_Span_TimeEvents proto.InternalMessageInfo
func (m *Span_TimeEvents) GetTimeEvent() []*Span_TimeEvent {
if m != nil {
return m.TimeEvent
}
return nil
}
func (m *Span_TimeEvents) GetDroppedAnnotationsCount() int32 {
if m != nil {
return m.DroppedAnnotationsCount
}
return 0
}
func (m *Span_TimeEvents) GetDroppedMessageEventsCount() int32 {
if m != nil {
return m.DroppedMessageEventsCount
}
return 0
}
// A pointer from the current span to another span in the same trace or in a
// different trace. For example, this can be used in batching operations,
// where a single batch handler processes multiple requests from different
// traces or when the handler receives a request from a different project.
type Span_Link struct {
// The [TRACE_ID] for a trace within a project.
TraceId string `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
// The [SPAN_ID] for a span within a trace.
SpanId string `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
// The relationship of the current span relative to the linked span.
Type Span_Link_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.devtools.cloudtrace.v2.Span_Link_Type" json:"type,omitempty"`
// A set of attributes on the link. You have have up to 32 attributes per
// link.
Attributes *Span_Attributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Span_Link) Reset() { *m = Span_Link{} }
func (m *Span_Link) String() string { return proto.CompactTextString(m) }
func (*Span_Link) ProtoMessage() {}
func (*Span_Link) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 3}
}
func (m *Span_Link) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Span_Link.Unmarshal(m, b)
}
func (m *Span_Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Span_Link.Marshal(b, m, deterministic)
}
func (dst *Span_Link) XXX_Merge(src proto.Message) {
xxx_messageInfo_Span_Link.Merge(dst, src)
}
func (m *Span_Link) XXX_Size() int {
return xxx_messageInfo_Span_Link.Size(m)
}
func (m *Span_Link) XXX_DiscardUnknown() {
xxx_messageInfo_Span_Link.DiscardUnknown(m)
}
var xxx_messageInfo_Span_Link proto.InternalMessageInfo
func (m *Span_Link) GetTraceId() string {
if m != nil {
return m.TraceId
}
return ""
}
func (m *Span_Link) GetSpanId() string {
if m != nil {
return m.SpanId
}
return ""
}
func (m *Span_Link) GetType() Span_Link_Type {
if m != nil {
return m.Type
}
return Span_Link_TYPE_UNSPECIFIED
}
func (m *Span_Link) GetAttributes() *Span_Attributes {
if m != nil {
return m.Attributes
}
return nil
}
// A collection of links, which are references from this span to a span
// in the same or different trace.
type Span_Links struct {
// A collection of links.
Link []*Span_Link `protobuf:"bytes,1,rep,name=link,proto3" json:"link,omitempty"`
// The number of dropped links after the maximum size was enforced. If
// this value is 0, then no links were dropped.
DroppedLinksCount int32 `protobuf:"varint,2,opt,name=dropped_links_count,json=droppedLinksCount,proto3" json:"dropped_links_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Span_Links) Reset() { *m = Span_Links{} }
func (m *Span_Links) String() string { return proto.CompactTextString(m) }
func (*Span_Links) ProtoMessage() {}
func (*Span_Links) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{0, 4}
}
func (m *Span_Links) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Span_Links.Unmarshal(m, b)
}
func (m *Span_Links) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Span_Links.Marshal(b, m, deterministic)
}
func (dst *Span_Links) XXX_Merge(src proto.Message) {
xxx_messageInfo_Span_Links.Merge(dst, src)
}
func (m *Span_Links) XXX_Size() int {
return xxx_messageInfo_Span_Links.Size(m)
}
func (m *Span_Links) XXX_DiscardUnknown() {
xxx_messageInfo_Span_Links.DiscardUnknown(m)
}
var xxx_messageInfo_Span_Links proto.InternalMessageInfo
func (m *Span_Links) GetLink() []*Span_Link {
if m != nil {
return m.Link
}
return nil
}
func (m *Span_Links) GetDroppedLinksCount() int32 {
if m != nil {
return m.DroppedLinksCount
}
return 0
}
// The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
type AttributeValue struct {
// The type of the value.
//
// Types that are valid to be assigned to Value:
// *AttributeValue_StringValue
// *AttributeValue_IntValue
// *AttributeValue_BoolValue
Value isAttributeValue_Value `protobuf_oneof:"value"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AttributeValue) Reset() { *m = AttributeValue{} }
func (m *AttributeValue) String() string { return proto.CompactTextString(m) }
func (*AttributeValue) ProtoMessage() {}
func (*AttributeValue) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{1}
}
func (m *AttributeValue) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AttributeValue.Unmarshal(m, b)
}
func (m *AttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AttributeValue.Marshal(b, m, deterministic)
}
func (dst *AttributeValue) XXX_Merge(src proto.Message) {
xxx_messageInfo_AttributeValue.Merge(dst, src)
}
func (m *AttributeValue) XXX_Size() int {
return xxx_messageInfo_AttributeValue.Size(m)
}
func (m *AttributeValue) XXX_DiscardUnknown() {
xxx_messageInfo_AttributeValue.DiscardUnknown(m)
}
var xxx_messageInfo_AttributeValue proto.InternalMessageInfo
type isAttributeValue_Value interface {
isAttributeValue_Value()
}
type AttributeValue_StringValue struct {
StringValue *TruncatableString `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type AttributeValue_IntValue struct {
IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
type AttributeValue_BoolValue struct {
BoolValue bool `protobuf:"varint,3,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
func (*AttributeValue_StringValue) isAttributeValue_Value() {}
func (*AttributeValue_IntValue) isAttributeValue_Value() {}
func (*AttributeValue_BoolValue) isAttributeValue_Value() {}
func (m *AttributeValue) GetValue() isAttributeValue_Value {
if m != nil {
return m.Value
}
return nil
}
func (m *AttributeValue) GetStringValue() *TruncatableString {
if x, ok := m.GetValue().(*AttributeValue_StringValue); ok {
return x.StringValue
}
return nil
}
func (m *AttributeValue) GetIntValue() int64 {
if x, ok := m.GetValue().(*AttributeValue_IntValue); ok {
return x.IntValue
}
return 0
}
func (m *AttributeValue) GetBoolValue() bool {
if x, ok := m.GetValue().(*AttributeValue_BoolValue); ok {
return x.BoolValue
}
return false
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*AttributeValue) 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 _AttributeValue_OneofMarshaler, _AttributeValue_OneofUnmarshaler, _AttributeValue_OneofSizer, []interface{}{
(*AttributeValue_StringValue)(nil),
(*AttributeValue_IntValue)(nil),
(*AttributeValue_BoolValue)(nil),
}
}
func _AttributeValue_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*AttributeValue)
// value
switch x := m.Value.(type) {
case *AttributeValue_StringValue:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.StringValue); err != nil {
return err
}
case *AttributeValue_IntValue:
b.EncodeVarint(2<<3 | proto.WireVarint)
b.EncodeVarint(uint64(x.IntValue))
case *AttributeValue_BoolValue:
t := uint64(0)
if x.BoolValue {
t = 1
}
b.EncodeVarint(3<<3 | proto.WireVarint)
b.EncodeVarint(t)
case nil:
default:
return fmt.Errorf("AttributeValue.Value has unexpected type %T", x)
}
return nil
}
func _AttributeValue_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*AttributeValue)
switch tag {
case 1: // value.string_value
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(TruncatableString)
err := b.DecodeMessage(msg)
m.Value = &AttributeValue_StringValue{msg}
return true, err
case 2: // value.int_value
if wire != proto.WireVarint {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeVarint()
m.Value = &AttributeValue_IntValue{int64(x)}
return true, err
case 3: // value.bool_value
if wire != proto.WireVarint {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeVarint()
m.Value = &AttributeValue_BoolValue{x != 0}
return true, err
default:
return false, nil
}
}
func _AttributeValue_OneofSizer(msg proto.Message) (n int) {
m := msg.(*AttributeValue)
// value
switch x := m.Value.(type) {
case *AttributeValue_StringValue:
s := proto.Size(x.StringValue)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *AttributeValue_IntValue:
n += 1 // tag and wire
n += proto.SizeVarint(uint64(x.IntValue))
case *AttributeValue_BoolValue:
n += 1 // tag and wire
n += 1
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
// A call stack appearing in a trace.
type StackTrace struct {
// Stack frames in this stack trace. A maximum of 128 frames are allowed.
StackFrames *StackTrace_StackFrames `protobuf:"bytes,1,opt,name=stack_frames,json=stackFrames,proto3" json:"stack_frames,omitempty"`
// The hash ID is used to conserve network bandwidth for duplicate
// stack traces within a single trace.
//
// Often multiple spans will have identical stack traces.
// The first occurrence of a stack trace should contain both the
// `stackFrame` content and a value in `stackTraceHashId`.
//
// Subsequent spans within the same request can refer
// to that stack trace by only setting `stackTraceHashId`.
StackTraceHashId int64 `protobuf:"varint,2,opt,name=stack_trace_hash_id,json=stackTraceHashId,proto3" json:"stack_trace_hash_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StackTrace) Reset() { *m = StackTrace{} }
func (m *StackTrace) String() string { return proto.CompactTextString(m) }
func (*StackTrace) ProtoMessage() {}
func (*StackTrace) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{2}
}
func (m *StackTrace) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StackTrace.Unmarshal(m, b)
}
func (m *StackTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StackTrace.Marshal(b, m, deterministic)
}
func (dst *StackTrace) XXX_Merge(src proto.Message) {
xxx_messageInfo_StackTrace.Merge(dst, src)
}
func (m *StackTrace) XXX_Size() int {
return xxx_messageInfo_StackTrace.Size(m)
}
func (m *StackTrace) XXX_DiscardUnknown() {
xxx_messageInfo_StackTrace.DiscardUnknown(m)
}
var xxx_messageInfo_StackTrace proto.InternalMessageInfo
func (m *StackTrace) GetStackFrames() *StackTrace_StackFrames {
if m != nil {
return m.StackFrames
}
return nil
}
func (m *StackTrace) GetStackTraceHashId() int64 {
if m != nil {
return m.StackTraceHashId
}
return 0
}
// Represents a single stack frame in a stack trace.
type StackTrace_StackFrame struct {
// The fully-qualified name that uniquely identifies the function or
// method that is active in this frame (up to 1024 bytes).
FunctionName *TruncatableString `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
// An un-mangled function name, if `function_name` is
// [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
// be fully-qualified (up to 1024 bytes).
OriginalFunctionName *TruncatableString `protobuf:"bytes,2,opt,name=original_function_name,json=originalFunctionName,proto3" json:"original_function_name,omitempty"`
// The name of the source file where the function call appears (up to 256
// bytes).
FileName *TruncatableString `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
// The line number in `file_name` where the function call appears.
LineNumber int64 `protobuf:"varint,4,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
// The column number where the function call appears, if available.
// This is important in JavaScript because of its anonymous functions.
ColumnNumber int64 `protobuf:"varint,5,opt,name=column_number,json=columnNumber,proto3" json:"column_number,omitempty"`
// The binary module from where the code was loaded.
LoadModule *Module `protobuf:"bytes,6,opt,name=load_module,json=loadModule,proto3" json:"load_module,omitempty"`
// The version of the deployed source code (up to 128 bytes).
SourceVersion *TruncatableString `protobuf:"bytes,7,opt,name=source_version,json=sourceVersion,proto3" json:"source_version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StackTrace_StackFrame) Reset() { *m = StackTrace_StackFrame{} }
func (m *StackTrace_StackFrame) String() string { return proto.CompactTextString(m) }
func (*StackTrace_StackFrame) ProtoMessage() {}
func (*StackTrace_StackFrame) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{2, 0}
}
func (m *StackTrace_StackFrame) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StackTrace_StackFrame.Unmarshal(m, b)
}
func (m *StackTrace_StackFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StackTrace_StackFrame.Marshal(b, m, deterministic)
}
func (dst *StackTrace_StackFrame) XXX_Merge(src proto.Message) {
xxx_messageInfo_StackTrace_StackFrame.Merge(dst, src)
}
func (m *StackTrace_StackFrame) XXX_Size() int {
return xxx_messageInfo_StackTrace_StackFrame.Size(m)
}
func (m *StackTrace_StackFrame) XXX_DiscardUnknown() {
xxx_messageInfo_StackTrace_StackFrame.DiscardUnknown(m)
}
var xxx_messageInfo_StackTrace_StackFrame proto.InternalMessageInfo
func (m *StackTrace_StackFrame) GetFunctionName() *TruncatableString {
if m != nil {
return m.FunctionName
}
return nil
}
func (m *StackTrace_StackFrame) GetOriginalFunctionName() *TruncatableString {
if m != nil {
return m.OriginalFunctionName
}
return nil
}
func (m *StackTrace_StackFrame) GetFileName() *TruncatableString {
if m != nil {
return m.FileName
}
return nil
}
func (m *StackTrace_StackFrame) GetLineNumber() int64 {
if m != nil {
return m.LineNumber
}
return 0
}
func (m *StackTrace_StackFrame) GetColumnNumber() int64 {
if m != nil {
return m.ColumnNumber
}
return 0
}
func (m *StackTrace_StackFrame) GetLoadModule() *Module {
if m != nil {
return m.LoadModule
}
return nil
}
func (m *StackTrace_StackFrame) GetSourceVersion() *TruncatableString {
if m != nil {
return m.SourceVersion
}
return nil
}
// A collection of stack frames, which can be truncated.
type StackTrace_StackFrames struct {
// Stack frames in this call stack.
Frame []*StackTrace_StackFrame `protobuf:"bytes,1,rep,name=frame,proto3" json:"frame,omitempty"`
// The number of stack frames that were dropped because there
// were too many stack frames.
// If this value is 0, then no stack frames were dropped.
DroppedFramesCount int32 `protobuf:"varint,2,opt,name=dropped_frames_count,json=droppedFramesCount,proto3" json:"dropped_frames_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StackTrace_StackFrames) Reset() { *m = StackTrace_StackFrames{} }
func (m *StackTrace_StackFrames) String() string { return proto.CompactTextString(m) }
func (*StackTrace_StackFrames) ProtoMessage() {}
func (*StackTrace_StackFrames) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{2, 1}
}
func (m *StackTrace_StackFrames) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StackTrace_StackFrames.Unmarshal(m, b)
}
func (m *StackTrace_StackFrames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StackTrace_StackFrames.Marshal(b, m, deterministic)
}
func (dst *StackTrace_StackFrames) XXX_Merge(src proto.Message) {
xxx_messageInfo_StackTrace_StackFrames.Merge(dst, src)
}
func (m *StackTrace_StackFrames) XXX_Size() int {
return xxx_messageInfo_StackTrace_StackFrames.Size(m)
}
func (m *StackTrace_StackFrames) XXX_DiscardUnknown() {
xxx_messageInfo_StackTrace_StackFrames.DiscardUnknown(m)
}
var xxx_messageInfo_StackTrace_StackFrames proto.InternalMessageInfo
func (m *StackTrace_StackFrames) GetFrame() []*StackTrace_StackFrame {
if m != nil {
return m.Frame
}
return nil
}
func (m *StackTrace_StackFrames) GetDroppedFramesCount() int32 {
if m != nil {
return m.DroppedFramesCount
}
return 0
}
// Binary module.
type Module struct {
// For example: main binary, kernel modules, and dynamic libraries
// such as libc.so, sharedlib.so (up to 256 bytes).
Module *TruncatableString `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
// A unique identifier for the module, usually a hash of its
// contents (up to 128 bytes).
BuildId *TruncatableString `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Module) Reset() { *m = Module{} }
func (m *Module) String() string { return proto.CompactTextString(m) }
func (*Module) ProtoMessage() {}
func (*Module) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{3}
}
func (m *Module) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Module.Unmarshal(m, b)
}
func (m *Module) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Module.Marshal(b, m, deterministic)
}
func (dst *Module) XXX_Merge(src proto.Message) {
xxx_messageInfo_Module.Merge(dst, src)
}
func (m *Module) XXX_Size() int {
return xxx_messageInfo_Module.Size(m)
}
func (m *Module) XXX_DiscardUnknown() {
xxx_messageInfo_Module.DiscardUnknown(m)
}
var xxx_messageInfo_Module proto.InternalMessageInfo
func (m *Module) GetModule() *TruncatableString {
if m != nil {
return m.Module
}
return nil
}
func (m *Module) GetBuildId() *TruncatableString {
if m != nil {
return m.BuildId
}
return nil
}
// Represents a string that might be shortened to a specified length.
type TruncatableString struct {
// The shortened string. For example, if the original string is 500
// bytes long and the limit of the string is 128 bytes, then
// `value` contains the first 128 bytes of the 500-byte string.
//
// Truncation always happens on a UTF8 character boundary. If there
// are multi-byte characters in the string, then the length of the
// shortened string might be less than the size limit.
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// The number of bytes removed from the original string. If this
// value is 0, then the string was not shortened.
TruncatedByteCount int32 `protobuf:"varint,2,opt,name=truncated_byte_count,json=truncatedByteCount,proto3" json:"truncated_byte_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TruncatableString) Reset() { *m = TruncatableString{} }
func (m *TruncatableString) String() string { return proto.CompactTextString(m) }
func (*TruncatableString) ProtoMessage() {}
func (*TruncatableString) Descriptor() ([]byte, []int) {
return fileDescriptor_trace_fa9cb54dc45915f9, []int{4}
}
func (m *TruncatableString) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TruncatableString.Unmarshal(m, b)
}
func (m *TruncatableString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TruncatableString.Marshal(b, m, deterministic)
}
func (dst *TruncatableString) XXX_Merge(src proto.Message) {
xxx_messageInfo_TruncatableString.Merge(dst, src)
}
func (m *TruncatableString) XXX_Size() int {
return xxx_messageInfo_TruncatableString.Size(m)
}
func (m *TruncatableString) XXX_DiscardUnknown() {
xxx_messageInfo_TruncatableString.DiscardUnknown(m)
}
var xxx_messageInfo_TruncatableString proto.InternalMessageInfo
func (m *TruncatableString) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
func (m *TruncatableString) GetTruncatedByteCount() int32 {
if m != nil {
return m.TruncatedByteCount
}
return 0
}
func init() {
proto.RegisterType((*Span)(nil), "google.devtools.cloudtrace.v2.Span")
proto.RegisterType((*Span_Attributes)(nil), "google.devtools.cloudtrace.v2.Span.Attributes")
proto.RegisterMapType((map[string]*AttributeValue)(nil), "google.devtools.cloudtrace.v2.Span.Attributes.AttributeMapEntry")
proto.RegisterType((*Span_TimeEvent)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvent")
proto.RegisterType((*Span_TimeEvent_Annotation)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation")
proto.RegisterType((*Span_TimeEvent_MessageEvent)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent")
proto.RegisterType((*Span_TimeEvents)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvents")
proto.RegisterType((*Span_Link)(nil), "google.devtools.cloudtrace.v2.Span.Link")
proto.RegisterType((*Span_Links)(nil), "google.devtools.cloudtrace.v2.Span.Links")
proto.RegisterType((*AttributeValue)(nil), "google.devtools.cloudtrace.v2.AttributeValue")
proto.RegisterType((*StackTrace)(nil), "google.devtools.cloudtrace.v2.StackTrace")
proto.RegisterType((*StackTrace_StackFrame)(nil), "google.devtools.cloudtrace.v2.StackTrace.StackFrame")
proto.RegisterType((*StackTrace_StackFrames)(nil), "google.devtools.cloudtrace.v2.StackTrace.StackFrames")
proto.RegisterType((*Module)(nil), "google.devtools.cloudtrace.v2.Module")
proto.RegisterType((*TruncatableString)(nil), "google.devtools.cloudtrace.v2.TruncatableString")
proto.RegisterEnum("google.devtools.cloudtrace.v2.Span_TimeEvent_MessageEvent_Type", Span_TimeEvent_MessageEvent_Type_name, Span_TimeEvent_MessageEvent_Type_value)
proto.RegisterEnum("google.devtools.cloudtrace.v2.Span_Link_Type", Span_Link_Type_name, Span_Link_Type_value)
}
func init() {
proto.RegisterFile("google/devtools/cloudtrace/v2/trace.proto", fileDescriptor_trace_fa9cb54dc45915f9)
}
var fileDescriptor_trace_fa9cb54dc45915f9 = []byte{
// 1425 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x4b, 0x6f, 0xdb, 0xc6,
0x16, 0x36, 0xf5, 0xd6, 0x91, 0x6c, 0xc8, 0x13, 0x3b, 0x56, 0x94, 0xe4, 0x26, 0xd7, 0xf7, 0x16,
0x70, 0x0a, 0x98, 0x0a, 0x94, 0xa4, 0x48, 0xd3, 0x02, 0xa9, 0x1f, 0x72, 0xa4, 0xc4, 0x56, 0x05,
0x4a, 0x71, 0xd3, 0x34, 0x00, 0x31, 0x22, 0xc7, 0x32, 0x11, 0x8a, 0x24, 0x38, 0x43, 0x17, 0xce,
0xae, 0xeb, 0xae, 0xbb, 0x29, 0x50, 0x74, 0x59, 0x20, 0xab, 0xfc, 0x8e, 0x2e, 0xba, 0xed,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