Public Member Functions | Private Attributes | List of all members
com.google.protobuf.TextFormat.UnknownFieldParseException Class Reference
Inheritance diagram for com.google.protobuf.TextFormat.UnknownFieldParseException:
Inheritance graph
[legend]

Public Member Functions

String getUnknownField ()
 
String getUnknownField ()
 
 UnknownFieldParseException (final int line, final int column, final String unknownField, final String message)
 
 UnknownFieldParseException (final int line, final int column, final String unknownField, final String message)
 
 UnknownFieldParseException (final String message)
 
 UnknownFieldParseException (final String message)
 
- Public Member Functions inherited from com.google.protobuf.TextFormat.ParseException
int getColumn ()
 
int getColumn ()
 
int getLine ()
 
int getLine ()
 
 ParseException (final int line, final int column, final String message)
 
 ParseException (final int line, final int column, final String message)
 
 ParseException (final String message)
 
 ParseException (final String message)
 

Private Attributes

final String unknownField
 

Detailed Description

Thrown when encountering an unknown field while parsing a text format message.

Definition at line 1320 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

Constructor & Destructor Documentation

◆ UnknownFieldParseException() [1/4]

com.google.protobuf.TextFormat.UnknownFieldParseException.UnknownFieldParseException ( final String  message)
inline

Create a new instance, with -1 as the line and column numbers, and an empty unknown field name.

Definition at line 1327 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

◆ UnknownFieldParseException() [2/4]

com.google.protobuf.TextFormat.UnknownFieldParseException.UnknownFieldParseException ( final int  line,
final int  column,
final String  unknownField,
final String  message 
)
inline

Create a new instance

Parameters
linethe line number where the parse error occurred, using 1-offset.
columnthe column number where the parser error occurred, using 1-offset.
unknownFieldthe name of the unknown field found while parsing.

Definition at line 1338 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

◆ UnknownFieldParseException() [3/4]

com.google.protobuf.TextFormat.UnknownFieldParseException.UnknownFieldParseException ( final String  message)
inline

Create a new instance, with -1 as the line and column numbers, and an empty unknown field name.

Definition at line 1412 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

◆ UnknownFieldParseException() [4/4]

com.google.protobuf.TextFormat.UnknownFieldParseException.UnknownFieldParseException ( final int  line,
final int  column,
final String  unknownField,
final String  message 
)
inline

Create a new instance

Parameters
linethe line number where the parse error occurred, using 1-offset.
columnthe column number where the parser error occurred, using 1-offset.
unknownFieldthe name of the unknown field found while parsing.

Definition at line 1423 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

Member Function Documentation

◆ getUnknownField() [1/2]

String com.google.protobuf.TextFormat.UnknownFieldParseException.getUnknownField ( )
inline

Return the name of the unknown field encountered while parsing the protocol buffer string.

Definition at line 1347 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

◆ getUnknownField() [2/2]

String com.google.protobuf.TextFormat.UnknownFieldParseException.getUnknownField ( )
inline

Return the name of the unknown field encountered while parsing the protocol buffer string.

Definition at line 1432 of file protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java.

Member Data Documentation

◆ unknownField

final String com.google.protobuf.TextFormat.UnknownFieldParseException.unknownField
private

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:07