Package zipkin2.proto3
Class Endpoint
- All Implemented Interfaces:
- Serializable
public final class Endpoint extends com.squareup.wire.Message<Endpoint,Endpoint.Builder>
The network context of a node in the service graph.
 The next id is 5.
- See Also:
- Serialized Form
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classEndpoint.Builder
- 
Field SummaryFields Modifier and Type Field Description static com.squareup.wire.ProtoAdapter<Endpoint>ADAPTERstatic okio.ByteStringDEFAULT_IPV4static okio.ByteStringDEFAULT_IPV6static IntegerDEFAULT_PORTstatic StringDEFAULT_SERVICE_NAMEokio.ByteStringipv44 byte representation of the primary IPv4 address associated with this connection.okio.ByteStringipv616 byte representation of the primary IPv6 address associated with this connection.IntegerportDepending on context, this could be a listen port or the client-side of a socket.Stringservice_nameLower-case label of this node in the service graph, such as "favstar".
- 
Constructor Summary
- 
Method SummaryModifier and Type Method Description booleanequals(Object other)inthashCode()Endpoint.BuildernewBuilder()StringtoString()
- 
Field Details- 
ADAPTER
- 
DEFAULT_SERVICE_NAME- See Also:
- Constant Field Values
 
- 
DEFAULT_IPV4public static final okio.ByteString DEFAULT_IPV4
- 
DEFAULT_IPV6public static final okio.ByteString DEFAULT_IPV6
- 
DEFAULT_PORT
- 
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.
- 
ipv4public final okio.ByteString ipv44 byte representation of the primary IPv4 address associated with this connection. Absent if unknown.
- 
ipv6public final okio.ByteString 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.
 
- 
- 
Constructor Details
- 
Method Details- 
newBuilder- Specified by:
- newBuilderin class- com.squareup.wire.Message<Endpoint,Endpoint.Builder>
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString- Overrides:
- toStringin class- com.squareup.wire.Message<Endpoint,Endpoint.Builder>
 
 
-