io.helidon.config.etcd.internal.client.proto.EventOrBuilder 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: kv.proto
package io.helidon.config.etcd.internal.client.proto;
public interface EventOrBuilder extends
// @@protoc_insertion_point(interface_extends:mvccpb.Event)
com.google.protobuf.MessageOrBuilder {
/**
*
* type is the kind of event. If type is a PUT, it indicates
* new data has been stored to the key. If type is a DELETE,
* it indicates the key was deleted.
*
*
* .mvccpb.Event.EventType type = 1;
*/
int getTypeValue();
/**
*
* type is the kind of event. If type is a PUT, it indicates
* new data has been stored to the key. If type is a DELETE,
* it indicates the key was deleted.
*
*
* .mvccpb.Event.EventType type = 1;
*/
io.helidon.config.etcd.internal.client.proto.Event.EventType getType();
/**
*
* kv holds the KeyValue for the event.
* A PUT event contains current kv pair.
* A PUT event with kv.Version=1 indicates the creation of a key.
* A DELETE/EXPIRE event contains the deleted key with
* its modification revision set to the revision of deletion.
*
*
* .mvccpb.KeyValue kv = 2;
*/
boolean hasKv();
/**
*
* kv holds the KeyValue for the event.
* A PUT event contains current kv pair.
* A PUT event with kv.Version=1 indicates the creation of a key.
* A DELETE/EXPIRE event contains the deleted key with
* its modification revision set to the revision of deletion.
*
*
* .mvccpb.KeyValue kv = 2;
*/
io.helidon.config.etcd.internal.client.proto.KeyValue getKv();
/**
*
* kv holds the KeyValue for the event.
* A PUT event contains current kv pair.
* A PUT event with kv.Version=1 indicates the creation of a key.
* A DELETE/EXPIRE event contains the deleted key with
* its modification revision set to the revision of deletion.
*
*
* .mvccpb.KeyValue kv = 2;
*/
io.helidon.config.etcd.internal.client.proto.KeyValueOrBuilder getKvOrBuilder();
/**
*
* prev_kv holds the key-value pair before the event happens.
*
*
* .mvccpb.KeyValue prev_kv = 3;
*/
boolean hasPrevKv();
/**
*
* prev_kv holds the key-value pair before the event happens.
*
*
* .mvccpb.KeyValue prev_kv = 3;
*/
io.helidon.config.etcd.internal.client.proto.KeyValue getPrevKv();
/**
*
* prev_kv holds the key-value pair before the event happens.
*
*
* .mvccpb.KeyValue prev_kv = 3;
*/
io.helidon.config.etcd.internal.client.proto.KeyValueOrBuilder getPrevKvOrBuilder();
}