Interface ErrorLocation.FieldPathElementOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ErrorLocation.FieldPathElement,ErrorLocation.FieldPathElement.Builder
- Enclosing class:
- ErrorLocation
public static interface ErrorLocation.FieldPathElementOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetFieldName()The name of a field or a oneofcom.google.protobuf.ByteStringgetFieldNameBytes()The name of a field or a oneofintgetIndex()If field_name is a repeated field, this is the element that failedbooleanhasIndex()If field_name is a repeated field, this is the element that failed-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFieldName
java.lang.String getFieldName()
The name of a field or a oneof
string field_name = 1;- Returns:
- The fieldName.
-
getFieldNameBytes
com.google.protobuf.ByteString getFieldNameBytes()
The name of a field or a oneof
string field_name = 1;- Returns:
- The bytes for fieldName.
-
hasIndex
boolean hasIndex()
If field_name is a repeated field, this is the element that failed
optional int32 index = 3;- Returns:
- Whether the index field is set.
-
getIndex
int getIndex()
If field_name is a repeated field, this is the element that failed
optional int32 index = 3;- Returns:
- The index.
-
-