1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package monitoringpb
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39
40
41
42
43
44
45 type SpanContext struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50
51
52
53
54
55
56
57
58
59 SpanName string `protobuf:"bytes,1,opt,name=span_name,json=spanName,proto3" json:"span_name,omitempty"`
60 }
61
62 func (x *SpanContext) Reset() {
63 *x = SpanContext{}
64 if protoimpl.UnsafeEnabled {
65 mi := &file_google_monitoring_v3_span_context_proto_msgTypes[0]
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 ms.StoreMessageInfo(mi)
68 }
69 }
70
71 func (x *SpanContext) String() string {
72 return protoimpl.X.MessageStringOf(x)
73 }
74
75 func (*SpanContext) ProtoMessage() {}
76
77 func (x *SpanContext) ProtoReflect() protoreflect.Message {
78 mi := &file_google_monitoring_v3_span_context_proto_msgTypes[0]
79 if protoimpl.UnsafeEnabled && x != nil {
80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
81 if ms.LoadMessageInfo() == nil {
82 ms.StoreMessageInfo(mi)
83 }
84 return ms
85 }
86 return mi.MessageOf(x)
87 }
88
89
90 func (*SpanContext) Descriptor() ([]byte, []int) {
91 return file_google_monitoring_v3_span_context_proto_rawDescGZIP(), []int{0}
92 }
93
94 func (x *SpanContext) GetSpanName() string {
95 if x != nil {
96 return x.SpanName
97 }
98 return ""
99 }
100
101 var File_google_monitoring_v3_span_context_proto protoreflect.FileDescriptor
102
103 var file_google_monitoring_v3_span_context_proto_rawDesc = []byte{
104 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
105 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
106 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
107 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x22,
108 0x2a, 0x0a, 0x0b, 0x53, 0x70, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1b,
109 0x0a, 0x09, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
110 0x09, 0x52, 0x08, 0x73, 0x70, 0x61, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0xcb, 0x01, 0x0a, 0x18,
111 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74,
112 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x42, 0x10, 0x53, 0x70, 0x61, 0x6e, 0x43, 0x6f,
113 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x63, 0x6c,
114 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
115 0x6f, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x70, 0x69,
116 0x76, 0x33, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67,
117 0x70, 0x62, 0x3b, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x70, 0x62, 0xaa,
118 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d,
119 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x1a, 0x47,
120 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69,
121 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x33, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67,
122 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4d, 0x6f, 0x6e, 0x69, 0x74,
123 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
124 0x33,
125 }
126
127 var (
128 file_google_monitoring_v3_span_context_proto_rawDescOnce sync.Once
129 file_google_monitoring_v3_span_context_proto_rawDescData = file_google_monitoring_v3_span_context_proto_rawDesc
130 )
131
132 func file_google_monitoring_v3_span_context_proto_rawDescGZIP() []byte {
133 file_google_monitoring_v3_span_context_proto_rawDescOnce.Do(func() {
134 file_google_monitoring_v3_span_context_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_v3_span_context_proto_rawDescData)
135 })
136 return file_google_monitoring_v3_span_context_proto_rawDescData
137 }
138
139 var file_google_monitoring_v3_span_context_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
140 var file_google_monitoring_v3_span_context_proto_goTypes = []interface{}{
141 (*SpanContext)(nil),
142 }
143 var file_google_monitoring_v3_span_context_proto_depIdxs = []int32{
144 0,
145 0,
146 0,
147 0,
148 0,
149 }
150
151 func init() { file_google_monitoring_v3_span_context_proto_init() }
152 func file_google_monitoring_v3_span_context_proto_init() {
153 if File_google_monitoring_v3_span_context_proto != nil {
154 return
155 }
156 if !protoimpl.UnsafeEnabled {
157 file_google_monitoring_v3_span_context_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
158 switch v := v.(*SpanContext); i {
159 case 0:
160 return &v.state
161 case 1:
162 return &v.sizeCache
163 case 2:
164 return &v.unknownFields
165 default:
166 return nil
167 }
168 }
169 }
170 type x struct{}
171 out := protoimpl.TypeBuilder{
172 File: protoimpl.DescBuilder{
173 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
174 RawDescriptor: file_google_monitoring_v3_span_context_proto_rawDesc,
175 NumEnums: 0,
176 NumMessages: 1,
177 NumExtensions: 0,
178 NumServices: 0,
179 },
180 GoTypes: file_google_monitoring_v3_span_context_proto_goTypes,
181 DependencyIndexes: file_google_monitoring_v3_span_context_proto_depIdxs,
182 MessageInfos: file_google_monitoring_v3_span_context_proto_msgTypes,
183 }.Build()
184 File_google_monitoring_v3_span_context_proto = out.File
185 file_google_monitoring_v3_span_context_proto_rawDesc = nil
186 file_google_monitoring_v3_span_context_proto_goTypes = nil
187 file_google_monitoring_v3_span_context_proto_depIdxs = nil
188 }
189
View as plain text