Constructor
new DescriptorProto(propertiesopt)
Constructs a new DescriptorProto.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
properties |
google.protobuf.IDescriptorProto |
<optional> |
Properties to set |
- Implements:
-
- IDescriptorProto
Classes
Members
enumType :Array.<google.protobuf.IEnumDescriptorProto>
DescriptorProto enumType.
enumType :Array.<google.protobuf.IEnumDescriptorProto>
DescriptorProto enumType.
enumType :Array.<google.protobuf.IEnumDescriptorProto>
DescriptorProto enumType.
extension :Array.<google.protobuf.IFieldDescriptorProto>
DescriptorProto extension.
extension :Array.<google.protobuf.IFieldDescriptorProto>
DescriptorProto extension.
extension :Array.<google.protobuf.IFieldDescriptorProto>
DescriptorProto extension.
extensionRange :Array.<google.protobuf.DescriptorProto.IExtensionRange>
DescriptorProto extensionRange.
extensionRange :Array.<google.protobuf.DescriptorProto.IExtensionRange>
DescriptorProto extensionRange.
extensionRange :Array.<google.protobuf.DescriptorProto.IExtensionRange>
DescriptorProto extensionRange.
field :Array.<google.protobuf.IFieldDescriptorProto>
DescriptorProto field.
field :Array.<google.protobuf.IFieldDescriptorProto>
DescriptorProto field.
field :Array.<google.protobuf.IFieldDescriptorProto>
DescriptorProto field.
name :string
DescriptorProto name.
name :string
DescriptorProto name.
name :string
DescriptorProto name.
nestedType :Array.<google.protobuf.IDescriptorProto>
DescriptorProto nestedType.
nestedType :Array.<google.protobuf.IDescriptorProto>
DescriptorProto nestedType.
nestedType :Array.<google.protobuf.IDescriptorProto>
DescriptorProto nestedType.
oneofDecl :Array.<google.protobuf.IOneofDescriptorProto>
DescriptorProto oneofDecl.
oneofDecl :Array.<google.protobuf.IOneofDescriptorProto>
DescriptorProto oneofDecl.
oneofDecl :Array.<google.protobuf.IOneofDescriptorProto>
DescriptorProto oneofDecl.
options :google.protobuf.IMessageOptions|null|undefined
DescriptorProto options.
options :google.protobuf.IMessageOptions|null|undefined
DescriptorProto options.
options :google.protobuf.IMessageOptions|null|undefined
DescriptorProto options.
reservedName :Array.<string>
DescriptorProto reservedName.
reservedName :Array.<string>
DescriptorProto reservedName.
reservedName :Array.<string>
DescriptorProto reservedName.
reservedRange :Array.<google.protobuf.DescriptorProto.IReservedRange>
DescriptorProto reservedRange.
reservedRange :Array.<google.protobuf.DescriptorProto.IReservedRange>
DescriptorProto reservedRange.
reservedRange :Array.<google.protobuf.DescriptorProto.IReservedRange>
DescriptorProto reservedRange.
Methods
(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 |
(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 |
(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 |
(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 |
(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 |
(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 |
toJSON() → {Object.<string, *>}
Converts this DescriptorProto to JSON.
toJSON() → {Object.<string, *>}
Converts this DescriptorProto to JSON.
toJSON() → {Object.<string, *>}
Converts this DescriptorProto to JSON.