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

Annotation begin.

begin :number

Annotation begin.

begin :number

Annotation begin.

end :number

Annotation end.

end :number

Annotation end.

end :number

Annotation end.

path :Array.<number>

Annotation path.

path :Array.<number>

Annotation path.

path :Array.<number>

Annotation path.

sourceFile :string

Annotation sourceFile.

sourceFile :string

Annotation sourceFile.

sourceFile :string

Annotation sourceFile.

Methods

(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

(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

(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

(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

(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

(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

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

Converts this Annotation to JSON.

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

Converts this Annotation to JSON.

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

Converts this Annotation to JSON.

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

Annotation begin.

begin :number

Annotation begin.

begin :number

Annotation begin.

end :number

Annotation end.

end :number

Annotation end.

end :number

Annotation end.

path :Array.<number>

Annotation path.

path :Array.<number>

Annotation path.

path :Array.<number>

Annotation path.

sourceFile :string

Annotation sourceFile.

sourceFile :string

Annotation sourceFile.

sourceFile :string

Annotation sourceFile.

Methods

(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

(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

(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

(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

(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

(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

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

Converts this Annotation to JSON.

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

Converts this Annotation to JSON.

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

Converts this Annotation to JSON.

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

Annotation begin.

begin :number

Annotation begin.

begin :number

Annotation begin.

end :number

Annotation end.

end :number

Annotation end.

end :number

Annotation end.

path :Array.<number>

Annotation path.

path :Array.<number>

Annotation path.

path :Array.<number>

Annotation path.

sourceFile :string

Annotation sourceFile.

sourceFile :string

Annotation sourceFile.

sourceFile :string

Annotation sourceFile.

Methods

(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

(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

(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

(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

(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

(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

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

Converts this Annotation to JSON.

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

Converts this Annotation to JSON.

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

Converts this Annotation to JSON.