Exception Descriptors.DescriptorValidationException (3.19.4)
public static class Descriptors.DescriptorValidationException extends Exception
Thrown when building descriptors fails because the source DescriptorProtos are not valid.
Methods
getDescription()
public String getDescription()
Gets a human-readable description of the error.
Returns |
Type |
Description |
String |
|
getProblemProto()
public Message getProblemProto()
Gets the protocol message representation of the invalid descriptor.
getProblemSymbolName()
public String getProblemSymbolName()
Gets the full name of the descriptor where the error occurred.
Returns |
Type |
Description |
String |
|
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 2025-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]