DescriptorProto
class DescriptorProto extends Message
Properties
string | $name | ||
FieldDescriptorProto[] | $field | ||
FieldDescriptorProto[] | $extension | ||
DescriptorProto[] | $nested_type | ||
EnumDescriptorProto[] | $enum_type | ||
ExtensionRange[] | $extension_range | ||
OneofDescriptorProto[] | $oneof_decl | ||
MessageOptions | $options | ||
ReservedRange[] | $reserved_range | ||
string[] | $reserved_name |
Methods
No description
Check if
Clear
Get
Set
Check if
Clear
Get
Get all elements of
Check if
Clear
Get
Get all elements of
Check if
Clear
Get
Get all elements of
Check if
Clear
Get
Get all elements of
Check if
Clear
Get
Get all elements of
Check if
Clear
Get
Get all elements of
Check if
Clear
Get
Check if
Clear
Get
Get all elements of
Check if
Clear
Get
Set
Get all elements of
Add a new element to
Details
at line line 1111
static
descriptor()
at line line 1215
boolean
hasName()
Check if
at line line 1224
DescriptorProto
clearName()
Clear
at line line 1233
string
getName()
Get
at line line 1243
DescriptorProto
setName(string $value)
Set
at line line 1252
boolean
hasField()
Check if
at line line 1261
DescriptorProto
clearField()
Clear
at line line 1271
FieldDescriptorProto
getField(int $idx = NULL)
Get
at line line 1281
DescriptorProto
setField(FieldDescriptorProto $value, $idx = NULL)
Set
at line line 1290
FieldDescriptorProto[]
getFieldList()
Get all elements of
at line line 1300
DescriptorProto
addField(FieldDescriptorProto $value)
Add a new element to
at line line 1309
boolean
hasExtension()
Check if
at line line 1318
DescriptorProto
clearExtension()
Clear
at line line 1328
FieldDescriptorProto
getExtension(int $idx = NULL)
Get
at line line 1338
DescriptorProto
setExtension(FieldDescriptorProto $value, $idx = NULL)
Set
at line line 1347
FieldDescriptorProto[]
getExtensionList()
Get all elements of
at line line 1357
DescriptorProto
addExtension(FieldDescriptorProto $value)
Add a new element to
at line line 1366
boolean
hasNestedType()
Check if
at line line 1375
DescriptorProto
clearNestedType()
Clear
at line line 1385
DescriptorProto
getNestedType(int $idx = NULL)
Get
at line line 1395
DescriptorProto
setNestedType(DescriptorProto $value, $idx = NULL)
Set
at line line 1404
DescriptorProto[]
getNestedTypeList()
Get all elements of
at line line 1414
DescriptorProto
addNestedType(DescriptorProto $value)
Add a new element to
at line line 1423
boolean
hasEnumType()
Check if
at line line 1432
DescriptorProto
clearEnumType()
Clear
at line line 1442
EnumDescriptorProto
getEnumType(int $idx = NULL)
Get
at line line 1452
DescriptorProto
setEnumType(EnumDescriptorProto $value, $idx = NULL)
Set
at line line 1461
EnumDescriptorProto[]
getEnumTypeList()
Get all elements of
at line line 1471
DescriptorProto
addEnumType(EnumDescriptorProto $value)
Add a new element to
at line line 1480
boolean
hasExtensionRange()
Check if
at line line 1489
DescriptorProto
clearExtensionRange()
Clear
at line line 1499
ExtensionRange
getExtensionRange(int $idx = NULL)
Get
at line line 1509
DescriptorProto
setExtensionRange(ExtensionRange $value, $idx = NULL)
Set
at line line 1518
ExtensionRange[]
getExtensionRangeList()
Get all elements of
at line line 1528
DescriptorProto
addExtensionRange(ExtensionRange $value)
Add a new element to
at line line 1537
boolean
hasOneofDecl()
Check if
at line line 1546
DescriptorProto
clearOneofDecl()
Clear
at line line 1556
OneofDescriptorProto
getOneofDecl(int $idx = NULL)
Get
at line line 1566
DescriptorProto
setOneofDecl(OneofDescriptorProto $value, $idx = NULL)
Set
at line line 1575
OneofDescriptorProto[]
getOneofDeclList()
Get all elements of
at line line 1585
DescriptorProto
addOneofDecl(OneofDescriptorProto $value)
Add a new element to
at line line 1594
boolean
hasOptions()
Check if
at line line 1603
DescriptorProto
clearOptions()
Clear
at line line 1612
MessageOptions
getOptions()
Get
at line line 1622
DescriptorProto
setOptions(MessageOptions $value)
Set
at line line 1631
boolean
hasReservedRange()
Check if
at line line 1640
DescriptorProto
clearReservedRange()
Clear
at line line 1650
ReservedRange
getReservedRange(int $idx = NULL)
Get
at line line 1660
DescriptorProto
setReservedRange(ReservedRange $value, $idx = NULL)
Set
at line line 1669
ReservedRange[]
getReservedRangeList()
Get all elements of
at line line 1679
DescriptorProto
addReservedRange(ReservedRange $value)
Add a new element to
at line line 1688
boolean
hasReservedName()
Check if
at line line 1697
DescriptorProto
clearReservedName()
Clear
at line line 1707
string
getReservedName(int $idx = NULL)
Get
at line line 1717
DescriptorProto
setReservedName($value, $idx = NULL)
Set
at line line 1726
string[]
getReservedNameList()
Get all elements of
at line line 1736
DescriptorProto
addReservedName(string $value)
Add a new element to