Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
阿信在这里
SkyWalking
提交
7bffd0bf
S
SkyWalking
项目概览
阿信在这里
/
SkyWalking
与 Fork 源项目一致
Fork自
山不在高_有仙则灵 / SkyWalking
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7bffd0bf
编写于
2月 25, 2017
作者:
wu-sheng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add generated source codes to src/main/java, try to avoid coveralls bug.
上级
20eeac95
变更
17
展开全部
显示空白变更内容
内联
并排
Showing
17 changed file
with
5614 addition
and
25 deletion
+5614
-25
skywalking-commons/skywalking-trace/pom.xml
skywalking-commons/skywalking-trace/pom.xml
+24
-14
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/LogData.java
...ace/src/main/java/com/a/eye/skywalking/trace/LogData.java
+3
-3
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/Span.java
...-trace/src/main/java/com/a/eye/skywalking/trace/Span.java
+3
-3
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/TraceSegment.java
...rc/main/java/com/a/eye/skywalking/trace/TraceSegment.java
+3
-3
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/TraceSegmentRef.java
...main/java/com/a/eye/skywalking/trace/TraceSegmentRef.java
+1
-1
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/KeyValue.java
.../main/java/com/a/eye/skywalking/trace/proto/KeyValue.java
+621
-0
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/KeyValueOrBuilder.java
...a/com/a/eye/skywalking/trace/proto/KeyValueOrBuilder.java
+29
-0
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/LogDataMessage.java
...java/com/a/eye/skywalking/trace/proto/LogDataMessage.java
+774
-0
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/LogDataMessageOrBuilder.java
...a/eye/skywalking/trace/proto/LogDataMessageOrBuilder.java
+38
-0
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/SegmentMessage.java
...java/com/a/eye/skywalking/trace/proto/SegmentMessage.java
+1611
-0
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/SegmentMessageOrBuilder.java
...a/eye/skywalking/trace/proto/SegmentMessageOrBuilder.java
+100
-0
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/SegmentRefMessage.java
...a/com/a/eye/skywalking/trace/proto/SegmentRefMessage.java
+806
-0
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/SegmentRefMessageOrBuilder.java
...ye/skywalking/trace/proto/SegmentRefMessageOrBuilder.java
+44
-0
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/SpanMessage.java
...in/java/com/a/eye/skywalking/trace/proto/SpanMessage.java
+1361
-0
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/SpanMessageOrBuilder.java
...om/a/eye/skywalking/trace/proto/SpanMessageOrBuilder.java
+82
-0
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/Trace.java
...src/main/java/com/a/eye/skywalking/trace/proto/Trace.java
+113
-0
skywalking-commons/skywalking-trace/src/main/proto/trace.proto
...lking-commons/skywalking-trace/src/main/proto/trace.proto
+1
-1
未找到文件。
skywalking-commons/skywalking-trace/pom.xml
浏览文件 @
7bffd0bf
...
...
@@ -59,28 +59,38 @@
</executions>
</plugin>
<!-- This plugin can run, only when you have installed `protoc`.
<plugin>
<groupId>
org.xolstice.maven.plugins
</groupId>
<artifactId>
protobuf-maven-plugin
</artifactId>
<version>
0.5.0
</version>
<configuration>
<protocArtifact>
com.google.protobuf:protoc:3.1.0:exe:${os.detected.classifier}
</protocArtifact>
<pluginId>
grpc-java
</pluginId>
<pluginArtifact>
io.grpc:protoc-gen-grpc-java:1.1.2:exe:${os.detected.classifier}
</pluginArtifact>
</configuration>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>compile-protoc</id>
<phase>generate-sources</phase>
<configuration>
<tasks>
<path id="proto.path">
<fileset dir="src/main/proto">
<include name="*.proto"/>
</fileset>
</path>
<pathconvert pathsep=" " property="proto.files"
refid="proto.path"/>
<exec executable="protoc">
<arg value="--java_out=src/main/java"/>
<arg value="-I${project.basedir}/src/main/proto"/>
<arg line="${proto.files}"/>
</exec>
</tasks>
<sourceRoot>src/main/gen-java</sourceRoot>
</configuration>
<goals>
<goal>
compile
</goal>
<goal>
compile-custom
</goal>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
-->
</plugins>
</build>
</project>
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/LogData.java
浏览文件 @
7bffd0bf
...
...
@@ -2,8 +2,8 @@ package com.a.eye.skywalking.trace;
import
com.a.eye.skywalking.api.util.StringUtil
;
import
com.a.eye.skywalking.messages.ISerializable
;
import
com.a.eye.skywalking.trace.
messages.
proto.KeyValue
;
import
com.a.eye.skywalking.trace.
messages.
proto.LogDataMessage
;
import
com.a.eye.skywalking.trace.proto.KeyValue
;
import
com.a.eye.skywalking.trace.proto.LogDataMessage
;
import
java.util.Collections
;
import
java.util.HashMap
;
import
java.util.List
;
...
...
@@ -14,7 +14,7 @@ import java.util.Map;
*
* Created by wusheng on 2017/2/17.
*/
public
class
LogData
implements
ISerializable
<
LogDataMessage
>{
public
class
LogData
implements
ISerializable
<
LogDataMessage
>
{
private
long
time
;
private
Map
<
String
,
?>
fields
;
...
...
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/Span.java
浏览文件 @
7bffd0bf
...
...
@@ -2,9 +2,9 @@ package com.a.eye.skywalking.trace;
import
com.a.eye.skywalking.api.util.StringUtil
;
import
com.a.eye.skywalking.messages.ISerializable
;
import
com.a.eye.skywalking.trace.
messages.
proto.KeyValue
;
import
com.a.eye.skywalking.trace.
messages.
proto.LogDataMessage
;
import
com.a.eye.skywalking.trace.
messages.
proto.SpanMessage
;
import
com.a.eye.skywalking.trace.proto.KeyValue
;
import
com.a.eye.skywalking.trace.proto.LogDataMessage
;
import
com.a.eye.skywalking.trace.proto.SpanMessage
;
import
java.io.ByteArrayOutputStream
;
import
java.io.IOException
;
import
java.util.ArrayList
;
...
...
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/TraceSegment.java
浏览文件 @
7bffd0bf
package
com.a.eye.skywalking.trace
;
import
com.a.eye.skywalking.messages.ISerializable
;
import
com.a.eye.skywalking.trace.
messages.
proto.SegmentMessage
;
import
com.a.eye.skywalking.trace.
messages.
proto.SegmentRefMessage
;
import
com.a.eye.skywalking.trace.
messages.
proto.SpanMessage
;
import
com.a.eye.skywalking.trace.proto.SegmentMessage
;
import
com.a.eye.skywalking.trace.proto.SegmentRefMessage
;
import
com.a.eye.skywalking.trace.proto.SpanMessage
;
import
java.util.Collections
;
import
java.util.LinkedList
;
import
java.util.List
;
...
...
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/TraceSegmentRef.java
浏览文件 @
7bffd0bf
package
com.a.eye.skywalking.trace
;
import
com.a.eye.skywalking.messages.ISerializable
;
import
com.a.eye.skywalking.trace.
messages.
proto.SegmentRefMessage
;
import
com.a.eye.skywalking.trace.proto.SegmentRefMessage
;
import
com.a.eye.skywalking.trace.tag.Tags
;
/**
...
...
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/KeyValue.java
0 → 100644
浏览文件 @
7bffd0bf
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: trace.proto
package
com.a.eye.skywalking.trace.proto
;
/**
* Protobuf type {@code KeyValue}
*/
public
final
class
KeyValue
extends
com
.
google
.
protobuf
.
GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:KeyValue)
KeyValueOrBuilder
{
// Use KeyValue.newBuilder() to construct.
private
KeyValue
(
com
.
google
.
protobuf
.
GeneratedMessageV3
.
Builder
<?>
builder
)
{
super
(
builder
);
}
private
KeyValue
()
{
key_
=
""
;
value_
=
""
;
}
@java
.
lang
.
Override
public
final
com
.
google
.
protobuf
.
UnknownFieldSet
getUnknownFields
()
{
return
com
.
google
.
protobuf
.
UnknownFieldSet
.
getDefaultInstance
();
}
private
KeyValue
(
com
.
google
.
protobuf
.
CodedInputStream
input
,
com
.
google
.
protobuf
.
ExtensionRegistryLite
extensionRegistry
)
throws
com
.
google
.
protobuf
.
InvalidProtocolBufferException
{
this
();
int
mutable_bitField0_
=
0
;
try
{
boolean
done
=
false
;
while
(!
done
)
{
int
tag
=
input
.
readTag
();
switch
(
tag
)
{
case
0
:
done
=
true
;
break
;
default
:
{
if
(!
input
.
skipField
(
tag
))
{
done
=
true
;
}
break
;
}
case
10
:
{
java
.
lang
.
String
s
=
input
.
readStringRequireUtf8
();
key_
=
s
;
break
;
}
case
18
:
{
java
.
lang
.
String
s
=
input
.
readStringRequireUtf8
();
value_
=
s
;
break
;
}
}
}
}
catch
(
com
.
google
.
protobuf
.
InvalidProtocolBufferException
e
)
{
throw
e
.
setUnfinishedMessage
(
this
);
}
catch
(
java
.
io
.
IOException
e
)
{
throw
new
com
.
google
.
protobuf
.
InvalidProtocolBufferException
(
e
).
setUnfinishedMessage
(
this
);
}
finally
{
makeExtensionsImmutable
();
}
}
public
static
final
com
.
google
.
protobuf
.
Descriptors
.
Descriptor
getDescriptor
()
{
return
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
Trace
.
internal_static_KeyValue_descriptor
;
}
protected
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
{
return
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
Trace
.
internal_static_KeyValue_fieldAccessorTable
.
ensureFieldAccessorsInitialized
(
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
.
class
,
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
.
Builder
.
class
);
}
public
static
final
int
KEY_FIELD_NUMBER
=
1
;
private
volatile
java
.
lang
.
Object
key_
;
/**
* <code>optional string key = 1;</code>
*/
public
java
.
lang
.
String
getKey
()
{
java
.
lang
.
Object
ref
=
key_
;
if
(
ref
instanceof
java
.
lang
.
String
)
{
return
(
java
.
lang
.
String
)
ref
;
}
else
{
com
.
google
.
protobuf
.
ByteString
bs
=
(
com
.
google
.
protobuf
.
ByteString
)
ref
;
java
.
lang
.
String
s
=
bs
.
toStringUtf8
();
key_
=
s
;
return
s
;
}
}
/**
* <code>optional string key = 1;</code>
*/
public
com
.
google
.
protobuf
.
ByteString
getKeyBytes
()
{
java
.
lang
.
Object
ref
=
key_
;
if
(
ref
instanceof
java
.
lang
.
String
)
{
com
.
google
.
protobuf
.
ByteString
b
=
com
.
google
.
protobuf
.
ByteString
.
copyFromUtf8
(
(
java
.
lang
.
String
)
ref
);
key_
=
b
;
return
b
;
}
else
{
return
(
com
.
google
.
protobuf
.
ByteString
)
ref
;
}
}
public
static
final
int
VALUE_FIELD_NUMBER
=
2
;
private
volatile
java
.
lang
.
Object
value_
;
/**
* <code>optional string value = 2;</code>
*/
public
java
.
lang
.
String
getValue
()
{
java
.
lang
.
Object
ref
=
value_
;
if
(
ref
instanceof
java
.
lang
.
String
)
{
return
(
java
.
lang
.
String
)
ref
;
}
else
{
com
.
google
.
protobuf
.
ByteString
bs
=
(
com
.
google
.
protobuf
.
ByteString
)
ref
;
java
.
lang
.
String
s
=
bs
.
toStringUtf8
();
value_
=
s
;
return
s
;
}
}
/**
* <code>optional string value = 2;</code>
*/
public
com
.
google
.
protobuf
.
ByteString
getValueBytes
()
{
java
.
lang
.
Object
ref
=
value_
;
if
(
ref
instanceof
java
.
lang
.
String
)
{
com
.
google
.
protobuf
.
ByteString
b
=
com
.
google
.
protobuf
.
ByteString
.
copyFromUtf8
(
(
java
.
lang
.
String
)
ref
);
value_
=
b
;
return
b
;
}
else
{
return
(
com
.
google
.
protobuf
.
ByteString
)
ref
;
}
}
private
byte
memoizedIsInitialized
=
-
1
;
public
final
boolean
isInitialized
()
{
byte
isInitialized
=
memoizedIsInitialized
;
if
(
isInitialized
==
1
)
return
true
;
if
(
isInitialized
==
0
)
return
false
;
memoizedIsInitialized
=
1
;
return
true
;
}
public
void
writeTo
(
com
.
google
.
protobuf
.
CodedOutputStream
output
)
throws
java
.
io
.
IOException
{
if
(!
getKeyBytes
().
isEmpty
())
{
com
.
google
.
protobuf
.
GeneratedMessageV3
.
writeString
(
output
,
1
,
key_
);
}
if
(!
getValueBytes
().
isEmpty
())
{
com
.
google
.
protobuf
.
GeneratedMessageV3
.
writeString
(
output
,
2
,
value_
);
}
}
public
int
getSerializedSize
()
{
int
size
=
memoizedSize
;
if
(
size
!=
-
1
)
return
size
;
size
=
0
;
if
(!
getKeyBytes
().
isEmpty
())
{
size
+=
com
.
google
.
protobuf
.
GeneratedMessageV3
.
computeStringSize
(
1
,
key_
);
}
if
(!
getValueBytes
().
isEmpty
())
{
size
+=
com
.
google
.
protobuf
.
GeneratedMessageV3
.
computeStringSize
(
2
,
value_
);
}
memoizedSize
=
size
;
return
size
;
}
private
static
final
long
serialVersionUID
=
0L
;
@java
.
lang
.
Override
public
boolean
equals
(
final
java
.
lang
.
Object
obj
)
{
if
(
obj
==
this
)
{
return
true
;
}
if
(!(
obj
instanceof
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
))
{
return
super
.
equals
(
obj
);
}
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
other
=
(
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
)
obj
;
boolean
result
=
true
;
result
=
result
&&
getKey
()
.
equals
(
other
.
getKey
());
result
=
result
&&
getValue
()
.
equals
(
other
.
getValue
());
return
result
;
}
@java
.
lang
.
Override
public
int
hashCode
()
{
if
(
memoizedHashCode
!=
0
)
{
return
memoizedHashCode
;
}
int
hash
=
41
;
hash
=
(
19
*
hash
)
+
getDescriptorForType
().
hashCode
();
hash
=
(
37
*
hash
)
+
KEY_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getKey
().
hashCode
();
hash
=
(
37
*
hash
)
+
VALUE_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getValue
().
hashCode
();
hash
=
(
29
*
hash
)
+
unknownFields
.
hashCode
();
memoizedHashCode
=
hash
;
return
hash
;
}
public
static
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
parseFrom
(
com
.
google
.
protobuf
.
ByteString
data
)
throws
com
.
google
.
protobuf
.
InvalidProtocolBufferException
{
return
PARSER
.
parseFrom
(
data
);
}
public
static
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
parseFrom
(
com
.
google
.
protobuf
.
ByteString
data
,
com
.
google
.
protobuf
.
ExtensionRegistryLite
extensionRegistry
)
throws
com
.
google
.
protobuf
.
InvalidProtocolBufferException
{
return
PARSER
.
parseFrom
(
data
,
extensionRegistry
);
}
public
static
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
parseFrom
(
byte
[]
data
)
throws
com
.
google
.
protobuf
.
InvalidProtocolBufferException
{
return
PARSER
.
parseFrom
(
data
);
}
public
static
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
parseFrom
(
byte
[]
data
,
com
.
google
.
protobuf
.
ExtensionRegistryLite
extensionRegistry
)
throws
com
.
google
.
protobuf
.
InvalidProtocolBufferException
{
return
PARSER
.
parseFrom
(
data
,
extensionRegistry
);
}
public
static
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
parseFrom
(
java
.
io
.
InputStream
input
)
throws
java
.
io
.
IOException
{
return
com
.
google
.
protobuf
.
GeneratedMessageV3
.
parseWithIOException
(
PARSER
,
input
);
}
public
static
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
parseFrom
(
java
.
io
.
InputStream
input
,
com
.
google
.
protobuf
.
ExtensionRegistryLite
extensionRegistry
)
throws
java
.
io
.
IOException
{
return
com
.
google
.
protobuf
.
GeneratedMessageV3
.
parseWithIOException
(
PARSER
,
input
,
extensionRegistry
);
}
public
static
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
parseDelimitedFrom
(
java
.
io
.
InputStream
input
)
throws
java
.
io
.
IOException
{
return
com
.
google
.
protobuf
.
GeneratedMessageV3
.
parseDelimitedWithIOException
(
PARSER
,
input
);
}
public
static
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
parseDelimitedFrom
(
java
.
io
.
InputStream
input
,
com
.
google
.
protobuf
.
ExtensionRegistryLite
extensionRegistry
)
throws
java
.
io
.
IOException
{
return
com
.
google
.
protobuf
.
GeneratedMessageV3
.
parseDelimitedWithIOException
(
PARSER
,
input
,
extensionRegistry
);
}
public
static
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
parseFrom
(
com
.
google
.
protobuf
.
CodedInputStream
input
)
throws
java
.
io
.
IOException
{
return
com
.
google
.
protobuf
.
GeneratedMessageV3
.
parseWithIOException
(
PARSER
,
input
);
}
public
static
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
parseFrom
(
com
.
google
.
protobuf
.
CodedInputStream
input
,
com
.
google
.
protobuf
.
ExtensionRegistryLite
extensionRegistry
)
throws
java
.
io
.
IOException
{
return
com
.
google
.
protobuf
.
GeneratedMessageV3
.
parseWithIOException
(
PARSER
,
input
,
extensionRegistry
);
}
public
Builder
newBuilderForType
()
{
return
newBuilder
();
}
public
static
Builder
newBuilder
()
{
return
DEFAULT_INSTANCE
.
toBuilder
();
}
public
static
Builder
newBuilder
(
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
prototype
)
{
return
DEFAULT_INSTANCE
.
toBuilder
().
mergeFrom
(
prototype
);
}
public
Builder
toBuilder
()
{
return
this
==
DEFAULT_INSTANCE
?
new
Builder
()
:
new
Builder
().
mergeFrom
(
this
);
}
@java
.
lang
.
Override
protected
Builder
newBuilderForType
(
com
.
google
.
protobuf
.
GeneratedMessageV3
.
BuilderParent
parent
)
{
Builder
builder
=
new
Builder
(
parent
);
return
builder
;
}
/**
* Protobuf type {@code KeyValue}
*/
public
static
final
class
Builder
extends
com
.
google
.
protobuf
.
GeneratedMessageV3
.
Builder
<
Builder
>
implements
// @@protoc_insertion_point(builder_implements:KeyValue)
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValueOrBuilder
{
public
static
final
com
.
google
.
protobuf
.
Descriptors
.
Descriptor
getDescriptor
()
{
return
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
Trace
.
internal_static_KeyValue_descriptor
;
}
protected
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
{
return
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
Trace
.
internal_static_KeyValue_fieldAccessorTable
.
ensureFieldAccessorsInitialized
(
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
.
class
,
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
.
Builder
.
class
);
}
// Construct using com.a.eye.skywalking.trace.proto.KeyValue.newBuilder()
private
Builder
()
{
maybeForceBuilderInitialization
();
}
private
Builder
(
com
.
google
.
protobuf
.
GeneratedMessageV3
.
BuilderParent
parent
)
{
super
(
parent
);
maybeForceBuilderInitialization
();
}
private
void
maybeForceBuilderInitialization
()
{
if
(
com
.
google
.
protobuf
.
GeneratedMessageV3
.
alwaysUseFieldBuilders
)
{
}
}
public
Builder
clear
()
{
super
.
clear
();
key_
=
""
;
value_
=
""
;
return
this
;
}
public
com
.
google
.
protobuf
.
Descriptors
.
Descriptor
getDescriptorForType
()
{
return
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
Trace
.
internal_static_KeyValue_descriptor
;
}
public
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
getDefaultInstanceForType
()
{
return
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
.
getDefaultInstance
();
}
public
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
build
()
{
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
result
=
buildPartial
();
if
(!
result
.
isInitialized
())
{
throw
newUninitializedMessageException
(
result
);
}
return
result
;
}
public
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
buildPartial
()
{
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
result
=
new
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
(
this
);
result
.
key_
=
key_
;
result
.
value_
=
value_
;
onBuilt
();
return
result
;
}
public
Builder
clone
()
{
return
(
Builder
)
super
.
clone
();
}
public
Builder
setField
(
com
.
google
.
protobuf
.
Descriptors
.
FieldDescriptor
field
,
Object
value
)
{
return
(
Builder
)
super
.
setField
(
field
,
value
);
}
public
Builder
clearField
(
com
.
google
.
protobuf
.
Descriptors
.
FieldDescriptor
field
)
{
return
(
Builder
)
super
.
clearField
(
field
);
}
public
Builder
clearOneof
(
com
.
google
.
protobuf
.
Descriptors
.
OneofDescriptor
oneof
)
{
return
(
Builder
)
super
.
clearOneof
(
oneof
);
}
public
Builder
setRepeatedField
(
com
.
google
.
protobuf
.
Descriptors
.
FieldDescriptor
field
,
int
index
,
Object
value
)
{
return
(
Builder
)
super
.
setRepeatedField
(
field
,
index
,
value
);
}
public
Builder
addRepeatedField
(
com
.
google
.
protobuf
.
Descriptors
.
FieldDescriptor
field
,
Object
value
)
{
return
(
Builder
)
super
.
addRepeatedField
(
field
,
value
);
}
public
Builder
mergeFrom
(
com
.
google
.
protobuf
.
Message
other
)
{
if
(
other
instanceof
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
)
{
return
mergeFrom
((
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
)
other
);
}
else
{
super
.
mergeFrom
(
other
);
return
this
;
}
}
public
Builder
mergeFrom
(
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
other
)
{
if
(
other
==
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
.
getDefaultInstance
())
return
this
;
if
(!
other
.
getKey
().
isEmpty
())
{
key_
=
other
.
key_
;
onChanged
();
}
if
(!
other
.
getValue
().
isEmpty
())
{
value_
=
other
.
value_
;
onChanged
();
}
onChanged
();
return
this
;
}
public
final
boolean
isInitialized
()
{
return
true
;
}
public
Builder
mergeFrom
(
com
.
google
.
protobuf
.
CodedInputStream
input
,
com
.
google
.
protobuf
.
ExtensionRegistryLite
extensionRegistry
)
throws
java
.
io
.
IOException
{
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
parsedMessage
=
null
;
try
{
parsedMessage
=
PARSER
.
parsePartialFrom
(
input
,
extensionRegistry
);
}
catch
(
com
.
google
.
protobuf
.
InvalidProtocolBufferException
e
)
{
parsedMessage
=
(
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
)
e
.
getUnfinishedMessage
();
throw
e
.
unwrapIOException
();
}
finally
{
if
(
parsedMessage
!=
null
)
{
mergeFrom
(
parsedMessage
);
}
}
return
this
;
}
private
java
.
lang
.
Object
key_
=
""
;
/**
* <code>optional string key = 1;</code>
*/
public
java
.
lang
.
String
getKey
()
{
java
.
lang
.
Object
ref
=
key_
;
if
(!(
ref
instanceof
java
.
lang
.
String
))
{
com
.
google
.
protobuf
.
ByteString
bs
=
(
com
.
google
.
protobuf
.
ByteString
)
ref
;
java
.
lang
.
String
s
=
bs
.
toStringUtf8
();
key_
=
s
;
return
s
;
}
else
{
return
(
java
.
lang
.
String
)
ref
;
}
}
/**
* <code>optional string key = 1;</code>
*/
public
com
.
google
.
protobuf
.
ByteString
getKeyBytes
()
{
java
.
lang
.
Object
ref
=
key_
;
if
(
ref
instanceof
String
)
{
com
.
google
.
protobuf
.
ByteString
b
=
com
.
google
.
protobuf
.
ByteString
.
copyFromUtf8
(
(
java
.
lang
.
String
)
ref
);
key_
=
b
;
return
b
;
}
else
{
return
(
com
.
google
.
protobuf
.
ByteString
)
ref
;
}
}
/**
* <code>optional string key = 1;</code>
*/
public
Builder
setKey
(
java
.
lang
.
String
value
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
key_
=
value
;
onChanged
();
return
this
;
}
/**
* <code>optional string key = 1;</code>
*/
public
Builder
clearKey
()
{
key_
=
getDefaultInstance
().
getKey
();
onChanged
();
return
this
;
}
/**
* <code>optional string key = 1;</code>
*/
public
Builder
setKeyBytes
(
com
.
google
.
protobuf
.
ByteString
value
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
checkByteStringIsUtf8
(
value
);
key_
=
value
;
onChanged
();
return
this
;
}
private
java
.
lang
.
Object
value_
=
""
;
/**
* <code>optional string value = 2;</code>
*/
public
java
.
lang
.
String
getValue
()
{
java
.
lang
.
Object
ref
=
value_
;
if
(!(
ref
instanceof
java
.
lang
.
String
))
{
com
.
google
.
protobuf
.
ByteString
bs
=
(
com
.
google
.
protobuf
.
ByteString
)
ref
;
java
.
lang
.
String
s
=
bs
.
toStringUtf8
();
value_
=
s
;
return
s
;
}
else
{
return
(
java
.
lang
.
String
)
ref
;
}
}
/**
* <code>optional string value = 2;</code>
*/
public
com
.
google
.
protobuf
.
ByteString
getValueBytes
()
{
java
.
lang
.
Object
ref
=
value_
;
if
(
ref
instanceof
String
)
{
com
.
google
.
protobuf
.
ByteString
b
=
com
.
google
.
protobuf
.
ByteString
.
copyFromUtf8
(
(
java
.
lang
.
String
)
ref
);
value_
=
b
;
return
b
;
}
else
{
return
(
com
.
google
.
protobuf
.
ByteString
)
ref
;
}
}
/**
* <code>optional string value = 2;</code>
*/
public
Builder
setValue
(
java
.
lang
.
String
value
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
value_
=
value
;
onChanged
();
return
this
;
}
/**
* <code>optional string value = 2;</code>
*/
public
Builder
clearValue
()
{
value_
=
getDefaultInstance
().
getValue
();
onChanged
();
return
this
;
}
/**
* <code>optional string value = 2;</code>
*/
public
Builder
setValueBytes
(
com
.
google
.
protobuf
.
ByteString
value
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
checkByteStringIsUtf8
(
value
);
value_
=
value
;
onChanged
();
return
this
;
}
public
final
Builder
setUnknownFields
(
final
com
.
google
.
protobuf
.
UnknownFieldSet
unknownFields
)
{
return
this
;
}
public
final
Builder
mergeUnknownFields
(
final
com
.
google
.
protobuf
.
UnknownFieldSet
unknownFields
)
{
return
this
;
}
// @@protoc_insertion_point(builder_scope:KeyValue)
}
// @@protoc_insertion_point(class_scope:KeyValue)
private
static
final
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
DEFAULT_INSTANCE
;
static
{
DEFAULT_INSTANCE
=
new
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
();
}
public
static
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
getDefaultInstance
()
{
return
DEFAULT_INSTANCE
;
}
private
static
final
com
.
google
.
protobuf
.
Parser
<
KeyValue
>
PARSER
=
new
com
.
google
.
protobuf
.
AbstractParser
<
KeyValue
>()
{
public
KeyValue
parsePartialFrom
(
com
.
google
.
protobuf
.
CodedInputStream
input
,
com
.
google
.
protobuf
.
ExtensionRegistryLite
extensionRegistry
)
throws
com
.
google
.
protobuf
.
InvalidProtocolBufferException
{
return
new
KeyValue
(
input
,
extensionRegistry
);
}
};
public
static
com
.
google
.
protobuf
.
Parser
<
KeyValue
>
parser
()
{
return
PARSER
;
}
@java
.
lang
.
Override
public
com
.
google
.
protobuf
.
Parser
<
KeyValue
>
getParserForType
()
{
return
PARSER
;
}
public
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
getDefaultInstanceForType
()
{
return
DEFAULT_INSTANCE
;
}
}
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/KeyValueOrBuilder.java
0 → 100644
浏览文件 @
7bffd0bf
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: trace.proto
package
com.a.eye.skywalking.trace.proto
;
public
interface
KeyValueOrBuilder
extends
// @@protoc_insertion_point(interface_extends:KeyValue)
com
.
google
.
protobuf
.
MessageOrBuilder
{
/**
* <code>optional string key = 1;</code>
*/
java
.
lang
.
String
getKey
();
/**
* <code>optional string key = 1;</code>
*/
com
.
google
.
protobuf
.
ByteString
getKeyBytes
();
/**
* <code>optional string value = 2;</code>
*/
java
.
lang
.
String
getValue
();
/**
* <code>optional string value = 2;</code>
*/
com
.
google
.
protobuf
.
ByteString
getValueBytes
();
}
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/LogDataMessage.java
0 → 100644
浏览文件 @
7bffd0bf
此差异已折叠。
点击以展开。
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/LogDataMessageOrBuilder.java
0 → 100644
浏览文件 @
7bffd0bf
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: trace.proto
package
com.a.eye.skywalking.trace.proto
;
public
interface
LogDataMessageOrBuilder
extends
// @@protoc_insertion_point(interface_extends:LogDataMessage)
com
.
google
.
protobuf
.
MessageOrBuilder
{
/**
* <code>optional int64 time = 1;</code>
*/
long
getTime
();
/**
* <code>repeated .KeyValue fields = 5;</code>
*/
java
.
util
.
List
<
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
>
getFieldsList
();
/**
* <code>repeated .KeyValue fields = 5;</code>
*/
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
getFields
(
int
index
);
/**
* <code>repeated .KeyValue fields = 5;</code>
*/
int
getFieldsCount
();
/**
* <code>repeated .KeyValue fields = 5;</code>
*/
java
.
util
.
List
<?
extends
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValueOrBuilder
>
getFieldsOrBuilderList
();
/**
* <code>repeated .KeyValue fields = 5;</code>
*/
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValueOrBuilder
getFieldsOrBuilder
(
int
index
);
}
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/SegmentMessage.java
0 → 100644
浏览文件 @
7bffd0bf
此差异已折叠。
点击以展开。
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/SegmentMessageOrBuilder.java
0 → 100644
浏览文件 @
7bffd0bf
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: trace.proto
package
com.a.eye.skywalking.trace.proto
;
public
interface
SegmentMessageOrBuilder
extends
// @@protoc_insertion_point(interface_extends:SegmentMessage)
com
.
google
.
protobuf
.
MessageOrBuilder
{
/**
* <code>optional string traceSegmentId = 1;</code>
*/
java
.
lang
.
String
getTraceSegmentId
();
/**
* <code>optional string traceSegmentId = 1;</code>
*/
com
.
google
.
protobuf
.
ByteString
getTraceSegmentIdBytes
();
/**
* <code>optional int64 startTime = 2;</code>
*/
long
getStartTime
();
/**
* <code>optional int64 endTime = 3;</code>
*/
long
getEndTime
();
/**
* <code>optional string applicationCode = 4;</code>
*/
java
.
lang
.
String
getApplicationCode
();
/**
* <code>optional string applicationCode = 4;</code>
*/
com
.
google
.
protobuf
.
ByteString
getApplicationCodeBytes
();
/**
* <code>optional .SegmentRefMessage primaryRef = 5;</code>
*/
boolean
hasPrimaryRef
();
/**
* <code>optional .SegmentRefMessage primaryRef = 5;</code>
*/
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
SegmentRefMessage
getPrimaryRef
();
/**
* <code>optional .SegmentRefMessage primaryRef = 5;</code>
*/
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
SegmentRefMessageOrBuilder
getPrimaryRefOrBuilder
();
/**
* <code>repeated .SegmentRefMessage refs = 6;</code>
*/
java
.
util
.
List
<
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
SegmentRefMessage
>
getRefsList
();
/**
* <code>repeated .SegmentRefMessage refs = 6;</code>
*/
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
SegmentRefMessage
getRefs
(
int
index
);
/**
* <code>repeated .SegmentRefMessage refs = 6;</code>
*/
int
getRefsCount
();
/**
* <code>repeated .SegmentRefMessage refs = 6;</code>
*/
java
.
util
.
List
<?
extends
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
SegmentRefMessageOrBuilder
>
getRefsOrBuilderList
();
/**
* <code>repeated .SegmentRefMessage refs = 6;</code>
*/
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
SegmentRefMessageOrBuilder
getRefsOrBuilder
(
int
index
);
/**
* <code>repeated .SpanMessage spans = 7;</code>
*/
java
.
util
.
List
<
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
SpanMessage
>
getSpansList
();
/**
* <code>repeated .SpanMessage spans = 7;</code>
*/
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
SpanMessage
getSpans
(
int
index
);
/**
* <code>repeated .SpanMessage spans = 7;</code>
*/
int
getSpansCount
();
/**
* <code>repeated .SpanMessage spans = 7;</code>
*/
java
.
util
.
List
<?
extends
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
SpanMessageOrBuilder
>
getSpansOrBuilderList
();
/**
* <code>repeated .SpanMessage spans = 7;</code>
*/
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
SpanMessageOrBuilder
getSpansOrBuilder
(
int
index
);
}
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/SegmentRefMessage.java
0 → 100644
浏览文件 @
7bffd0bf
此差异已折叠。
点击以展开。
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/SegmentRefMessageOrBuilder.java
0 → 100644
浏览文件 @
7bffd0bf
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: trace.proto
package
com.a.eye.skywalking.trace.proto
;
public
interface
SegmentRefMessageOrBuilder
extends
// @@protoc_insertion_point(interface_extends:SegmentRefMessage)
com
.
google
.
protobuf
.
MessageOrBuilder
{
/**
* <code>optional string traceSegmentId = 1;</code>
*/
java
.
lang
.
String
getTraceSegmentId
();
/**
* <code>optional string traceSegmentId = 1;</code>
*/
com
.
google
.
protobuf
.
ByteString
getTraceSegmentIdBytes
();
/**
* <code>optional int32 spanId = 2;</code>
*/
int
getSpanId
();
/**
* <code>optional string applicationCode = 3;</code>
*/
java
.
lang
.
String
getApplicationCode
();
/**
* <code>optional string applicationCode = 3;</code>
*/
com
.
google
.
protobuf
.
ByteString
getApplicationCodeBytes
();
/**
* <code>optional string peerHost = 4;</code>
*/
java
.
lang
.
String
getPeerHost
();
/**
* <code>optional string peerHost = 4;</code>
*/
com
.
google
.
protobuf
.
ByteString
getPeerHostBytes
();
}
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/SpanMessage.java
0 → 100644
浏览文件 @
7bffd0bf
此差异已折叠。
点击以展开。
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/SpanMessageOrBuilder.java
0 → 100644
浏览文件 @
7bffd0bf
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: trace.proto
package
com.a.eye.skywalking.trace.proto
;
public
interface
SpanMessageOrBuilder
extends
// @@protoc_insertion_point(interface_extends:SpanMessage)
com
.
google
.
protobuf
.
MessageOrBuilder
{
/**
* <code>optional int32 spanId = 1;</code>
*/
int
getSpanId
();
/**
* <code>optional int64 startTime = 2;</code>
*/
long
getStartTime
();
/**
* <code>optional int64 endTime = 3;</code>
*/
long
getEndTime
();
/**
* <code>optional string operationName = 4;</code>
*/
java
.
lang
.
String
getOperationName
();
/**
* <code>optional string operationName = 4;</code>
*/
com
.
google
.
protobuf
.
ByteString
getOperationNameBytes
();
/**
* <code>repeated .KeyValue tags = 5;</code>
*/
java
.
util
.
List
<
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
>
getTagsList
();
/**
* <code>repeated .KeyValue tags = 5;</code>
*/
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValue
getTags
(
int
index
);
/**
* <code>repeated .KeyValue tags = 5;</code>
*/
int
getTagsCount
();
/**
* <code>repeated .KeyValue tags = 5;</code>
*/
java
.
util
.
List
<?
extends
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValueOrBuilder
>
getTagsOrBuilderList
();
/**
* <code>repeated .KeyValue tags = 5;</code>
*/
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
KeyValueOrBuilder
getTagsOrBuilder
(
int
index
);
/**
* <code>repeated .LogDataMessage logs = 6;</code>
*/
java
.
util
.
List
<
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
LogDataMessage
>
getLogsList
();
/**
* <code>repeated .LogDataMessage logs = 6;</code>
*/
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
LogDataMessage
getLogs
(
int
index
);
/**
* <code>repeated .LogDataMessage logs = 6;</code>
*/
int
getLogsCount
();
/**
* <code>repeated .LogDataMessage logs = 6;</code>
*/
java
.
util
.
List
<?
extends
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
LogDataMessageOrBuilder
>
getLogsOrBuilderList
();
/**
* <code>repeated .LogDataMessage logs = 6;</code>
*/
com
.
a
.
eye
.
skywalking
.
trace
.
proto
.
LogDataMessageOrBuilder
getLogsOrBuilder
(
int
index
);
}
skywalking-commons/skywalking-trace/src/main/java/com/a/eye/skywalking/trace/proto/Trace.java
0 → 100644
浏览文件 @
7bffd0bf
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: trace.proto
package
com.a.eye.skywalking.trace.proto
;
public
final
class
Trace
{
private
Trace
()
{}
public
static
void
registerAllExtensions
(
com
.
google
.
protobuf
.
ExtensionRegistryLite
registry
)
{
}
public
static
void
registerAllExtensions
(
com
.
google
.
protobuf
.
ExtensionRegistry
registry
)
{
registerAllExtensions
(
(
com
.
google
.
protobuf
.
ExtensionRegistryLite
)
registry
);
}
static
final
com
.
google
.
protobuf
.
Descriptors
.
Descriptor
internal_static_SegmentMessage_descriptor
;
static
final
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
internal_static_SegmentMessage_fieldAccessorTable
;
static
final
com
.
google
.
protobuf
.
Descriptors
.
Descriptor
internal_static_SegmentRefMessage_descriptor
;
static
final
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
internal_static_SegmentRefMessage_fieldAccessorTable
;
static
final
com
.
google
.
protobuf
.
Descriptors
.
Descriptor
internal_static_SpanMessage_descriptor
;
static
final
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
internal_static_SpanMessage_fieldAccessorTable
;
static
final
com
.
google
.
protobuf
.
Descriptors
.
Descriptor
internal_static_LogDataMessage_descriptor
;
static
final
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
internal_static_LogDataMessage_fieldAccessorTable
;
static
final
com
.
google
.
protobuf
.
Descriptors
.
Descriptor
internal_static_KeyValue_descriptor
;
static
final
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
internal_static_KeyValue_fieldAccessorTable
;
public
static
com
.
google
.
protobuf
.
Descriptors
.
FileDescriptor
getDescriptor
()
{
return
descriptor
;
}
private
static
com
.
google
.
protobuf
.
Descriptors
.
FileDescriptor
descriptor
;
static
{
java
.
lang
.
String
[]
descriptorData
=
{
"\n\013trace.proto\"\314\001\n\016SegmentMessage\022\026\n\016trac"
+
"eSegmentId\030\001 \001(\t\022\021\n\tstartTime\030\002 \001(\003\022\017\n\007e"
+
"ndTime\030\003 \001(\003\022\027\n\017applicationCode\030\004 \001(\t\022&\n"
+
"\nprimaryRef\030\005 \001(\0132\022.SegmentRefMessage\022 \n"
+
"\004refs\030\006 \003(\0132\022.SegmentRefMessage\022\033\n\005spans"
+
"\030\007 \003(\0132\014.SpanMessage\"f\n\021SegmentRefMessag"
+
"e\022\026\n\016traceSegmentId\030\001 \001(\t\022\016\n\006spanId\030\002 \001("
+
"\005\022\027\n\017applicationCode\030\003 \001(\t\022\020\n\010peerHost\030\004"
+
" \001(\t\"\220\001\n\013SpanMessage\022\016\n\006spanId\030\001 \001(\005\022\021\n\t"
+
"startTime\030\002 \001(\003\022\017\n\007endTime\030\003 \001(\003\022\025\n\roper"
,
"ationName\030\004 \001(\t\022\027\n\004tags\030\005 \003(\0132\t.KeyValue"
+
"\022\035\n\004logs\030\006 \003(\0132\017.LogDataMessage\"9\n\016LogDa"
+
"taMessage\022\014\n\004time\030\001 \001(\003\022\031\n\006fields\030\005 \003(\0132"
+
"\t.KeyValue\"&\n\010KeyValue\022\013\n\003key\030\001 \001(\t\022\r\n\005v"
+
"alue\030\002 \001(\tB$\n com.a.eye.skywalking.trace"
+
".protoP\001b\006proto3"
};
com
.
google
.
protobuf
.
Descriptors
.
FileDescriptor
.
InternalDescriptorAssigner
assigner
=
new
com
.
google
.
protobuf
.
Descriptors
.
FileDescriptor
.
InternalDescriptorAssigner
()
{
public
com
.
google
.
protobuf
.
ExtensionRegistry
assignDescriptors
(
com
.
google
.
protobuf
.
Descriptors
.
FileDescriptor
root
)
{
descriptor
=
root
;
return
null
;
}
};
com
.
google
.
protobuf
.
Descriptors
.
FileDescriptor
.
internalBuildGeneratedFileFrom
(
descriptorData
,
new
com
.
google
.
protobuf
.
Descriptors
.
FileDescriptor
[]
{
},
assigner
);
internal_static_SegmentMessage_descriptor
=
getDescriptor
().
getMessageTypes
().
get
(
0
);
internal_static_SegmentMessage_fieldAccessorTable
=
new
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
(
internal_static_SegmentMessage_descriptor
,
new
java
.
lang
.
String
[]
{
"TraceSegmentId"
,
"StartTime"
,
"EndTime"
,
"ApplicationCode"
,
"PrimaryRef"
,
"Refs"
,
"Spans"
,
});
internal_static_SegmentRefMessage_descriptor
=
getDescriptor
().
getMessageTypes
().
get
(
1
);
internal_static_SegmentRefMessage_fieldAccessorTable
=
new
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
(
internal_static_SegmentRefMessage_descriptor
,
new
java
.
lang
.
String
[]
{
"TraceSegmentId"
,
"SpanId"
,
"ApplicationCode"
,
"PeerHost"
,
});
internal_static_SpanMessage_descriptor
=
getDescriptor
().
getMessageTypes
().
get
(
2
);
internal_static_SpanMessage_fieldAccessorTable
=
new
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
(
internal_static_SpanMessage_descriptor
,
new
java
.
lang
.
String
[]
{
"SpanId"
,
"StartTime"
,
"EndTime"
,
"OperationName"
,
"Tags"
,
"Logs"
,
});
internal_static_LogDataMessage_descriptor
=
getDescriptor
().
getMessageTypes
().
get
(
3
);
internal_static_LogDataMessage_fieldAccessorTable
=
new
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
(
internal_static_LogDataMessage_descriptor
,
new
java
.
lang
.
String
[]
{
"Time"
,
"Fields"
,
});
internal_static_KeyValue_descriptor
=
getDescriptor
().
getMessageTypes
().
get
(
4
);
internal_static_KeyValue_fieldAccessorTable
=
new
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
(
internal_static_KeyValue_descriptor
,
new
java
.
lang
.
String
[]
{
"Key"
,
"Value"
,
});
}
// @@protoc_insertion_point(outer_class_scope)
}
skywalking-commons/skywalking-trace/src/main/proto/trace.proto
浏览文件 @
7bffd0bf
syntax
=
"proto3"
;
option
java_multiple_files
=
true
;
option
java_package
=
"com.a.eye.skywalking.trace.
messages.
proto"
;
option
java_package
=
"com.a.eye.skywalking.trace.proto"
;
message
SegmentMessage
{
string
traceSegmentId
=
1
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录