Package zipkin2.proto3
Class ListOfSpans
- All Implemented Interfaces:
Serializable
public final class ListOfSpans extends com.squareup.wire.Message<ListOfSpans,ListOfSpans.Builder>
A list of spans with possibly different trace ids, in no particular order.
This is used for all transports: POST, Kafka messages etc. No other fields
are expected, This message facilitates the mechanics of encoding a list, as
a field number is required. The name of this type is the same in the OpenApi
aka Swagger specification. https://zipkin.io/zipkin-api/#/default/post_spans
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListOfSpans.Builder -
Field Summary
Fields Modifier and Type Field Description static com.squareup.wire.ProtoAdapter<ListOfSpans>ADAPTERList<Span>spans -
Constructor Summary
Constructors Constructor Description ListOfSpans(List<Span> spans)ListOfSpans(List<Span> spans, okio.ByteString unknownFields) -
Method Summary
Modifier and Type Method Description booleanequals(Object other)inthashCode()ListOfSpans.BuildernewBuilder()StringtoString()
-
Field Details
-
Constructor Details
-
Method Details
-
newBuilder
- Specified by:
newBuilderin classcom.squareup.wire.Message<ListOfSpans,ListOfSpans.Builder>
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toStringin classcom.squareup.wire.Message<ListOfSpans,ListOfSpans.Builder>
-