public static final class PulsarApi.CommandAck extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite implements PulsarApi.CommandAckOrBuilder, ByteBufCodedOutputStream.ByteBufGeneratedMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
PulsarApi.CommandAck.AckType |
static class |
PulsarApi.CommandAck.Builder |
static class |
PulsarApi.CommandAck.ValidationError |
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 |
ACK_TYPE_FIELD_NUMBER |
static int |
CONSUMER_ID_FIELD_NUMBER |
static int |
MESSAGE_ID_FIELD_NUMBER |
static int |
PROPERTIES_FIELD_NUMBER |
static int |
REQUEST_ID_FIELD_NUMBER |
static int |
TXNID_LEAST_BITS_FIELD_NUMBER |
static int |
TXNID_MOST_BITS_FIELD_NUMBER |
static int |
VALIDATION_ERROR_FIELD_NUMBER |
newRepeatedGeneratedExtension, newSingularGeneratedExtensionpublic static final int CONSUMER_ID_FIELD_NUMBER
public static final int ACK_TYPE_FIELD_NUMBER
public static final int MESSAGE_ID_FIELD_NUMBER
public static final int VALIDATION_ERROR_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
public static final int TXNID_LEAST_BITS_FIELD_NUMBER
public static final int TXNID_MOST_BITS_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
public void recycle()
public static PulsarApi.CommandAck getDefaultInstance()
public PulsarApi.CommandAck getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic boolean hasConsumerId()
hasConsumerId in interface PulsarApi.CommandAckOrBuilderpublic long getConsumerId()
getConsumerId in interface PulsarApi.CommandAckOrBuilderpublic boolean hasAckType()
hasAckType in interface PulsarApi.CommandAckOrBuilderpublic PulsarApi.CommandAck.AckType getAckType()
getAckType in interface PulsarApi.CommandAckOrBuilderpublic List<PulsarApi.MessageIdData> getMessageIdList()
getMessageIdList in interface PulsarApi.CommandAckOrBuilderpublic List<? extends PulsarApi.MessageIdDataOrBuilder> getMessageIdOrBuilderList()
public int getMessageIdCount()
getMessageIdCount in interface PulsarApi.CommandAckOrBuilderpublic PulsarApi.MessageIdData getMessageId(int index)
getMessageId in interface PulsarApi.CommandAckOrBuilderpublic PulsarApi.MessageIdDataOrBuilder getMessageIdOrBuilder(int index)
public boolean hasValidationError()
hasValidationError in interface PulsarApi.CommandAckOrBuilderpublic PulsarApi.CommandAck.ValidationError getValidationError()
getValidationError in interface PulsarApi.CommandAckOrBuilderpublic List<PulsarApi.KeyLongValue> getPropertiesList()
getPropertiesList in interface PulsarApi.CommandAckOrBuilderpublic List<? extends PulsarApi.KeyLongValueOrBuilder> getPropertiesOrBuilderList()
public int getPropertiesCount()
getPropertiesCount in interface PulsarApi.CommandAckOrBuilderpublic PulsarApi.KeyLongValue getProperties(int index)
getProperties in interface PulsarApi.CommandAckOrBuilderpublic PulsarApi.KeyLongValueOrBuilder getPropertiesOrBuilder(int index)
public boolean hasTxnidLeastBits()
hasTxnidLeastBits in interface PulsarApi.CommandAckOrBuilderpublic long getTxnidLeastBits()
getTxnidLeastBits in interface PulsarApi.CommandAckOrBuilderpublic boolean hasTxnidMostBits()
hasTxnidMostBits in interface PulsarApi.CommandAckOrBuilderpublic long getTxnidMostBits()
getTxnidMostBits in interface PulsarApi.CommandAckOrBuilderpublic boolean hasRequestId()
hasRequestId in interface PulsarApi.CommandAckOrBuilderpublic long getRequestId()
getRequestId in interface PulsarApi.CommandAckOrBuilderpublic 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.CommandAck 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.CommandAck 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.CommandAck parseFrom(byte[] data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.CommandAck 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.CommandAck parseFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.CommandAck parseFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.CommandAck parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.CommandAck parseDelimitedFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.CommandAck parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input) throws IOException
IOExceptionpublic static PulsarApi.CommandAck 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.CommandAck.Builder newBuilder()
public PulsarApi.CommandAck.Builder newBuilderForType()
newBuilderForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLitepublic static PulsarApi.CommandAck.Builder newBuilder(PulsarApi.CommandAck prototype)
public PulsarApi.CommandAck.Builder toBuilder()
toBuilder in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteCopyright © 2017–2021 Apache Software Foundation. All rights reserved.