primaryTerm
protected long primaryTerm
DeleteResponse.Builder
, IndexResponse.Builder
, UpdateResponse.Builder
DocWriteResponse
builders. These DocWriteResponse.Builder
are used during
xcontent parsing to temporarily store the parsed values, then the build()
method is called to
instantiate the appropriate DocWriteResponse
with the parsed values.protected boolean
protected String
protected long
protected DocWriteResponse.Result
protected long
protected ShardId
protected ReplicationResponse.ShardInfo
protected String
protected Long
abstract DocWriteResponse
build()
getId()
getType()
void
setForcedRefresh(boolean forcedRefresh)
void
void
setPrimaryTerm(long primaryTerm)
void
setResult(DocWriteResponse.Result result)
void
setSeqNo(long seqNo)
void
setShardId(ShardId shardId)
void
setShardInfo(ReplicationResponse.ShardInfo shardInfo)
void
void
setVersion(Long version)