FieldDescriptor
class FieldDescriptor (View source)
Traits
Methods
__construct($internal_desc)
No description
string
getName()
No description
int
getNumber()
No description
int
bool
isRequired()
No description
bool
isRepeated()
No description
int
getType()
No description
getContainingOneof()
No description
null|OneofDescriptor
getRealContainingOneof()
Gets the field's containing oneof, only if non-synthetic.
bool
hasOptionalKeyword()
No description
getMessageType()
No description
getEnumType()
No description
bool
isMap()
No description
Details
__construct($internal_desc)
| internal |
No description
string
getName()
No description
int
getNumber()
No description
int
getLabel()
deprecated
deprecated
No description
bool
isRequired()
No description
bool
isRepeated()
No description
int
getType()
No description
OneofDescriptor
getContainingOneof()
No description
null|OneofDescriptor
getRealContainingOneof()
Gets the field's containing oneof, only if non-synthetic.
bool
hasOptionalKeyword()
No description
Descriptor
getMessageType()
No description
EnumDescriptor
getEnumType()
No description
bool
isMap()
No description