All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.etcd.jetcd.api.EventOrBuilder Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: kv.proto

// Protobuf Java Version: 3.25.1
package io.etcd.jetcd.api;

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.etcd.jetcd.api.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.etcd.jetcd.api.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.etcd.jetcd.api.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.etcd.jetcd.api.KeyValue getPrevKv(); /** *
   * prev_kv holds the key-value pair before the event happens.
   * 
* * .mvccpb.KeyValue prev_kv = 3; */ io.etcd.jetcd.api.KeyValueOrBuilder getPrevKvOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy