org.apache.bookkeeper.stream.proto.StreamMetadataOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: stream.proto
package org.apache.bookkeeper.stream.proto;
public interface StreamMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:bookkeeper.proto.stream.StreamMetadata)
com.google.protobuf.MessageOrBuilder {
/**
*
* stream properties
*
*
* .bookkeeper.proto.stream.StreamProperties props = 1;
* @return Whether the props field is set.
*/
boolean hasProps();
/**
*
* stream properties
*
*
* .bookkeeper.proto.stream.StreamProperties props = 1;
* @return The props.
*/
org.apache.bookkeeper.stream.proto.StreamProperties getProps();
/**
*
* stream properties
*
*
* .bookkeeper.proto.stream.StreamProperties props = 1;
*/
org.apache.bookkeeper.stream.proto.StreamPropertiesOrBuilder getPropsOrBuilder();
/**
*
* stream lifecycle state
*
*
* .bookkeeper.proto.stream.StreamMetadata.LifecycleState lifecycle_state = 2;
* @return The enum numeric value on the wire for lifecycleState.
*/
int getLifecycleStateValue();
/**
*
* stream lifecycle state
*
*
* .bookkeeper.proto.stream.StreamMetadata.LifecycleState lifecycle_state = 2;
* @return The lifecycleState.
*/
org.apache.bookkeeper.stream.proto.StreamMetadata.LifecycleState getLifecycleState();
/**
*
* stream serving state
*
*
* .bookkeeper.proto.stream.StreamMetadata.ServingState serving_state = 3;
* @return The enum numeric value on the wire for servingState.
*/
int getServingStateValue();
/**
*
* stream serving state
*
*
* .bookkeeper.proto.stream.StreamMetadata.ServingState serving_state = 3;
* @return The servingState.
*/
org.apache.bookkeeper.stream.proto.StreamMetadata.ServingState getServingState();
/**
*
* time
*
*
* uint64 c_time = 4;
* @return The cTime.
*/
long getCTime();
/**
* uint64 m_time = 5;
* @return The mTime.
*/
long getMTime();
/**
*
* ranges
*
*
* uint64 next_range_id = 100;
* @return The nextRangeId.
*/
long getNextRangeId();
/**
*
* current active ranges
*
*
* repeated uint64 current_ranges = 101;
* @return A list containing the currentRanges.
*/
java.util.List getCurrentRangesList();
/**
*
* current active ranges
*
*
* repeated uint64 current_ranges = 101;
* @return The count of currentRanges.
*/
int getCurrentRangesCount();
/**
*
* current active ranges
*
*
* repeated uint64 current_ranges = 101;
* @param index The index of the element to return.
* @return The currentRanges at the given index.
*/
long getCurrentRanges(int index);
}