1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: opencensus/proto/agent/common/v1/common.proto
8 proto "github.com/golang/protobuf/proto"
9 timestamp "github.com/golang/protobuf/ptypes/timestamp"
13 // Reference imports to suppress errors if they are not otherwise used.
18 // This is a compile-time assertion to ensure that this generated file
19 // is compatible with the proto package it is being compiled against.
20 // A compilation error at this line likely means your copy of the
21 // proto package needs to be updated.
22 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
24 type LibraryInfo_Language int32
27 LibraryInfo_LANGUAGE_UNSPECIFIED LibraryInfo_Language = 0
28 LibraryInfo_CPP LibraryInfo_Language = 1
29 LibraryInfo_C_SHARP LibraryInfo_Language = 2
30 LibraryInfo_ERLANG LibraryInfo_Language = 3
31 LibraryInfo_GO_LANG LibraryInfo_Language = 4
32 LibraryInfo_JAVA LibraryInfo_Language = 5
33 LibraryInfo_NODE_JS LibraryInfo_Language = 6
34 LibraryInfo_PHP LibraryInfo_Language = 7
35 LibraryInfo_PYTHON LibraryInfo_Language = 8
36 LibraryInfo_RUBY LibraryInfo_Language = 9
39 var LibraryInfo_Language_name = map[int32]string{
40 0: "LANGUAGE_UNSPECIFIED",
52 var LibraryInfo_Language_value = map[string]int32{
53 "LANGUAGE_UNSPECIFIED": 0,
65 func (x LibraryInfo_Language) String() string {
66 return proto.EnumName(LibraryInfo_Language_name, int32(x))
69 func (LibraryInfo_Language) EnumDescriptor() ([]byte, []int) {
70 return fileDescriptor_126c72ed8a252c84, []int{2, 0}
73 // Identifier metadata of the Node that produces the span or tracing data.
74 // Note, this is not the metadata about the Node or service that is described by associated spans.
75 // In the future we plan to extend the identifier proto definition to support
76 // additional information (e.g cloud id, etc.)
78 // Identifier that uniquely identifies a process within a VM/container.
79 Identifier *ProcessIdentifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
80 // Information on the OpenCensus Library that initiates the stream.
81 LibraryInfo *LibraryInfo `protobuf:"bytes,2,opt,name=library_info,json=libraryInfo,proto3" json:"library_info,omitempty"`
82 // Additional information on service.
83 ServiceInfo *ServiceInfo `protobuf:"bytes,3,opt,name=service_info,json=serviceInfo,proto3" json:"service_info,omitempty"`
84 // Additional attributes.
85 Attributes map[string]string `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
86 XXX_NoUnkeyedLiteral struct{} `json:"-"`
87 XXX_unrecognized []byte `json:"-"`
88 XXX_sizecache int32 `json:"-"`
91 func (m *Node) Reset() { *m = Node{} }
92 func (m *Node) String() string { return proto.CompactTextString(m) }
93 func (*Node) ProtoMessage() {}
94 func (*Node) Descriptor() ([]byte, []int) {
95 return fileDescriptor_126c72ed8a252c84, []int{0}
98 func (m *Node) XXX_Unmarshal(b []byte) error {
99 return xxx_messageInfo_Node.Unmarshal(m, b)
101 func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
102 return xxx_messageInfo_Node.Marshal(b, m, deterministic)
104 func (m *Node) XXX_Merge(src proto.Message) {
105 xxx_messageInfo_Node.Merge(m, src)
107 func (m *Node) XXX_Size() int {
108 return xxx_messageInfo_Node.Size(m)
110 func (m *Node) XXX_DiscardUnknown() {
111 xxx_messageInfo_Node.DiscardUnknown(m)
114 var xxx_messageInfo_Node proto.InternalMessageInfo
116 func (m *Node) GetIdentifier() *ProcessIdentifier {
123 func (m *Node) GetLibraryInfo() *LibraryInfo {
130 func (m *Node) GetServiceInfo() *ServiceInfo {
137 func (m *Node) GetAttributes() map[string]string {
144 // Identifier that uniquely identifies a process within a VM/container.
145 type ProcessIdentifier struct {
146 // The host name. Usually refers to the machine/container name.
147 // For example: os.Hostname() in Go, socket.gethostname() in Python.
148 HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
150 Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
151 // Start time of this ProcessIdentifier. Represented in epoch time.
152 StartTimestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
153 XXX_NoUnkeyedLiteral struct{} `json:"-"`
154 XXX_unrecognized []byte `json:"-"`
155 XXX_sizecache int32 `json:"-"`
158 func (m *ProcessIdentifier) Reset() { *m = ProcessIdentifier{} }
159 func (m *ProcessIdentifier) String() string { return proto.CompactTextString(m) }
160 func (*ProcessIdentifier) ProtoMessage() {}
161 func (*ProcessIdentifier) Descriptor() ([]byte, []int) {
162 return fileDescriptor_126c72ed8a252c84, []int{1}
165 func (m *ProcessIdentifier) XXX_Unmarshal(b []byte) error {
166 return xxx_messageInfo_ProcessIdentifier.Unmarshal(m, b)
168 func (m *ProcessIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
169 return xxx_messageInfo_ProcessIdentifier.Marshal(b, m, deterministic)
171 func (m *ProcessIdentifier) XXX_Merge(src proto.Message) {
172 xxx_messageInfo_ProcessIdentifier.Merge(m, src)
174 func (m *ProcessIdentifier) XXX_Size() int {
175 return xxx_messageInfo_ProcessIdentifier.Size(m)
177 func (m *ProcessIdentifier) XXX_DiscardUnknown() {
178 xxx_messageInfo_ProcessIdentifier.DiscardUnknown(m)
181 var xxx_messageInfo_ProcessIdentifier proto.InternalMessageInfo
183 func (m *ProcessIdentifier) GetHostName() string {
190 func (m *ProcessIdentifier) GetPid() uint32 {
197 func (m *ProcessIdentifier) GetStartTimestamp() *timestamp.Timestamp {
199 return m.StartTimestamp
204 // Information on OpenCensus Library.
205 type LibraryInfo struct {
206 // Language of OpenCensus Library.
207 Language LibraryInfo_Language `protobuf:"varint,1,opt,name=language,proto3,enum=opencensus.proto.agent.common.v1.LibraryInfo_Language" json:"language,omitempty"`
208 // Version of Agent exporter of Library.
209 ExporterVersion string `protobuf:"bytes,2,opt,name=exporter_version,json=exporterVersion,proto3" json:"exporter_version,omitempty"`
210 // Version of OpenCensus Library.
211 CoreLibraryVersion string `protobuf:"bytes,3,opt,name=core_library_version,json=coreLibraryVersion,proto3" json:"core_library_version,omitempty"`
212 XXX_NoUnkeyedLiteral struct{} `json:"-"`
213 XXX_unrecognized []byte `json:"-"`
214 XXX_sizecache int32 `json:"-"`
217 func (m *LibraryInfo) Reset() { *m = LibraryInfo{} }
218 func (m *LibraryInfo) String() string { return proto.CompactTextString(m) }
219 func (*LibraryInfo) ProtoMessage() {}
220 func (*LibraryInfo) Descriptor() ([]byte, []int) {
221 return fileDescriptor_126c72ed8a252c84, []int{2}
224 func (m *LibraryInfo) XXX_Unmarshal(b []byte) error {
225 return xxx_messageInfo_LibraryInfo.Unmarshal(m, b)
227 func (m *LibraryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
228 return xxx_messageInfo_LibraryInfo.Marshal(b, m, deterministic)
230 func (m *LibraryInfo) XXX_Merge(src proto.Message) {
231 xxx_messageInfo_LibraryInfo.Merge(m, src)
233 func (m *LibraryInfo) XXX_Size() int {
234 return xxx_messageInfo_LibraryInfo.Size(m)
236 func (m *LibraryInfo) XXX_DiscardUnknown() {
237 xxx_messageInfo_LibraryInfo.DiscardUnknown(m)
240 var xxx_messageInfo_LibraryInfo proto.InternalMessageInfo
242 func (m *LibraryInfo) GetLanguage() LibraryInfo_Language {
246 return LibraryInfo_LANGUAGE_UNSPECIFIED
249 func (m *LibraryInfo) GetExporterVersion() string {
251 return m.ExporterVersion
256 func (m *LibraryInfo) GetCoreLibraryVersion() string {
258 return m.CoreLibraryVersion
263 // Additional service information.
264 type ServiceInfo struct {
265 // Name of the service.
266 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
267 XXX_NoUnkeyedLiteral struct{} `json:"-"`
268 XXX_unrecognized []byte `json:"-"`
269 XXX_sizecache int32 `json:"-"`
272 func (m *ServiceInfo) Reset() { *m = ServiceInfo{} }
273 func (m *ServiceInfo) String() string { return proto.CompactTextString(m) }
274 func (*ServiceInfo) ProtoMessage() {}
275 func (*ServiceInfo) Descriptor() ([]byte, []int) {
276 return fileDescriptor_126c72ed8a252c84, []int{3}
279 func (m *ServiceInfo) XXX_Unmarshal(b []byte) error {
280 return xxx_messageInfo_ServiceInfo.Unmarshal(m, b)
282 func (m *ServiceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
283 return xxx_messageInfo_ServiceInfo.Marshal(b, m, deterministic)
285 func (m *ServiceInfo) XXX_Merge(src proto.Message) {
286 xxx_messageInfo_ServiceInfo.Merge(m, src)
288 func (m *ServiceInfo) XXX_Size() int {
289 return xxx_messageInfo_ServiceInfo.Size(m)
291 func (m *ServiceInfo) XXX_DiscardUnknown() {
292 xxx_messageInfo_ServiceInfo.DiscardUnknown(m)
295 var xxx_messageInfo_ServiceInfo proto.InternalMessageInfo
297 func (m *ServiceInfo) GetName() string {
305 proto.RegisterEnum("opencensus.proto.agent.common.v1.LibraryInfo_Language", LibraryInfo_Language_name, LibraryInfo_Language_value)
306 proto.RegisterType((*Node)(nil), "opencensus.proto.agent.common.v1.Node")
307 proto.RegisterMapType((map[string]string)(nil), "opencensus.proto.agent.common.v1.Node.AttributesEntry")
308 proto.RegisterType((*ProcessIdentifier)(nil), "opencensus.proto.agent.common.v1.ProcessIdentifier")
309 proto.RegisterType((*LibraryInfo)(nil), "opencensus.proto.agent.common.v1.LibraryInfo")
310 proto.RegisterType((*ServiceInfo)(nil), "opencensus.proto.agent.common.v1.ServiceInfo")
314 proto.RegisterFile("opencensus/proto/agent/common/v1/common.proto", fileDescriptor_126c72ed8a252c84)
317 var fileDescriptor_126c72ed8a252c84 = []byte{
318 // 590 bytes of a gzipped FileDescriptorProto
319 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x4f, 0x4f, 0xdb, 0x3e,
320 0x1c, 0xc6, 0x7f, 0x69, 0x0a, 0xb4, 0xdf, 0xfc, 0x06, 0x99, 0xc5, 0xa1, 0x62, 0x87, 0xb1, 0xee,
321 0xc2, 0x0e, 0x4d, 0x06, 0x48, 0xd3, 0x34, 0x69, 0x87, 0x52, 0x3a, 0x28, 0x42, 0x25, 0x72, 0x01,
322 0x89, 0x5d, 0xa2, 0xb4, 0xb8, 0xc1, 0x5a, 0x63, 0x57, 0xb6, 0x53, 0x8d, 0xd3, 0x8e, 0xd3, 0xde,
323 0xc0, 0x5e, 0xd4, 0x5e, 0xd5, 0x64, 0x3b, 0x69, 0xa3, 0x71, 0x28, 0xb7, 0xef, 0x9f, 0xe7, 0xf9,
324 0x38, 0x7a, 0x6c, 0x05, 0x3a, 0x7c, 0x4e, 0xd8, 0x84, 0x30, 0x99, 0xcb, 0x70, 0x2e, 0xb8, 0xe2,
325 0x61, 0x92, 0x12, 0xa6, 0xc2, 0x09, 0xcf, 0x32, 0xce, 0xc2, 0xc5, 0x61, 0x51, 0x05, 0x66, 0x89,
326 0xf6, 0x57, 0x72, 0x3b, 0x09, 0x8c, 0x3c, 0x28, 0x44, 0x8b, 0xc3, 0xbd, 0xd7, 0x29, 0xe7, 0xe9,
327 0x8c, 0x58, 0xd8, 0x38, 0x9f, 0x86, 0x8a, 0x66, 0x44, 0xaa, 0x24, 0x9b, 0x5b, 0x43, 0xfb, 0xb7,
328 0x0b, 0xf5, 0x21, 0xbf, 0x27, 0x68, 0x04, 0x40, 0xef, 0x09, 0x53, 0x74, 0x4a, 0x89, 0x68, 0x39,
329 0xfb, 0xce, 0x81, 0x77, 0x74, 0x1c, 0xac, 0x3b, 0x20, 0x88, 0x04, 0x9f, 0x10, 0x29, 0x07, 0x4b,
330 0x2b, 0xae, 0x60, 0x50, 0x04, 0xff, 0xcf, 0xe8, 0x58, 0x24, 0xe2, 0x31, 0xa6, 0x6c, 0xca, 0x5b,
331 0x35, 0x83, 0xed, 0xac, 0xc7, 0x5e, 0x5a, 0xd7, 0x80, 0x4d, 0x39, 0xf6, 0x66, 0xab, 0x46, 0x13,
332 0x25, 0x11, 0x0b, 0x3a, 0x21, 0x96, 0xe8, 0x3e, 0x97, 0x38, 0xb2, 0x2e, 0x4b, 0x94, 0xab, 0x06,
333 0xdd, 0x02, 0x24, 0x4a, 0x09, 0x3a, 0xce, 0x15, 0x91, 0xad, 0xfa, 0xbe, 0x7b, 0xe0, 0x1d, 0x7d,
334 0x58, 0xcf, 0xd3, 0xa1, 0x05, 0xdd, 0xa5, 0xb1, 0xcf, 0x94, 0x78, 0xc4, 0x15, 0xd2, 0xde, 0x67,
335 0xd8, 0xf9, 0x67, 0x8d, 0x7c, 0x70, 0xbf, 0x91, 0x47, 0x13, 0x6e, 0x13, 0xeb, 0x12, 0xed, 0xc2,
336 0xc6, 0x22, 0x99, 0xe5, 0xc4, 0x24, 0xd3, 0xc4, 0xb6, 0xf9, 0x54, 0xfb, 0xe8, 0xb4, 0x7f, 0x3a,
337 0xf0, 0xf2, 0x49, 0xb8, 0xe8, 0x15, 0x34, 0x1f, 0xb8, 0x54, 0x31, 0x4b, 0x32, 0x52, 0x70, 0x1a,
338 0x7a, 0x30, 0x4c, 0x32, 0xa2, 0xf1, 0x73, 0x7a, 0x6f, 0x50, 0x2f, 0xb0, 0x2e, 0x51, 0x0f, 0x76,
339 0xa4, 0x4a, 0x84, 0x8a, 0x97, 0xd7, 0x5e, 0x04, 0xb6, 0x17, 0xd8, 0x87, 0x11, 0x94, 0x0f, 0x23,
340 0xb8, 0x2e, 0x15, 0x78, 0xdb, 0x58, 0x96, 0x7d, 0xfb, 0x4f, 0x0d, 0xbc, 0xca, 0x7d, 0x20, 0x0c,
341 0x8d, 0x59, 0xc2, 0xd2, 0x3c, 0x49, 0xed, 0x27, 0x6c, 0x3f, 0x27, 0xae, 0x0a, 0x20, 0xb8, 0x2c,
342 0xdc, 0x78, 0xc9, 0x41, 0xef, 0xc0, 0x27, 0xdf, 0xe7, 0x5c, 0x28, 0x22, 0xe2, 0x05, 0x11, 0x92,
343 0x72, 0x56, 0x44, 0xb2, 0x53, 0xce, 0x6f, 0xed, 0x18, 0xbd, 0x87, 0xdd, 0x09, 0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