Class ListOfSpans

  • All Implemented Interfaces:
    java.io.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 class  ListOfSpans.Builder  
      • Nested classes/interfaces inherited from class com.squareup.wire.Message

        com.squareup.wire.Message.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.squareup.wire.ProtoAdapter<ListOfSpans> ADAPTER  
      java.util.List<Span> spans  
      • Fields inherited from class com.squareup.wire.Message

        Companion, hashCode
    • Constructor Summary

      Constructors 
      Constructor Description
      ListOfSpans​(java.util.List<Span> spans)  
      ListOfSpans​(java.util.List<Span> spans, okio.ByteString unknownFields)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      ListOfSpans.Builder newBuilder()  
      java.lang.String toString()  
      • Methods inherited from class com.squareup.wire.Message

        adapter, encode, encode, encode, getCachedSerializedSize$wire_runtime, setCachedSerializedSize$wire_runtime, unknownFields, withoutUnknownFields, writeReplace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • ADAPTER

        public static final com.squareup.wire.ProtoAdapter<ListOfSpans> ADAPTER
      • spans

        public final java.util.List<Span> spans
    • Constructor Detail

      • ListOfSpans

        public ListOfSpans​(java.util.List<Span> spans)
      • ListOfSpans

        public ListOfSpans​(java.util.List<Span> spans,
                           okio.ByteString unknownFields)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object