Interface MLDataFormats.ManagedCursorInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MLDataFormats.ManagedCursorInfo,MLDataFormats.ManagedCursorInfo.Builder
- Enclosing class:
- MLDataFormats
public static interface MLDataFormats.ManagedCursorInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MLDataFormats.BatchedEntryDeletionIndexInfogetBatchedEntryDeletionIndexInfo(int index)Store which index in the batch message has been deletedintgetBatchedEntryDeletionIndexInfoCount()Store which index in the batch message has been deletedjava.util.List<MLDataFormats.BatchedEntryDeletionIndexInfo>getBatchedEntryDeletionIndexInfoList()Store which index in the batch message has been deletedMLDataFormats.BatchedEntryDeletionIndexInfoOrBuildergetBatchedEntryDeletionIndexInfoOrBuilder(int index)Store which index in the batch message has been deletedjava.util.List<? extends MLDataFormats.BatchedEntryDeletionIndexInfoOrBuilder>getBatchedEntryDeletionIndexInfoOrBuilderList()Store which index in the batch message has been deletedlonggetCursorsLedgerId()If the ledger id is -1, then the mark-delete position is the one from the (ledgerId, entryId) snapshot belowMLDataFormats.MessageRangegetIndividualDeletedMessages(int index)repeated .MessageRange individualDeletedMessages = 4;intgetIndividualDeletedMessagesCount()repeated .MessageRange individualDeletedMessages = 4;java.util.List<MLDataFormats.MessageRange>getIndividualDeletedMessagesList()repeated .MessageRange individualDeletedMessages = 4;MLDataFormats.MessageRangeOrBuildergetIndividualDeletedMessagesOrBuilder(int index)repeated .MessageRange individualDeletedMessages = 4;java.util.List<? extends MLDataFormats.MessageRangeOrBuilder>getIndividualDeletedMessagesOrBuilderList()repeated .MessageRange individualDeletedMessages = 4;longgetLastActive()optional int64 lastActive = 6;longgetMarkDeleteEntryId()optional int64 markDeleteEntryId = 3;longgetMarkDeleteLedgerId()Last snapshot of the mark-delete positionMLDataFormats.LongPropertygetProperties(int index)Additional custom properties associated with the current cursor positionintgetPropertiesCount()Additional custom properties associated with the current cursor positionjava.util.List<MLDataFormats.LongProperty>getPropertiesList()Additional custom properties associated with the current cursor positionMLDataFormats.LongPropertyOrBuildergetPropertiesOrBuilder(int index)Additional custom properties associated with the current cursor positionjava.util.List<? extends MLDataFormats.LongPropertyOrBuilder>getPropertiesOrBuilderList()Additional custom properties associated with the current cursor positionbooleanhasCursorsLedgerId()If the ledger id is -1, then the mark-delete position is the one from the (ledgerId, entryId) snapshot belowbooleanhasLastActive()optional int64 lastActive = 6;booleanhasMarkDeleteEntryId()optional int64 markDeleteEntryId = 3;booleanhasMarkDeleteLedgerId()Last snapshot of the mark-delete position-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCursorsLedgerId
boolean hasCursorsLedgerId()
If the ledger id is -1, then the mark-delete position is the one from the (ledgerId, entryId) snapshot below
required int64 cursorsLedgerId = 1;- Returns:
- Whether the cursorsLedgerId field is set.
-
getCursorsLedgerId
long getCursorsLedgerId()
If the ledger id is -1, then the mark-delete position is the one from the (ledgerId, entryId) snapshot below
required int64 cursorsLedgerId = 1;- Returns:
- The cursorsLedgerId.
-
hasMarkDeleteLedgerId
boolean hasMarkDeleteLedgerId()
Last snapshot of the mark-delete position
optional int64 markDeleteLedgerId = 2;- Returns:
- Whether the markDeleteLedgerId field is set.
-
getMarkDeleteLedgerId
long getMarkDeleteLedgerId()
Last snapshot of the mark-delete position
optional int64 markDeleteLedgerId = 2;- Returns:
- The markDeleteLedgerId.
-
hasMarkDeleteEntryId
boolean hasMarkDeleteEntryId()
optional int64 markDeleteEntryId = 3;- Returns:
- Whether the markDeleteEntryId field is set.
-
getMarkDeleteEntryId
long getMarkDeleteEntryId()
optional int64 markDeleteEntryId = 3;- Returns:
- The markDeleteEntryId.
-
getIndividualDeletedMessagesList
java.util.List<MLDataFormats.MessageRange> getIndividualDeletedMessagesList()
repeated .MessageRange individualDeletedMessages = 4;
-
getIndividualDeletedMessages
MLDataFormats.MessageRange getIndividualDeletedMessages(int index)
repeated .MessageRange individualDeletedMessages = 4;
-
getIndividualDeletedMessagesCount
int getIndividualDeletedMessagesCount()
repeated .MessageRange individualDeletedMessages = 4;
-
getIndividualDeletedMessagesOrBuilderList
java.util.List<? extends MLDataFormats.MessageRangeOrBuilder> getIndividualDeletedMessagesOrBuilderList()
repeated .MessageRange individualDeletedMessages = 4;
-
getIndividualDeletedMessagesOrBuilder
MLDataFormats.MessageRangeOrBuilder getIndividualDeletedMessagesOrBuilder(int index)
repeated .MessageRange individualDeletedMessages = 4;
-
getPropertiesList
java.util.List<MLDataFormats.LongProperty> getPropertiesList()
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5;
-
getProperties
MLDataFormats.LongProperty getProperties(int index)
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5;
-
getPropertiesCount
int getPropertiesCount()
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5;
-
getPropertiesOrBuilderList
java.util.List<? extends MLDataFormats.LongPropertyOrBuilder> getPropertiesOrBuilderList()
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5;
-
getPropertiesOrBuilder
MLDataFormats.LongPropertyOrBuilder getPropertiesOrBuilder(int index)
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5;
-
hasLastActive
boolean hasLastActive()
optional int64 lastActive = 6;- Returns:
- Whether the lastActive field is set.
-
getLastActive
long getLastActive()
optional int64 lastActive = 6;- Returns:
- The lastActive.
-
getBatchedEntryDeletionIndexInfoList
java.util.List<MLDataFormats.BatchedEntryDeletionIndexInfo> getBatchedEntryDeletionIndexInfoList()
Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7;
-
getBatchedEntryDeletionIndexInfo
MLDataFormats.BatchedEntryDeletionIndexInfo getBatchedEntryDeletionIndexInfo(int index)
Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7;
-
getBatchedEntryDeletionIndexInfoCount
int getBatchedEntryDeletionIndexInfoCount()
Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7;
-
getBatchedEntryDeletionIndexInfoOrBuilderList
java.util.List<? extends MLDataFormats.BatchedEntryDeletionIndexInfoOrBuilder> getBatchedEntryDeletionIndexInfoOrBuilderList()
Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7;
-
getBatchedEntryDeletionIndexInfoOrBuilder
MLDataFormats.BatchedEntryDeletionIndexInfoOrBuilder getBatchedEntryDeletionIndexInfoOrBuilder(int index)
Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7;
-
-