Class: TypeUrl

TypeUrl(valuenon-null)

A URL of a Protobuf type. Consists of the two parts separated with a slash. The first part is the type URL prefix (for example, `type.googleapis.com`). The second part is a fully-qualified Protobuf type name.

Constructor

new TypeUrl(valuenon-null)

Creates a new instance of TypeUrl from the given string value. The value should be a valid type URL of format: (typeUrlPrefix)/(typeName)
Parameters:
Name Type Description
value string the type URL value
Source:

Classes

TypeUrl

Methods

name() → {string}

Source:
Returns:
part of the type URL after `/` specifying the type name
Type
string

prefix() → {string}

Source:
Returns:
part of the type URL before `/` specifying a namespace
Type
string

value() → (non-null) {string}

Source:
Returns:
full type URL value formatted as `/` string
Type
string