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 Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Endpoint
build()
Endpoint.Builder
ipv4(okio.ByteString ipv4)
4 byte representation of the primary IPv4 address associated with this connection.Endpoint.Builder
ipv6(okio.ByteString ipv6)
16 byte representation of the primary IPv6 address associated with this connection.Endpoint.Builder
port(Integer port)
Depending on context, this could be a listen port or the client-side of a socket.Endpoint.Builder
service_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.Builder
addUnknownField, 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
-
ipv4
public okio.ByteString ipv4 -
ipv6
public okio.ByteString ipv6 -
port
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
service_name
Lower-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. -
ipv4
4 byte representation of the primary IPv4 address associated with this connection. Absent if unknown. -
ipv6
16 byte representation of the primary IPv6 address associated with this connection. Absent if unknown. Prefer using the ipv4 field for mapped addresses. -
port
Depending on context, this could be a listen port or the client-side of a socket. Absent if unknown. -
build
- Specified by:
build
in classcom.squareup.wire.Message.Builder<Endpoint,Endpoint.Builder>
-