Package zipkin2.proto3
Class Endpoint.Builder
- Enclosing class:
- Endpoint
public static final class Endpoint.Builder extends com.squareup.wire.Message.Builder<Endpoint,Endpoint.Builder>
- 
Field Summary
- 
Constructor SummaryConstructors Constructor Description Builder()
- 
Method SummaryModifier and Type Method Description Endpointbuild()Endpoint.Builderipv4(okio.ByteString ipv4)4 byte representation of the primary IPv4 address associated with this connection.Endpoint.Builderipv6(okio.ByteString ipv6)16 byte representation of the primary IPv6 address associated with this connection.Endpoint.Builderport(Integer port)Depending on context, this could be a listen port or the client-side of a socket.Endpoint.Builderservice_name(String service_name)Lower-case label of this node in the service graph, such as "favstar".Methods inherited from class com.squareup.wire.Message.BuilderaddUnknownField, addUnknownFields, buildUnknownFields, clearUnknownFields, getUnknownFieldsBuffer$wire_runtime, getUnknownFieldsByteString$wire_runtime, getUnknownFieldsWriter$wire_runtime, setUnknownFieldsBuffer$wire_runtime, setUnknownFieldsByteString$wire_runtime, setUnknownFieldsWriter$wire_runtime
- 
Field Details- 
service_name
- 
ipv4public okio.ByteString ipv4
- 
ipv6public okio.ByteString ipv6
- 
port
 
- 
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
service_nameLower-case label of this node in the service graph, such as "favstar". Leave absent if unknown. This is a primary label for trace lookup and aggregation, so it should be intuitive and consistent. Many use a name from service discovery.
- 
ipv44 byte representation of the primary IPv4 address associated with this connection. Absent if unknown.
- 
ipv616 byte representation of the primary IPv6 address associated with this connection. Absent if unknown. Prefer using the ipv4 field for mapped addresses.
- 
portDepending on context, this could be a listen port or the client-side of a socket. Absent if unknown.
- 
build- Specified by:
- buildin class- com.squareup.wire.Message.Builder<Endpoint,Endpoint.Builder>
 
 
-