Skip to main content

Class: ReportingTokenInfo

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

Represents a ReportingTokenInfo.

Implements

Constructors

new ReportingTokenInfo()

new ReportingTokenInfo(properties?): ReportingTokenInfo

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

Constructs a new ReportingTokenInfo.

Parameters

properties?

IReportingTokenInfo

Properties to set

Returns

ReportingTokenInfo

Properties

reportingTag?

optional reportingTag: null | Uint8Array<ArrayBufferLike>

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

ReportingTokenInfo reportingTag.

Implementation of

IReportingTokenInfo.reportingTag

Methods

toJSON()

toJSON(): object

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

Converts this ReportingTokenInfo to JSON.

Returns

object

JSON object


create()

static create(properties?): ReportingTokenInfo

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

Creates a new ReportingTokenInfo instance using the specified properties.

Parameters

properties?

IReportingTokenInfo

Properties to set

Returns

ReportingTokenInfo

ReportingTokenInfo instance


decode()

static decode(reader, length?): ReportingTokenInfo

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

Decodes a ReportingTokenInfo 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

ReportingTokenInfo

ReportingTokenInfo

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited()

static decodeDelimited(reader): ReportingTokenInfo

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

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

Parameters

reader

Reader or buffer to decode from

Uint8Array<ArrayBufferLike> | Reader

Returns

ReportingTokenInfo

ReportingTokenInfo

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:38142

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

Parameters

message

IReportingTokenInfo

ReportingTokenInfo 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:38150

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

Parameters

message

IReportingTokenInfo

ReportingTokenInfo message or plain object to encode

writer?

Writer

Writer to encode to

Returns

Writer

Writer


fromObject()

static fromObject(object): ReportingTokenInfo

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

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

Parameters

object

Plain object

Returns

ReportingTokenInfo

ReportingTokenInfo


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Gets the default type url for ReportingTokenInfo

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:38191

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

Parameters

message

ReportingTokenInfo

ReportingTokenInfo

options?

IConversionOptions

Conversion options

Returns

object

Plain object


verify()

static verify(message): null | string

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

Verifies a ReportingTokenInfo message.

Parameters

message

Plain object to verify

Returns

null | string

null if valid, otherwise the reason why it is not