proto library Client - Class EnumDescriptor (v5.36.2)

Namespace

Google \ Protobuf

Methods

__construct

Parameter
Name Description
internal_desc mixed

getFullName

Returns
Type Description
string Full protobuf message name

getClass

Returns
Type Description
string PHP class name

getValue

Parameter
Name Description
index int

Must be >= 0 and < getValueCount()

Returns
Type Description
EnumValueDescriptor

getValueCount

Returns
Type Description
int Number of values in enum