org.apache.bookkeeper.stream.proto.kv.KeyValueOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: kv.proto
package org.apache.bookkeeper.stream.proto.kv;
public interface KeyValueOrBuilder extends
// @@protoc_insertion_point(interface_extends:bookkeeper.proto.kv.KeyValue)
com.google.protobuf.MessageOrBuilder {
/**
*
* key is the key in bytes. An empty key is not allowed.
*
*
* bytes key = 1;
* @return The key.
*/
com.google.protobuf.ByteString getKey();
/**
*
* create_revision is the revision of last creation on this key.
*
*
* int64 create_revision = 2;
* @return The createRevision.
*/
long getCreateRevision();
/**
*
* mod_revision is the revision of last modification on this key.
*
*
* int64 mod_revision = 3;
* @return The modRevision.
*/
long getModRevision();
/**
*
* version is the version of the key. A deletion resets
* the version to zero and any modification of the key
* increases its version.
*
*
* int64 version = 4;
* @return The version.
*/
long getVersion();
/**
*
* value is the value held by the key, in bytes.
*
*
* bytes value = 5;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
/**
* bool is_number = 6;
* @return The isNumber.
*/
boolean getIsNumber();
/**
* int64 number_value = 7;
* @return The numberValue.
*/
long getNumberValue();
/**
*
* time in milliseconds when the record expires (0 for none)
*
*
* int64 expire_time = 8;
* @return The expireTime.
*/
long getExpireTime();
}