proto library Client - Class EnumValueDescriptor (v5.36.2)
Stay organized with collections
Save and categorize content based on your preferences.
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 |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-01 UTC.
[null,null,["Last updated 2026-10-01 UTC."],[],[]]