Skip to main content

Class: PatchDebugData

Defined in: WAProto/index.d.ts:35444

Represents a PatchDebugData.

Implements

Constructors

new PatchDebugData()

new PatchDebugData(properties?): PatchDebugData

Defined in: WAProto/index.d.ts:35450

Constructs a new PatchDebugData.

Parameters

properties?

IPatchDebugData

Properties to set

Returns

PatchDebugData

Properties

collectionName?

optional collectionName: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:35462

PatchDebugData collectionName.

Implementation of

IPatchDebugData.collectionName


currentLthash?

optional currentLthash: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:35453

PatchDebugData currentLthash.

Implementation of

IPatchDebugData.currentLthash


firstFourBytesFromAHashOfSnapshotMacKey?

optional firstFourBytesFromAHashOfSnapshotMacKey: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:35465

PatchDebugData firstFourBytesFromAHashOfSnapshotMacKey.

Implementation of

IPatchDebugData.firstFourBytesFromAHashOfSnapshotMacKey


isSenderPrimary?

optional isSenderPrimary: null | boolean

Defined in: WAProto/index.d.ts:35483

PatchDebugData isSenderPrimary.

Implementation of

IPatchDebugData.isSenderPrimary


newLthash?

optional newLthash: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:35456

PatchDebugData newLthash.

Implementation of

IPatchDebugData.newLthash


newLthashSubtract?

optional newLthashSubtract: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:35468

PatchDebugData newLthashSubtract.

Implementation of

IPatchDebugData.newLthashSubtract


numberAdd?

optional numberAdd: null | number

Defined in: WAProto/index.d.ts:35471

PatchDebugData numberAdd.

Implementation of

IPatchDebugData.numberAdd


numberOverride?

optional numberOverride: null | number

Defined in: WAProto/index.d.ts:35477

PatchDebugData numberOverride.

Implementation of

IPatchDebugData.numberOverride


numberRemove?

optional numberRemove: null | number

Defined in: WAProto/index.d.ts:35474

PatchDebugData numberRemove.

Implementation of

IPatchDebugData.numberRemove


patchVersion?

optional patchVersion: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:35459

PatchDebugData patchVersion.

Implementation of

IPatchDebugData.patchVersion


senderPlatform?

optional senderPlatform: null | Platform

Defined in: WAProto/index.d.ts:35480

PatchDebugData senderPlatform.

Implementation of

IPatchDebugData.senderPlatform

Methods

toJSON()

toJSON(): object

Defined in: WAProto/index.d.ts:35553

Converts this PatchDebugData to JSON.

Returns

object

JSON object


create()

static create(properties?): PatchDebugData

Defined in: WAProto/index.d.ts:35490

Creates a new PatchDebugData instance using the specified properties.

Parameters

properties?

IPatchDebugData

Properties to set

Returns

PatchDebugData

PatchDebugData instance


decode()

static decode(reader, length?): PatchDebugData

Defined in: WAProto/index.d.ts:35516

Decodes a PatchDebugData message from the specified reader or buffer.

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

length?

number

Message length if known beforehand

Returns

PatchDebugData

PatchDebugData

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited()

static decodeDelimited(reader): PatchDebugData

Defined in: WAProto/index.d.ts:35525

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

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

Returns

PatchDebugData

PatchDebugData

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode()

static encode(message, writer?): Writer

Defined in: WAProto/index.d.ts:35498

Encodes the specified PatchDebugData message. Does not implicitly verify messages.

Parameters

message

IPatchDebugData

PatchDebugData message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


encodeDelimited()

static encodeDelimited(message, writer?): Writer

Defined in: WAProto/index.d.ts:35506

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

Parameters

message

IPatchDebugData

PatchDebugData message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


fromObject()

static fromObject(object): PatchDebugData

Defined in: WAProto/index.d.ts:35539

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

Parameters

object

Plain object

Returns

PatchDebugData

PatchDebugData


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

Defined in: WAProto/index.d.ts:35560

Gets the default type url for PatchDebugData

Parameters

typeUrlPrefix?

string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject()

static toObject(message, options?): object

Defined in: WAProto/index.d.ts:35547

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

Parameters

message

PatchDebugData

PatchDebugData

options?

IConversionOptions

Conversion options

Returns

object

Plain object


verify()

static verify(message): null | string

Defined in: WAProto/index.d.ts:35532

Verifies a PatchDebugData message.

Parameters

message

Plain object to verify

Returns

null | string

null if valid, otherwise the reason why it is not