public static final class PulsarApi.CommandAddPartitionToTxnResponse extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite implements PulsarApi.CommandAddPartitionToTxnResponseOrBuilder, ByteBufCodedOutputStream.ByteBufGeneratedMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
PulsarApi.CommandAddPartitionToTxnResponse.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 |
ERROR_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static int |
REQUEST_ID_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 ERROR_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public void recycle()
public static PulsarApi.CommandAddPartitionToTxnResponse getDefaultInstance()
public PulsarApi.CommandAddPartitionToTxnResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic boolean hasRequestId()
hasRequestId in interface PulsarApi.CommandAddPartitionToTxnResponseOrBuilderpublic long getRequestId()
getRequestId in interface PulsarApi.CommandAddPartitionToTxnResponseOrBuilderpublic boolean hasTxnidLeastBits()
hasTxnidLeastBits in interface PulsarApi.CommandAddPartitionToTxnResponseOrBuilderpublic long getTxnidLeastBits()
getTxnidLeastBits in interface PulsarApi.CommandAddPartitionToTxnResponseOrBuilderpublic boolean hasTxnidMostBits()
hasTxnidMostBits in interface PulsarApi.CommandAddPartitionToTxnResponseOrBuilderpublic long getTxnidMostBits()
getTxnidMostBits in interface PulsarApi.CommandAddPartitionToTxnResponseOrBuilderpublic boolean hasError()
hasError in interface PulsarApi.CommandAddPartitionToTxnResponseOrBuilderpublic PulsarApi.ServerError getError()
getError in interface PulsarApi.CommandAddPartitionToTxnResponseOrBuilderpublic boolean hasMessage()
hasMessage in interface PulsarApi.CommandAddPartitionToTxnResponseOrBuilderpublic String getMessage()
getMessage in interface PulsarApi.CommandAddPartitionToTxnResponseOrBuilderpublic 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.CommandAddPartitionToTxnResponse 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.CommandAddPartitionToTxnResponse 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.CommandAddPartitionToTxnResponse parseFrom(byte[] data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.CommandAddPartitionToTxnResponse 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.CommandAddPartitionToTxnResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.CommandAddPartitionToTxnResponse parseFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.CommandAddPartitionToTxnResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.CommandAddPartitionToTxnResponse parseDelimitedFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.CommandAddPartitionToTxnResponse parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input) throws IOException
IOExceptionpublic static PulsarApi.CommandAddPartitionToTxnResponse 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.CommandAddPartitionToTxnResponse.Builder newBuilder()
public PulsarApi.CommandAddPartitionToTxnResponse.Builder newBuilderForType()
newBuilderForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLitepublic static PulsarApi.CommandAddPartitionToTxnResponse.Builder newBuilder(PulsarApi.CommandAddPartitionToTxnResponse prototype)
public PulsarApi.CommandAddPartitionToTxnResponse.Builder toBuilder()
toBuilder in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteCopyright © 2017–2021 Apache Software Foundation. All rights reserved.