proto library Client - Class EnumValueDescriptor (v5.36.2)

Namespace

Google \ Protobuf \ Internal

Methods

__construct

Parameters
Name Description
name mixed
number mixed
custom_json_name mixed

getName

getNumber

getCustomJsonName

Returns the explicit custom JSON name if specified via (pb.enumvalue.json), or null if no custom JSON name is set.

Returns
Type Description
string|null