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

com.ibm.etcd.api.EventOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.0.24
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: kv.proto

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy