fm.serializer.protobuf

ProtobufInputStreamInput

final class ProtobufInputStreamInput extends ProtobufInput

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProtobufInputStreamInput
  2. ProtobufInput
  3. Input
  4. RawInput
  5. CollectionInput
  6. FieldInput
  7. NestedInput
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProtobufInputStreamInput(is: InputStream)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def allowStringMap: Boolean

    Definition Classes
    ProtobufInputRawInputFieldInputNestedInput
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. final def checkLastTagWas(value: Int): Unit

    Verifies that the last call to readTag() returned the given tag value.

    Verifies that the last call to readTag() returned the given tag value. This is used to verify that a nested group ended with the correct end tag.

    Attributes
    protected
    Definition Classes
    ProtobufInput
    Exceptions thrown
    InvalidProtocolBufferException

    value does not match the last tag.

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def decodeZigZag32(n: Int): Int

    Decode a ZigZag-encoded 32-bit value.

    Decode a ZigZag-encoded 32-bit value. ZigZag encodes signed integers into values that can be efficiently encoded with varint. (Otherwise, negative values must be sign-extended to 64 bits to be varint encoded, thus always taking 10 bytes on the wire.)

    n

    An unsigned 32-bit integer, stored in a signed int because Java has no explicit unsigned support.

    returns

    A signed 32-bit integer.

    Attributes
    protected
    Definition Classes
    ProtobufInput
  11. def decodeZigZag64(n: Long): Long

    Decode a ZigZag-encoded 64-bit value.

    Decode a ZigZag-encoded 64-bit value. ZigZag encodes signed integers into values that can be efficiently encoded with varint. (Otherwise, negative values must be sign-extended to 64 bits to be varint encoded, thus always taking 10 bytes on the wire.)

    n

    An unsigned 64-bit integer, stored in a signed int because Java has no explicit unsigned support.

    returns

    A signed 64-bit integer.

    Attributes
    protected
    Definition Classes
    ProtobufInput
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hasAnotherElement: Boolean

    Is there another element to read in the collection?

    Is there another element to read in the collection?

    Definition Classes
    ProtobufInputStreamInputCollectionInput
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final var lastTag: Int

    The last tag that was read by readTag()

    The last tag that was read by readTag()

    Attributes
    protected
    Definition Classes
    ProtobufInput
  20. final def lastTagIsNullValue: Boolean

    Was the last tag read for a null field? This is only applicable for reading fields but is safe to use in the readNestedXXX call because it will only ever be true if we are actually reading a null value field.

    Was the last tag read for a null field? This is only applicable for reading fields but is safe to use in the readNestedXXX call because it will only ever be true if we are actually reading a null value field.

    Attributes
    protected
    Definition Classes
    ProtobufInput
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. def nextValueIsNull: Boolean

    Returns true if the next value is known to be null otherwise false if the value is not null or is unknown.

    Returns true if the next value is known to be null otherwise false if the value is not null or is unknown. This means that even if the next value ends up being null this can return false.

    Definition Classes
    ProtobufInputNestedInput
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def readFieldName(): String

    If dynamic string maps are supported then this should be implemented otherwise this can just throw an exception.

    If dynamic string maps are supported then this should be implemented otherwise this can just throw an exception.

    null should be returns on the end of an object/message

    Definition Classes
    ProtobufInputFieldInput
  26. final def readFieldNumber(nameToNumMap: Map[String, Int]): Int

    Read the next field number

    Read the next field number

    Definition Classes
    ProtobufInputFieldInput
  27. def readLengthDelimited[T](f: (Input) ⇒ T): T

  28. final def readNestedBool(): Boolean

    Definition Classes
    ProtobufInputNestedInput
  29. final def readNestedByteArray(): Array[Byte]

    Definition Classes
    ProtobufInputNestedInput
  30. def readNestedCollection[T](f: (CollectionInput) ⇒ T): T

    Definition Classes
    ProtobufInputNestedInput
  31. final def readNestedDouble(): Double

    Definition Classes
    ProtobufInputNestedInput
  32. final def readNestedFixedInt(): Int

    Definition Classes
    ProtobufInputNestedInput
  33. final def readNestedFixedLong(): Long

    Definition Classes
    ProtobufInputNestedInput
  34. final def readNestedFloat(): Float

    Definition Classes
    ProtobufInputNestedInput
  35. final def readNestedInt(): Int

    Definition Classes
    ProtobufInputNestedInput
  36. final def readNestedLong(): Long

    Definition Classes
    ProtobufInputNestedInput
  37. def readNestedObject[T](f: (FieldInput) ⇒ T): T

    Definition Classes
    ProtobufInputNestedInput
  38. final def readNestedSignedInt(): Int

    Definition Classes
    ProtobufInputNestedInput
  39. final def readNestedSignedLong(): Long

    Definition Classes
    ProtobufInputNestedInput
  40. final def readNestedString(): String

  41. final def readNestedUnsignedInt(): Int

    Definition Classes
    ProtobufInputNestedInput
  42. final def readNestedUnsignedLong(): Long

    Definition Classes
    ProtobufInputNestedInput
  43. final def readRawBigEndian32(): Int

    Read a 32-bit big-endian integer from the stream.

    Read a 32-bit big-endian integer from the stream.

    Attributes
    protected
    Definition Classes
    ProtobufInput
  44. final def readRawBigEndian64(): Long

    Read a 64-bit big-endian integer from the stream.

    Read a 64-bit big-endian integer from the stream.

    Attributes
    protected
    Definition Classes
    ProtobufInput
  45. final def readRawBool(): Boolean

    Definition Classes
    ProtobufInputRawInput
  46. def readRawByte(): Byte

    Read a raw byte with checking for the end of the stream

    Read a raw byte with checking for the end of the stream

    Attributes
    protected
    Definition Classes
    ProtobufInputStreamInputProtobufInput
  47. final def readRawByteArray(): Array[Byte]

  48. def readRawBytes(size: Int): Array[Byte]

    Attributes
    protected
    Definition Classes
    ProtobufInputStreamInputProtobufInput
  49. def readRawCollection[T](f: (CollectionInput) ⇒ T): T

    Definition Classes
    ProtobufInputRawInput
  50. final def readRawDouble(): Double

    Definition Classes
    ProtobufInputRawInput
  51. final def readRawFixedInt(): Int

    Definition Classes
    ProtobufInputRawInput
  52. final def readRawFixedLong(): Long

    Definition Classes
    ProtobufInputRawInput
  53. final def readRawFloat(): Float

    Definition Classes
    ProtobufInputRawInput
  54. final def readRawInt(): Int

    Definition Classes
    ProtobufInputRawInput
  55. final def readRawLittleEndian32(): Int

    Read a 32-bit little-endian integer from the stream.

    Read a 32-bit little-endian integer from the stream.

    Attributes
    protected
    Definition Classes
    ProtobufInput
  56. final def readRawLittleEndian64(): Long

    Read a 64-bit little-endian integer from the stream.

    Read a 64-bit little-endian integer from the stream.

    Attributes
    protected
    Definition Classes
    ProtobufInput
  57. final def readRawLong(): Long

    Definition Classes
    ProtobufInputRawInput
  58. def readRawObject[T](f: (FieldInput) ⇒ T): T

    Definition Classes
    ProtobufInputRawInput
  59. final def readRawSignedInt(): Int

    Definition Classes
    ProtobufInputRawInput
  60. final def readRawSignedLong(): Long

    Definition Classes
    ProtobufInputRawInput
  61. final def readRawString(): String

  62. final def readRawUnsignedInt(): Int

    Definition Classes
    ProtobufInputRawInput
  63. final def readRawUnsignedLong(): Long

    Definition Classes
    ProtobufInputRawInput
  64. final def readRawVarint32(firstByte: Byte): Int

    Read a raw Varint from the stream given the first byte.

    Read a raw Varint from the stream given the first byte. If larger than 32 bits, discard the upper bits.

    Attributes
    protected
    Definition Classes
    ProtobufInput
  65. final def readRawVarint32(): Int

    Read a raw Varint from the stream.

    Read a raw Varint from the stream. If larger than 32 bits, discard the upper bits.

    Definition Classes
    ProtobufInput
  66. def readTag(): Int

    Attempt to read a field tag, returning zero if we have reached EOF.

    Attempt to read a field tag, returning zero if we have reached EOF. Protocol message parsers use this to read tags, since a protocol message may legally end wherever a tag occurs, and zero is not a valid tag number.

    Attributes
    protected
    Definition Classes
    ProtobufInputStreamInputProtobufInput
  67. final def skipField(tag: Int): Boolean

    Reads and discards a single field, given its tag value.

    Reads and discards a single field, given its tag value.

    returns

    false if the tag is an endgroup tag, in which case nothing is skipped. Otherwise, returns true.

    Definition Classes
    ProtobufInput
  68. final def skipMessage(): Unit

    Reads and discards an entire message.

    Reads and discards an entire message. This will read either until EOF or until an endgroup tag, whichever comes first.

    Definition Classes
    ProtobufInput
  69. def skipRawBytes(size: Int): Unit

    Reads and discards size bytes.

    Reads and discards size bytes.

    Definition Classes
    ProtobufInputStreamInputProtobufInput
    Exceptions thrown
    InvalidProtocolBufferException

    The end of the stream or the current limit was reached.

  70. final def skipUnknownField(): Unit

    Skip an unknown field value.

    Skip an unknown field value.

    If after calling readFieldNumber(...) we don't know how to handle the resulting field number then this method can be called to skip the value of the field after which we can call readFieldNumber(...) again.

    Definition Classes
    ProtobufInputFieldInput
  71. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  72. def toString(): String

    Definition Classes
    AnyRef → Any
  73. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ProtobufInput

Inherited from Input

Inherited from RawInput

Inherited from CollectionInput

Inherited from FieldInput

Inherited from NestedInput

Inherited from AnyRef

Inherited from Any

Ungrouped