question: the type of the action . concode_field_sep String opType concode_elem_sep XContentBuilderString _TYPE concode_elem_sep String index concode_elem_sep Throwable cause concode_elem_sep String type concode_elem_sep XContentBuilderString ERROR concode_elem_sep XContentBuilderString _ID concode_elem_sep DocWriteResponse response concode_elem_sep Failure failure concode_elem_sep int id concode_elem_sep XContentBuilderString _INDEX concode_elem_sep XContentBuilderString STATUS concode_elem_sep RestStatus status concode_field_sep long getVersion concode_elem_sep String getOpType concode_elem_sep String getIndex concode_elem_sep String getIndex concode_elem_sep boolean isFailed concode_elem_sep void readFrom concode_elem_sep BulkItemResponse readBulkItem concode_elem_sep T getResponse concode_elem_sep String getMessage concode_elem_sep String getId concode_elem_sep String getId concode_elem_sep String getFailureMessage concode_elem_sep RestStatus getStatus concode_elem_sep Throwable getCause concode_elem_sep void writeTo concode_elem_sep int getItemId concode_elem_sep XContentBuilder toXContent concode_elem_sep Failure getFailure concode_elem_sep RestStatus status
target: String function ( ) { if ( failure != null ) { return failure . getType ( ) ; } return response . getType ( ) ; }