class OneofDescriptor (View source)

Traits

Methods

__construct($internal_desc)

No description

string
getName()

No description

getField(int $index)

No description

int
getFieldCount()

No description

isSynthetic()

No description

Details

__construct($internal_desc)

internal  
 

No description

Parameters

$internal_desc

string getName()

No description

Return Value

string

The name of the oneof

FieldDescriptor getField(int $index)

No description

Parameters

int $index

Must be >= 0 and < getFieldCount()

Return Value

FieldDescriptor

int getFieldCount()

No description

Return Value

int

Number of fields in the oneof

isSynthetic()

No description