Class: FieldDescriptorProto
google.protobuf.FieldDescriptorProto
Represents a FieldDescriptorProto.
Implements
Constructors
constructor
• new FieldDescriptorProto(properties?
): FieldDescriptorProto
Constructs a new FieldDescriptorProto.
Parameters
Name | Type | Description |
---|---|---|
properties? | IFieldDescriptorProto | Properties to set |
Returns
Properties
defaultValue
• defaultValue: string
FieldDescriptorProto defaultValue.
Implementation of
IFieldDescriptorProto.defaultValue
extendee
• extendee: string
FieldDescriptorProto extendee.
Implementation of
IFieldDescriptorProto.extendee
jsonName
• jsonName: string
FieldDescriptorProto jsonName.
Implementation of
IFieldDescriptorProto.jsonName
label
• label: Label
FieldDescriptorProto label.
Implementation of
name
• name: string
FieldDescriptorProto name.
Implementation of
number
• number: number
FieldDescriptorProto number.
Implementation of
oneofIndex
• oneofIndex: number
FieldDescriptorProto oneofIndex.
Implementation of
IFieldDescriptorProto.oneofIndex
options
• Optional
options: null
| IFieldOptions
FieldDescriptorProto options.
Implementation of
type
• type: Type
FieldDescriptorProto type.