Class Chip

  • All Implemented Interfaces:
    android.os.Parcelable, java.io.Serializable

    public final class Chip
    extends com.squareup.wire.AndroidMessage<Chip,​Chip.Builder>
    Chip details data captured from a chip
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Chip.Builder  
      static class  Chip.Type  
      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.squareup.wire.ProtoAdapter<Chip> ADAPTER  
      static android.os.Parcelable.Creator<Chip> CREATOR  
      static okio.ByteString DEFAULT_PAYLOAD  
      static Chip.Type DEFAULT_TYPE  
      okio.ByteString payload
      The digital payload read from the chip
      Chip.Type type
      Type is the name of the object that has been marshalled to create the payload.
      • Fields inherited from class com.squareup.wire.Message

        hashCode
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Constructor Summary

      Constructors 
      Constructor Description
      Chip​(Chip.Type type, okio.ByteString payload)  
      Chip​(Chip.Type type, okio.ByteString payload, okio.ByteString unknownFields)  
    • Method Summary

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

        describeContents, newCreator, writeToParcel
      • Methods inherited from class com.squareup.wire.Message

        adapter, encode, encode, encode, 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<Chip> ADAPTER
      • CREATOR

        public static final android.os.Parcelable.Creator<Chip> CREATOR
      • DEFAULT_TYPE

        public static final Chip.Type DEFAULT_TYPE
      • DEFAULT_PAYLOAD

        public static final okio.ByteString DEFAULT_PAYLOAD
      • type

        @Nullable
        public final Chip.Type type
        Type is the name of the object that has been marshalled to create the payload.
      • payload

        @Nullable
        public final okio.ByteString payload
        The digital payload read from the chip
    • Constructor Detail

      • Chip

        public Chip​(@Nullable
                    Chip.Type type,
                    @Nullable
                    okio.ByteString payload)
      • Chip

        public Chip​(@Nullable
                    Chip.Type type,
                    @Nullable
                    okio.ByteString payload,
                    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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class com.squareup.wire.Message<Chip,​Chip.Builder>