mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
vendor update for CSI 0.3.0
This commit is contained in:
326
vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v1/trace.pb.go
generated
vendored
326
vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v1/trace.pb.go
generated
vendored
@ -1,29 +1,14 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/devtools/cloudtrace/v1/trace.proto
|
||||
|
||||
/*
|
||||
Package cloudtrace is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/devtools/cloudtrace/v1/trace.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Trace
|
||||
Traces
|
||||
TraceSpan
|
||||
ListTracesRequest
|
||||
ListTracesResponse
|
||||
GetTraceRequest
|
||||
PatchTracesRequest
|
||||
*/
|
||||
package cloudtrace
|
||||
package cloudtrace // import "google.golang.org/genproto/googleapis/devtools/cloudtrace/v1"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import empty "github.com/golang/protobuf/ptypes/empty"
|
||||
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/empty"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
@ -70,7 +55,9 @@ var TraceSpan_SpanKind_value = map[string]int32{
|
||||
func (x TraceSpan_SpanKind) String() string {
|
||||
return proto.EnumName(TraceSpan_SpanKind_name, int32(x))
|
||||
}
|
||||
func (TraceSpan_SpanKind) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
|
||||
func (TraceSpan_SpanKind) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_trace_98dc85cc2ea3983c, []int{2, 0}
|
||||
}
|
||||
|
||||
// Type of data returned for traces in the list.
|
||||
type ListTracesRequest_ViewType int32
|
||||
@ -107,7 +94,7 @@ func (x ListTracesRequest_ViewType) String() string {
|
||||
return proto.EnumName(ListTracesRequest_ViewType_name, int32(x))
|
||||
}
|
||||
func (ListTracesRequest_ViewType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{3, 0}
|
||||
return fileDescriptor_trace_98dc85cc2ea3983c, []int{3, 0}
|
||||
}
|
||||
|
||||
// A trace describes how long it takes for an application to perform an
|
||||
@ -115,18 +102,40 @@ func (ListTracesRequest_ViewType) EnumDescriptor() ([]byte, []int) {
|
||||
// timed event within the operation.
|
||||
type Trace struct {
|
||||
// Project ID of the Cloud project where the trace data is stored.
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
||||
// Globally unique identifier for the trace. This identifier is a 128-bit
|
||||
// numeric value formatted as a 32-byte hex string.
|
||||
TraceId string `protobuf:"bytes,2,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"`
|
||||
TraceId string `protobuf:"bytes,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
|
||||
// Collection of spans in the trace.
|
||||
Spans []*TraceSpan `protobuf:"bytes,3,rep,name=spans" json:"spans,omitempty"`
|
||||
Spans []*TraceSpan `protobuf:"bytes,3,rep,name=spans,proto3" json:"spans,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Trace) Reset() { *m = Trace{} }
|
||||
func (m *Trace) String() string { return proto.CompactTextString(m) }
|
||||
func (*Trace) ProtoMessage() {}
|
||||
func (*Trace) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
func (m *Trace) Reset() { *m = Trace{} }
|
||||
func (m *Trace) String() string { return proto.CompactTextString(m) }
|
||||
func (*Trace) ProtoMessage() {}
|
||||
func (*Trace) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_trace_98dc85cc2ea3983c, []int{0}
|
||||
}
|
||||
func (m *Trace) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Trace.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Trace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Trace.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Trace) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Trace.Merge(dst, src)
|
||||
}
|
||||
func (m *Trace) XXX_Size() int {
|
||||
return xxx_messageInfo_Trace.Size(m)
|
||||
}
|
||||
func (m *Trace) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Trace.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Trace proto.InternalMessageInfo
|
||||
|
||||
func (m *Trace) GetProjectId() string {
|
||||
if m != nil {
|
||||
@ -152,13 +161,35 @@ func (m *Trace) GetSpans() []*TraceSpan {
|
||||
// List of new or updated traces.
|
||||
type Traces struct {
|
||||
// List of traces.
|
||||
Traces []*Trace `protobuf:"bytes,1,rep,name=traces" json:"traces,omitempty"`
|
||||
Traces []*Trace `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Traces) Reset() { *m = Traces{} }
|
||||
func (m *Traces) String() string { return proto.CompactTextString(m) }
|
||||
func (*Traces) ProtoMessage() {}
|
||||
func (*Traces) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
func (m *Traces) Reset() { *m = Traces{} }
|
||||
func (m *Traces) String() string { return proto.CompactTextString(m) }
|
||||
func (*Traces) ProtoMessage() {}
|
||||
func (*Traces) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_trace_98dc85cc2ea3983c, []int{1}
|
||||
}
|
||||
func (m *Traces) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Traces.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Traces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Traces.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Traces) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Traces.Merge(dst, src)
|
||||
}
|
||||
func (m *Traces) XXX_Size() int {
|
||||
return xxx_messageInfo_Traces.Size(m)
|
||||
}
|
||||
func (m *Traces) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Traces.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Traces proto.InternalMessageInfo
|
||||
|
||||
func (m *Traces) GetTraces() []*Trace {
|
||||
if m != nil {
|
||||
@ -175,11 +206,11 @@ func (m *Traces) GetTraces() []*Trace {
|
||||
type TraceSpan struct {
|
||||
// Identifier for the span. Must be a 64-bit integer other than 0 and
|
||||
// unique within a trace.
|
||||
SpanId uint64 `protobuf:"fixed64,1,opt,name=span_id,json=spanId" json:"span_id,omitempty"`
|
||||
SpanId uint64 `protobuf:"fixed64,1,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
|
||||
// Distinguishes between spans generated in a particular context. For example,
|
||||
// two spans with the same name may be distinguished using `RPC_CLIENT`
|
||||
// and `RPC_SERVER` to identify queueing latency associated with the span.
|
||||
Kind TraceSpan_SpanKind `protobuf:"varint,2,opt,name=kind,enum=google.devtools.cloudtrace.v1.TraceSpan_SpanKind" json:"kind,omitempty"`
|
||||
Kind TraceSpan_SpanKind `protobuf:"varint,2,opt,name=kind,proto3,enum=google.devtools.cloudtrace.v1.TraceSpan_SpanKind" json:"kind,omitempty"`
|
||||
// Name of the span. Must be less than 128 bytes. The span name is sanitized
|
||||
// and displayed in the Stackdriver Trace tool in the
|
||||
// {% dynamic print site_values.console_name %}.
|
||||
@ -187,13 +218,13 @@ type TraceSpan struct {
|
||||
// For the same executable and the same call point, a best practice is
|
||||
// to use a consistent name, which makes it easier to correlate
|
||||
// cross-trace spans.
|
||||
Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
|
||||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Start time of the span in nanoseconds from the UNIX epoch.
|
||||
StartTime *google_protobuf2.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
||||
StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
|
||||
// End time of the span in nanoseconds from the UNIX epoch.
|
||||
EndTime *google_protobuf2.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
||||
EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
|
||||
// ID of the parent span, if any. Optional.
|
||||
ParentSpanId uint64 `protobuf:"fixed64,6,opt,name=parent_span_id,json=parentSpanId" json:"parent_span_id,omitempty"`
|
||||
ParentSpanId uint64 `protobuf:"fixed64,6,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"`
|
||||
// Collection of labels associated with the span. Label keys must be less than
|
||||
// 128 bytes. Label values must be less than 16 kilobytes (10MB for
|
||||
// `/stacktrace` values).
|
||||
@ -218,22 +249,46 @@ type TraceSpan struct {
|
||||
// * `/http/client_region`
|
||||
// * `/http/host`
|
||||
// * `/http/method`
|
||||
// * `/http/path`
|
||||
// * `/http/redirected_url`
|
||||
// * `/http/request/size`
|
||||
// * `/http/response/size`
|
||||
// * `/http/route`
|
||||
// * `/http/status_code`
|
||||
// * `/http/url`
|
||||
// * `/http/user_agent`
|
||||
// * `/pid`
|
||||
// * `/stacktrace`
|
||||
// * `/tid`
|
||||
Labels map[string]string `protobuf:"bytes,7,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *TraceSpan) Reset() { *m = TraceSpan{} }
|
||||
func (m *TraceSpan) String() string { return proto.CompactTextString(m) }
|
||||
func (*TraceSpan) ProtoMessage() {}
|
||||
func (*TraceSpan) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
func (m *TraceSpan) Reset() { *m = TraceSpan{} }
|
||||
func (m *TraceSpan) String() string { return proto.CompactTextString(m) }
|
||||
func (*TraceSpan) ProtoMessage() {}
|
||||
func (*TraceSpan) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_trace_98dc85cc2ea3983c, []int{2}
|
||||
}
|
||||
func (m *TraceSpan) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TraceSpan.Unmarshal(m, b)
|
||||
}
|
||||
func (m *TraceSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_TraceSpan.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *TraceSpan) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TraceSpan.Merge(dst, src)
|
||||
}
|
||||
func (m *TraceSpan) XXX_Size() int {
|
||||
return xxx_messageInfo_TraceSpan.Size(m)
|
||||
}
|
||||
func (m *TraceSpan) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_TraceSpan.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_TraceSpan proto.InternalMessageInfo
|
||||
|
||||
func (m *TraceSpan) GetSpanId() uint64 {
|
||||
if m != nil {
|
||||
@ -256,14 +311,14 @@ func (m *TraceSpan) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *TraceSpan) GetStartTime() *google_protobuf2.Timestamp {
|
||||
func (m *TraceSpan) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *TraceSpan) GetEndTime() *google_protobuf2.Timestamp {
|
||||
func (m *TraceSpan) GetEndTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
@ -288,23 +343,23 @@ func (m *TraceSpan) GetLabels() map[string]string {
|
||||
// unless specified.
|
||||
type ListTracesRequest struct {
|
||||
// ID of the Cloud project where the trace data is stored.
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
||||
// Type of data returned for traces in the list. Optional. Default is
|
||||
// `MINIMAL`.
|
||||
View ListTracesRequest_ViewType `protobuf:"varint,2,opt,name=view,enum=google.devtools.cloudtrace.v1.ListTracesRequest_ViewType" json:"view,omitempty"`
|
||||
View ListTracesRequest_ViewType `protobuf:"varint,2,opt,name=view,proto3,enum=google.devtools.cloudtrace.v1.ListTracesRequest_ViewType" json:"view,omitempty"`
|
||||
// Maximum number of traces to return. If not specified or <= 0, the
|
||||
// implementation selects a reasonable value. The implementation may
|
||||
// return fewer traces than the requested page size. Optional.
|
||||
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
|
||||
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||||
// Token identifying the page of results to return. If provided, use the
|
||||
// value of the `next_page_token` field from a previous request. Optional.
|
||||
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
|
||||
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
|
||||
// Start of the time interval (inclusive) during which the trace data was
|
||||
// collected from the application.
|
||||
StartTime *google_protobuf2.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"`
|
||||
// End of the time interval (inclusive) during which the trace data was
|
||||
// collected from the application.
|
||||
EndTime *google_protobuf2.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"`
|
||||
// An optional filter against labels for the request.
|
||||
//
|
||||
// By default, searches use prefix matching. To specify exact match, prepend
|
||||
@ -335,7 +390,7 @@ type ListTracesRequest struct {
|
||||
// specified.
|
||||
// * `method:VALUE`: Equivalent to `/http/method:VALUE`.
|
||||
// * `url:VALUE`: Equivalent to `/http/url:VALUE`.
|
||||
Filter string `protobuf:"bytes,7,opt,name=filter" json:"filter,omitempty"`
|
||||
Filter string `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,omitempty"`
|
||||
// Field used to sort the returned traces. Optional.
|
||||
// Can be one of the following:
|
||||
//
|
||||
@ -349,13 +404,35 @@ type ListTracesRequest struct {
|
||||
// (for example, `name desc`).
|
||||
//
|
||||
// Only one sort field is permitted.
|
||||
OrderBy string `protobuf:"bytes,8,opt,name=order_by,json=orderBy" json:"order_by,omitempty"`
|
||||
OrderBy string `protobuf:"bytes,8,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListTracesRequest) Reset() { *m = ListTracesRequest{} }
|
||||
func (m *ListTracesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListTracesRequest) ProtoMessage() {}
|
||||
func (*ListTracesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
func (m *ListTracesRequest) Reset() { *m = ListTracesRequest{} }
|
||||
func (m *ListTracesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListTracesRequest) ProtoMessage() {}
|
||||
func (*ListTracesRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_trace_98dc85cc2ea3983c, []int{3}
|
||||
}
|
||||
func (m *ListTracesRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListTracesRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListTracesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListTracesRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListTracesRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListTracesRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *ListTracesRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ListTracesRequest.Size(m)
|
||||
}
|
||||
func (m *ListTracesRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListTracesRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListTracesRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ListTracesRequest) GetProjectId() string {
|
||||
if m != nil {
|
||||
@ -385,14 +462,14 @@ func (m *ListTracesRequest) GetPageToken() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListTracesRequest) GetStartTime() *google_protobuf2.Timestamp {
|
||||
func (m *ListTracesRequest) GetStartTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.StartTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListTracesRequest) GetEndTime() *google_protobuf2.Timestamp {
|
||||
func (m *ListTracesRequest) GetEndTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.EndTime
|
||||
}
|
||||
@ -416,17 +493,39 @@ func (m *ListTracesRequest) GetOrderBy() string {
|
||||
// The response message for the `ListTraces` method.
|
||||
type ListTracesResponse struct {
|
||||
// List of trace records returned.
|
||||
Traces []*Trace `protobuf:"bytes,1,rep,name=traces" json:"traces,omitempty"`
|
||||
Traces []*Trace `protobuf:"bytes,1,rep,name=traces,proto3" json:"traces,omitempty"`
|
||||
// If defined, indicates that there are more traces that match the request
|
||||
// and that this value should be passed to the next request to continue
|
||||
// retrieving additional traces.
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListTracesResponse) Reset() { *m = ListTracesResponse{} }
|
||||
func (m *ListTracesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListTracesResponse) ProtoMessage() {}
|
||||
func (*ListTracesResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
func (m *ListTracesResponse) Reset() { *m = ListTracesResponse{} }
|
||||
func (m *ListTracesResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListTracesResponse) ProtoMessage() {}
|
||||
func (*ListTracesResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_trace_98dc85cc2ea3983c, []int{4}
|
||||
}
|
||||
func (m *ListTracesResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListTracesResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListTracesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListTracesResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ListTracesResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListTracesResponse.Merge(dst, src)
|
||||
}
|
||||
func (m *ListTracesResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ListTracesResponse.Size(m)
|
||||
}
|
||||
func (m *ListTracesResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListTracesResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListTracesResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ListTracesResponse) GetTraces() []*Trace {
|
||||
if m != nil {
|
||||
@ -445,15 +544,37 @@ func (m *ListTracesResponse) GetNextPageToken() string {
|
||||
// The request message for the `GetTrace` method.
|
||||
type GetTraceRequest struct {
|
||||
// ID of the Cloud project where the trace data is stored.
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
||||
// ID of the trace to return.
|
||||
TraceId string `protobuf:"bytes,2,opt,name=trace_id,json=traceId" json:"trace_id,omitempty"`
|
||||
TraceId string `protobuf:"bytes,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GetTraceRequest) Reset() { *m = GetTraceRequest{} }
|
||||
func (m *GetTraceRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetTraceRequest) ProtoMessage() {}
|
||||
func (*GetTraceRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
func (m *GetTraceRequest) Reset() { *m = GetTraceRequest{} }
|
||||
func (m *GetTraceRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetTraceRequest) ProtoMessage() {}
|
||||
func (*GetTraceRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_trace_98dc85cc2ea3983c, []int{5}
|
||||
}
|
||||
func (m *GetTraceRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetTraceRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetTraceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetTraceRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GetTraceRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetTraceRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *GetTraceRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_GetTraceRequest.Size(m)
|
||||
}
|
||||
func (m *GetTraceRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetTraceRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetTraceRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *GetTraceRequest) GetProjectId() string {
|
||||
if m != nil {
|
||||
@ -472,15 +593,37 @@ func (m *GetTraceRequest) GetTraceId() string {
|
||||
// The request message for the `PatchTraces` method.
|
||||
type PatchTracesRequest struct {
|
||||
// ID of the Cloud project where the trace data is stored.
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
|
||||
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
||||
// The body of the message.
|
||||
Traces *Traces `protobuf:"bytes,2,opt,name=traces" json:"traces,omitempty"`
|
||||
Traces *Traces `protobuf:"bytes,2,opt,name=traces,proto3" json:"traces,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *PatchTracesRequest) Reset() { *m = PatchTracesRequest{} }
|
||||
func (m *PatchTracesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*PatchTracesRequest) ProtoMessage() {}
|
||||
func (*PatchTracesRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
func (m *PatchTracesRequest) Reset() { *m = PatchTracesRequest{} }
|
||||
func (m *PatchTracesRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*PatchTracesRequest) ProtoMessage() {}
|
||||
func (*PatchTracesRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_trace_98dc85cc2ea3983c, []int{6}
|
||||
}
|
||||
func (m *PatchTracesRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_PatchTracesRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *PatchTracesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_PatchTracesRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *PatchTracesRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_PatchTracesRequest.Merge(dst, src)
|
||||
}
|
||||
func (m *PatchTracesRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_PatchTracesRequest.Size(m)
|
||||
}
|
||||
func (m *PatchTracesRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_PatchTracesRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_PatchTracesRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *PatchTracesRequest) GetProjectId() string {
|
||||
if m != nil {
|
||||
@ -500,6 +643,7 @@ func init() {
|
||||
proto.RegisterType((*Trace)(nil), "google.devtools.cloudtrace.v1.Trace")
|
||||
proto.RegisterType((*Traces)(nil), "google.devtools.cloudtrace.v1.Traces")
|
||||
proto.RegisterType((*TraceSpan)(nil), "google.devtools.cloudtrace.v1.TraceSpan")
|
||||
proto.RegisterMapType((map[string]string)(nil), "google.devtools.cloudtrace.v1.TraceSpan.LabelsEntry")
|
||||
proto.RegisterType((*ListTracesRequest)(nil), "google.devtools.cloudtrace.v1.ListTracesRequest")
|
||||
proto.RegisterType((*ListTracesResponse)(nil), "google.devtools.cloudtrace.v1.ListTracesResponse")
|
||||
proto.RegisterType((*GetTraceRequest)(nil), "google.devtools.cloudtrace.v1.GetTraceRequest")
|
||||
@ -516,8 +660,9 @@ 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 {
|
||||
// Returns of a list of traces that match the specified filter conditions.
|
||||
ListTraces(ctx context.Context, in *ListTracesRequest, opts ...grpc.CallOption) (*ListTracesResponse, error)
|
||||
@ -528,7 +673,7 @@ type TraceServiceClient interface {
|
||||
// in the existing trace and its spans are overwritten by the provided values,
|
||||
// and any new fields provided are merged with the existing trace data. If the
|
||||
// ID does not match, a new trace is created.
|
||||
PatchTraces(ctx context.Context, in *PatchTracesRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
|
||||
PatchTraces(ctx context.Context, in *PatchTracesRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
||||
}
|
||||
|
||||
type traceServiceClient struct {
|
||||
@ -541,7 +686,7 @@ func NewTraceServiceClient(cc *grpc.ClientConn) TraceServiceClient {
|
||||
|
||||
func (c *traceServiceClient) ListTraces(ctx context.Context, in *ListTracesRequest, opts ...grpc.CallOption) (*ListTracesResponse, error) {
|
||||
out := new(ListTracesResponse)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.cloudtrace.v1.TraceService/ListTraces", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.devtools.cloudtrace.v1.TraceService/ListTraces", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -550,24 +695,23 @@ func (c *traceServiceClient) ListTraces(ctx context.Context, in *ListTracesReque
|
||||
|
||||
func (c *traceServiceClient) GetTrace(ctx context.Context, in *GetTraceRequest, opts ...grpc.CallOption) (*Trace, error) {
|
||||
out := new(Trace)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.cloudtrace.v1.TraceService/GetTrace", in, out, c.cc, opts...)
|
||||
err := c.cc.Invoke(ctx, "/google.devtools.cloudtrace.v1.TraceService/GetTrace", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *traceServiceClient) PatchTraces(ctx context.Context, in *PatchTracesRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
|
||||
out := new(google_protobuf1.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.cloudtrace.v1.TraceService/PatchTraces", in, out, c.cc, opts...)
|
||||
func (c *traceServiceClient) PatchTraces(ctx context.Context, in *PatchTracesRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
||||
out := new(empty.Empty)
|
||||
err := c.cc.Invoke(ctx, "/google.devtools.cloudtrace.v1.TraceService/PatchTraces", 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 {
|
||||
// Returns of a list of traces that match the specified filter conditions.
|
||||
ListTraces(context.Context, *ListTracesRequest) (*ListTracesResponse, error)
|
||||
@ -578,7 +722,7 @@ type TraceServiceServer interface {
|
||||
// in the existing trace and its spans are overwritten by the provided values,
|
||||
// and any new fields provided are merged with the existing trace data. If the
|
||||
// ID does not match, a new trace is created.
|
||||
PatchTraces(context.Context, *PatchTracesRequest) (*google_protobuf1.Empty, error)
|
||||
PatchTraces(context.Context, *PatchTracesRequest) (*empty.Empty, error)
|
||||
}
|
||||
|
||||
func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer) {
|
||||
@ -660,9 +804,11 @@ var _TraceService_serviceDesc = grpc.ServiceDesc{
|
||||
Metadata: "google/devtools/cloudtrace/v1/trace.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/devtools/cloudtrace/v1/trace.proto", fileDescriptor0) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/devtools/cloudtrace/v1/trace.proto", fileDescriptor_trace_98dc85cc2ea3983c)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_trace_98dc85cc2ea3983c = []byte{
|
||||
// 898 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x6e, 0x1b, 0x45,
|
||||
0x14, 0x66, 0xed, 0x78, 0x6d, 0x1f, 0x87, 0xd4, 0x8c, 0x68, 0x71, 0x5d, 0x2a, 0xc2, 0xaa, 0x20,
|
||||
|
604
vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/trace.pb.go
generated
vendored
604
vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/trace.pb.go
generated
vendored
@ -1,30 +1,15 @@
|
||||
// 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
|
||||
package cloudtrace // import "google.golang.org/genproto/googleapis/devtools/cloudtrace/v2"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import wrappers "github.com/golang/protobuf/ptypes/wrappers"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import 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 status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
@ -64,7 +49,7 @@ 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_trace_fa9cb54dc45915f9, []int{0, 1, 1, 0}
|
||||
}
|
||||
|
||||
// The relationship of the current span relative to the linked span: child,
|
||||
@ -94,7 +79,9 @@ 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_trace_fa9cb54dc45915f9, []int{0, 3, 0}
|
||||
}
|
||||
|
||||
// A span represents a single operation within a trace. Spans can be
|
||||
// nested to form a trace tree. Often, a trace contains a root span
|
||||
@ -112,12 +99,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 +112,63 @@ 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_trace_fa9cb54dc45915f9, []int{0}
|
||||
}
|
||||
func (m *Span) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Span.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Span.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Span) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span.Merge(dst, src)
|
||||
}
|
||||
func (m *Span) XXX_Size() int {
|
||||
return xxx_messageInfo_Span.Size(m)
|
||||
}
|
||||
func (m *Span) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Span.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Span proto.InternalMessageInfo
|
||||
|
||||
func (m *Span) GetName() string {
|
||||
if m != nil {
|
||||
@ -189,14 +198,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 +240,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 +271,39 @@ 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_trace_fa9cb54dc45915f9, []int{0, 0}
|
||||
}
|
||||
func (m *Span_Attributes) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Span_Attributes.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Span_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Span_Attributes.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Span_Attributes) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_Attributes.Merge(dst, src)
|
||||
}
|
||||
func (m *Span_Attributes) XXX_Size() int {
|
||||
return xxx_messageInfo_Span_Attributes.Size(m)
|
||||
}
|
||||
func (m *Span_Attributes) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Span_Attributes.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Span_Attributes proto.InternalMessageInfo
|
||||
|
||||
func (m *Span_Attributes) GetAttributeMap() map[string]*AttributeValue {
|
||||
if m != nil {
|
||||
@ -291,33 +322,64 @@ 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_trace_fa9cb54dc45915f9, []int{0, 1}
|
||||
}
|
||||
func (m *Span_TimeEvent) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Span_TimeEvent.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Span_TimeEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Span_TimeEvent.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Span_TimeEvent) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_TimeEvent.Merge(dst, src)
|
||||
}
|
||||
func (m *Span_TimeEvent) XXX_Size() int {
|
||||
return xxx_messageInfo_Span_TimeEvent.Size(m)
|
||||
}
|
||||
func (m *Span_TimeEvent) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Span_TimeEvent.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Span_TimeEvent proto.InternalMessageInfo
|
||||
|
||||
func (m *Span_TimeEvent) GetTime() *timestamp.Timestamp {
|
||||
if m != nil {
|
||||
return m.Time
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isSpan_TimeEvent_Value interface {
|
||||
isSpan_TimeEvent_Value()
|
||||
}
|
||||
|
||||
type Span_TimeEvent_Annotation_ struct {
|
||||
Annotation *Span_TimeEvent_Annotation `protobuf:"bytes,2,opt,name=annotation,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 +389,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 +462,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 +481,38 @@ 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_trace_fa9cb54dc45915f9, []int{0, 1, 0}
|
||||
}
|
||||
func (m *Span_TimeEvent_Annotation) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Span_TimeEvent_Annotation.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Span_TimeEvent_Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Span_TimeEvent_Annotation.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Span_TimeEvent_Annotation) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_TimeEvent_Annotation.Merge(dst, src)
|
||||
}
|
||||
func (m *Span_TimeEvent_Annotation) XXX_Size() int {
|
||||
return xxx_messageInfo_Span_TimeEvent_Annotation.Size(m)
|
||||
}
|
||||
func (m *Span_TimeEvent_Annotation) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Span_TimeEvent_Annotation.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Span_TimeEvent_Annotation proto.InternalMessageInfo
|
||||
|
||||
func (m *Span_TimeEvent_Annotation) GetDescription() *TruncatableString {
|
||||
if m != nil {
|
||||
@ -455,24 +532,44 @@ 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_trace_fa9cb54dc45915f9, []int{0, 1, 1}
|
||||
}
|
||||
func (m *Span_TimeEvent_MessageEvent) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Span_TimeEvent_MessageEvent.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Span_TimeEvent_MessageEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Span_TimeEvent_MessageEvent.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Span_TimeEvent_MessageEvent) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_TimeEvent_MessageEvent.Merge(dst, src)
|
||||
}
|
||||
func (m *Span_TimeEvent_MessageEvent) XXX_Size() int {
|
||||
return xxx_messageInfo_Span_TimeEvent_MessageEvent.Size(m)
|
||||
}
|
||||
func (m *Span_TimeEvent_MessageEvent) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Span_TimeEvent_MessageEvent.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Span_TimeEvent_MessageEvent proto.InternalMessageInfo
|
||||
|
||||
func (m *Span_TimeEvent_MessageEvent) GetType() Span_TimeEvent_MessageEvent_Type {
|
||||
if m != nil {
|
||||
@ -507,19 +604,41 @@ 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_trace_fa9cb54dc45915f9, []int{0, 2}
|
||||
}
|
||||
func (m *Span_TimeEvents) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Span_TimeEvents.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Span_TimeEvents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Span_TimeEvents.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Span_TimeEvents) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_TimeEvents.Merge(dst, src)
|
||||
}
|
||||
func (m *Span_TimeEvents) XXX_Size() int {
|
||||
return xxx_messageInfo_Span_TimeEvents.Size(m)
|
||||
}
|
||||
func (m *Span_TimeEvents) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Span_TimeEvents.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Span_TimeEvents proto.InternalMessageInfo
|
||||
|
||||
func (m *Span_TimeEvents) GetTimeEvent() []*Span_TimeEvent {
|
||||
if m != nil {
|
||||
@ -548,20 +667,42 @@ 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_trace_fa9cb54dc45915f9, []int{0, 3}
|
||||
}
|
||||
func (m *Span_Link) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Span_Link.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Span_Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Span_Link.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Span_Link) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_Link.Merge(dst, src)
|
||||
}
|
||||
func (m *Span_Link) XXX_Size() int {
|
||||
return xxx_messageInfo_Span_Link.Size(m)
|
||||
}
|
||||
func (m *Span_Link) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Span_Link.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Span_Link proto.InternalMessageInfo
|
||||
|
||||
func (m *Span_Link) GetTraceId() string {
|
||||
if m != nil {
|
||||
@ -595,16 +736,38 @@ 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_trace_fa9cb54dc45915f9, []int{0, 4}
|
||||
}
|
||||
func (m *Span_Links) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Span_Links.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Span_Links) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Span_Links.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Span_Links) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Span_Links.Merge(dst, src)
|
||||
}
|
||||
func (m *Span_Links) XXX_Size() int {
|
||||
return xxx_messageInfo_Span_Links.Size(m)
|
||||
}
|
||||
func (m *Span_Links) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Span_Links.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Span_Links proto.InternalMessageInfo
|
||||
|
||||
func (m *Span_Links) GetLink() []*Span_Link {
|
||||
if m != nil {
|
||||
@ -628,31 +791,57 @@ 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_trace_fa9cb54dc45915f9, []int{1}
|
||||
}
|
||||
func (m *AttributeValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AttributeValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *AttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_AttributeValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *AttributeValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_AttributeValue.Merge(dst, src)
|
||||
}
|
||||
func (m *AttributeValue) XXX_Size() int {
|
||||
return xxx_messageInfo_AttributeValue.Size(m)
|
||||
}
|
||||
func (m *AttributeValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_AttributeValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_AttributeValue proto.InternalMessageInfo
|
||||
|
||||
type isAttributeValue_Value interface {
|
||||
isAttributeValue_Value()
|
||||
}
|
||||
|
||||
type AttributeValue_StringValue struct {
|
||||
StringValue *TruncatableString `protobuf:"bytes,1,opt,name=string_value,json=stringValue,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 +942,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 +961,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 +971,35 @@ 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_trace_fa9cb54dc45915f9, []int{2}
|
||||
}
|
||||
func (m *StackTrace) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_StackTrace.Unmarshal(m, b)
|
||||
}
|
||||
func (m *StackTrace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_StackTrace.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *StackTrace) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_StackTrace.Merge(dst, src)
|
||||
}
|
||||
func (m *StackTrace) XXX_Size() int {
|
||||
return xxx_messageInfo_StackTrace.Size(m)
|
||||
}
|
||||
func (m *StackTrace) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_StackTrace.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_StackTrace proto.InternalMessageInfo
|
||||
|
||||
func (m *StackTrace) GetStackFrames() *StackTrace_StackFrames {
|
||||
if m != nil {
|
||||
@ -808,29 +1019,51 @@ 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_trace_fa9cb54dc45915f9, []int{2, 0}
|
||||
}
|
||||
func (m *StackTrace_StackFrame) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_StackTrace_StackFrame.Unmarshal(m, b)
|
||||
}
|
||||
func (m *StackTrace_StackFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_StackTrace_StackFrame.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *StackTrace_StackFrame) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_StackTrace_StackFrame.Merge(dst, src)
|
||||
}
|
||||
func (m *StackTrace_StackFrame) XXX_Size() int {
|
||||
return xxx_messageInfo_StackTrace_StackFrame.Size(m)
|
||||
}
|
||||
func (m *StackTrace_StackFrame) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_StackTrace_StackFrame.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_StackTrace_StackFrame proto.InternalMessageInfo
|
||||
|
||||
func (m *StackTrace_StackFrame) GetFunctionName() *TruncatableString {
|
||||
if m != nil {
|
||||
@ -884,17 +1117,39 @@ 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_trace_fa9cb54dc45915f9, []int{2, 1}
|
||||
}
|
||||
func (m *StackTrace_StackFrames) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_StackTrace_StackFrames.Unmarshal(m, b)
|
||||
}
|
||||
func (m *StackTrace_StackFrames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_StackTrace_StackFrames.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *StackTrace_StackFrames) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_StackTrace_StackFrames.Merge(dst, src)
|
||||
}
|
||||
func (m *StackTrace_StackFrames) XXX_Size() int {
|
||||
return xxx_messageInfo_StackTrace_StackFrames.Size(m)
|
||||
}
|
||||
func (m *StackTrace_StackFrames) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_StackTrace_StackFrames.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_StackTrace_StackFrames proto.InternalMessageInfo
|
||||
|
||||
func (m *StackTrace_StackFrames) GetFrame() []*StackTrace_StackFrame {
|
||||
if m != nil {
|
||||
@ -914,16 +1169,38 @@ 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_trace_fa9cb54dc45915f9, []int{3}
|
||||
}
|
||||
func (m *Module) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Module.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Module) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Module.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *Module) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Module.Merge(dst, src)
|
||||
}
|
||||
func (m *Module) XXX_Size() int {
|
||||
return xxx_messageInfo_Module.Size(m)
|
||||
}
|
||||
func (m *Module) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Module.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Module proto.InternalMessageInfo
|
||||
|
||||
func (m *Module) GetModule() *TruncatableString {
|
||||
if m != nil {
|
||||
@ -948,16 +1225,38 @@ 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_trace_fa9cb54dc45915f9, []int{4}
|
||||
}
|
||||
func (m *TruncatableString) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TruncatableString.Unmarshal(m, b)
|
||||
}
|
||||
func (m *TruncatableString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_TruncatableString.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *TruncatableString) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_TruncatableString.Merge(dst, src)
|
||||
}
|
||||
func (m *TruncatableString) XXX_Size() int {
|
||||
return xxx_messageInfo_TruncatableString.Size(m)
|
||||
}
|
||||
func (m *TruncatableString) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_TruncatableString.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_TruncatableString proto.InternalMessageInfo
|
||||
|
||||
func (m *TruncatableString) GetValue() string {
|
||||
if m != nil {
|
||||
@ -976,6 +1275,7 @@ func (m *TruncatableString) GetTruncatedByteCount() int32 {
|
||||
func init() {
|
||||
proto.RegisterType((*Span)(nil), "google.devtools.cloudtrace.v2.Span")
|
||||
proto.RegisterType((*Span_Attributes)(nil), "google.devtools.cloudtrace.v2.Span.Attributes")
|
||||
proto.RegisterMapType((map[string]*AttributeValue)(nil), "google.devtools.cloudtrace.v2.Span.Attributes.AttributeMapEntry")
|
||||
proto.RegisterType((*Span_TimeEvent)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvent")
|
||||
proto.RegisterType((*Span_TimeEvent_Annotation)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation")
|
||||
proto.RegisterType((*Span_TimeEvent_MessageEvent)(nil), "google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent")
|
||||
@ -992,9 +1292,11 @@ func init() {
|
||||
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_trace_fa9cb54dc45915f9)
|
||||
}
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
var fileDescriptor_trace_fa9cb54dc45915f9 = []byte{
|
||||
// 1425 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x4b, 0x6f, 0xdb, 0xc6,
|
||||
0x16, 0x36, 0xf5, 0xd6, 0x91, 0x6c, 0xc8, 0x13, 0x3b, 0x56, 0x94, 0xe4, 0x26, 0xd7, 0xf7, 0x16,
|
||||
|
72
vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go
generated
vendored
72
vendor/google.golang.org/genproto/googleapis/devtools/cloudtrace/v2/tracing.pb.go
generated
vendored
@ -1,14 +1,14 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/devtools/cloudtrace/v2/tracing.proto
|
||||
|
||||
package cloudtrace
|
||||
package cloudtrace // import "google.golang.org/genproto/googleapis/devtools/cloudtrace/v2"
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf4 "github.com/golang/protobuf/ptypes/empty"
|
||||
import empty "github.com/golang/protobuf/ptypes/empty"
|
||||
import _ "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
@ -20,20 +20,48 @@ 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_tracing_18786c49399bd83d, []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 (dst *BatchWriteSpansRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_BatchWriteSpansRequest.Merge(dst, 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 {
|
||||
@ -61,12 +89,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 +108,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 +119,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)
|
||||
}
|
||||
@ -164,9 +192,11 @@ var _TraceService_serviceDesc = grpc.ServiceDesc{
|
||||
Metadata: "google/devtools/cloudtrace/v2/tracing.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/devtools/cloudtrace/v2/tracing.proto", fileDescriptor1) }
|
||||
func init() {
|
||||
proto.RegisterFile("google/devtools/cloudtrace/v2/tracing.proto", fileDescriptor_tracing_18786c49399bd83d)
|
||||
}
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
var fileDescriptor_tracing_18786c49399bd83d = []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,
|
||||
|
Reference in New Issue
Block a user