the version of the action . concode_field_sep String STATUS_FIELD concode_elem_sep String _ID concode_elem_sep String _TYPE concode_elem_sep String STATUS concode_elem_sep String opType concode_elem_sep String ID_FIELD concode_elem_sep String index concode_elem_sep Throwable cause concode_elem_sep String type concode_elem_sep String _INDEX concode_elem_sep String INDEX_FIELD concode_elem_sep String TYPE_FIELD concode_elem_sep DocWriteResponse response concode_elem_sep Failure failure concode_elem_sep String ERROR concode_elem_sep String CAUSE_FIELD concode_elem_sep int id concode_elem_sep RestStatus status concode_field_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 void writeTo concode_elem_sep int getItemId concode_elem_sep String getType concode_elem_sep String getType concode_elem_sep XContentBuilder toXContent concode_elem_sep XContentBuilder toXContent concode_elem_sep String toString concode_elem_sep Failure getFailure concode_elem_sep RestStatus status
long function ( ) { if ( failure != null ) { return - 1 ; } return response . getVersion ( ) ; }