primaryTerm
public final long primaryTerm()
Required - API name:
_primary_term
JsonpSerializable
@JsonpDeserializable public 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 |
Modifier and Type | Method | Description |
---|---|---|
boolean |
created() |
Required - API name:
created |
java.lang.String |
id() |
Required - API name:
_id |
static PutWatchResponse |
of(java.util.function.Function<PutWatchResponse.Builder,ObjectBuilder<PutWatchResponse>> fn) |
|
long |
primaryTerm() |
Required - API name:
_primary_term |
long |
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(ObjectDeserializer<PutWatchResponse.Builder> op) |
|
java.lang.String |
toString() |
|
long |
version() |
Required - API name:
_version |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
PutWatchResponse
created
_id
_primary_term
_seq_no
_version
serialize
in interface JsonpSerializable
toString
in class java.lang.Object