Package org.apache.bookkeeper.proto
Interface DataFormats.LedgerMetadataFormat.SegmentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataFormats.LedgerMetadataFormat.Segment
,DataFormats.LedgerMetadataFormat.Segment.Builder
- Enclosing class:
- DataFormats.LedgerMetadataFormat
public static interface DataFormats.LedgerMetadataFormat.SegmentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getEnsembleMember(int index)
repeated string ensembleMember = 1;
com.google.protobuf.ByteString
getEnsembleMemberBytes(int index)
repeated string ensembleMember = 1;
int
getEnsembleMemberCount()
repeated string ensembleMember = 1;
java.util.List<java.lang.String>
getEnsembleMemberList()
repeated string ensembleMember = 1;
long
getFirstEntryId()
required int64 firstEntryId = 2;
boolean
hasFirstEntryId()
required int64 firstEntryId = 2;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEnsembleMemberList
java.util.List<java.lang.String> getEnsembleMemberList()
repeated string ensembleMember = 1;
- Returns:
- A list containing the ensembleMember.
-
getEnsembleMemberCount
int getEnsembleMemberCount()
repeated string ensembleMember = 1;
- Returns:
- The count of ensembleMember.
-
getEnsembleMember
java.lang.String getEnsembleMember(int index)
repeated string ensembleMember = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The ensembleMember at the given index.
-
getEnsembleMemberBytes
com.google.protobuf.ByteString getEnsembleMemberBytes(int index)
repeated string ensembleMember = 1;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the ensembleMember at the given index.
-
hasFirstEntryId
boolean hasFirstEntryId()
required int64 firstEntryId = 2;
- Returns:
- Whether the firstEntryId field is set.
-
getFirstEntryId
long getFirstEntryId()
required int64 firstEntryId = 2;
- Returns:
- The firstEntryId.
-
-