protobuf.java.io.helidon.config.etcd.internal.client.proto.PutRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of helidon-config-etcd Show documentation
Show all versions of helidon-config-etcd Show documentation
etcd config source implementation.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
package io.helidon.config.etcd.internal.client.proto;
public interface PutRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:etcdserverpb.PutRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* key is the key, in bytes, to put into the key-value store.
*
*
* bytes key = 1;
*/
com.google.protobuf.ByteString getKey();
/**
*
* value is the value, in bytes, to associate with the key in the key-value store.
*
*
* bytes value = 2;
*/
com.google.protobuf.ByteString getValue();
/**
*
* 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;
*/
long getLease();
/**
*
* 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 getPrevKv();
/**
*
* 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 getIgnoreValue();
/**
*
* 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;
*/
boolean getIgnoreLease();
}