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
TypeDescription
String

getProblemProto()

public Message getProblemProto()

Gets the protocol message representation of the invalid descriptor.

Returns
TypeDescription
Message

getProblemSymbolName()

public String getProblemSymbolName()

Gets the full name of the descriptor where the error occurred.

Returns
TypeDescription
String