Represents a SelfAndOthers.

Hierarchy

  • SelfAndOthers

Implements

Constructors

  • Constructs a new SelfAndOthers.

    Parameters

    Returns SelfAndOthers

Properties

others: string[]

SelfAndOthers others.

self: string

SelfAndOthers self.

Methods

  • Converts this SelfAndOthers to JSON.

    Returns {
        [k: string]: any;
    }

    JSON object

    • [k: string]: any
  • Creates a new SelfAndOthers instance using the specified properties.

    Parameters

    Returns SelfAndOthers

    SelfAndOthers instance

  • Decodes a SelfAndOthers message from the specified reader or buffer.

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

    Parameters

    • reader: any

      Reader or buffer to decode from

    • Optional length: number

      Message length if known beforehand

    Returns SelfAndOthers

    SelfAndOthers

  • Decodes a SelfAndOthers message from the specified reader or buffer, length delimited.

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

    Parameters

    • reader: any

      Reader or buffer to decode from

    Returns SelfAndOthers

    SelfAndOthers

  • Encodes the specified SelfAndOthers message. Does not implicitly verify messages.

    Parameters

    • message: ISelfAndOthers

      SelfAndOthers message or plain object to encode

    • Optional writer: any

      Writer to encode to

    Returns Writer

    Writer

  • Encodes the specified SelfAndOthers message, length delimited. Does not implicitly verify messages.

    Parameters

    • message: ISelfAndOthers

      SelfAndOthers message or plain object to encode

    • Optional writer: any

      Writer to encode to

    Returns Writer

    Writer

  • Creates a SelfAndOthers message from a plain object. Also converts values to their respective internal types.

    Parameters

    • object: {
          [k: string]: any;
      }

      Plain object

      • [k: string]: any

    Returns SelfAndOthers

    SelfAndOthers

  • Creates a plain object from a SelfAndOthers message. Also converts values to other types if specified.

    Parameters

    • message: SelfAndOthers

      SelfAndOthers

    • Optional options: any

      Conversion options

    Returns {
        [k: string]: any;
    }

    Plain object

    • [k: string]: any
  • Verifies a SelfAndOthers message.

    Parameters

    • message: {
          [k: string]: any;
      }

      Plain object to verify

      • [k: string]: any

    Returns null | string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc