Location

google.protobuf.SourceCodeInfo. Location

Represents a Location.

Constructor

new Location(propertiesopt)

Constructs a new Location.

Parameters:
Name Type Attributes Description
properties google.protobuf.SourceCodeInfo.ILocation <optional>

Properties to set

Implements:
  • ILocation

Members

leadingComments

Location leadingComments.

leadingComments

Location leadingComments.

leadingComments

Location leadingComments.

leadingDetachedComments

Location leadingDetachedComments.

leadingDetachedComments

Location leadingDetachedComments.

leadingDetachedComments

Location leadingDetachedComments.

path

Location path.

path

Location path.

path

Location path.

span

Location span.

span

Location span.

span

Location span.

trailingComments

Location trailingComments.

trailingComments

Location trailingComments.

trailingComments

Location trailingComments.

Methods

toJSON() → {Object.<string, *>}

Converts this Location to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

toJSON() → {Object.<string, *>}

Converts this Location to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

toJSON() → {Object.<string, *>}

Converts this Location to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) fromObject(object) → {google.protobuf.SourceCodeInfo.Location}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.SourceCodeInfo.Location

Location

(static) fromObject(object) → {google.protobuf.SourceCodeInfo.Location}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.SourceCodeInfo.Location

Location

(static) fromObject(object) → {google.protobuf.SourceCodeInfo.Location}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.SourceCodeInfo.Location

Location

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Location

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

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

Returns:
Type Description
string

The default type url

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Location

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

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

Returns:
Type Description
string

The default type url

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Location

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

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

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.protobuf.SourceCodeInfo.Location

Location

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.protobuf.SourceCodeInfo.Location

Location

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.protobuf.SourceCodeInfo.Location

Location

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

google.protobuf.SourceCodeInfo. Location

Represents a Location.

Constructor

new Location(propertiesopt)

Constructs a new Location.

Parameters:
Name Type Attributes Description
properties google.protobuf.SourceCodeInfo.ILocation <optional>

Properties to set

Implements:
  • ILocation

Members

leadingComments

Location leadingComments.

leadingComments

Location leadingComments.

leadingComments

Location leadingComments.

leadingDetachedComments

Location leadingDetachedComments.

leadingDetachedComments

Location leadingDetachedComments.

leadingDetachedComments

Location leadingDetachedComments.

path

Location path.

path

Location path.

path

Location path.

span

Location span.

span

Location span.

span

Location span.

trailingComments

Location trailingComments.

trailingComments

Location trailingComments.

trailingComments

Location trailingComments.

Methods

toJSON() → {Object.<string, *>}

Converts this Location to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

toJSON() → {Object.<string, *>}

Converts this Location to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

toJSON() → {Object.<string, *>}

Converts this Location to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) fromObject(object) → {google.protobuf.SourceCodeInfo.Location}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.SourceCodeInfo.Location

Location

(static) fromObject(object) → {google.protobuf.SourceCodeInfo.Location}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.SourceCodeInfo.Location

Location

(static) fromObject(object) → {google.protobuf.SourceCodeInfo.Location}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.SourceCodeInfo.Location

Location

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Location

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

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

Returns:
Type Description
string

The default type url

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Location

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

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

Returns:
Type Description
string

The default type url

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Location

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

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

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.protobuf.SourceCodeInfo.Location

Location

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.protobuf.SourceCodeInfo.Location

Location

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.protobuf.SourceCodeInfo.Location

Location

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

google.protobuf.SourceCodeInfo. Location

Represents a Location.

Constructor

new Location(propertiesopt)

Constructs a new Location.

Parameters:
Name Type Attributes Description
properties google.protobuf.SourceCodeInfo.ILocation <optional>

Properties to set

Implements:
  • ILocation

Members

leadingComments

Location leadingComments.

leadingComments

Location leadingComments.

leadingComments

Location leadingComments.

leadingDetachedComments

Location leadingDetachedComments.

leadingDetachedComments

Location leadingDetachedComments.

leadingDetachedComments

Location leadingDetachedComments.

path

Location path.

path

Location path.

path

Location path.

span

Location span.

span

Location span.

span

Location span.

trailingComments

Location trailingComments.

trailingComments

Location trailingComments.

trailingComments

Location trailingComments.

Methods

toJSON() → {Object.<string, *>}

Converts this Location to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

toJSON() → {Object.<string, *>}

Converts this Location to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

toJSON() → {Object.<string, *>}

Converts this Location to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) fromObject(object) → {google.protobuf.SourceCodeInfo.Location}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.SourceCodeInfo.Location

Location

(static) fromObject(object) → {google.protobuf.SourceCodeInfo.Location}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.SourceCodeInfo.Location

Location

(static) fromObject(object) → {google.protobuf.SourceCodeInfo.Location}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.protobuf.SourceCodeInfo.Location

Location

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Location

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

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

Returns:
Type Description
string

The default type url

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Location

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

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

Returns:
Type Description
string

The default type url

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Location

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

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

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.protobuf.SourceCodeInfo.Location

Location

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.protobuf.SourceCodeInfo.Location

Location

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.protobuf.SourceCodeInfo.Location

Location

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object