Class Descriptors (3.19.4)Stay organized with collectionsSave and categorize content based on your preferences.
publicfinalclassDescriptors
Contains a collection of classes which describe protocol message types.
Every message type has aDescriptor, which lists all its fields and other information
about a type. You can get a message type's descriptor by callingMessageType.getDescriptor(), or (given a message object of the type)message.getDescriptorForType(). Furthermore, each message is associated with aFileDescriptorfor a relevant.protofile. You can obtain it by callingDescriptor.getFile(). AFileDescriptorcontains descriptors for all the messages defined
in that file, and file descriptors for all the imported.protofiles.
Descriptors are built from DescriptorProtos, as defined ingoogle/protobuf/descriptor.proto.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]