Constructor
new FileDescriptorProto(propertiesopt)
Constructs a new FileDescriptorProto.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.protobuf.IFileDescriptorProto |
<optional> |
Properties to set |
- Implements:
-
- IFileDescriptorProto
Members
dependency
FileDescriptorProto dependency.
dependency
FileDescriptorProto dependency.
dependency
FileDescriptorProto dependency.
enumType
FileDescriptorProto enumType.
enumType
FileDescriptorProto enumType.
enumType
FileDescriptorProto enumType.
extension
FileDescriptorProto extension.
extension
FileDescriptorProto extension.
extension
FileDescriptorProto extension.
messageType
FileDescriptorProto messageType.
messageType
FileDescriptorProto messageType.
messageType
FileDescriptorProto messageType.
name
FileDescriptorProto name.
name
FileDescriptorProto name.
name
FileDescriptorProto name.
options
FileDescriptorProto options.
options
FileDescriptorProto options.
options
FileDescriptorProto options.
package
FileDescriptorProto package.
package
FileDescriptorProto package.
package
FileDescriptorProto package.
publicDependency
FileDescriptorProto publicDependency.
publicDependency
FileDescriptorProto publicDependency.
publicDependency
FileDescriptorProto publicDependency.
service
FileDescriptorProto service.
service
FileDescriptorProto service.
service
FileDescriptorProto service.
sourceCodeInfo
FileDescriptorProto sourceCodeInfo.
sourceCodeInfo
FileDescriptorProto sourceCodeInfo.
sourceCodeInfo
FileDescriptorProto sourceCodeInfo.
syntax
FileDescriptorProto syntax.
syntax
FileDescriptorProto syntax.
syntax
FileDescriptorProto syntax.
weakDependency
FileDescriptorProto weakDependency.
weakDependency
FileDescriptorProto weakDependency.
weakDependency
FileDescriptorProto weakDependency.
Methods
(static) fromObject(object) → {google.protobuf.FileDescriptorProto}
Creates a FileDescriptorProto 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.FileDescriptorProto |
FileDescriptorProto |
(static) fromObject(object) → {google.protobuf.FileDescriptorProto}
Creates a FileDescriptorProto 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.FileDescriptorProto |
FileDescriptorProto |
(static) fromObject(object) → {google.protobuf.FileDescriptorProto}
Creates a FileDescriptorProto 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.FileDescriptorProto |
FileDescriptorProto |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.protobuf.FileDescriptorProto |
FileDescriptorProto |
|
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 FileDescriptorProto message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.protobuf.FileDescriptorProto |
FileDescriptorProto |
|
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 FileDescriptorProto message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.protobuf.FileDescriptorProto |
FileDescriptorProto |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |
toJSON() → {Object.<string, *>}
Converts this FileDescriptorProto to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
toJSON() → {Object.<string, *>}
Converts this FileDescriptorProto to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
toJSON() → {Object.<string, *>}
Converts this FileDescriptorProto to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |