primaryTerm
protected long primaryTerm
DeleteResponse.Builder, IndexResponse.Builder, UpdateResponse.BuilderDocWriteResponse 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 booleanprotected Stringprotected longprotected DocWriteResponse.Resultprotected longprotected ShardIdprotected ReplicationResponse.ShardInfoprotected Stringprotected Longabstract DocWriteResponsebuild()getId()getType()voidsetForcedRefresh(boolean forcedRefresh)voidvoidsetPrimaryTerm(long primaryTerm)voidsetResult(DocWriteResponse.Result result)voidsetSeqNo(long seqNo)voidsetShardId(ShardId shardId)voidsetShardInfo(ReplicationResponse.ShardInfo shardInfo)voidvoidsetVersion(Long version)