public final class SegmentReference extends com.google.protobuf.GeneratedMessageV3 implements SegmentReferenceOrBuilder
Segment reference represents the link between two existing segment.Protobuf type
skywalking.v3.SegmentReference| Modifier and Type | Class and Description |
|---|---|
static class |
SegmentReference.Builder
Segment reference represents the link between two existing segment.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
NETWORKADDRESSUSEDATPEER_FIELD_NUMBER |
static int |
PARENTENDPOINT_FIELD_NUMBER |
static int |
PARENTSERVICE_FIELD_NUMBER |
static int |
PARENTSERVICEINSTANCE_FIELD_NUMBER |
static int |
PARENTSPANID_FIELD_NUMBER |
static int |
PARENTTRACESEGMENTID_FIELD_NUMBER |
static int |
REFTYPE_FIELD_NUMBER |
static int |
TRACEID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static SegmentReference |
getDefaultInstance() |
SegmentReference |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<SegmentReference> |
getParserForType() |
RefType |
getRefType()
Represent the reference type.
|
int |
getRefTypeValue()
Represent the reference type.
|
int |
getSerializedSize() |
String |
getTraceId()
A string id represents the whole trace.
|
com.google.protobuf.ByteString |
getTraceIdBytes()
A string id represents the whole trace.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SegmentReference.Builder |
newBuilder() |
static SegmentReference.Builder |
newBuilder(SegmentReference prototype) |
SegmentReference.Builder |
newBuilderForType() |
protected SegmentReference.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SegmentReference |
parseDelimitedFrom(InputStream input) |
static SegmentReference |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SegmentReference |
parseFrom(byte[] data) |
static SegmentReference |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SegmentReference |
parseFrom(ByteBuffer data) |
static SegmentReference |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SegmentReference |
parseFrom(com.google.protobuf.ByteString data) |
static SegmentReference |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SegmentReference |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SegmentReference |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SegmentReference |
parseFrom(InputStream input) |
static SegmentReference |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SegmentReference> |
parser() |
SegmentReference.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REFTYPE_FIELD_NUMBER
public static final int TRACEID_FIELD_NUMBER
public static final int PARENTTRACESEGMENTID_FIELD_NUMBER
public static final int PARENTSPANID_FIELD_NUMBER
public static final int PARENTSERVICE_FIELD_NUMBER
public static final int PARENTSERVICEINSTANCE_FIELD_NUMBER
public static final int PARENTENDPOINT_FIELD_NUMBER
public static final int NETWORKADDRESSUSEDATPEER_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 int getParentSpanId()
The span id in the parent trace segment.
int32 parentSpanId = 4;getParentSpanId in interface SegmentReferenceOrBuilderpublic 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SegmentReference parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SegmentReference parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SegmentReference parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SegmentReference parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SegmentReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SegmentReference parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SegmentReference parseFrom(InputStream input) throws IOException
IOExceptionpublic static SegmentReference parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SegmentReference parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SegmentReference parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SegmentReference parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SegmentReference parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SegmentReference.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SegmentReference.Builder newBuilder()
public static SegmentReference.Builder newBuilder(SegmentReference prototype)
public SegmentReference.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SegmentReference.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SegmentReference getDefaultInstance()
public static com.google.protobuf.Parser<SegmentReference> parser()
public com.google.protobuf.Parser<SegmentReference> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SegmentReference getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 The Apache Software Foundation. All rights reserved.