类 SegmentReference.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>
org.apache.skywalking.apm.network.language.agent.v3.SegmentReference.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,SegmentReferenceOrBuilder
- 封闭类:
- SegmentReference
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-
方法概要
修饰符和类型方法说明addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The network address, including ip/hostname and port, which is used in the client side.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The endpoint name of the parent segment.The service logic name of the parent segment.The service logic name instance of the parent segment.The span id in the parent trace segment.Another segment id as the parent.Represent the reference type.A string id represents the whole trace.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe network address, including ip/hostname and port, which is used in the client side.com.google.protobuf.ByteStringThe network address, including ip/hostname and port, which is used in the client side.The endpoint name of the parent segment.com.google.protobuf.ByteStringThe endpoint name of the parent segment.The service logic name of the parent segment.com.google.protobuf.ByteStringThe service logic name of the parent segment.The service logic name instance of the parent segment.com.google.protobuf.ByteStringThe service logic name instance of the parent segment.intThe span id in the parent trace segment.Another segment id as the parent.com.google.protobuf.ByteStringAnother segment id as the parent.Represent the reference type.intRepresent the reference type.A string id represents the whole trace.com.google.protobuf.ByteStringA string id represents the whole trace.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SegmentReference other) final SegmentReference.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The network address, including ip/hostname and port, which is used in the client side.setNetworkAddressUsedAtPeerBytes(com.google.protobuf.ByteString value) The network address, including ip/hostname and port, which is used in the client side.setParentEndpoint(String value) The endpoint name of the parent segment.setParentEndpointBytes(com.google.protobuf.ByteString value) The endpoint name of the parent segment.setParentService(String value) The service logic name of the parent segment.setParentServiceBytes(com.google.protobuf.ByteString value) The service logic name of the parent segment.setParentServiceInstance(String value) The service logic name instance of the parent segment.setParentServiceInstanceBytes(com.google.protobuf.ByteString value) The service logic name instance of the parent segment.setParentSpanId(int value) The span id in the parent trace segment.setParentTraceSegmentId(String value) Another segment id as the parent.setParentTraceSegmentIdBytes(com.google.protobuf.ByteString value) Another segment id as the parent.setRefType(RefType value) Represent the reference type.setRefTypeValue(int value) Represent the reference type.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTraceId(String value) A string id represents the whole trace.setTraceIdBytes(com.google.protobuf.ByteString value) A string id represents the whole trace.final SegmentReference.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException从接口继承的方法 com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>
-
setField
public SegmentReference.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>
-
clearField
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>
-
clearOneof
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>
-
setRepeatedField
public SegmentReference.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>
-
addRepeatedField
public SegmentReference.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>
-
mergeFrom
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<SegmentReference.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>
-
mergeFrom
public SegmentReference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<SegmentReference.Builder>- 抛出:
IOException
-
getRefTypeValue
public 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在接口中SegmentReferenceOrBuilder- 返回:
- The enum numeric value on the wire for refType.
-
setRefTypeValue
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.- 返回:
- This builder for chaining.
-
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在接口中SegmentReferenceOrBuilder- 返回:
- The refType.
-
setRefType
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.- 返回:
- This builder for chaining.
-
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;- 返回:
- This builder for chaining.
-
getTraceId
A string id represents the whole trace.
string traceId = 2;- 指定者:
getTraceId在接口中SegmentReferenceOrBuilder- 返回:
- The traceId.
-
getTraceIdBytes
public com.google.protobuf.ByteString getTraceIdBytes()A string id represents the whole trace.
string traceId = 2;- 指定者:
getTraceIdBytes在接口中SegmentReferenceOrBuilder- 返回:
- The bytes for traceId.
-
setTraceId
A string id represents the whole trace.
string traceId = 2;- 参数:
value- The traceId to set.- 返回:
- This builder for chaining.
-
clearTraceId
A string id represents the whole trace.
string traceId = 2;- 返回:
- This builder for chaining.
-
setTraceIdBytes
A string id represents the whole trace.
string traceId = 2;- 参数:
value- The bytes for traceId to set.- 返回:
- This builder for chaining.
-
getParentTraceSegmentId
Another segment id as the parent.
string parentTraceSegmentId = 3;- 指定者:
getParentTraceSegmentId在接口中SegmentReferenceOrBuilder- 返回:
- The parentTraceSegmentId.
-
getParentTraceSegmentIdBytes
public com.google.protobuf.ByteString getParentTraceSegmentIdBytes()Another segment id as the parent.
string parentTraceSegmentId = 3;- 指定者:
getParentTraceSegmentIdBytes在接口中SegmentReferenceOrBuilder- 返回:
- The bytes for parentTraceSegmentId.
-
setParentTraceSegmentId
Another segment id as the parent.
string parentTraceSegmentId = 3;- 参数:
value- The parentTraceSegmentId to set.- 返回:
- This builder for chaining.
-
clearParentTraceSegmentId
Another segment id as the parent.
string parentTraceSegmentId = 3;- 返回:
- This builder for chaining.
-
setParentTraceSegmentIdBytes
Another segment id as the parent.
string parentTraceSegmentId = 3;- 参数:
value- The bytes for parentTraceSegmentId to set.- 返回:
- This builder for chaining.
-
getParentSpanId
public int getParentSpanId()The span id in the parent trace segment.
int32 parentSpanId = 4;- 指定者:
getParentSpanId在接口中SegmentReferenceOrBuilder- 返回:
- The parentSpanId.
-
setParentSpanId
The span id in the parent trace segment.
int32 parentSpanId = 4;- 参数:
value- The parentSpanId to set.- 返回:
- This builder for chaining.
-
clearParentSpanId
The span id in the parent trace segment.
int32 parentSpanId = 4;- 返回:
- This builder for chaining.
-
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在接口中SegmentReferenceOrBuilder- 返回:
- The parentService.
-
getParentServiceBytes
public 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在接口中SegmentReferenceOrBuilder- 返回:
- The bytes for parentService.
-
setParentService
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.- 返回:
- This builder for chaining.
-
clearParentService
The service logic name of the parent segment. If refType == CrossThread, this name is as same as the trace segment.
string parentService = 5;- 返回:
- This builder for chaining.
-
setParentServiceBytes
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.- 返回:
- This builder for chaining.
-
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在接口中SegmentReferenceOrBuilder- 返回:
- The parentServiceInstance.
-
getParentServiceInstanceBytes
public 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在接口中SegmentReferenceOrBuilder- 返回:
- The bytes for parentServiceInstance.
-
setParentServiceInstance
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.- 返回:
- This builder for chaining.
-
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;- 返回:
- This builder for chaining.
-
setParentServiceInstanceBytes
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.- 返回:
- This builder for chaining.
-
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在接口中SegmentReferenceOrBuilder- 返回:
- The parentEndpoint.
-
getParentEndpointBytes
public 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在接口中SegmentReferenceOrBuilder- 返回:
- The bytes for parentEndpoint.
-
setParentEndpoint
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.- 返回:
- This builder for chaining.
-
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;- 返回:
- This builder for chaining.
-
setParentEndpointBytes
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.- 返回:
- This builder for chaining.
-
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在接口中SegmentReferenceOrBuilder- 返回:
- The networkAddressUsedAtPeer.
-
getNetworkAddressUsedAtPeerBytes
public 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在接口中SegmentReferenceOrBuilder- 返回:
- The bytes for networkAddressUsedAtPeer.
-
setNetworkAddressUsedAtPeer
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.- 返回:
- This builder for chaining.
-
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;- 返回:
- This builder for chaining.
-
setNetworkAddressUsedAtPeerBytes
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.- 返回:
- This builder for chaining.
-
setUnknownFields
public final SegmentReference.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>
-
mergeUnknownFields
public final SegmentReference.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<SegmentReference.Builder>
-