Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a Flush.

Hierarchy

  • Flush

Implements

Index

Constructors

constructor

  • Constructs a new Flush.

    Parameters

    Returns Flush

Methods

toJSON

  • toJSON(): object
  • Converts this Flush to JSON.

    Returns object

    JSON object

    • [k: string]: any

Static create

  • Creates a new Flush instance using the specified properties.

    Parameters

    Returns Flush

    Flush instance

Static decode

  • decode(reader: Reader | Uint8Array, length?: undefined | number): Flush
  • Decodes a Flush message from the specified reader or buffer.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Reader | Uint8Array

      Reader or buffer to decode from

    • Optional length: undefined | number

    Returns Flush

    Flush

Static decodeDelimited

  • decodeDelimited(reader: Reader | Uint8Array): Flush
  • Decodes a Flush message from the specified reader or buffer, length delimited.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Reader | Uint8Array

      Reader or buffer to decode from

    Returns Flush

    Flush

Static encode

  • encode(message: IFlush, writer?: $protobuf.Writer): Writer
  • Encodes the specified Flush message. Does not implicitly verify messages.

    Parameters

    • message: IFlush

      Flush message or plain object to encode

    • Optional writer: $protobuf.Writer

    Returns Writer

    Writer

Static encodeDelimited

  • encodeDelimited(message: IFlush, writer?: $protobuf.Writer): Writer
  • Encodes the specified Flush message, length delimited. Does not implicitly verify messages.

    Parameters

    • message: IFlush

      Flush message or plain object to encode

    • Optional writer: $protobuf.Writer

    Returns Writer

    Writer

Static fromObject

  • fromObject(object: object): Flush
  • Creates a Flush message from a plain object. Also converts values to their respective internal types.

    Parameters

    • object: object

      Plain object

      • [k: string]: any

    Returns Flush

    Flush

Static toObject

  • toObject(message: Flush, options?: $protobuf.IConversionOptions): object
  • Creates a plain object from a Flush message. Also converts values to other types if specified.

    Parameters

    • message: Flush

      Flush

    • Optional options: $protobuf.IConversionOptions

    Returns object

    Plain object

    • [k: string]: any

Static verify

  • verify(message: object): null | string
  • Verifies a Flush message.

    Parameters

    • message: object

      Plain object to verify

      • [k: string]: any

    Returns null | string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc