Documentation

Overview

    Package cloudtrace is a generated protocol buffer package.

    It is generated from these files:

    google/devtools/cloudtrace/v2/trace.proto
    google/devtools/cloudtrace/v2/tracing.proto
    

    It has these top-level messages:

    Span
    AttributeValue
    StackTrace
    Module
    TruncatableString
    BatchWriteSpansRequest
    

    Index

    Constants

    This section is empty.

    Variables

    View Source
    var Span_Link_Type_name = map[int32]string{
    	0: "TYPE_UNSPECIFIED",
    	1: "CHILD_LINKED_SPAN",
    	2: "PARENT_LINKED_SPAN",
    }
    View Source
    var Span_Link_Type_value = map[string]int32{
    	"TYPE_UNSPECIFIED":   0,
    	"CHILD_LINKED_SPAN":  1,
    	"PARENT_LINKED_SPAN": 2,
    }
    View Source
    var Span_TimeEvent_MessageEvent_Type_name = map[int32]string{
    	0: "TYPE_UNSPECIFIED",
    	1: "SENT",
    	2: "RECEIVED",
    }
    View Source
    var Span_TimeEvent_MessageEvent_Type_value = map[string]int32{
    	"TYPE_UNSPECIFIED": 0,
    	"SENT":             1,
    	"RECEIVED":         2,
    }

    Functions

    func RegisterTraceServiceServer

    func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer)

    Types

    type AttributeValue

    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"`
    }

      The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.

      func (*AttributeValue) Descriptor

      func (*AttributeValue) Descriptor() ([]byte, []int)

      func (*AttributeValue) GetBoolValue

      func (m *AttributeValue) GetBoolValue() bool

      func (*AttributeValue) GetIntValue

      func (m *AttributeValue) GetIntValue() int64

      func (*AttributeValue) GetStringValue

      func (m *AttributeValue) GetStringValue() *TruncatableString

      func (*AttributeValue) GetValue

      func (m *AttributeValue) GetValue() isAttributeValue_Value

      func (*AttributeValue) ProtoMessage

      func (*AttributeValue) ProtoMessage()

      func (*AttributeValue) Reset

      func (m *AttributeValue) Reset()

      func (*AttributeValue) String

      func (m *AttributeValue) String() string

      func (*AttributeValue) XXX_OneofFuncs

      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{})

        XXX_OneofFuncs is for the internal use of the proto package.

        type AttributeValue_BoolValue

        type AttributeValue_BoolValue struct {
        	BoolValue bool `protobuf:"varint,3,opt,name=bool_value,json=boolValue,oneof"`
        }

        type AttributeValue_IntValue

        type AttributeValue_IntValue struct {
        	IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,oneof"`
        }

        type AttributeValue_StringValue

        type AttributeValue_StringValue struct {
        	StringValue *TruncatableString `protobuf:"bytes,1,opt,name=string_value,json=stringValue,oneof"`
        }

        type BatchWriteSpansRequest

        type BatchWriteSpansRequest struct {
        	// Required. The name of the project where the spans belong. The format is
        	// `projects/[PROJECT_ID]`.
        	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
        	// A list of new spans. The span names must not match existing
        	// spans, or the results are undefined.
        	Spans []*Span `protobuf:"bytes,2,rep,name=spans" json:"spans,omitempty"`
        }

          The request message for the `BatchWriteSpans` method.

          func (*BatchWriteSpansRequest) Descriptor

          func (*BatchWriteSpansRequest) Descriptor() ([]byte, []int)

          func (*BatchWriteSpansRequest) GetName

          func (m *BatchWriteSpansRequest) GetName() string

          func (*BatchWriteSpansRequest) GetSpans

          func (m *BatchWriteSpansRequest) GetSpans() []*Span

          func (*BatchWriteSpansRequest) ProtoMessage

          func (*BatchWriteSpansRequest) ProtoMessage()

          func (*BatchWriteSpansRequest) Reset

          func (m *BatchWriteSpansRequest) Reset()

          func (*BatchWriteSpansRequest) String

          func (m *BatchWriteSpansRequest) String() string

          type 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" 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" json:"build_id,omitempty"`
          }

            Binary module.

            func (*Module) Descriptor

            func (*Module) Descriptor() ([]byte, []int)

            func (*Module) GetBuildId

            func (m *Module) GetBuildId() *TruncatableString

            func (*Module) GetModule

            func (m *Module) GetModule() *TruncatableString

            func (*Module) ProtoMessage

            func (*Module) ProtoMessage()

            func (*Module) Reset

            func (m *Module) Reset()

            func (*Module) String

            func (m *Module) String() string

            type Span

            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" json:"name,omitempty"`
            	// The [SPAN_ID] portion of the span's resource name.
            	SpanId string `protobuf:"bytes,2,opt,name=span_id,json=spanId" 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" 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" 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 *google_protobuf1.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime" 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 *google_protobuf1.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime" 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" json:"attributes,omitempty"`
            	// Stack trace captured at the start of the span.
            	StackTrace *StackTrace `protobuf:"bytes,8,opt,name=stack_trace,json=stackTrace" 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" 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" json:"links,omitempty"`
            	// An optional final status for this span.
            	Status *google_rpc.Status `protobuf:"bytes,11,opt,name=status" 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 *google_protobuf2.BoolValue `` /* 130-byte string literal not displayed */
            	// An optional number of child spans that were generated while this span
            	// was active. If set, allows implementation to detect missing child spans.
            	ChildSpanCount *google_protobuf2.Int32Value `protobuf:"bytes,13,opt,name=child_span_count,json=childSpanCount" json:"child_span_count,omitempty"`
            }

              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.

              func (*Span) Descriptor

              func (*Span) Descriptor() ([]byte, []int)

              func (*Span) GetAttributes

              func (m *Span) GetAttributes() *Span_Attributes

              func (*Span) GetChildSpanCount

              func (m *Span) GetChildSpanCount() *google_protobuf2.Int32Value

              func (*Span) GetDisplayName

              func (m *Span) GetDisplayName() *TruncatableString

              func (*Span) GetEndTime

              func (m *Span) GetEndTime() *google_protobuf1.Timestamp
              func (m *Span) GetLinks() *Span_Links

              func (*Span) GetName

              func (m *Span) GetName() string

              func (*Span) GetParentSpanId

              func (m *Span) GetParentSpanId() string

              func (*Span) GetSameProcessAsParentSpan

              func (m *Span) GetSameProcessAsParentSpan() *google_protobuf2.BoolValue

              func (*Span) GetSpanId

              func (m *Span) GetSpanId() string

              func (*Span) GetStackTrace

              func (m *Span) GetStackTrace() *StackTrace

              func (*Span) GetStartTime

              func (m *Span) GetStartTime() *google_protobuf1.Timestamp

              func (*Span) GetStatus

              func (m *Span) GetStatus() *google_rpc.Status

              func (*Span) GetTimeEvents

              func (m *Span) GetTimeEvents() *Span_TimeEvents

              func (*Span) ProtoMessage

              func (*Span) ProtoMessage()

              func (*Span) Reset

              func (m *Span) Reset()

              func (*Span) String

              func (m *Span) String() string

              type Span_Attributes

              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 `` /* 164-byte string literal not displayed */
              	// 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" json:"dropped_attributes_count,omitempty"`
              }

                A set of attributes, each in the format `[KEY]:[VALUE]`.

                func (*Span_Attributes) Descriptor

                func (*Span_Attributes) Descriptor() ([]byte, []int)

                func (*Span_Attributes) GetAttributeMap

                func (m *Span_Attributes) GetAttributeMap() map[string]*AttributeValue

                func (*Span_Attributes) GetDroppedAttributesCount

                func (m *Span_Attributes) GetDroppedAttributesCount() int32

                func (*Span_Attributes) ProtoMessage

                func (*Span_Attributes) ProtoMessage()

                func (*Span_Attributes) Reset

                func (m *Span_Attributes) Reset()

                func (*Span_Attributes) String

                func (m *Span_Attributes) String() string
                type Span_Link struct {
                	// The [TRACE_ID] for a trace within a project.
                	TraceId string `protobuf:"bytes,1,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"`
                	// The [SPAN_ID] for a span within a trace.
                	SpanId string `protobuf:"bytes,2,opt,name=span_id,json=spanId" 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,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" json:"attributes,omitempty"`
                }

                  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.

                  func (*Span_Link) Descriptor

                  func (*Span_Link) Descriptor() ([]byte, []int)

                  func (*Span_Link) GetAttributes

                  func (m *Span_Link) GetAttributes() *Span_Attributes

                  func (*Span_Link) GetSpanId

                  func (m *Span_Link) GetSpanId() string

                  func (*Span_Link) GetTraceId

                  func (m *Span_Link) GetTraceId() string

                  func (*Span_Link) GetType

                  func (m *Span_Link) GetType() Span_Link_Type

                  func (*Span_Link) ProtoMessage

                  func (*Span_Link) ProtoMessage()

                  func (*Span_Link) Reset

                  func (m *Span_Link) Reset()

                  func (*Span_Link) String

                  func (m *Span_Link) String() string
                  type Span_Link_Type int32

                    The relationship of the current span relative to the linked span: child, parent, or unspecified.

                    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
                    )
                    func (Span_Link_Type) EnumDescriptor() ([]byte, []int)
                    func (x Span_Link_Type) String() string
                    type Span_Links struct {
                    	// A collection of links.
                    	Link []*Span_Link `protobuf:"bytes,1,rep,name=link" 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" json:"dropped_links_count,omitempty"`
                    }

                      A collection of links, which are references from this span to a span in the same or different trace.

                      func (*Span_Links) Descriptor

                      func (*Span_Links) Descriptor() ([]byte, []int)

                      func (*Span_Links) GetDroppedLinksCount

                      func (m *Span_Links) GetDroppedLinksCount() int32
                      func (m *Span_Links) GetLink() []*Span_Link

                      func (*Span_Links) ProtoMessage

                      func (*Span_Links) ProtoMessage()

                      func (*Span_Links) Reset

                      func (m *Span_Links) Reset()

                      func (*Span_Links) String

                      func (m *Span_Links) String() string

                      type Span_TimeEvent

                      type Span_TimeEvent struct {
                      	// The timestamp indicating the time the event occurred.
                      	Time *google_protobuf1.Timestamp `protobuf:"bytes,1,opt,name=time" 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"`
                      }

                        A time-stamped annotation or message event in the Span.

                        func (*Span_TimeEvent) Descriptor

                        func (*Span_TimeEvent) Descriptor() ([]byte, []int)

                        func (*Span_TimeEvent) GetAnnotation

                        func (m *Span_TimeEvent) GetAnnotation() *Span_TimeEvent_Annotation

                        func (*Span_TimeEvent) GetMessageEvent

                        func (m *Span_TimeEvent) GetMessageEvent() *Span_TimeEvent_MessageEvent

                        func (*Span_TimeEvent) GetTime

                        func (*Span_TimeEvent) GetValue

                        func (m *Span_TimeEvent) GetValue() isSpan_TimeEvent_Value

                        func (*Span_TimeEvent) ProtoMessage

                        func (*Span_TimeEvent) ProtoMessage()

                        func (*Span_TimeEvent) Reset

                        func (m *Span_TimeEvent) Reset()

                        func (*Span_TimeEvent) String

                        func (m *Span_TimeEvent) String() string

                        func (*Span_TimeEvent) XXX_OneofFuncs

                        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{})

                          XXX_OneofFuncs is for the internal use of the proto package.

                          type Span_TimeEvent_Annotation

                          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" 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" json:"attributes,omitempty"`
                          }

                            Text annotation with a set of attributes.

                            func (*Span_TimeEvent_Annotation) Descriptor

                            func (*Span_TimeEvent_Annotation) Descriptor() ([]byte, []int)

                            func (*Span_TimeEvent_Annotation) GetAttributes

                            func (m *Span_TimeEvent_Annotation) GetAttributes() *Span_Attributes

                            func (*Span_TimeEvent_Annotation) GetDescription

                            func (m *Span_TimeEvent_Annotation) GetDescription() *TruncatableString

                            func (*Span_TimeEvent_Annotation) ProtoMessage

                            func (*Span_TimeEvent_Annotation) ProtoMessage()

                            func (*Span_TimeEvent_Annotation) Reset

                            func (m *Span_TimeEvent_Annotation) Reset()

                            func (*Span_TimeEvent_Annotation) String

                            func (m *Span_TimeEvent_Annotation) String() string

                            type Span_TimeEvent_Annotation_

                            type Span_TimeEvent_Annotation_ struct {
                            	Annotation *Span_TimeEvent_Annotation `protobuf:"bytes,2,opt,name=annotation,oneof"`
                            }

                            type Span_TimeEvent_MessageEvent

                            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,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" json:"id,omitempty"`
                            	// The number of uncompressed bytes sent or received.
                            	UncompressedSizeBytes int64 `protobuf:"varint,3,opt,name=uncompressed_size_bytes,json=uncompressedSizeBytes" 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" json:"compressed_size_bytes,omitempty"`
                            }

                              An event describing a message sent/received between Spans.

                              func (*Span_TimeEvent_MessageEvent) Descriptor

                              func (*Span_TimeEvent_MessageEvent) Descriptor() ([]byte, []int)

                              func (*Span_TimeEvent_MessageEvent) GetCompressedSizeBytes

                              func (m *Span_TimeEvent_MessageEvent) GetCompressedSizeBytes() int64

                              func (*Span_TimeEvent_MessageEvent) GetId

                              func (*Span_TimeEvent_MessageEvent) GetType

                              func (*Span_TimeEvent_MessageEvent) GetUncompressedSizeBytes

                              func (m *Span_TimeEvent_MessageEvent) GetUncompressedSizeBytes() int64

                              func (*Span_TimeEvent_MessageEvent) ProtoMessage

                              func (*Span_TimeEvent_MessageEvent) ProtoMessage()

                              func (*Span_TimeEvent_MessageEvent) Reset

                              func (m *Span_TimeEvent_MessageEvent) Reset()

                              func (*Span_TimeEvent_MessageEvent) String

                              func (m *Span_TimeEvent_MessageEvent) String() string

                              type Span_TimeEvent_MessageEvent_

                              type Span_TimeEvent_MessageEvent_ struct {
                              	MessageEvent *Span_TimeEvent_MessageEvent `protobuf:"bytes,3,opt,name=message_event,json=messageEvent,oneof"`
                              }

                              type Span_TimeEvent_MessageEvent_Type

                              type Span_TimeEvent_MessageEvent_Type int32

                                Indicates whether the message was sent or received.

                                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
                                )

                                func (Span_TimeEvent_MessageEvent_Type) EnumDescriptor

                                func (Span_TimeEvent_MessageEvent_Type) EnumDescriptor() ([]byte, []int)

                                func (Span_TimeEvent_MessageEvent_Type) String

                                type Span_TimeEvents

                                type Span_TimeEvents struct {
                                	// A collection of `TimeEvent`s.
                                	TimeEvent []*Span_TimeEvent `protobuf:"bytes,1,rep,name=time_event,json=timeEvent" 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 `` /* 126-byte string literal not displayed */
                                	// 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 `` /* 134-byte string literal not displayed */
                                }

                                  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.

                                  func (*Span_TimeEvents) Descriptor

                                  func (*Span_TimeEvents) Descriptor() ([]byte, []int)

                                  func (*Span_TimeEvents) GetDroppedAnnotationsCount

                                  func (m *Span_TimeEvents) GetDroppedAnnotationsCount() int32

                                  func (*Span_TimeEvents) GetDroppedMessageEventsCount

                                  func (m *Span_TimeEvents) GetDroppedMessageEventsCount() int32

                                  func (*Span_TimeEvents) GetTimeEvent

                                  func (m *Span_TimeEvents) GetTimeEvent() []*Span_TimeEvent

                                  func (*Span_TimeEvents) ProtoMessage

                                  func (*Span_TimeEvents) ProtoMessage()

                                  func (*Span_TimeEvents) Reset

                                  func (m *Span_TimeEvents) Reset()

                                  func (*Span_TimeEvents) String

                                  func (m *Span_TimeEvents) String() string

                                  type StackTrace

                                  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" 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" json:"stack_trace_hash_id,omitempty"`
                                  }

                                    A call stack appearing in a trace.

                                    func (*StackTrace) Descriptor

                                    func (*StackTrace) Descriptor() ([]byte, []int)

                                    func (*StackTrace) GetStackFrames

                                    func (m *StackTrace) GetStackFrames() *StackTrace_StackFrames

                                    func (*StackTrace) GetStackTraceHashId

                                    func (m *StackTrace) GetStackTraceHashId() int64

                                    func (*StackTrace) ProtoMessage

                                    func (*StackTrace) ProtoMessage()

                                    func (*StackTrace) Reset

                                    func (m *StackTrace) Reset()

                                    func (*StackTrace) String

                                    func (m *StackTrace) String() string

                                    type StackTrace_StackFrame

                                    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" 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" 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" 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" 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" json:"column_number,omitempty"`
                                    	// The binary module from where the code was loaded.
                                    	LoadModule *Module `protobuf:"bytes,6,opt,name=load_module,json=loadModule" 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" json:"source_version,omitempty"`
                                    }

                                      Represents a single stack frame in a stack trace.

                                      func (*StackTrace_StackFrame) Descriptor

                                      func (*StackTrace_StackFrame) Descriptor() ([]byte, []int)

                                      func (*StackTrace_StackFrame) GetColumnNumber

                                      func (m *StackTrace_StackFrame) GetColumnNumber() int64

                                      func (*StackTrace_StackFrame) GetFileName

                                      func (m *StackTrace_StackFrame) GetFileName() *TruncatableString

                                      func (*StackTrace_StackFrame) GetFunctionName

                                      func (m *StackTrace_StackFrame) GetFunctionName() *TruncatableString

                                      func (*StackTrace_StackFrame) GetLineNumber

                                      func (m *StackTrace_StackFrame) GetLineNumber() int64

                                      func (*StackTrace_StackFrame) GetLoadModule

                                      func (m *StackTrace_StackFrame) GetLoadModule() *Module

                                      func (*StackTrace_StackFrame) GetOriginalFunctionName

                                      func (m *StackTrace_StackFrame) GetOriginalFunctionName() *TruncatableString

                                      func (*StackTrace_StackFrame) GetSourceVersion

                                      func (m *StackTrace_StackFrame) GetSourceVersion() *TruncatableString

                                      func (*StackTrace_StackFrame) ProtoMessage

                                      func (*StackTrace_StackFrame) ProtoMessage()

                                      func (*StackTrace_StackFrame) Reset

                                      func (m *StackTrace_StackFrame) Reset()

                                      func (*StackTrace_StackFrame) String

                                      func (m *StackTrace_StackFrame) String() string

                                      type StackTrace_StackFrames

                                      type StackTrace_StackFrames struct {
                                      	// Stack frames in this call stack.
                                      	Frame []*StackTrace_StackFrame `protobuf:"bytes,1,rep,name=frame" 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" json:"dropped_frames_count,omitempty"`
                                      }

                                        A collection of stack frames, which can be truncated.

                                        func (*StackTrace_StackFrames) Descriptor

                                        func (*StackTrace_StackFrames) Descriptor() ([]byte, []int)

                                        func (*StackTrace_StackFrames) GetDroppedFramesCount

                                        func (m *StackTrace_StackFrames) GetDroppedFramesCount() int32

                                        func (*StackTrace_StackFrames) GetFrame

                                        func (*StackTrace_StackFrames) ProtoMessage

                                        func (*StackTrace_StackFrames) ProtoMessage()

                                        func (*StackTrace_StackFrames) Reset

                                        func (m *StackTrace_StackFrames) Reset()

                                        func (*StackTrace_StackFrames) String

                                        func (m *StackTrace_StackFrames) String() string

                                        type TraceServiceClient

                                        type TraceServiceClient interface {
                                        	// Sends new spans to new or existing traces. You cannot update
                                        	// existing spans.
                                        	BatchWriteSpans(ctx context.Context, in *BatchWriteSpansRequest, opts ...grpc.CallOption) (*google_protobuf4.Empty, error)
                                        	// Creates a new span.
                                        	CreateSpan(ctx context.Context, in *Span, opts ...grpc.CallOption) (*Span, error)
                                        }

                                        func NewTraceServiceClient

                                        func NewTraceServiceClient(cc *grpc.ClientConn) TraceServiceClient

                                        type TraceServiceServer

                                        type TraceServiceServer interface {
                                        	// Sends new spans to new or existing traces. You cannot update
                                        	// existing spans.
                                        	BatchWriteSpans(context.Context, *BatchWriteSpansRequest) (*google_protobuf4.Empty, error)
                                        	// Creates a new span.
                                        	CreateSpan(context.Context, *Span) (*Span, error)
                                        }

                                        type TruncatableString

                                        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" 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" json:"truncated_byte_count,omitempty"`
                                        }

                                          Represents a string that might be shortened to a specified length.

                                          func (*TruncatableString) Descriptor

                                          func (*TruncatableString) Descriptor() ([]byte, []int)

                                          func (*TruncatableString) GetTruncatedByteCount

                                          func (m *TruncatableString) GetTruncatedByteCount() int32

                                          func (*TruncatableString) GetValue

                                          func (m *TruncatableString) GetValue() string

                                          func (*TruncatableString) ProtoMessage

                                          func (*TruncatableString) ProtoMessage()

                                          func (*TruncatableString) Reset

                                          func (m *TruncatableString) Reset()

                                          func (*TruncatableString) String

                                          func (m *TruncatableString) String() string