Interface ErrorLocation.FieldPathElementOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getFieldName()
      The name of a field or a oneof
      com.google.protobuf.ByteString getFieldNameBytes()
      The name of a field or a oneof
      int getIndex()
      If field_name is a repeated field, this is the element that failed
      boolean hasIndex()
      If field_name is a repeated field, this is the element that failed
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.