Bumping k8s dependencies to 1.13
This commit is contained in:
634
vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/trace.pb.go
generated
vendored
634
vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/trace.pb.go
generated
vendored
@@ -1,30 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/devtools/cloudtrace/v2/trace.proto
|
||||
|
||||
/*
|
||||
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
|
||||
*/
|
||||
package cloudtrace
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/wrappers"
|
||||
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
wrappers "github.com/golang/protobuf/ptypes/wrappers"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@@ -54,6 +41,7 @@ var Span_TimeEvent_MessageEvent_Type_name = map[int32]string{
|
||||
1: "SENT",
|
||||
2: "RECEIVED",
|
||||
}
|
||||
|
||||
var Span_TimeEvent_MessageEvent_Type_value = map[string]int32{
|
||||
"TYPE_UNSPECIFIED": 0,
|
||||
"SENT": 1,
|
||||
@@ -63,8 +51,9 @@ var Span_TimeEvent_MessageEvent_Type_value = map[string]int32{
|
||||
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 fileDescriptor0, []int{0, 1, 1, 0}
|
||||
return fileDescriptor_29869cc16dc8ce61, []int{0, 1, 1, 0}
|
||||
}
|
||||
|
||||
// The relationship of the current span relative to the linked span: child,
|
||||
@@ -85,6 +74,7 @@ var Span_Link_Type_name = map[int32]string{
|
||||
1: "CHILD_LINKED_SPAN",
|
||||
2: "PARENT_LINKED_SPAN",
|
||||
}
|
||||
|
||||
var Span_Link_Type_value = map[string]int32{
|
||||
"TYPE_UNSPECIFIED": 0,
|
||||
"CHILD_LINKED_SPAN": 1,
|
||||
@@ -94,7 +84,10 @@ var Span_Link_Type_value = map[string]int32{
|
||||
func (x Span_Link_Type) String() string {
|
||||
return proto.EnumName(Span_Link_Type_name, int32(x))
|
||||
}
|
||||
func (Span_Link_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 3, 0} }
|
||||
|
||||
func (Span_Link_Type) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_29869cc16dc8ce61, []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
|
||||
@@ -112,12 +105,12 @@ type Span struct {
|
||||
//
|
||||
// [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"`
|
||||
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" json:"span_id,omitempty"`
|
||||
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" json:"parent_span_id,omitempty"`
|
||||
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 %}.
|
||||
@@ -125,41 +118,64 @@ type Span struct {
|
||||
// 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"`
|
||||
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 *google_protobuf1.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
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 *google_protobuf1.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
||||
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" json:"attributes,omitempty"`
|
||||
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" json:"stack_trace,omitempty"`
|
||||
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" json:"time_events,omitempty"`
|
||||
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" json:"links,omitempty"`
|
||||
Links *Span_Links `protobuf:"bytes,10,opt,name=links,proto3" json:"links,omitempty"`
|
||||
// An optional final status for this span.
|
||||
Status *google_rpc.Status `protobuf:"bytes,11,opt,name=status" json:"status,omitempty"`
|
||||
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 *google_protobuf2.BoolValue `protobuf:"bytes,12,opt,name=same_process_as_parent_span,json=sameProcessAsParentSpan" json:"same_process_as_parent_span,omitempty"`
|
||||
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 *google_protobuf2.Int32Value `protobuf:"bytes,13,opt,name=child_span_count,json=childSpanCount" json:"child_span_count,omitempty"`
|
||||
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 fileDescriptor0, []int{0} }
|
||||
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_29869cc16dc8ce61, []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 (m *Span) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span.Merge(m, 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 {
|
||||
@@ -189,14 +205,14 @@ func (m *Span) GetDisplayName() *TruncatableString {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Span) GetStartTime() *google_protobuf1.Timestamp {
|
||||
func (m *Span) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Span) GetEndTime() *google_protobuf1.Timestamp {
|
||||
func (m *Span) GetEndTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
@@ -231,21 +247,21 @@ func (m *Span) GetLinks() *Span_Links {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Span) GetStatus() *google_rpc.Status {
|
||||
func (m *Span) GetStatus() *status.Status {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Span) GetSameProcessAsParentSpan() *google_protobuf2.BoolValue {
|
||||
func (m *Span) GetSameProcessAsParentSpan() *wrappers.BoolValue {
|
||||
if m != nil {
|
||||
return m.SameProcessAsParentSpan
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Span) GetChildSpanCount() *google_protobuf2.Int32Value {
|
||||
func (m *Span) GetChildSpanCount() *wrappers.Int32Value {
|
||||
if m != nil {
|
||||
return m.ChildSpanCount
|
||||
}
|
||||
@@ -262,17 +278,40 @@ type Span_Attributes struct {
|
||||
// "/http/user_agent": ""
|
||||
// "/http/request_bytes": 300
|
||||
// "abc.com/myattribute": true
|
||||
AttributeMap map[string]*AttributeValue `protobuf:"bytes,1,rep,name=attribute_map,json=attributeMap" json:"attribute_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
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" json:"dropped_attributes_count,omitempty"`
|
||||
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 fileDescriptor0, []int{0, 0} }
|
||||
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_29869cc16dc8ce61, []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 (m *Span_Attributes) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_Attributes.Merge(m, 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 {
|
||||
@@ -291,33 +330,65 @@ func (m *Span_Attributes) GetDroppedAttributesCount() int32 {
|
||||
// A time-stamped annotation or message event in the Span.
|
||||
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"`
|
||||
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"`
|
||||
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 fileDescriptor0, []int{0, 1} }
|
||||
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_29869cc16dc8ce61, []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 (m *Span_TimeEvent) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_TimeEvent.Merge(m, 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,oneof"`
|
||||
}
|
||||
type Span_TimeEvent_MessageEvent_ struct {
|
||||
MessageEvent *Span_TimeEvent_MessageEvent `protobuf:"bytes,3,opt,name=message_event,json=messageEvent,oneof"`
|
||||
Annotation *Span_TimeEvent_Annotation `protobuf:"bytes,2,opt,name=annotation,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Span_TimeEvent_Annotation_) isSpan_TimeEvent_Value() {}
|
||||
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 {
|
||||
@@ -327,13 +398,6 @@ func (m *Span_TimeEvent) GetValue() isSpan_TimeEvent_Value {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Span_TimeEvent) GetTime() *google_protobuf1.Timestamp {
|
||||
if m != nil {
|
||||
return m.Time
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Span_TimeEvent) GetAnnotation() *Span_TimeEvent_Annotation {
|
||||
if x, ok := m.GetValue().(*Span_TimeEvent_Annotation_); ok {
|
||||
return x.Annotation
|
||||
@@ -407,12 +471,12 @@ func _Span_TimeEvent_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.Value.(type) {
|
||||
case *Span_TimeEvent_Annotation_:
|
||||
s := proto.Size(x.Annotation)
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Span_TimeEvent_MessageEvent_:
|
||||
s := proto.Size(x.MessageEvent)
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
@@ -426,16 +490,39 @@ func _Span_TimeEvent_OneofSizer(msg proto.Message) (n int) {
|
||||
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"`
|
||||
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" json:"attributes,omitempty"`
|
||||
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 fileDescriptor0, []int{0, 1, 0} }
|
||||
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_29869cc16dc8ce61, []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 (m *Span_TimeEvent_Annotation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_TimeEvent_Annotation.Merge(m, 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 {
|
||||
@@ -455,25 +542,46 @@ func (m *Span_TimeEvent_Annotation) GetAttributes() *Span_Attributes {
|
||||
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"`
|
||||
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" json:"id,omitempty"`
|
||||
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" json:"uncompressed_size_bytes,omitempty"`
|
||||
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" json:"compressed_size_bytes,omitempty"`
|
||||
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 fileDescriptor0, []int{0, 1, 1}
|
||||
return fileDescriptor_29869cc16dc8ce61, []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 (m *Span_TimeEvent_MessageEvent) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_TimeEvent_MessageEvent.Merge(m, 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
|
||||
@@ -507,19 +615,42 @@ func (m *Span_TimeEvent_MessageEvent) GetCompressedSizeBytes() int64 {
|
||||
// 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" json:"time_event,omitempty"`
|
||||
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" json:"dropped_annotations_count,omitempty"`
|
||||
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" json:"dropped_message_events_count,omitempty"`
|
||||
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 fileDescriptor0, []int{0, 2} }
|
||||
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_29869cc16dc8ce61, []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 (m *Span_TimeEvents) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_TimeEvents.Merge(m, 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 {
|
||||
@@ -548,20 +679,43 @@ func (m *Span_TimeEvents) GetDroppedMessageEventsCount() int32 {
|
||||
// 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" json:"trace_id,omitempty"`
|
||||
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" json:"span_id,omitempty"`
|
||||
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,enum=google.devtools.cloudtrace.v2.Span_Link_Type" json:"type,omitempty"`
|
||||
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" json:"attributes,omitempty"`
|
||||
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 fileDescriptor0, []int{0, 3} }
|
||||
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_29869cc16dc8ce61, []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 (m *Span_Link) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_Link.Merge(m, 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 {
|
||||
@@ -595,16 +749,39 @@ func (m *Span_Link) GetAttributes() *Span_Attributes {
|
||||
// in the same or different trace.
|
||||
type Span_Links struct {
|
||||
// A collection of links.
|
||||
Link []*Span_Link `protobuf:"bytes,1,rep,name=link" json:"link,omitempty"`
|
||||
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" json:"dropped_links_count,omitempty"`
|
||||
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 fileDescriptor0, []int{0, 4} }
|
||||
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_29869cc16dc8ce61, []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 (m *Span_Links) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_Links.Merge(m, 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 {
|
||||
@@ -628,31 +805,58 @@ type AttributeValue struct {
|
||||
// *AttributeValue_StringValue
|
||||
// *AttributeValue_IntValue
|
||||
// *AttributeValue_BoolValue
|
||||
Value isAttributeValue_Value `protobuf_oneof:"value"`
|
||||
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 fileDescriptor0, []int{1} }
|
||||
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_29869cc16dc8ce61, []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 (m *AttributeValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AttributeValue.Merge(m, 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,oneof"`
|
||||
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,oneof"`
|
||||
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,oneof"`
|
||||
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 (*AttributeValue_IntValue) isAttributeValue_Value() {}
|
||||
|
||||
func (*AttributeValue_BoolValue) isAttributeValue_Value() {}
|
||||
|
||||
func (m *AttributeValue) GetValue() isAttributeValue_Value {
|
||||
if m != nil {
|
||||
@@ -753,14 +957,14 @@ func _AttributeValue_OneofSizer(msg proto.Message) (n int) {
|
||||
switch x := m.Value.(type) {
|
||||
case *AttributeValue_StringValue:
|
||||
s := proto.Size(x.StringValue)
|
||||
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *AttributeValue_IntValue:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.IntValue))
|
||||
case *AttributeValue_BoolValue:
|
||||
n += proto.SizeVarint(3<<3 | proto.WireVarint)
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case nil:
|
||||
default:
|
||||
@@ -772,7 +976,7 @@ func _AttributeValue_OneofSizer(msg proto.Message) (n int) {
|
||||
// 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" json:"stack_frames,omitempty"`
|
||||
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.
|
||||
//
|
||||
@@ -782,13 +986,36 @@ type StackTrace struct {
|
||||
//
|
||||
// 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"`
|
||||
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 fileDescriptor0, []int{2} }
|
||||
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_29869cc16dc8ce61, []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 (m *StackTrace) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_StackTrace.Merge(m, 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 {
|
||||
@@ -808,29 +1035,52 @@ func (m *StackTrace) GetStackTraceHashId() int64 {
|
||||
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"`
|
||||
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" json:"original_function_name,omitempty"`
|
||||
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" json:"file_name,omitempty"`
|
||||
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" json:"line_number,omitempty"`
|
||||
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" json:"column_number,omitempty"`
|
||||
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" json:"load_module,omitempty"`
|
||||
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" json:"source_version,omitempty"`
|
||||
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 fileDescriptor0, []int{2, 0} }
|
||||
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_29869cc16dc8ce61, []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 (m *StackTrace_StackFrame) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_StackTrace_StackFrame.Merge(m, 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 {
|
||||
@@ -884,17 +1134,40 @@ func (m *StackTrace_StackFrame) GetSourceVersion() *TruncatableString {
|
||||
// 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" json:"frame,omitempty"`
|
||||
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" json:"dropped_frames_count,omitempty"`
|
||||
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 fileDescriptor0, []int{2, 1} }
|
||||
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_29869cc16dc8ce61, []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 (m *StackTrace_StackFrames) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_StackTrace_StackFrames.Merge(m, 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 {
|
||||
@@ -914,16 +1187,39 @@ func (m *StackTrace_StackFrames) GetDroppedFramesCount() int32 {
|
||||
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"`
|
||||
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" json:"build_id,omitempty"`
|
||||
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 fileDescriptor0, []int{3} }
|
||||
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_29869cc16dc8ce61, []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 (m *Module) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Module.Merge(m, 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 {
|
||||
@@ -948,16 +1244,39 @@ type TruncatableString struct {
|
||||
// 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"`
|
||||
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" json:"truncated_byte_count,omitempty"`
|
||||
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 fileDescriptor0, []int{4} }
|
||||
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_29869cc16dc8ce61, []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 (m *TruncatableString) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TruncatableString.Merge(m, 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 {
|
||||
@@ -974,8 +1293,11 @@ func (m *TruncatableString) GetTruncatedByteCount() int32 {
|
||||
}
|
||||
|
||||
func init() {
|
||||
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)
|
||||
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")
|
||||
@@ -988,13 +1310,13 @@ func init() {
|
||||
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", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/devtools/cloudtrace/v2/trace.proto", fileDescriptor_29869cc16dc8ce61)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_29869cc16dc8ce61 = []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,
|
||||
|
||||
142
vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go
generated
vendored
142
vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go
generated
vendored
@@ -3,16 +3,15 @@
|
||||
|
||||
package cloudtrace
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf4 "github.com/golang/protobuf/ptypes/empty"
|
||||
import _ "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
context "context"
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
empty "github.com/golang/protobuf/ptypes/empty"
|
||||
_ "github.com/golang/protobuf/ptypes/timestamp"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
grpc "google.golang.org/grpc"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@@ -20,20 +19,49 @@ 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
|
||||
|
||||
// The request message for the `BatchWriteSpans` method.
|
||||
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"`
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" 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"`
|
||||
Spans []*Span `protobuf:"bytes,2,rep,name=spans,proto3" json:"spans,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *BatchWriteSpansRequest) Reset() { *m = BatchWriteSpansRequest{} }
|
||||
func (m *BatchWriteSpansRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*BatchWriteSpansRequest) ProtoMessage() {}
|
||||
func (*BatchWriteSpansRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
func (m *BatchWriteSpansRequest) Reset() { *m = BatchWriteSpansRequest{} }
|
||||
func (m *BatchWriteSpansRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*BatchWriteSpansRequest) ProtoMessage() {}
|
||||
func (*BatchWriteSpansRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_d1f9b588db05fdc6, []int{0}
|
||||
}
|
||||
|
||||
func (m *BatchWriteSpansRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_BatchWriteSpansRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *BatchWriteSpansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_BatchWriteSpansRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *BatchWriteSpansRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_BatchWriteSpansRequest.Merge(m, src)
|
||||
}
|
||||
func (m *BatchWriteSpansRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_BatchWriteSpansRequest.Size(m)
|
||||
}
|
||||
func (m *BatchWriteSpansRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_BatchWriteSpansRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_BatchWriteSpansRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *BatchWriteSpansRequest) GetName() string {
|
||||
if m != nil {
|
||||
@@ -53,6 +81,40 @@ func init() {
|
||||
proto.RegisterType((*BatchWriteSpansRequest)(nil), "google.devtools.cloudtrace.v2.BatchWriteSpansRequest")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/devtools/cloudtrace/v2/tracing.proto", fileDescriptor_d1f9b588db05fdc6)
|
||||
}
|
||||
|
||||
var fileDescriptor_d1f9b588db05fdc6 = []byte{
|
||||
// 404 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xdd, 0x6a, 0xdb, 0x30,
|
||||
0x14, 0x46, 0xde, 0x0f, 0x4c, 0x1b, 0x0c, 0x04, 0x0b, 0xc1, 0xdb, 0x58, 0xe6, 0x0d, 0x96, 0x64,
|
||||
0x43, 0x02, 0x8f, 0x5d, 0x2c, 0x63, 0x37, 0x09, 0x23, 0xb7, 0x21, 0x19, 0x19, 0x8c, 0xdc, 0x28,
|
||||
0x8e, 0xa6, 0x69, 0xd8, 0x92, 0x67, 0x29, 0x86, 0x52, 0x7a, 0xd3, 0x9b, 0x3e, 0x40, 0xfb, 0x14,
|
||||
0xa5, 0xd0, 0xf7, 0xe8, 0x6d, 0x5f, 0xa1, 0x0f, 0x52, 0x24, 0xd9, 0x0d, 0x84, 0x34, 0xc9, 0x9d,
|
||||
0xce, 0x39, 0xdf, 0xf9, 0xce, 0xf7, 0x7d, 0x36, 0xfc, 0xc8, 0x95, 0xe2, 0x29, 0x23, 0x0b, 0x56,
|
||||
0x1a, 0xa5, 0x52, 0x4d, 0x92, 0x54, 0x2d, 0x17, 0xa6, 0xa0, 0x09, 0x23, 0x65, 0x4c, 0xec, 0x43,
|
||||
0x48, 0x8e, 0xf3, 0x42, 0x19, 0x85, 0x5e, 0x7b, 0x30, 0xae, 0xc1, 0x78, 0x05, 0xc6, 0x65, 0x1c,
|
||||
0xbe, 0xaa, 0xb8, 0x68, 0x2e, 0x08, 0x95, 0x52, 0x19, 0x6a, 0x84, 0x92, 0xda, 0x2f, 0x87, 0x9d,
|
||||
0xdd, 0x97, 0x58, 0x05, 0x7d, 0x59, 0x41, 0x5d, 0x35, 0x5f, 0xfe, 0x21, 0x2c, 0xcb, 0xcd, 0x41,
|
||||
0x35, 0x7c, 0xb3, 0x3e, 0x34, 0x22, 0x63, 0xda, 0xd0, 0x2c, 0xf7, 0x80, 0x88, 0xc3, 0x46, 0x9f,
|
||||
0x9a, 0xe4, 0xef, 0xaf, 0x42, 0x18, 0x36, 0xc9, 0xa9, 0xd4, 0x63, 0xf6, 0x7f, 0xc9, 0xb4, 0x41,
|
||||
0x08, 0x3e, 0x94, 0x34, 0x63, 0x4d, 0xd0, 0x02, 0xed, 0x27, 0x63, 0xf7, 0x46, 0x5f, 0xe1, 0x23,
|
||||
0x6d, 0x31, 0xcd, 0xa0, 0xf5, 0xa0, 0xfd, 0x34, 0x7e, 0x87, 0xb7, 0x7a, 0xc4, 0x96, 0x6f, 0xec,
|
||||
0x37, 0xe2, 0xcb, 0x00, 0x3e, 0xfb, 0x69, 0x07, 0x13, 0x56, 0x94, 0x22, 0x61, 0xe8, 0x0c, 0xc0,
|
||||
0xe7, 0x6b, 0xa7, 0xd1, 0x97, 0x1d, 0x84, 0x9b, 0xa5, 0x86, 0x8d, 0x7a, 0xad, 0xb6, 0x89, 0x7f,
|
||||
0xd8, 0x0c, 0xa2, 0xf8, 0xf8, 0xfa, 0xe6, 0x34, 0xf8, 0x14, 0x7d, 0xb0, 0x99, 0x1d, 0x5a, 0x07,
|
||||
0xdf, 0xf3, 0x42, 0xfd, 0x63, 0x89, 0xd1, 0xa4, 0x7b, 0xe4, 0x53, 0xd4, 0xbd, 0xf9, 0x1d, 0x69,
|
||||
0x0f, 0x74, 0xd1, 0x09, 0x80, 0x70, 0x50, 0x30, 0xea, 0x4f, 0xa0, 0x7d, 0x2c, 0x86, 0xfb, 0x80,
|
||||
0x22, 0xe2, 0xc4, 0x74, 0xa2, 0xf7, 0x9b, 0xc4, 0x54, 0x5a, 0xac, 0x2a, 0x17, 0x57, 0x0f, 0x74,
|
||||
0xfb, 0x17, 0x00, 0xbe, 0x4d, 0x54, 0xb6, 0x9d, 0xbb, 0xef, 0x42, 0x15, 0x92, 0x8f, 0xac, 0xf5,
|
||||
0x11, 0xf8, 0x3d, 0xac, 0xe0, 0x5c, 0xa5, 0x54, 0x72, 0xac, 0x0a, 0x4e, 0x38, 0x93, 0x2e, 0x18,
|
||||
0xe2, 0x47, 0x34, 0x17, 0xfa, 0x9e, 0x1f, 0xeb, 0xdb, 0xaa, 0x3a, 0x0f, 0x5e, 0x0c, 0x3d, 0xd3,
|
||||
0xc0, 0xf6, 0xb0, 0xfb, 0x76, 0x78, 0x1a, 0x5f, 0xd5, 0xfd, 0x99, 0xeb, 0xcf, 0x5c, 0x7f, 0x36,
|
||||
0x8d, 0xe7, 0x8f, 0xdd, 0x8d, 0xcf, 0xb7, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x94, 0x51, 0x1d,
|
||||
0x25, 0x03, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
@@ -61,12 +123,13 @@ var _ grpc.ClientConn
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for TraceService service
|
||||
|
||||
// TraceServiceClient is the client API for TraceService service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
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)
|
||||
BatchWriteSpans(ctx context.Context, in *BatchWriteSpansRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
// Creates a new span.
|
||||
CreateSpan(ctx context.Context, in *Span, opts ...grpc.CallOption) (*Span, error)
|
||||
}
|
||||
@@ -79,9 +142,9 @@ func NewTraceServiceClient(cc *grpc.ClientConn) TraceServiceClient {
|
||||
return &traceServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *traceServiceClient) BatchWriteSpans(ctx context.Context, in *BatchWriteSpansRequest, opts ...grpc.CallOption) (*google_protobuf4.Empty, error) {
|
||||
out := new(google_protobuf4.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.cloudtrace.v2.TraceService/BatchWriteSpans", in, out, c.cc, opts...)
|
||||
func (c *traceServiceClient) BatchWriteSpans(ctx context.Context, in *BatchWriteSpansRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/google.devtools.cloudtrace.v2.TraceService/BatchWriteSpans", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -90,19 +153,18 @@ func (c *traceServiceClient) BatchWriteSpans(ctx context.Context, in *BatchWrite
|
||||
|
||||
func (c *traceServiceClient) CreateSpan(ctx context.Context, in *Span, opts ...grpc.CallOption) (*Span, error) {
|
||||
out := new(Span)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.cloudtrace.v2.TraceService/CreateSpan", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.devtools.cloudtrace.v2.TraceService/CreateSpan", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for TraceService service
|
||||
|
||||
// TraceServiceServer is the server API for TraceService service.
|
||||
type TraceServiceServer interface {
|
||||
// Sends new spans to new or existing traces. You cannot update
|
||||
// existing spans.
|
||||
BatchWriteSpans(context.Context, *BatchWriteSpansRequest) (*google_protobuf4.Empty, error)
|
||||
BatchWriteSpans(context.Context, *BatchWriteSpansRequest) (*empty.Empty, error)
|
||||
// Creates a new span.
|
||||
CreateSpan(context.Context, *Span) (*Span, error)
|
||||
}
|
||||
@@ -163,35 +225,3 @@ var _TraceService_serviceDesc = grpc.ServiceDesc{
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/devtools/cloudtrace/v2/tracing.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/devtools/cloudtrace/v2/tracing.proto", fileDescriptor1) }
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
// 404 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xdd, 0x6a, 0xdb, 0x30,
|
||||
0x14, 0x46, 0xde, 0x0f, 0x4c, 0x1b, 0x0c, 0x04, 0x0b, 0xc1, 0xdb, 0x58, 0xe6, 0x0d, 0x96, 0x64,
|
||||
0x43, 0x02, 0x8f, 0x5d, 0x2c, 0x63, 0x37, 0x09, 0x23, 0xb7, 0x21, 0x19, 0x19, 0x8c, 0xdc, 0x28,
|
||||
0x8e, 0xa6, 0x69, 0xd8, 0x92, 0x67, 0x29, 0x86, 0x52, 0x7a, 0xd3, 0x9b, 0x3e, 0x40, 0xfb, 0x14,
|
||||
0xa5, 0xd0, 0xf7, 0xe8, 0x6d, 0x5f, 0xa1, 0x0f, 0x52, 0x24, 0xd9, 0x0d, 0x84, 0x34, 0xc9, 0x9d,
|
||||
0xce, 0x39, 0xdf, 0xf9, 0xce, 0xf7, 0x7d, 0x36, 0xfc, 0xc8, 0x95, 0xe2, 0x29, 0x23, 0x0b, 0x56,
|
||||
0x1a, 0xa5, 0x52, 0x4d, 0x92, 0x54, 0x2d, 0x17, 0xa6, 0xa0, 0x09, 0x23, 0x65, 0x4c, 0xec, 0x43,
|
||||
0x48, 0x8e, 0xf3, 0x42, 0x19, 0x85, 0x5e, 0x7b, 0x30, 0xae, 0xc1, 0x78, 0x05, 0xc6, 0x65, 0x1c,
|
||||
0xbe, 0xaa, 0xb8, 0x68, 0x2e, 0x08, 0x95, 0x52, 0x19, 0x6a, 0x84, 0x92, 0xda, 0x2f, 0x87, 0x9d,
|
||||
0xdd, 0x97, 0x58, 0x05, 0x7d, 0x59, 0x41, 0x5d, 0x35, 0x5f, 0xfe, 0x21, 0x2c, 0xcb, 0xcd, 0x41,
|
||||
0x35, 0x7c, 0xb3, 0x3e, 0x34, 0x22, 0x63, 0xda, 0xd0, 0x2c, 0xf7, 0x80, 0x88, 0xc3, 0x46, 0x9f,
|
||||
0x9a, 0xe4, 0xef, 0xaf, 0x42, 0x18, 0x36, 0xc9, 0xa9, 0xd4, 0x63, 0xf6, 0x7f, 0xc9, 0xb4, 0x41,
|
||||
0x08, 0x3e, 0x94, 0x34, 0x63, 0x4d, 0xd0, 0x02, 0xed, 0x27, 0x63, 0xf7, 0x46, 0x5f, 0xe1, 0x23,
|
||||
0x6d, 0x31, 0xcd, 0xa0, 0xf5, 0xa0, 0xfd, 0x34, 0x7e, 0x87, 0xb7, 0x7a, 0xc4, 0x96, 0x6f, 0xec,
|
||||
0x37, 0xe2, 0xcb, 0x00, 0x3e, 0xfb, 0x69, 0x07, 0x13, 0x56, 0x94, 0x22, 0x61, 0xe8, 0x0c, 0xc0,
|
||||
0xe7, 0x6b, 0xa7, 0xd1, 0x97, 0x1d, 0x84, 0x9b, 0xa5, 0x86, 0x8d, 0x7a, 0xad, 0xb6, 0x89, 0x7f,
|
||||
0xd8, 0x0c, 0xa2, 0xf8, 0xf8, 0xfa, 0xe6, 0x34, 0xf8, 0x14, 0x7d, 0xb0, 0x99, 0x1d, 0x5a, 0x07,
|
||||
0xdf, 0xf3, 0x42, 0xfd, 0x63, 0x89, 0xd1, 0xa4, 0x7b, 0xe4, 0x53, 0xd4, 0xbd, 0xf9, 0x1d, 0x69,
|
||||
0x0f, 0x74, 0xd1, 0x09, 0x80, 0x70, 0x50, 0x30, 0xea, 0x4f, 0xa0, 0x7d, 0x2c, 0x86, 0xfb, 0x80,
|
||||
0x22, 0xe2, 0xc4, 0x74, 0xa2, 0xf7, 0x9b, 0xc4, 0x54, 0x5a, 0xac, 0x2a, 0x17, 0x57, 0x0f, 0x74,
|
||||
0xfb, 0x17, 0x00, 0xbe, 0x4d, 0x54, 0xb6, 0x9d, 0xbb, 0xef, 0x42, 0x15, 0x92, 0x8f, 0xac, 0xf5,
|
||||
0x11, 0xf8, 0x3d, 0xac, 0xe0, 0x5c, 0xa5, 0x54, 0x72, 0xac, 0x0a, 0x4e, 0x38, 0x93, 0x2e, 0x18,
|
||||
0xe2, 0x47, 0x34, 0x17, 0xfa, 0x9e, 0x1f, 0xeb, 0xdb, 0xaa, 0x3a, 0x0f, 0x5e, 0x0c, 0x3d, 0xd3,
|
||||
0xc0, 0xf6, 0xb0, 0xfb, 0x76, 0x78, 0x1a, 0x5f, 0xd5, 0xfd, 0x99, 0xeb, 0xcf, 0x5c, 0x7f, 0x36,
|
||||
0x8d, 0xe7, 0x8f, 0xdd, 0x8d, 0xcf, 0xb7, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbd, 0x94, 0x51, 0x1d,
|
||||
0x25, 0x03, 0x00, 0x00,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user