Constructor
new FieldDescriptorProto(propertiesopt)
Constructs a new FieldDescriptorProto.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
properties |
google.protobuf.IFieldDescriptorProto |
<optional> |
Properties to set |
- Implements:
-
- IFieldDescriptorProto
Members
(static) Label :string
Label enum.
Properties:
| Name | Type | Description |
|---|---|---|
LABEL_OPTIONAL |
string |
LABEL_OPTIONAL value |
LABEL_REQUIRED |
string |
LABEL_REQUIRED value |
LABEL_REPEATED |
string |
LABEL_REPEATED value |
(static) Label :string
Label enum.
Properties:
| Name | Type | Description |
|---|---|---|
LABEL_OPTIONAL |
string |
LABEL_OPTIONAL value |
LABEL_REQUIRED |
string |
LABEL_REQUIRED value |
LABEL_REPEATED |
string |
LABEL_REPEATED value |
(static) Label :string
Label enum.
Properties:
| Name | Type | Description |
|---|---|---|
LABEL_OPTIONAL |
string |
LABEL_OPTIONAL value |
LABEL_REQUIRED |
string |
LABEL_REQUIRED value |
LABEL_REPEATED |
string |
LABEL_REPEATED value |
(static) Type :string
Type enum.
Properties:
| Name | Type | Description |
|---|---|---|
TYPE_DOUBLE |
string |
TYPE_DOUBLE value |
TYPE_FLOAT |
string |
TYPE_FLOAT value |
TYPE_INT64 |
string |
TYPE_INT64 value |
TYPE_UINT64 |
string |
TYPE_UINT64 value |
TYPE_INT32 |
string |
TYPE_INT32 value |
TYPE_FIXED64 |
string |
TYPE_FIXED64 value |
TYPE_FIXED32 |
string |
TYPE_FIXED32 value |
TYPE_BOOL |
string |
TYPE_BOOL value |
TYPE_STRING |
string |
TYPE_STRING value |
TYPE_GROUP |
string |
TYPE_GROUP value |
TYPE_MESSAGE |
string |
TYPE_MESSAGE value |
TYPE_BYTES |
string |
TYPE_BYTES value |
TYPE_UINT32 |
string |
TYPE_UINT32 value |
TYPE_ENUM |
string |
TYPE_ENUM value |
TYPE_SFIXED32 |
string |
TYPE_SFIXED32 value |
TYPE_SFIXED64 |
string |
TYPE_SFIXED64 value |
TYPE_SINT32 |
string |
TYPE_SINT32 value |
TYPE_SINT64 |
string |
TYPE_SINT64 value |
(static) Type :string
Type enum.
Properties:
| Name | Type | Description |
|---|---|---|
TYPE_DOUBLE |
string |
TYPE_DOUBLE value |
TYPE_FLOAT |
string |
TYPE_FLOAT value |
TYPE_INT64 |
string |
TYPE_INT64 value |
TYPE_UINT64 |
string |
TYPE_UINT64 value |
TYPE_INT32 |
string |
TYPE_INT32 value |
TYPE_FIXED64 |
string |
TYPE_FIXED64 value |
TYPE_FIXED32 |
string |
TYPE_FIXED32 value |
TYPE_BOOL |
string |
TYPE_BOOL value |
TYPE_STRING |
string |
TYPE_STRING value |
TYPE_GROUP |
string |
TYPE_GROUP value |
TYPE_MESSAGE |
string |
TYPE_MESSAGE value |
TYPE_BYTES |
string |
TYPE_BYTES value |
TYPE_UINT32 |
string |
TYPE_UINT32 value |
TYPE_ENUM |
string |
TYPE_ENUM value |
TYPE_SFIXED32 |
string |
TYPE_SFIXED32 value |
TYPE_SFIXED64 |
string |
TYPE_SFIXED64 value |
TYPE_SINT32 |
string |
TYPE_SINT32 value |
TYPE_SINT64 |
string |
TYPE_SINT64 value |
(static) Type :string
Type enum.
Properties:
| Name | Type | Description |
|---|---|---|
TYPE_DOUBLE |
string |
TYPE_DOUBLE value |
TYPE_FLOAT |
string |
TYPE_FLOAT value |
TYPE_INT64 |
string |
TYPE_INT64 value |
TYPE_UINT64 |
string |
TYPE_UINT64 value |
TYPE_INT32 |
string |
TYPE_INT32 value |
TYPE_FIXED64 |
string |
TYPE_FIXED64 value |
TYPE_FIXED32 |
string |
TYPE_FIXED32 value |
TYPE_BOOL |
string |
TYPE_BOOL value |
TYPE_STRING |
string |
TYPE_STRING value |
TYPE_GROUP |
string |
TYPE_GROUP value |
TYPE_MESSAGE |
string |
TYPE_MESSAGE value |
TYPE_BYTES |
string |
TYPE_BYTES value |
TYPE_UINT32 |
string |
TYPE_UINT32 value |
TYPE_ENUM |
string |
TYPE_ENUM value |
TYPE_SFIXED32 |
string |
TYPE_SFIXED32 value |
TYPE_SFIXED64 |
string |
TYPE_SFIXED64 value |
TYPE_SINT32 |
string |
TYPE_SINT32 value |
TYPE_SINT64 |
string |
TYPE_SINT64 value |
defaultValue :string
FieldDescriptorProto defaultValue.
defaultValue :string
FieldDescriptorProto defaultValue.
defaultValue :string
FieldDescriptorProto defaultValue.
extendee :string
FieldDescriptorProto extendee.
extendee :string
FieldDescriptorProto extendee.
extendee :string
FieldDescriptorProto extendee.
jsonName :string
FieldDescriptorProto jsonName.
jsonName :string
FieldDescriptorProto jsonName.
jsonName :string
FieldDescriptorProto jsonName.
label :google.protobuf.FieldDescriptorProto.Label
FieldDescriptorProto label.
label :google.protobuf.FieldDescriptorProto.Label
FieldDescriptorProto label.
label :google.protobuf.FieldDescriptorProto.Label
FieldDescriptorProto label.
name :string
FieldDescriptorProto name.
name :string
FieldDescriptorProto name.
name :string
FieldDescriptorProto name.
number :number
FieldDescriptorProto number.
number :number
FieldDescriptorProto number.
number :number
FieldDescriptorProto number.
oneofIndex :number
FieldDescriptorProto oneofIndex.
oneofIndex :number
FieldDescriptorProto oneofIndex.
oneofIndex :number
FieldDescriptorProto oneofIndex.
options :google.protobuf.IFieldOptions|null|undefined
FieldDescriptorProto options.
options :google.protobuf.IFieldOptions|null|undefined
FieldDescriptorProto options.
options :google.protobuf.IFieldOptions|null|undefined
FieldDescriptorProto options.
type :google.protobuf.FieldDescriptorProto.Type
FieldDescriptorProto type.
type :google.protobuf.FieldDescriptorProto.Type
FieldDescriptorProto type.
type :google.protobuf.FieldDescriptorProto.Type
FieldDescriptorProto type.
typeName :string
FieldDescriptorProto typeName.
typeName :string
FieldDescriptorProto typeName.
typeName :string
FieldDescriptorProto typeName.
Methods
(static) fromObject(object) → {google.protobuf.FieldDescriptorProto}
Creates a FieldDescriptorProto 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.FieldDescriptorProto}
Creates a FieldDescriptorProto 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.FieldDescriptorProto}
Creates a FieldDescriptorProto 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 FieldDescriptorProto message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.protobuf.FieldDescriptorProto |
FieldDescriptorProto |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.protobuf.FieldDescriptorProto |
FieldDescriptorProto |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.protobuf.FieldDescriptorProto |
FieldDescriptorProto |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
toJSON() → {Object.<string, *>}
Converts this FieldDescriptorProto to JSON.
toJSON() → {Object.<string, *>}
Converts this FieldDescriptorProto to JSON.
toJSON() → {Object.<string, *>}
Converts this FieldDescriptorProto to JSON.