public static final class MLDataFormats.ManagedCursorInfo extends com.google.protobuf.GeneratedMessageV3 implements MLDataFormats.ManagedCursorInfoOrBuilder
ManagedCursorInfo| Modifier and Type | Class and Description |
|---|---|
static class |
MLDataFormats.ManagedCursorInfo.Builder
Protobuf type
ManagedCursorInfo |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BATCHEDENTRYDELETIONINDEXINFO_FIELD_NUMBER |
static int |
CURSORSLEDGERID_FIELD_NUMBER |
static int |
INDIVIDUALDELETEDMESSAGES_FIELD_NUMBER |
static int |
LASTACTIVE_FIELD_NUMBER |
static int |
MARKDELETEENTRYID_FIELD_NUMBER |
static int |
MARKDELETELEDGERID_FIELD_NUMBER |
static com.google.protobuf.Parser<MLDataFormats.ManagedCursorInfo> |
PARSER
Deprecated.
|
static int |
PROPERTIES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
MLDataFormats.BatchedEntryDeletionIndexInfo |
getBatchedEntryDeletionIndexInfo(int index)
Store which index in the batch message has been deleted
|
int |
getBatchedEntryDeletionIndexInfoCount()
Store which index in the batch message has been deleted
|
List<MLDataFormats.BatchedEntryDeletionIndexInfo> |
getBatchedEntryDeletionIndexInfoList()
Store which index in the batch message has been deleted
|
MLDataFormats.BatchedEntryDeletionIndexInfoOrBuilder |
getBatchedEntryDeletionIndexInfoOrBuilder(int index)
Store which index in the batch message has been deleted
|
List<? extends MLDataFormats.BatchedEntryDeletionIndexInfoOrBuilder> |
getBatchedEntryDeletionIndexInfoOrBuilderList()
Store which index in the batch message has been deleted
|
long |
getCursorsLedgerId()
If the ledger id is -1, then the mark-delete position is
the one from the (ledgerId, entryId) snapshot below
|
static MLDataFormats.ManagedCursorInfo |
getDefaultInstance() |
MLDataFormats.ManagedCursorInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
MLDataFormats.MessageRange |
getIndividualDeletedMessages(int index)
repeated .MessageRange individualDeletedMessages = 4; |
int |
getIndividualDeletedMessagesCount()
repeated .MessageRange individualDeletedMessages = 4; |
List<MLDataFormats.MessageRange> |
getIndividualDeletedMessagesList()
repeated .MessageRange individualDeletedMessages = 4; |
MLDataFormats.MessageRangeOrBuilder |
getIndividualDeletedMessagesOrBuilder(int index)
repeated .MessageRange individualDeletedMessages = 4; |
List<? extends MLDataFormats.MessageRangeOrBuilder> |
getIndividualDeletedMessagesOrBuilderList()
repeated .MessageRange individualDeletedMessages = 4; |
long |
getLastActive()
optional int64 lastActive = 6; |
long |
getMarkDeleteEntryId()
optional int64 markDeleteEntryId = 3; |
long |
getMarkDeleteLedgerId()
Last snapshot of the mark-delete position
|
com.google.protobuf.Parser<MLDataFormats.ManagedCursorInfo> |
getParserForType() |
MLDataFormats.LongProperty |
getProperties(int index)
Additional custom properties associated with
the current cursor position
|
int |
getPropertiesCount()
Additional custom properties associated with
the current cursor position
|
List<MLDataFormats.LongProperty> |
getPropertiesList()
Additional custom properties associated with
the current cursor position
|
MLDataFormats.LongPropertyOrBuilder |
getPropertiesOrBuilder(int index)
Additional custom properties associated with
the current cursor position
|
List<? extends MLDataFormats.LongPropertyOrBuilder> |
getPropertiesOrBuilderList()
Additional custom properties associated with
the current cursor position
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCursorsLedgerId()
If the ledger id is -1, then the mark-delete position is
the one from the (ledgerId, entryId) snapshot below
|
int |
hashCode() |
boolean |
hasLastActive()
optional int64 lastActive = 6; |
boolean |
hasMarkDeleteEntryId()
optional int64 markDeleteEntryId = 3; |
boolean |
hasMarkDeleteLedgerId()
Last snapshot of the mark-delete position
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MLDataFormats.ManagedCursorInfo.Builder |
newBuilder() |
static MLDataFormats.ManagedCursorInfo.Builder |
newBuilder(MLDataFormats.ManagedCursorInfo prototype) |
MLDataFormats.ManagedCursorInfo.Builder |
newBuilderForType() |
protected MLDataFormats.ManagedCursorInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MLDataFormats.ManagedCursorInfo |
parseDelimitedFrom(InputStream input) |
static MLDataFormats.ManagedCursorInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLDataFormats.ManagedCursorInfo |
parseFrom(byte[] data) |
static MLDataFormats.ManagedCursorInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLDataFormats.ManagedCursorInfo |
parseFrom(ByteBuffer data) |
static MLDataFormats.ManagedCursorInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLDataFormats.ManagedCursorInfo |
parseFrom(com.google.protobuf.ByteString data) |
static MLDataFormats.ManagedCursorInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLDataFormats.ManagedCursorInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MLDataFormats.ManagedCursorInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MLDataFormats.ManagedCursorInfo |
parseFrom(InputStream input) |
static MLDataFormats.ManagedCursorInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MLDataFormats.ManagedCursorInfo> |
parser() |
MLDataFormats.ManagedCursorInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CURSORSLEDGERID_FIELD_NUMBER
public static final int MARKDELETELEDGERID_FIELD_NUMBER
public static final int MARKDELETEENTRYID_FIELD_NUMBER
public static final int INDIVIDUALDELETEDMESSAGES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
public static final int LASTACTIVE_FIELD_NUMBER
public static final int BATCHEDENTRYDELETIONINDEXINFO_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<MLDataFormats.ManagedCursorInfo> PARSER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasCursorsLedgerId in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic 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;getCursorsLedgerId in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic boolean hasMarkDeleteLedgerId()
Last snapshot of the mark-delete position
optional int64 markDeleteLedgerId = 2;hasMarkDeleteLedgerId in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic long getMarkDeleteLedgerId()
Last snapshot of the mark-delete position
optional int64 markDeleteLedgerId = 2;getMarkDeleteLedgerId in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic boolean hasMarkDeleteEntryId()
optional int64 markDeleteEntryId = 3;hasMarkDeleteEntryId in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic long getMarkDeleteEntryId()
optional int64 markDeleteEntryId = 3;getMarkDeleteEntryId in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic List<MLDataFormats.MessageRange> getIndividualDeletedMessagesList()
repeated .MessageRange individualDeletedMessages = 4;getIndividualDeletedMessagesList in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic List<? extends MLDataFormats.MessageRangeOrBuilder> getIndividualDeletedMessagesOrBuilderList()
repeated .MessageRange individualDeletedMessages = 4;getIndividualDeletedMessagesOrBuilderList in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic int getIndividualDeletedMessagesCount()
repeated .MessageRange individualDeletedMessages = 4;getIndividualDeletedMessagesCount in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic MLDataFormats.MessageRange getIndividualDeletedMessages(int index)
repeated .MessageRange individualDeletedMessages = 4;getIndividualDeletedMessages in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic MLDataFormats.MessageRangeOrBuilder getIndividualDeletedMessagesOrBuilder(int index)
repeated .MessageRange individualDeletedMessages = 4;getIndividualDeletedMessagesOrBuilder in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic List<MLDataFormats.LongProperty> getPropertiesList()
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5;getPropertiesList in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic List<? extends MLDataFormats.LongPropertyOrBuilder> getPropertiesOrBuilderList()
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5;getPropertiesOrBuilderList in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic int getPropertiesCount()
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5;getPropertiesCount in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic MLDataFormats.LongProperty getProperties(int index)
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5;getProperties in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic MLDataFormats.LongPropertyOrBuilder getPropertiesOrBuilder(int index)
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5;getPropertiesOrBuilder in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic boolean hasLastActive()
optional int64 lastActive = 6;hasLastActive in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic long getLastActive()
optional int64 lastActive = 6;getLastActive in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic List<MLDataFormats.BatchedEntryDeletionIndexInfo> getBatchedEntryDeletionIndexInfoList()
Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7;getBatchedEntryDeletionIndexInfoList in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic List<? extends MLDataFormats.BatchedEntryDeletionIndexInfoOrBuilder> getBatchedEntryDeletionIndexInfoOrBuilderList()
Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7;getBatchedEntryDeletionIndexInfoOrBuilderList in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic int getBatchedEntryDeletionIndexInfoCount()
Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7;getBatchedEntryDeletionIndexInfoCount in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic MLDataFormats.BatchedEntryDeletionIndexInfo getBatchedEntryDeletionIndexInfo(int index)
Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7;getBatchedEntryDeletionIndexInfo in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic MLDataFormats.BatchedEntryDeletionIndexInfoOrBuilder getBatchedEntryDeletionIndexInfoOrBuilder(int index)
Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7;getBatchedEntryDeletionIndexInfoOrBuilder in interface MLDataFormats.ManagedCursorInfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MLDataFormats.ManagedCursorInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MLDataFormats.ManagedCursorInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MLDataFormats.ManagedCursorInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MLDataFormats.ManagedCursorInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MLDataFormats.ManagedCursorInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MLDataFormats.ManagedCursorInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MLDataFormats.ManagedCursorInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static MLDataFormats.ManagedCursorInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MLDataFormats.ManagedCursorInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MLDataFormats.ManagedCursorInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MLDataFormats.ManagedCursorInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MLDataFormats.ManagedCursorInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MLDataFormats.ManagedCursorInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MLDataFormats.ManagedCursorInfo.Builder newBuilder()
public static MLDataFormats.ManagedCursorInfo.Builder newBuilder(MLDataFormats.ManagedCursorInfo prototype)
public MLDataFormats.ManagedCursorInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MLDataFormats.ManagedCursorInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MLDataFormats.ManagedCursorInfo getDefaultInstance()
public static com.google.protobuf.Parser<MLDataFormats.ManagedCursorInfo> parser()
public com.google.protobuf.Parser<MLDataFormats.ManagedCursorInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MLDataFormats.ManagedCursorInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017–2021 Apache Software Foundation. All rights reserved.