public static final class SegmentReference.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder> implements SegmentReferenceOrBuilder
Segment reference represents the link between two existing segment.Protobuf type
skywalking.v3.SegmentReference| Modifier and Type | Method and Description |
|---|---|
SegmentReference.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SegmentReference |
build() |
SegmentReference |
buildPartial() |
SegmentReference.Builder |
clear() |
SegmentReference.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SegmentReference.Builder |
clearNetworkAddressUsedAtPeer()
The network address, including ip/hostname and port, which is used in the client side.
|
SegmentReference.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SegmentReference.Builder |
clearParentEndpoint()
The endpoint name of the parent segment.
|
SegmentReference.Builder |
clearParentService()
The service logic name of the parent segment.
|
SegmentReference.Builder |
clearParentServiceInstance()
The service logic name instance of the parent segment.
|
SegmentReference.Builder |
clearParentSpanId()
The span id in the parent trace segment.
|
SegmentReference.Builder |
clearParentTraceSegmentId()
Another segment id as the parent.
|
SegmentReference.Builder |
clearRefType()
Represent the reference type.
|
SegmentReference.Builder |
clearTraceId()
A string id represents the whole trace.
|
SegmentReference.Builder |
clone() |
SegmentReference |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNetworkAddressUsedAtPeer()
The network address, including ip/hostname and port, which is used in the client side.
|
com.google.protobuf.ByteString |
getNetworkAddressUsedAtPeerBytes()
The network address, including ip/hostname and port, which is used in the client side.
|
String |
getParentEndpoint()
The endpoint name of the parent segment.
|
com.google.protobuf.ByteString |
getParentEndpointBytes()
The endpoint name of the parent segment.
|
String |
getParentService()
The service logic name of the parent segment.
|
com.google.protobuf.ByteString |
getParentServiceBytes()
The service logic name of the parent segment.
|
String |
getParentServiceInstance()
The service logic name instance of the parent segment.
|
com.google.protobuf.ByteString |
getParentServiceInstanceBytes()
The service logic name instance of the parent segment.
|
int |
getParentSpanId()
The span id in the parent trace segment.
|
String |
getParentTraceSegmentId()
Another segment id as the parent.
|
com.google.protobuf.ByteString |
getParentTraceSegmentIdBytes()
Another segment id as the parent.
|
RefType |
getRefType()
Represent the reference type.
|
int |
getRefTypeValue()
Represent the reference type.
|
String |
getTraceId()
A string id represents the whole trace.
|
com.google.protobuf.ByteString |
getTraceIdBytes()
A string id represents the whole trace.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SegmentReference.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SegmentReference.Builder |
mergeFrom(com.google.protobuf.Message other) |
SegmentReference.Builder |
mergeFrom(SegmentReference other) |
SegmentReference.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SegmentReference.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SegmentReference.Builder |
setNetworkAddressUsedAtPeer(String value)
The network address, including ip/hostname and port, which is used in the client side.
|
SegmentReference.Builder |
setNetworkAddressUsedAtPeerBytes(com.google.protobuf.ByteString value)
The network address, including ip/hostname and port, which is used in the client side.
|
SegmentReference.Builder |
setParentEndpoint(String value)
The endpoint name of the parent segment.
|
SegmentReference.Builder |
setParentEndpointBytes(com.google.protobuf.ByteString value)
The endpoint name of the parent segment.
|
SegmentReference.Builder |
setParentService(String value)
The service logic name of the parent segment.
|
SegmentReference.Builder |
setParentServiceBytes(com.google.protobuf.ByteString value)
The service logic name of the parent segment.
|
SegmentReference.Builder |
setParentServiceInstance(String value)
The service logic name instance of the parent segment.
|
SegmentReference.Builder |
setParentServiceInstanceBytes(com.google.protobuf.ByteString value)
The service logic name instance of the parent segment.
|
SegmentReference.Builder |
setParentSpanId(int value)
The span id in the parent trace segment.
|
SegmentReference.Builder |
setParentTraceSegmentId(String value)
Another segment id as the parent.
|
SegmentReference.Builder |
setParentTraceSegmentIdBytes(com.google.protobuf.ByteString value)
Another segment id as the parent.
|
SegmentReference.Builder |
setRefType(RefType value)
Represent the reference type.
|
SegmentReference.Builder |
setRefTypeValue(int value)
Represent the reference type.
|
SegmentReference.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SegmentReference.Builder |
setTraceId(String value)
A string id represents the whole trace.
|
SegmentReference.Builder |
setTraceIdBytes(com.google.protobuf.ByteString value)
A string id represents the whole trace.
|
SegmentReference.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>public SegmentReference.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>public SegmentReference getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SegmentReference build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SegmentReference buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SegmentReference.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>public SegmentReference.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>public SegmentReference.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>public SegmentReference.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>public SegmentReference.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>public SegmentReference.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>public SegmentReference.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SegmentReference.Builder>public SegmentReference.Builder mergeFrom(SegmentReference other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>public SegmentReference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SegmentReference.Builder>IOExceptionpublic int getRefTypeValue()
Represent the reference type. It could be across thread or across process. Across process means there is a downstream RPC call for this. Typically, refType == CrossProcess means SpanObject#spanType = entry.
.skywalking.v3.RefType refType = 1;getRefTypeValue in interface SegmentReferenceOrBuilderpublic SegmentReference.Builder setRefTypeValue(int value)
Represent the reference type. It could be across thread or across process. Across process means there is a downstream RPC call for this. Typically, refType == CrossProcess means SpanObject#spanType = entry.
.skywalking.v3.RefType refType = 1;value - The enum numeric value on the wire for refType to set.public RefType getRefType()
Represent the reference type. It could be across thread or across process. Across process means there is a downstream RPC call for this. Typically, refType == CrossProcess means SpanObject#spanType = entry.
.skywalking.v3.RefType refType = 1;getRefType in interface SegmentReferenceOrBuilderpublic SegmentReference.Builder setRefType(RefType value)
Represent the reference type. It could be across thread or across process. Across process means there is a downstream RPC call for this. Typically, refType == CrossProcess means SpanObject#spanType = entry.
.skywalking.v3.RefType refType = 1;value - The refType to set.public SegmentReference.Builder clearRefType()
Represent the reference type. It could be across thread or across process. Across process means there is a downstream RPC call for this. Typically, refType == CrossProcess means SpanObject#spanType = entry.
.skywalking.v3.RefType refType = 1;public String getTraceId()
A string id represents the whole trace.
string traceId = 2;getTraceId in interface SegmentReferenceOrBuilderpublic com.google.protobuf.ByteString getTraceIdBytes()
A string id represents the whole trace.
string traceId = 2;getTraceIdBytes in interface SegmentReferenceOrBuilderpublic SegmentReference.Builder setTraceId(String value)
A string id represents the whole trace.
string traceId = 2;value - The traceId to set.public SegmentReference.Builder clearTraceId()
A string id represents the whole trace.
string traceId = 2;public SegmentReference.Builder setTraceIdBytes(com.google.protobuf.ByteString value)
A string id represents the whole trace.
string traceId = 2;value - The bytes for traceId to set.public String getParentTraceSegmentId()
Another segment id as the parent.
string parentTraceSegmentId = 3;getParentTraceSegmentId in interface SegmentReferenceOrBuilderpublic com.google.protobuf.ByteString getParentTraceSegmentIdBytes()
Another segment id as the parent.
string parentTraceSegmentId = 3;getParentTraceSegmentIdBytes in interface SegmentReferenceOrBuilderpublic SegmentReference.Builder setParentTraceSegmentId(String value)
Another segment id as the parent.
string parentTraceSegmentId = 3;value - The parentTraceSegmentId to set.public SegmentReference.Builder clearParentTraceSegmentId()
Another segment id as the parent.
string parentTraceSegmentId = 3;public SegmentReference.Builder setParentTraceSegmentIdBytes(com.google.protobuf.ByteString value)
Another segment id as the parent.
string parentTraceSegmentId = 3;value - The bytes for parentTraceSegmentId to set.public int getParentSpanId()
The span id in the parent trace segment.
int32 parentSpanId = 4;getParentSpanId in interface SegmentReferenceOrBuilderpublic SegmentReference.Builder setParentSpanId(int value)
The span id in the parent trace segment.
int32 parentSpanId = 4;value - The parentSpanId to set.public SegmentReference.Builder clearParentSpanId()
The span id in the parent trace segment.
int32 parentSpanId = 4;public String getParentService()
The service logic name of the parent segment. If refType == CrossThread, this name is as same as the trace segment.
string parentService = 5;getParentService in interface SegmentReferenceOrBuilderpublic com.google.protobuf.ByteString getParentServiceBytes()
The service logic name of the parent segment. If refType == CrossThread, this name is as same as the trace segment.
string parentService = 5;getParentServiceBytes in interface SegmentReferenceOrBuilderpublic SegmentReference.Builder setParentService(String value)
The service logic name of the parent segment. If refType == CrossThread, this name is as same as the trace segment.
string parentService = 5;value - The parentService to set.public SegmentReference.Builder clearParentService()
The service logic name of the parent segment. If refType == CrossThread, this name is as same as the trace segment.
string parentService = 5;public SegmentReference.Builder setParentServiceBytes(com.google.protobuf.ByteString value)
The service logic name of the parent segment. If refType == CrossThread, this name is as same as the trace segment.
string parentService = 5;value - The bytes for parentService to set.public String getParentServiceInstance()
The service logic name instance of the parent segment. If refType == CrossThread, this name is as same as the trace segment.
string parentServiceInstance = 6;getParentServiceInstance in interface SegmentReferenceOrBuilderpublic com.google.protobuf.ByteString getParentServiceInstanceBytes()
The service logic name instance of the parent segment. If refType == CrossThread, this name is as same as the trace segment.
string parentServiceInstance = 6;getParentServiceInstanceBytes in interface SegmentReferenceOrBuilderpublic SegmentReference.Builder setParentServiceInstance(String value)
The service logic name instance of the parent segment. If refType == CrossThread, this name is as same as the trace segment.
string parentServiceInstance = 6;value - The parentServiceInstance to set.public SegmentReference.Builder clearParentServiceInstance()
The service logic name instance of the parent segment. If refType == CrossThread, this name is as same as the trace segment.
string parentServiceInstance = 6;public SegmentReference.Builder setParentServiceInstanceBytes(com.google.protobuf.ByteString value)
The service logic name instance of the parent segment. If refType == CrossThread, this name is as same as the trace segment.
string parentServiceInstance = 6;value - The bytes for parentServiceInstance to set.public String getParentEndpoint()
The endpoint name of the parent segment. **Endpoint**. A path in a service for incoming requests, such as an HTTP URI path or a gRPC service class + method signature. In a trace segment, the endpoint name is the name of first entry span.
string parentEndpoint = 7;getParentEndpoint in interface SegmentReferenceOrBuilderpublic com.google.protobuf.ByteString getParentEndpointBytes()
The endpoint name of the parent segment. **Endpoint**. A path in a service for incoming requests, such as an HTTP URI path or a gRPC service class + method signature. In a trace segment, the endpoint name is the name of first entry span.
string parentEndpoint = 7;getParentEndpointBytes in interface SegmentReferenceOrBuilderpublic SegmentReference.Builder setParentEndpoint(String value)
The endpoint name of the parent segment. **Endpoint**. A path in a service for incoming requests, such as an HTTP URI path or a gRPC service class + method signature. In a trace segment, the endpoint name is the name of first entry span.
string parentEndpoint = 7;value - The parentEndpoint to set.public SegmentReference.Builder clearParentEndpoint()
The endpoint name of the parent segment. **Endpoint**. A path in a service for incoming requests, such as an HTTP URI path or a gRPC service class + method signature. In a trace segment, the endpoint name is the name of first entry span.
string parentEndpoint = 7;public SegmentReference.Builder setParentEndpointBytes(com.google.protobuf.ByteString value)
The endpoint name of the parent segment. **Endpoint**. A path in a service for incoming requests, such as an HTTP URI path or a gRPC service class + method signature. In a trace segment, the endpoint name is the name of first entry span.
string parentEndpoint = 7;value - The bytes for parentEndpoint to set.public String getNetworkAddressUsedAtPeer()
The network address, including ip/hostname and port, which is used in the client side. Such as Client --> use 127.0.11.8:913 -> Server then, in the reference of entry span reported by Server, the value of this field is 127.0.11.8:913. This plays the important role in the SkyWalking STAM(Streaming Topology Analysis Method) For more details, read https://wu-sheng.github.io/STAM/
string networkAddressUsedAtPeer = 8;getNetworkAddressUsedAtPeer in interface SegmentReferenceOrBuilderpublic com.google.protobuf.ByteString getNetworkAddressUsedAtPeerBytes()
The network address, including ip/hostname and port, which is used in the client side. Such as Client --> use 127.0.11.8:913 -> Server then, in the reference of entry span reported by Server, the value of this field is 127.0.11.8:913. This plays the important role in the SkyWalking STAM(Streaming Topology Analysis Method) For more details, read https://wu-sheng.github.io/STAM/
string networkAddressUsedAtPeer = 8;getNetworkAddressUsedAtPeerBytes in interface SegmentReferenceOrBuilderpublic SegmentReference.Builder setNetworkAddressUsedAtPeer(String value)
The network address, including ip/hostname and port, which is used in the client side. Such as Client --> use 127.0.11.8:913 -> Server then, in the reference of entry span reported by Server, the value of this field is 127.0.11.8:913. This plays the important role in the SkyWalking STAM(Streaming Topology Analysis Method) For more details, read https://wu-sheng.github.io/STAM/
string networkAddressUsedAtPeer = 8;value - The networkAddressUsedAtPeer to set.public SegmentReference.Builder clearNetworkAddressUsedAtPeer()
The network address, including ip/hostname and port, which is used in the client side. Such as Client --> use 127.0.11.8:913 -> Server then, in the reference of entry span reported by Server, the value of this field is 127.0.11.8:913. This plays the important role in the SkyWalking STAM(Streaming Topology Analysis Method) For more details, read https://wu-sheng.github.io/STAM/
string networkAddressUsedAtPeer = 8;public SegmentReference.Builder setNetworkAddressUsedAtPeerBytes(com.google.protobuf.ByteString value)
The network address, including ip/hostname and port, which is used in the client side. Such as Client --> use 127.0.11.8:913 -> Server then, in the reference of entry span reported by Server, the value of this field is 127.0.11.8:913. This plays the important role in the SkyWalking STAM(Streaming Topology Analysis Method) For more details, read https://wu-sheng.github.io/STAM/
string networkAddressUsedAtPeer = 8;value - The bytes for networkAddressUsedAtPeer to set.public final SegmentReference.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>public final SegmentReference.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>Copyright © 2022 The Apache Software Foundation. All rights reserved.