Class: UrlTrackingMap
Defined in: WAProto/index.d.ts:48180
Represents an UrlTrackingMap.
Implements
Constructors
new UrlTrackingMap()
new UrlTrackingMap(
properties
?):UrlTrackingMap
Defined in: WAProto/index.d.ts:48186
Constructs a new UrlTrackingMap.
Parameters
properties?
Properties to set
Returns
Properties
urlTrackingMapElements
urlTrackingMapElements:
IUrlTrackingMapElement
[]
Defined in: WAProto/index.d.ts:48189
UrlTrackingMap urlTrackingMapElements.
Implementation of
IUrlTrackingMap
.urlTrackingMapElements
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:48259
Converts this UrlTrackingMap to JSON.
Returns
object
JSON object
create()
static
create(properties
?):UrlTrackingMap
Defined in: WAProto/index.d.ts:48196
Creates a new UrlTrackingMap instance using the specified properties.
Parameters
properties?
Properties to set
Returns
UrlTrackingMap instance
decode()
static
decode(reader
,length
?):UrlTrackingMap
Defined in: WAProto/index.d.ts:48222
Decodes an UrlTrackingMap 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
UrlTrackingMap
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
static
decodeDelimited(reader
):UrlTrackingMap
Defined in: WAProto/index.d.ts:48231
Decodes an UrlTrackingMap message from the specified reader or buffer, length delimited.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
Returns
UrlTrackingMap
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:48204
Encodes the specified UrlTrackingMap message. Does not implicitly verify messages.
Parameters
message
UrlTrackingMap 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:48212
Encodes the specified UrlTrackingMap message, length delimited. Does not implicitly verify messages.
Parameters
message
UrlTrackingMap message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
static
fromObject(object
):UrlTrackingMap
Defined in: WAProto/index.d.ts:48245
Creates an UrlTrackingMap message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
UrlTrackingMap
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:48266
Gets the default type url for UrlTrackingMap
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:48253
Creates a plain object from an UrlTrackingMap message. Also converts values to other types if specified.
Parameters
message
UrlTrackingMap
options?
IConversionOptions
Conversion options
Returns
object
Plain object
verify()
static
verify(message
):null
|string
Defined in: WAProto/index.d.ts:48238
Verifies an UrlTrackingMap message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not