public static final class PulsarApi.CommandAddSubscriptionToTxn extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite implements PulsarApi.CommandAddSubscriptionToTxnOrBuilder, ByteBufCodedOutputStream.ByteBufGeneratedMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
PulsarApi.CommandAddSubscriptionToTxn.Builder |
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 |
REQUEST_ID_FIELD_NUMBER |
static int |
SUBSCRIPTION_FIELD_NUMBER |
static int |
TXNID_LEAST_BITS_FIELD_NUMBER |
static int |
TXNID_MOST_BITS_FIELD_NUMBER |
newRepeatedGeneratedExtension, newSingularGeneratedExtensionpublic static final int REQUEST_ID_FIELD_NUMBER
public static final int TXNID_LEAST_BITS_FIELD_NUMBER
public static final int TXNID_MOST_BITS_FIELD_NUMBER
public static final int SUBSCRIPTION_FIELD_NUMBER
public void recycle()
public static PulsarApi.CommandAddSubscriptionToTxn getDefaultInstance()
public PulsarApi.CommandAddSubscriptionToTxn getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic boolean hasRequestId()
hasRequestId in interface PulsarApi.CommandAddSubscriptionToTxnOrBuilderpublic long getRequestId()
getRequestId in interface PulsarApi.CommandAddSubscriptionToTxnOrBuilderpublic boolean hasTxnidLeastBits()
hasTxnidLeastBits in interface PulsarApi.CommandAddSubscriptionToTxnOrBuilderpublic long getTxnidLeastBits()
getTxnidLeastBits in interface PulsarApi.CommandAddSubscriptionToTxnOrBuilderpublic boolean hasTxnidMostBits()
hasTxnidMostBits in interface PulsarApi.CommandAddSubscriptionToTxnOrBuilderpublic long getTxnidMostBits()
getTxnidMostBits in interface PulsarApi.CommandAddSubscriptionToTxnOrBuilderpublic List<PulsarApi.Subscription> getSubscriptionList()
getSubscriptionList in interface PulsarApi.CommandAddSubscriptionToTxnOrBuilderpublic List<? extends PulsarApi.SubscriptionOrBuilder> getSubscriptionOrBuilderList()
public int getSubscriptionCount()
getSubscriptionCount in interface PulsarApi.CommandAddSubscriptionToTxnOrBuilderpublic PulsarApi.Subscription getSubscription(int index)
getSubscription in interface PulsarApi.CommandAddSubscriptionToTxnOrBuilderpublic PulsarApi.SubscriptionOrBuilder getSubscriptionOrBuilder(int index)
public 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 PulsarApi.CommandAddSubscriptionToTxn parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.CommandAddSubscriptionToTxn 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
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.CommandAddSubscriptionToTxn parseFrom(byte[] data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.CommandAddSubscriptionToTxn parseFrom(byte[] data, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.CommandAddSubscriptionToTxn parseFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.CommandAddSubscriptionToTxn parseFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.CommandAddSubscriptionToTxn parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.CommandAddSubscriptionToTxn parseDelimitedFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.CommandAddSubscriptionToTxn parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input) throws IOException
IOExceptionpublic static PulsarApi.CommandAddSubscriptionToTxn 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 PulsarApi.CommandAddSubscriptionToTxn.Builder newBuilder()
public PulsarApi.CommandAddSubscriptionToTxn.Builder newBuilderForType()
newBuilderForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLitepublic static PulsarApi.CommandAddSubscriptionToTxn.Builder newBuilder(PulsarApi.CommandAddSubscriptionToTxn prototype)
public PulsarApi.CommandAddSubscriptionToTxn.Builder toBuilder()
toBuilder in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteCopyright © 2017–2021 Apache Software Foundation. All rights reserved.