proto library Client - Class EnumDescriptor (v5.36.2)

Namespace

Google \ Protobuf \ Internal

Methods

__construct

setFullName

Parameter
Name Description
full_name mixed

getFullName

addValue

Parameter
Name Description
value EnumValueDescriptor

getValueByNumber

Parameter
Name Description
number mixed

getValueByName

Parameter
Name Description
name mixed

getValueByJsonName

Looks up an enum value descriptor by its JSON name.

Parameter
Name Description
name string
Returns
Type Description
EnumValueDescriptor|null

getValueDescriptorByIndex

Parameter
Name Description
index mixed

getValueCount

setClass

Parameter
Name Description
klass mixed

getClass

setLegacyClass

Parameter
Name Description
klass mixed

getLegacyClass

static::buildFromProto

Parameters
Name Description
proto mixed
file_proto mixed
containing mixed
custom_json_names mixed