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.

sourceFile

Annotation sourceFile.

sourceFile

Annotation sourceFile.

sourceFile

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

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) 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

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

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.

sourceFile

Annotation sourceFile.

sourceFile

Annotation sourceFile.

sourceFile

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

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) 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

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

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.

sourceFile

Annotation sourceFile.

sourceFile

Annotation sourceFile.

sourceFile

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

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) 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

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