DescriptorProto

google.protobuf. DescriptorProto

Represents a DescriptorProto.

Constructor

new DescriptorProto(propertiesopt)

Constructs a new DescriptorProto.

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

Properties to set

Implements:
  • IDescriptorProto

Classes

ExtensionRange
ExtensionRange
ExtensionRange
ReservedRange
ReservedRange
ReservedRange

Members

enumType

DescriptorProto enumType.

enumType

DescriptorProto enumType.

enumType

DescriptorProto enumType.

extension

DescriptorProto extension.

extension

DescriptorProto extension.

extension

DescriptorProto extension.

extensionRange

DescriptorProto extensionRange.

extensionRange

DescriptorProto extensionRange.

extensionRange

DescriptorProto extensionRange.

field

DescriptorProto field.

field

DescriptorProto field.

field

DescriptorProto field.

name

DescriptorProto name.

name

DescriptorProto name.

name

DescriptorProto name.

nestedType

DescriptorProto nestedType.

nestedType

DescriptorProto nestedType.

nestedType

DescriptorProto nestedType.

oneofDecl

DescriptorProto oneofDecl.

oneofDecl

DescriptorProto oneofDecl.

oneofDecl

DescriptorProto oneofDecl.

options

DescriptorProto options.

options

DescriptorProto options.

options

DescriptorProto options.

reservedName

DescriptorProto reservedName.

reservedName

DescriptorProto reservedName.

reservedName

DescriptorProto reservedName.

reservedRange

DescriptorProto reservedRange.

reservedRange

DescriptorProto reservedRange.

reservedRange

DescriptorProto reservedRange.

Methods

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

Converts this DescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

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

Converts this DescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

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

Converts this DescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) fromObject(object) → {google.protobuf.DescriptorProto}

Creates a DescriptorProto 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.DescriptorProto

DescriptorProto

(static) fromObject(object) → {google.protobuf.DescriptorProto}

Creates a DescriptorProto 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.DescriptorProto

DescriptorProto

(static) fromObject(object) → {google.protobuf.DescriptorProto}

Creates a DescriptorProto 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.DescriptorProto

DescriptorProto

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for DescriptorProto

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 DescriptorProto

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 DescriptorProto

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

Parameters:
Name Type Attributes Description
message google.protobuf.DescriptorProto

DescriptorProto

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

Parameters:
Name Type Attributes Description
message google.protobuf.DescriptorProto

DescriptorProto

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

Parameters:
Name Type Attributes Description
message google.protobuf.DescriptorProto

DescriptorProto

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

google.protobuf. DescriptorProto

Represents a DescriptorProto.

Constructor

new DescriptorProto(propertiesopt)

Constructs a new DescriptorProto.

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

Properties to set

Implements:
  • IDescriptorProto

Classes

ExtensionRange
ExtensionRange
ExtensionRange
ReservedRange
ReservedRange
ReservedRange

Members

enumType

DescriptorProto enumType.

enumType

DescriptorProto enumType.

enumType

DescriptorProto enumType.

extension

DescriptorProto extension.

extension

DescriptorProto extension.

extension

DescriptorProto extension.

extensionRange

DescriptorProto extensionRange.

extensionRange

DescriptorProto extensionRange.

extensionRange

DescriptorProto extensionRange.

field

DescriptorProto field.

field

DescriptorProto field.

field

DescriptorProto field.

name

DescriptorProto name.

name

DescriptorProto name.

name

DescriptorProto name.

nestedType

DescriptorProto nestedType.

nestedType

DescriptorProto nestedType.

nestedType

DescriptorProto nestedType.

oneofDecl

DescriptorProto oneofDecl.

oneofDecl

DescriptorProto oneofDecl.

oneofDecl

DescriptorProto oneofDecl.

options

DescriptorProto options.

options

DescriptorProto options.

options

DescriptorProto options.

reservedName

DescriptorProto reservedName.

reservedName

DescriptorProto reservedName.

reservedName

DescriptorProto reservedName.

reservedRange

DescriptorProto reservedRange.

reservedRange

DescriptorProto reservedRange.

reservedRange

DescriptorProto reservedRange.

Methods

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

Converts this DescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

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

Converts this DescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

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

Converts this DescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) fromObject(object) → {google.protobuf.DescriptorProto}

Creates a DescriptorProto 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.DescriptorProto

DescriptorProto

(static) fromObject(object) → {google.protobuf.DescriptorProto}

Creates a DescriptorProto 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.DescriptorProto

DescriptorProto

(static) fromObject(object) → {google.protobuf.DescriptorProto}

Creates a DescriptorProto 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.DescriptorProto

DescriptorProto

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for DescriptorProto

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 DescriptorProto

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 DescriptorProto

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

Parameters:
Name Type Attributes Description
message google.protobuf.DescriptorProto

DescriptorProto

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

Parameters:
Name Type Attributes Description
message google.protobuf.DescriptorProto

DescriptorProto

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

Parameters:
Name Type Attributes Description
message google.protobuf.DescriptorProto

DescriptorProto

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

google.protobuf. DescriptorProto

Represents a DescriptorProto.

Constructor

new DescriptorProto(propertiesopt)

Constructs a new DescriptorProto.

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

Properties to set

Implements:
  • IDescriptorProto

Classes

ExtensionRange
ExtensionRange
ExtensionRange
ReservedRange
ReservedRange
ReservedRange

Members

enumType

DescriptorProto enumType.

enumType

DescriptorProto enumType.

enumType

DescriptorProto enumType.

extension

DescriptorProto extension.

extension

DescriptorProto extension.

extension

DescriptorProto extension.

extensionRange

DescriptorProto extensionRange.

extensionRange

DescriptorProto extensionRange.

extensionRange

DescriptorProto extensionRange.

field

DescriptorProto field.

field

DescriptorProto field.

field

DescriptorProto field.

name

DescriptorProto name.

name

DescriptorProto name.

name

DescriptorProto name.

nestedType

DescriptorProto nestedType.

nestedType

DescriptorProto nestedType.

nestedType

DescriptorProto nestedType.

oneofDecl

DescriptorProto oneofDecl.

oneofDecl

DescriptorProto oneofDecl.

oneofDecl

DescriptorProto oneofDecl.

options

DescriptorProto options.

options

DescriptorProto options.

options

DescriptorProto options.

reservedName

DescriptorProto reservedName.

reservedName

DescriptorProto reservedName.

reservedName

DescriptorProto reservedName.

reservedRange

DescriptorProto reservedRange.

reservedRange

DescriptorProto reservedRange.

reservedRange

DescriptorProto reservedRange.

Methods

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

Converts this DescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

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

Converts this DescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

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

Converts this DescriptorProto to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) fromObject(object) → {google.protobuf.DescriptorProto}

Creates a DescriptorProto 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.DescriptorProto

DescriptorProto

(static) fromObject(object) → {google.protobuf.DescriptorProto}

Creates a DescriptorProto 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.DescriptorProto

DescriptorProto

(static) fromObject(object) → {google.protobuf.DescriptorProto}

Creates a DescriptorProto 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.DescriptorProto

DescriptorProto

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for DescriptorProto

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 DescriptorProto

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 DescriptorProto

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

Parameters:
Name Type Attributes Description
message google.protobuf.DescriptorProto

DescriptorProto

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

Parameters:
Name Type Attributes Description
message google.protobuf.DescriptorProto

DescriptorProto

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

Parameters:
Name Type Attributes Description
message google.protobuf.DescriptorProto

DescriptorProto

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object