public interface PutRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getIgnoreLease()
If ignore_lease is set, etcd updates the key using its current lease.
|
boolean |
getIgnoreValue()
If ignore_value is set, etcd updates the key using its current value.
|
com.google.protobuf.ByteString |
getKey()
key is the key, in bytes, to put into the key-value store.
|
long |
getLease()
lease is the lease ID to associate with the key in the key-value store.
|
boolean |
getPrevKv()
If prev_kv is set, etcd gets the previous key-value pair before changing it.
|
com.google.protobuf.ByteString |
getValue()
value is the value, in bytes, to associate with the key in the key-value store.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofcom.google.protobuf.ByteString getKey()
key is the key, in bytes, to put into the key-value store.
bytes key = 1;com.google.protobuf.ByteString getValue()
value is the value, in bytes, to associate with the key in the key-value store.
bytes value = 2;long getLease()
lease is the lease ID to associate with the key in the key-value store. A lease value of 0 indicates no lease.
int64 lease = 3;boolean getPrevKv()
If prev_kv is set, etcd gets the previous key-value pair before changing it. The previous key-value pair will be returned in the put response.
bool prev_kv = 4;boolean getIgnoreValue()
If ignore_value is set, etcd updates the key using its current value. Returns an error if the key does not exist.
bool ignore_value = 5;boolean getIgnoreLease()
If ignore_lease is set, etcd updates the key using its current lease. Returns an error if the key does not exist.
bool ignore_lease = 6;Copyright © 2020. All rights reserved.