类 MLDataFormats.ManagedCursorInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.bookkeeper.mledger.proto.MLDataFormats.ManagedCursorInfo
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,MLDataFormats.ManagedCursorInfoOrBuilder
- 封闭类:
- MLDataFormats
public static final class MLDataFormats.ManagedCursorInfo
extends com.google.protobuf.GeneratedMessageV3
implements MLDataFormats.ManagedCursorInfoOrBuilder
Protobuf type
ManagedCursorInfo- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static final classProtobuf typeManagedCursorInfo从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
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 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<MLDataFormats.ManagedCursorInfo>已过时。static final int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明booleangetBatchedEntryDeletionIndexInfo(int index) Store which index in the batch message has been deletedintStore which index in the batch message has been deletedStore which index in the batch message has been deletedgetBatchedEntryDeletionIndexInfoOrBuilder(int index) Store which index in the batch message has been deletedStore which index in the batch message has been deletedgetCursorProperties(int index) Additional custom properties associated with the cursorintAdditional custom properties associated with the cursorAdditional custom properties associated with the cursorgetCursorPropertiesOrBuilder(int index) Additional custom properties associated with the cursorList<? extends MLDataFormats.StringPropertyOrBuilder>Additional custom properties associated with the cursorlongIf the ledger id is -1, then the mark-delete position is the one from the (ledgerId, entryId) snapshot belowstatic final com.google.protobuf.Descriptors.DescriptorgetIndividualDeletedMessages(int index) repeated .MessageRange individualDeletedMessages = 4;intrepeated .MessageRange individualDeletedMessages = 4;repeated .MessageRange individualDeletedMessages = 4;getIndividualDeletedMessagesOrBuilder(int index) repeated .MessageRange individualDeletedMessages = 4;List<? extends MLDataFormats.MessageRangeOrBuilder>repeated .MessageRange individualDeletedMessages = 4;longoptional int64 lastActive = 6;longoptional int64 markDeleteEntryId = 3;longLast snapshot of the mark-delete positioncom.google.protobuf.Parser<MLDataFormats.ManagedCursorInfo>getProperties(int index) Additional custom properties associated with the current cursor positionintAdditional custom properties associated with the current cursor positionAdditional custom properties associated with the current cursor positiongetPropertiesOrBuilder(int index) Additional custom properties associated with the current cursor positionList<? extends MLDataFormats.LongPropertyOrBuilder>Additional custom properties associated with the current cursor positionintfinal com.google.protobuf.UnknownFieldSetbooleanIf the ledger id is -1, then the mark-delete position is the one from the (ledgerId, entryId) snapshot belowinthashCode()booleanoptional int64 lastActive = 6;booleanoptional int64 markDeleteEntryId = 3;booleanLast snapshot of the mark-delete positionprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(MLDataFormats.ManagedCursorInfo prototype) protected MLDataFormats.ManagedCursorInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MLDataFormats.ManagedCursorInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) 从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeStringNoTag从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString从类继承的方法 com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
字段详细资料
-
CURSORSLEDGERID_FIELD_NUMBER
public static final int CURSORSLEDGERID_FIELD_NUMBER- 另请参阅:
-
MARKDELETELEDGERID_FIELD_NUMBER
public static final int MARKDELETELEDGERID_FIELD_NUMBER- 另请参阅:
-
MARKDELETEENTRYID_FIELD_NUMBER
public static final int MARKDELETEENTRYID_FIELD_NUMBER- 另请参阅:
-
INDIVIDUALDELETEDMESSAGES_FIELD_NUMBER
public static final int INDIVIDUALDELETEDMESSAGES_FIELD_NUMBER- 另请参阅:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER- 另请参阅:
-
LASTACTIVE_FIELD_NUMBER
public static final int LASTACTIVE_FIELD_NUMBER- 另请参阅:
-
BATCHEDENTRYDELETIONINDEXINFO_FIELD_NUMBER
public static final int BATCHEDENTRYDELETIONINDEXINFO_FIELD_NUMBER- 另请参阅:
-
CURSORPROPERTIES_FIELD_NUMBER
public static final int CURSORPROPERTIES_FIELD_NUMBER- 另请参阅:
-
PARSER
已过时。
-
-
方法详细资料
-
newInstance
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
hasCursorsLedgerId
public 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在接口中MLDataFormats.ManagedCursorInfoOrBuilder- 返回:
- Whether the cursorsLedgerId field is set.
-
getCursorsLedgerId
public 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在接口中MLDataFormats.ManagedCursorInfoOrBuilder- 返回:
- The cursorsLedgerId.
-
hasMarkDeleteLedgerId
public boolean hasMarkDeleteLedgerId()Last snapshot of the mark-delete position
optional int64 markDeleteLedgerId = 2;- 指定者:
hasMarkDeleteLedgerId在接口中MLDataFormats.ManagedCursorInfoOrBuilder- 返回:
- Whether the markDeleteLedgerId field is set.
-
getMarkDeleteLedgerId
public long getMarkDeleteLedgerId()Last snapshot of the mark-delete position
optional int64 markDeleteLedgerId = 2;- 指定者:
getMarkDeleteLedgerId在接口中MLDataFormats.ManagedCursorInfoOrBuilder- 返回:
- The markDeleteLedgerId.
-
hasMarkDeleteEntryId
public boolean hasMarkDeleteEntryId()optional int64 markDeleteEntryId = 3;- 指定者:
hasMarkDeleteEntryId在接口中MLDataFormats.ManagedCursorInfoOrBuilder- 返回:
- Whether the markDeleteEntryId field is set.
-
getMarkDeleteEntryId
public long getMarkDeleteEntryId()optional int64 markDeleteEntryId = 3;- 指定者:
getMarkDeleteEntryId在接口中MLDataFormats.ManagedCursorInfoOrBuilder- 返回:
- The markDeleteEntryId.
-
getIndividualDeletedMessagesList
repeated .MessageRange individualDeletedMessages = 4; -
getIndividualDeletedMessagesOrBuilderList
public List<? extends MLDataFormats.MessageRangeOrBuilder> getIndividualDeletedMessagesOrBuilderList()repeated .MessageRange individualDeletedMessages = 4; -
getIndividualDeletedMessagesCount
public int getIndividualDeletedMessagesCount()repeated .MessageRange individualDeletedMessages = 4; -
getIndividualDeletedMessages
repeated .MessageRange individualDeletedMessages = 4; -
getIndividualDeletedMessagesOrBuilder
repeated .MessageRange individualDeletedMessages = 4; -
getPropertiesList
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5; -
getPropertiesOrBuilderList
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5; -
getPropertiesCount
public int getPropertiesCount()Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5; -
getProperties
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5; -
getPropertiesOrBuilder
Additional custom properties associated with the current cursor position
repeated .LongProperty properties = 5; -
hasLastActive
public boolean hasLastActive()optional int64 lastActive = 6;- 指定者:
hasLastActive在接口中MLDataFormats.ManagedCursorInfoOrBuilder- 返回:
- Whether the lastActive field is set.
-
getLastActive
public long getLastActive()optional int64 lastActive = 6;- 指定者:
getLastActive在接口中MLDataFormats.ManagedCursorInfoOrBuilder- 返回:
- The lastActive.
-
getBatchedEntryDeletionIndexInfoList
Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7; -
getBatchedEntryDeletionIndexInfoOrBuilderList
public List<? extends MLDataFormats.BatchedEntryDeletionIndexInfoOrBuilder> getBatchedEntryDeletionIndexInfoOrBuilderList()Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7; -
getBatchedEntryDeletionIndexInfoCount
public int getBatchedEntryDeletionIndexInfoCount()Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7; -
getBatchedEntryDeletionIndexInfo
Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7; -
getBatchedEntryDeletionIndexInfoOrBuilder
public MLDataFormats.BatchedEntryDeletionIndexInfoOrBuilder getBatchedEntryDeletionIndexInfoOrBuilder(int index) Store which index in the batch message has been deleted
repeated .BatchedEntryDeletionIndexInfo batchedEntryDeletionIndexInfo = 7; -
getCursorPropertiesList
Additional custom properties associated with the cursor
repeated .StringProperty cursorProperties = 8; -
getCursorPropertiesOrBuilderList
Additional custom properties associated with the cursor
repeated .StringProperty cursorProperties = 8; -
getCursorPropertiesCount
public int getCursorPropertiesCount()Additional custom properties associated with the cursor
repeated .StringProperty cursorProperties = 8; -
getCursorProperties
Additional custom properties associated with the cursor
repeated .StringProperty cursorProperties = 8; -
getCursorPropertiesOrBuilder
Additional custom properties associated with the cursor
repeated .StringProperty cursorProperties = 8; -
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static MLDataFormats.ManagedCursorInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLDataFormats.ManagedCursorInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLDataFormats.ManagedCursorInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLDataFormats.ManagedCursorInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLDataFormats.ManagedCursorInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLDataFormats.ManagedCursorInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- 抛出:
IOException
-
parseFrom
public static MLDataFormats.ManagedCursorInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static MLDataFormats.ManagedCursorInfo parseDelimitedFrom(InputStream input) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static MLDataFormats.ManagedCursorInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseFrom
public static MLDataFormats.ManagedCursorInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - 抛出:
IOException
-
parseFrom
public static MLDataFormats.ManagedCursorInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static MLDataFormats.ManagedCursorInfo.Builder newBuilder(MLDataFormats.ManagedCursorInfo prototype) -
toBuilder
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected MLDataFormats.ManagedCursorInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-