primaryTerm
public long primaryTerm()
Required - API name:
_primary_termJsonpSerializable@JsonpDeserializable public final class PutWatchResponse extends java.lang.Object implements JsonpSerializable
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PutWatchResponse.Builder |
Builder for
PutWatchResponse. |
| Modifier and Type | Field | Description |
|---|---|---|
static JsonpDeserializer<PutWatchResponse> |
_DESERIALIZER |
Json deserializer for
PutWatchResponse |
| Constructor | Description |
|---|---|
PutWatchResponse(PutWatchResponse.Builder builder) |
|
PutWatchResponse(java.util.function.Function<PutWatchResponse.Builder,PutWatchResponse.Builder> fn) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
created() |
Required - API name:
created |
java.lang.String |
id() |
Required - API name:
_id |
long |
primaryTerm() |
Required - API name:
_primary_term |
int |
seqNo() |
Required - API name:
_seq_no |
void |
serialize(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) |
Serialize this object to JSON.
|
protected void |
serializeInternal(jakarta.json.stream.JsonGenerator generator,
JsonpMapper mapper) |
|
protected static void |
setupPutWatchResponseDeserializer(DelegatingDeserializer<PutWatchResponse.Builder> op) |
|
long |
version() |
Required - API name:
_version |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitPutWatchResponsecreated_id_primary_term_seq_no_versionserialize in interface JsonpSerializable