Annotation

google.protobuf.GeneratedCodeInfo. Annotation

Represents an Annotation.

Constructor

new Annotation(propertiesopt)

Constructs a new Annotation.

Parameters:
Name Type Attributes Description
properties google.protobuf.GeneratedCodeInfo.IAnnotation <optional>

Properties to set

Implements:
  • IAnnotation

Members

begin

Annotation begin.

begin

Annotation begin.

begin

Annotation begin.

end

Annotation end.

end

Annotation end.

end

Annotation end.

path

Annotation path.

path

Annotation path.

path

Annotation path.

semantic

Annotation semantic.

semantic

Annotation semantic.

semantic

Annotation semantic.

sourceFile

Annotation sourceFile.

sourceFile

Annotation sourceFile.

sourceFile

Annotation sourceFile.

Semantic

Semantic enum.

Properties:
Name Type Description
NONE string

NONE value

SET string

SET value

ALIAS string

ALIAS value

Semantic

Semantic enum.

Properties:
Name Type Description
NONE string

NONE value

SET string

SET value

ALIAS string

ALIAS value

Semantic

Semantic enum.

Properties:
Name Type Description
NONE string

NONE value

SET string

SET value

ALIAS string

ALIAS value

Methods

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

Converts this Annotation to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

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

Converts this Annotation to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

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

Converts this Annotation to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) fromObject(object) → {google.protobuf.GeneratedCodeInfo.Annotation}

Creates an Annotation 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.GeneratedCodeInfo.Annotation

Annotation

(static) fromObject(object) → {google.protobuf.GeneratedCodeInfo.Annotation}

Creates an Annotation 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.GeneratedCodeInfo.Annotation

Annotation

(static) fromObject(object) → {google.protobuf.GeneratedCodeInfo.Annotation}

Creates an Annotation 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.GeneratedCodeInfo.Annotation

Annotation

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Annotation

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 Annotation

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 Annotation

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 an Annotation message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.GeneratedCodeInfo.Annotation

Annotation

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

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

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

Parameters:
Name Type Attributes Description
message google.protobuf.GeneratedCodeInfo.Annotation

Annotation

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

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

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

Parameters:
Name Type Attributes Description
message google.protobuf.GeneratedCodeInfo.Annotation

Annotation

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

google.protobuf.GeneratedCodeInfo. Annotation

Represents an Annotation.

Constructor

new Annotation(propertiesopt)

Constructs a new Annotation.

Parameters:
Name Type Attributes Description
properties google.protobuf.GeneratedCodeInfo.IAnnotation <optional>

Properties to set

Implements:
  • IAnnotation

Members

begin

Annotation begin.

begin

Annotation begin.

begin

Annotation begin.

end

Annotation end.

end

Annotation end.

end

Annotation end.

path

Annotation path.

path

Annotation path.

path

Annotation path.

semantic

Annotation semantic.

semantic

Annotation semantic.

semantic

Annotation semantic.

sourceFile

Annotation sourceFile.

sourceFile

Annotation sourceFile.

sourceFile

Annotation sourceFile.

Semantic

Semantic enum.

Properties:
Name Type Description
NONE string

NONE value

SET string

SET value

ALIAS string

ALIAS value

Semantic

Semantic enum.

Properties:
Name Type Description
NONE string

NONE value

SET string

SET value

ALIAS string

ALIAS value

Semantic

Semantic enum.

Properties:
Name Type Description
NONE string

NONE value

SET string

SET value

ALIAS string

ALIAS value

Methods

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

Converts this Annotation to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

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

Converts this Annotation to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

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

Converts this Annotation to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) fromObject(object) → {google.protobuf.GeneratedCodeInfo.Annotation}

Creates an Annotation 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.GeneratedCodeInfo.Annotation

Annotation

(static) fromObject(object) → {google.protobuf.GeneratedCodeInfo.Annotation}

Creates an Annotation 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.GeneratedCodeInfo.Annotation

Annotation

(static) fromObject(object) → {google.protobuf.GeneratedCodeInfo.Annotation}

Creates an Annotation 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.GeneratedCodeInfo.Annotation

Annotation

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Annotation

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 Annotation

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 Annotation

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 an Annotation message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.GeneratedCodeInfo.Annotation

Annotation

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

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

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

Parameters:
Name Type Attributes Description
message google.protobuf.GeneratedCodeInfo.Annotation

Annotation

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

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

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

Parameters:
Name Type Attributes Description
message google.protobuf.GeneratedCodeInfo.Annotation

Annotation

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

google.protobuf.GeneratedCodeInfo. Annotation

Represents an Annotation.

Constructor

new Annotation(propertiesopt)

Constructs a new Annotation.

Parameters:
Name Type Attributes Description
properties google.protobuf.GeneratedCodeInfo.IAnnotation <optional>

Properties to set

Implements:
  • IAnnotation

Members

begin

Annotation begin.

begin

Annotation begin.

begin

Annotation begin.

end

Annotation end.

end

Annotation end.

end

Annotation end.

path

Annotation path.

path

Annotation path.

path

Annotation path.

semantic

Annotation semantic.

semantic

Annotation semantic.

semantic

Annotation semantic.

sourceFile

Annotation sourceFile.

sourceFile

Annotation sourceFile.

sourceFile

Annotation sourceFile.

Semantic

Semantic enum.

Properties:
Name Type Description
NONE string

NONE value

SET string

SET value

ALIAS string

ALIAS value

Semantic

Semantic enum.

Properties:
Name Type Description
NONE string

NONE value

SET string

SET value

ALIAS string

ALIAS value

Semantic

Semantic enum.

Properties:
Name Type Description
NONE string

NONE value

SET string

SET value

ALIAS string

ALIAS value

Methods

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

Converts this Annotation to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

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

Converts this Annotation to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

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

Converts this Annotation to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) fromObject(object) → {google.protobuf.GeneratedCodeInfo.Annotation}

Creates an Annotation 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.GeneratedCodeInfo.Annotation

Annotation

(static) fromObject(object) → {google.protobuf.GeneratedCodeInfo.Annotation}

Creates an Annotation 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.GeneratedCodeInfo.Annotation

Annotation

(static) fromObject(object) → {google.protobuf.GeneratedCodeInfo.Annotation}

Creates an Annotation 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.GeneratedCodeInfo.Annotation

Annotation

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for Annotation

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 Annotation

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 Annotation

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 an Annotation message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.GeneratedCodeInfo.Annotation

Annotation

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

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

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

Parameters:
Name Type Attributes Description
message google.protobuf.GeneratedCodeInfo.Annotation

Annotation

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

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

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

Parameters:
Name Type Attributes Description
message google.protobuf.GeneratedCodeInfo.Annotation

Annotation

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object