Class: PatchDebugData
Defined in: WAProto/index.d.ts:38170
Represents a PatchDebugData.
Implements
Constructors
new PatchDebugData()
new PatchDebugData(
properties
?):PatchDebugData
Defined in: WAProto/index.d.ts:38176
Constructs a new PatchDebugData.
Parameters
properties?
Properties to set
Returns
Properties
collectionName?
optional
collectionName:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:38188
PatchDebugData collectionName.
Implementation of
IPatchDebugData
.collectionName
currentLthash?
optional
currentLthash:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:38179
PatchDebugData currentLthash.
Implementation of
firstFourBytesFromAHashOfSnapshotMacKey?
optional
firstFourBytesFromAHashOfSnapshotMacKey:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:38191
PatchDebugData firstFourBytesFromAHashOfSnapshotMacKey.
Implementation of
IPatchDebugData
.firstFourBytesFromAHashOfSnapshotMacKey
isSenderPrimary?
optional
isSenderPrimary:null
|boolean
Defined in: WAProto/index.d.ts:38209
PatchDebugData isSenderPrimary.
Implementation of
IPatchDebugData
.isSenderPrimary
newLthash?
optional
newLthash:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:38182
PatchDebugData newLthash.
Implementation of
newLthashSubtract?
optional
newLthashSubtract:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:38194
PatchDebugData newLthashSubtract.
Implementation of
IPatchDebugData
.newLthashSubtract
numberAdd?
optional
numberAdd:null
|number
Defined in: WAProto/index.d.ts:38197
PatchDebugData numberAdd.
Implementation of
numberOverride?
optional
numberOverride:null
|number
Defined in: WAProto/index.d.ts:38203
PatchDebugData numberOverride.
Implementation of
IPatchDebugData
.numberOverride
numberRemove?
optional
numberRemove:null
|number
Defined in: WAProto/index.d.ts:38200
PatchDebugData numberRemove.
Implementation of
patchVersion?
optional
patchVersion:null
|Uint8Array
<ArrayBufferLike
>
Defined in: WAProto/index.d.ts:38185
PatchDebugData patchVersion.
Implementation of
senderPlatform?
optional
senderPlatform:null
|Platform
Defined in: WAProto/index.d.ts:38206
PatchDebugData senderPlatform.
Implementation of
IPatchDebugData
.senderPlatform
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:38279
Converts this PatchDebugData to JSON.
Returns
object
JSON object
create()
static
create(properties
?):PatchDebugData
Defined in: WAProto/index.d.ts:38216
Creates a new PatchDebugData instance using the specified properties.
Parameters
properties?
Properties to set
Returns
PatchDebugData instance
decode()
static
decode(reader
,length
?):PatchDebugData
Defined in: WAProto/index.d.ts:38242
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
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:38251
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
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:38224
Encodes the specified PatchDebugData message. Does not implicitly verify messages.
Parameters
message
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:38232
Encodes the specified PatchDebugData message, length delimited. Does not implicitly verify messages.
Parameters
message
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:38265
Creates a PatchDebugData message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
PatchDebugData
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:38286
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:38273
Creates a plain object from a PatchDebugData message. Also converts values to other types if specified.
Parameters
message
PatchDebugData
options?
IConversionOptions
Conversion options
Returns
object
Plain object
verify()
static
verify(message
):null
|string
Defined in: WAProto/index.d.ts:38258
Verifies a PatchDebugData message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not