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
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFieldName
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.
-