proto library Client - Class EnumDescriptor (v5.36.2)
Stay organized with collections
Save and categorize content based on your preferences.
Namespace
Google \ Protobuf \ Internal
Methods
__construct
setFullName
| Parameter |
| Name |
Description |
full_name |
mixed
|
getFullName
addValue
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
|
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
|
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."],[],[]]