io.helidon.config.etcd.internal.client.proto.EventOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: kv.proto
// Protobuf Java Version: 4.27.3
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;
* @return The enum numeric value on the wire for type.
*/
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;
* @return The type.
*/
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;
* @return Whether the kv field is set.
*/
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;
* @return The kv.
*/
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;
* @return Whether the prevKv field is set.
*/
boolean hasPrevKv();
/**
*
* prev_kv holds the key-value pair before the event happens.
*
*
* .mvccpb.KeyValue prev_kv = 3;
* @return The prevKv.
*/
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();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy