public static final class PulsarTransactionMetadata.TransactionMetadataEntry extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite implements PulsarTransactionMetadata.TransactionMetadataEntryOrBuilder, ByteBufCodedOutputStream.ByteBufGeneratedMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
PulsarTransactionMetadata.TransactionMetadataEntry.Builder |
static class |
PulsarTransactionMetadata.TransactionMetadataEntry.TransactionMetadataOp |
org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableBuilder<MessageType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage<MessageType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage<MessageType>>, org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage>, org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.GeneratedExtension<ContainingType extends org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
EXPECTED_STATUS_FIELD_NUMBER |
static int |
LAST_MODIFICATION_TIME_FIELD_NUMBER |
static int |
METADATA_OP_FIELD_NUMBER |
static int |
NEW_STATUS_FIELD_NUMBER |
static int |
PARTITIONS_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
SUBSCRIPTIONS_FIELD_NUMBER |
static int |
TIMEOUT_MS_FIELD_NUMBER |
static int |
TXNID_LEAST_BITS_FIELD_NUMBER |
static int |
TXNID_MOST_BITS_FIELD_NUMBER |
newRepeatedGeneratedExtension, newSingularGeneratedExtensiontoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int METADATA_OP_FIELD_NUMBER
public static final int TXNID_LEAST_BITS_FIELD_NUMBER
public static final int TXNID_MOST_BITS_FIELD_NUMBER
public static final int EXPECTED_STATUS_FIELD_NUMBER
public static final int NEW_STATUS_FIELD_NUMBER
public static final int PARTITIONS_FIELD_NUMBER
public static final int SUBSCRIPTIONS_FIELD_NUMBER
public static final int TIMEOUT_MS_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int LAST_MODIFICATION_TIME_FIELD_NUMBER
public void recycle()
public static PulsarTransactionMetadata.TransactionMetadataEntry getDefaultInstance()
public PulsarTransactionMetadata.TransactionMetadataEntry getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic boolean hasMetadataOp()
hasMetadataOp in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic PulsarTransactionMetadata.TransactionMetadataEntry.TransactionMetadataOp getMetadataOp()
getMetadataOp in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic boolean hasTxnidLeastBits()
hasTxnidLeastBits in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic long getTxnidLeastBits()
getTxnidLeastBits in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic boolean hasTxnidMostBits()
hasTxnidMostBits in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic long getTxnidMostBits()
getTxnidMostBits in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic boolean hasExpectedStatus()
hasExpectedStatus in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic PulsarTransactionMetadata.TxnStatus getExpectedStatus()
getExpectedStatus in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic boolean hasNewStatus()
hasNewStatus in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic PulsarTransactionMetadata.TxnStatus getNewStatus()
getNewStatus in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic List<String> getPartitionsList()
getPartitionsList in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic int getPartitionsCount()
getPartitionsCount in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic String getPartitions(int index)
getPartitions in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic List<PulsarApi.Subscription> getSubscriptionsList()
getSubscriptionsList in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic List<? extends PulsarApi.SubscriptionOrBuilder> getSubscriptionsOrBuilderList()
public int getSubscriptionsCount()
getSubscriptionsCount in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic PulsarApi.Subscription getSubscriptions(int index)
getSubscriptions in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic PulsarApi.SubscriptionOrBuilder getSubscriptionsOrBuilder(int index)
public boolean hasTimeoutMs()
hasTimeoutMs in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic long getTimeoutMs()
getTimeoutMs in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic boolean hasStartTime()
hasStartTime in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic long getStartTime()
getStartTime in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic boolean hasLastModificationTime()
hasLastModificationTime in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic long getLastModificationTime()
getLastModificationTime in interface PulsarTransactionMetadata.TransactionMetadataEntryOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic void writeTo(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedOutputStream output) throws IOException
writeTo in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteIOExceptionpublic void writeTo(ByteBufCodedOutputStream output) throws IOException
writeTo in interface ByteBufCodedOutputStream.ByteBufGeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface ByteBufCodedOutputStream.ByteBufGeneratedMessagegetSerializedSize in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLiteObjectStreamExceptionpublic static PulsarTransactionMetadata.TransactionMetadataEntry parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
public static PulsarTransactionMetadata.TransactionMetadataEntry parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
public static PulsarTransactionMetadata.TransactionMetadataEntry parseFrom(byte[] data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
public static PulsarTransactionMetadata.TransactionMetadataEntry parseFrom(byte[] data, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
public static PulsarTransactionMetadata.TransactionMetadataEntry parseFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarTransactionMetadata.TransactionMetadataEntry parseFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarTransactionMetadata.TransactionMetadataEntry parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarTransactionMetadata.TransactionMetadataEntry parseDelimitedFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarTransactionMetadata.TransactionMetadataEntry parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input) throws IOException
IOExceptionpublic static PulsarTransactionMetadata.TransactionMetadataEntry parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarTransactionMetadata.TransactionMetadataEntry.Builder newBuilder()
public PulsarTransactionMetadata.TransactionMetadataEntry.Builder newBuilderForType()
newBuilderForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLitepublic static PulsarTransactionMetadata.TransactionMetadataEntry.Builder newBuilder(PulsarTransactionMetadata.TransactionMetadataEntry prototype)
public PulsarTransactionMetadata.TransactionMetadataEntry.Builder toBuilder()
toBuilder in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteCopyright © 2017–2021 Apache Software Foundation. All rights reserved.