org.apache.bookkeeper.stream.proto.RangeMetadataOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: stream.proto
package org.apache.bookkeeper.stream.proto;
public interface RangeMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:bookkeeper.proto.stream.RangeMetadata)
com.google.protobuf.MessageOrBuilder {
/**
* .bookkeeper.proto.stream.RangeProperties props = 1;
* @return Whether the props field is set.
*/
boolean hasProps();
/**
* .bookkeeper.proto.stream.RangeProperties props = 1;
* @return The props.
*/
org.apache.bookkeeper.stream.proto.RangeProperties getProps();
/**
* .bookkeeper.proto.stream.RangeProperties props = 1;
*/
org.apache.bookkeeper.stream.proto.RangePropertiesOrBuilder getPropsOrBuilder();
/**
* int64 revision = 2;
* @return The revision.
*/
long getRevision();
/**
* .bookkeeper.proto.stream.RangeState state = 3;
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
* .bookkeeper.proto.stream.RangeState state = 3;
* @return The state.
*/
org.apache.bookkeeper.stream.proto.RangeState getState();
/**
*
* time
*
*
* int64 create_time = 10;
* @return The createTime.
*/
long getCreateTime();
/**
* int64 fence_time = 11;
* @return The fenceTime.
*/
long getFenceTime();
/**
*
* children and parents
*
*
* repeated int64 children = 20;
* @return A list containing the children.
*/
java.util.List getChildrenList();
/**
*
* children and parents
*
*
* repeated int64 children = 20;
* @return The count of children.
*/
int getChildrenCount();
/**
*
* children and parents
*
*
* repeated int64 children = 20;
* @param index The index of the element to return.
* @return The children at the given index.
*/
long getChildren(int index);
/**
* repeated int64 parents = 21;
* @return A list containing the parents.
*/
java.util.List getParentsList();
/**
* repeated int64 parents = 21;
* @return The count of parents.
*/
int getParentsCount();
/**
* repeated int64 parents = 21;
* @param index The index of the element to return.
* @return The parents at the given index.
*/
long getParents(int index);
}