Debian Codegraph @

googleapis/devtools/cloudtrace/v2/alias.go

raw
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by aliasgen. DO NOT EDIT.
16
17 // Package trace aliases all exported identifiers in package
18 // "cloud.google.com/go/trace/apiv2/tracepb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package trace
24
25 import (
26 src "cloud.google.com/go/trace/apiv2/tracepb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/trace/apiv2/tracepb
31 const (
32 Span_CLIENT = src.Span_CLIENT
33 Span_CONSUMER = src.Span_CONSUMER
34 Span_INTERNAL = src.Span_INTERNAL
35 Span_Link_CHILD_LINKED_SPAN = src.Span_Link_CHILD_LINKED_SPAN
36 Span_Link_PARENT_LINKED_SPAN = src.Span_Link_PARENT_LINKED_SPAN
37 Span_Link_TYPE_UNSPECIFIED = src.Span_Link_TYPE_UNSPECIFIED
38 Span_PRODUCER = src.Span_PRODUCER
39 Span_SERVER = src.Span_SERVER
40 Span_SPAN_KIND_UNSPECIFIED = src.Span_SPAN_KIND_UNSPECIFIED
41 Span_TimeEvent_MessageEvent_RECEIVED = src.Span_TimeEvent_MessageEvent_RECEIVED
42 Span_TimeEvent_MessageEvent_SENT = src.Span_TimeEvent_MessageEvent_SENT
43 Span_TimeEvent_MessageEvent_TYPE_UNSPECIFIED = src.Span_TimeEvent_MessageEvent_TYPE_UNSPECIFIED
44 )
45
46 // Deprecated: Please use vars in: cloud.google.com/go/trace/apiv2/tracepb
47 var (
48 File_google_devtools_cloudtrace_v2_trace_proto = src.File_google_devtools_cloudtrace_v2_trace_proto
49 File_google_devtools_cloudtrace_v2_tracing_proto = src.File_google_devtools_cloudtrace_v2_tracing_proto
50 Span_Link_Type_name = src.Span_Link_Type_name
51 Span_Link_Type_value = src.Span_Link_Type_value
52 Span_SpanKind_name = src.Span_SpanKind_name
53 Span_SpanKind_value = src.Span_SpanKind_value
54 Span_TimeEvent_MessageEvent_Type_name = src.Span_TimeEvent_MessageEvent_Type_name
55 Span_TimeEvent_MessageEvent_Type_value = src.Span_TimeEvent_MessageEvent_Type_value
56 )
57
58 // The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
59 //
60 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
61 type AttributeValue = src.AttributeValue
62 type AttributeValue_BoolValue = src.AttributeValue_BoolValue
63 type AttributeValue_IntValue = src.AttributeValue_IntValue
64 type AttributeValue_StringValue = src.AttributeValue_StringValue
65
66 // The request message for the `BatchWriteSpans` method.
67 //
68 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
69 type BatchWriteSpansRequest = src.BatchWriteSpansRequest
70
71 // Binary module.
72 //
73 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
74 type Module = src.Module
75
76 // A span represents a single operation within a trace. Spans can be nested to
77 // form a trace tree. Often, a trace contains a root span that describes the
78 // end-to-end latency, and one or more subspans for its sub-operations. A trace
79 // can also contain multiple root spans, or none at all. Spans do not need to
80 // be contiguous—there may be gaps or overlaps between spans in a trace.
81 //
82 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
83 type Span = src.Span
84
85 // A set of attributes, each in the format `[KEY]:[VALUE]`.
86 //
87 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
88 type Span_Attributes = src.Span_Attributes
89
90 // A pointer from the current span to another span in the same trace or in a
91 // different trace. For example, this can be used in batching operations, where
92 // a single batch handler processes multiple requests from different traces or
93 // when the handler receives a request from a different project.
94 //
95 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
96 type Span_Link = src.Span_Link
97
98 // The relationship of the current span relative to the linked span: child,
99 // parent, or unspecified.
100 //
101 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
102 type Span_Link_Type = src.Span_Link_Type
103
104 // A collection of links, which are references from this span to a span in the
105 // same or different trace.
106 //
107 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
108 type Span_Links = src.Span_Links
109
110 // Type of span. Can be used to specify additional relationships between spans
111 // in addition to a parent/child relationship.
112 //
113 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
114 type Span_SpanKind = src.Span_SpanKind
115
116 // A time-stamped annotation or message event in the Span.
117 //
118 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
119 type Span_TimeEvent = src.Span_TimeEvent
120
121 // Text annotation with a set of attributes.
122 //
123 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
124 type Span_TimeEvent_Annotation = src.Span_TimeEvent_Annotation
125 type Span_TimeEvent_Annotation_ = src.Span_TimeEvent_Annotation_
126
127 // An event describing a message sent/received between Spans.
128 //
129 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
130 type Span_TimeEvent_MessageEvent = src.Span_TimeEvent_MessageEvent
131 type Span_TimeEvent_MessageEvent_ = src.Span_TimeEvent_MessageEvent_
132
133 // Indicates whether the message was sent or received.
134 //
135 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
136 type Span_TimeEvent_MessageEvent_Type = src.Span_TimeEvent_MessageEvent_Type
137
138 // A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation on
139 // the span, consisting of either user-supplied key:value pairs, or details of
140 // a message sent/received between Spans.
141 //
142 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
143 type Span_TimeEvents = src.Span_TimeEvents
144
145 // A call stack appearing in a trace.
146 //
147 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
148 type StackTrace = src.StackTrace
149
150 // Represents a single stack frame in a stack trace.
151 //
152 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
153 type StackTrace_StackFrame = src.StackTrace_StackFrame
154
155 // A collection of stack frames, which can be truncated.
156 //
157 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
158 type StackTrace_StackFrames = src.StackTrace_StackFrames
159
160 // TraceServiceClient is the client API for TraceService service. For
161 // semantics around ctx use and closing/ending streaming RPCs, please refer to
162 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
163 //
164 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
165 type TraceServiceClient = src.TraceServiceClient
166
167 // TraceServiceServer is the server API for TraceService service.
168 //
169 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
170 type TraceServiceServer = src.TraceServiceServer
171
172 // Represents a string that might be shortened to a specified length.
173 //
174 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
175 type TruncatableString = src.TruncatableString
176
177 // UnimplementedTraceServiceServer can be embedded to have forward compatible
178 // implementations.
179 //
180 // Deprecated: Please use types in: cloud.google.com/go/trace/apiv2/tracepb
181 type UnimplementedTraceServiceServer = src.UnimplementedTraceServiceServer
182
183 // Deprecated: Please use funcs in: cloud.google.com/go/trace/apiv2/tracepb
184 func NewTraceServiceClient(cc grpc.ClientConnInterface) TraceServiceClient {
185 return src.NewTraceServiceClient(cc)
186 }
187
188 // Deprecated: Please use funcs in: cloud.google.com/go/trace/apiv2/tracepb
189 func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer) {
190 src.RegisterTraceServiceServer(s, srv)
191 }