Class BaseCommand
java.lang.Object
org.apache.pulsar.common.api.proto.BaseCommand
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclear()
clearAck()
copyFrom
(BaseCommand _other) getAck()
getError()
getFlow()
getPing()
getPong()
getSeek()
getSend()
int
getType()
boolean
hasAck()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasError()
boolean
hasFlow()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasPing()
boolean
hasPong()
boolean
boolean
boolean
boolean
boolean
hasSeek()
boolean
hasSend()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasType()
boolean
boolean
boolean
boolean
boolean
void
parseFrom
(byte[] a) void
parseFrom
(io.netty.buffer.ByteBuf _buffer, int _size) setAck()
setError()
setFlow()
setPing()
setPong()
setSeek()
setSend()
setType
(BaseCommand.Type type) byte[]
int
writeTo
(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
BaseCommand
public BaseCommand()
-
-
Method Details
-
hasType
public boolean hasType() -
getType
-
setType
-
clearType
-
hasConnect
public boolean hasConnect() -
getConnect
-
setConnect
-
clearConnect
-
hasConnected
public boolean hasConnected() -
getConnected
-
setConnected
-
clearConnected
-
hasSubscribe
public boolean hasSubscribe() -
getSubscribe
-
setSubscribe
-
clearSubscribe
-
hasProducer
public boolean hasProducer() -
getProducer
-
setProducer
-
clearProducer
-
hasSend
public boolean hasSend() -
getSend
-
setSend
-
clearSend
-
hasSendReceipt
public boolean hasSendReceipt() -
getSendReceipt
-
setSendReceipt
-
clearSendReceipt
-
hasSendError
public boolean hasSendError() -
getSendError
-
setSendError
-
clearSendError
-
hasMessage
public boolean hasMessage() -
getMessage
-
setMessage
-
clearMessage
-
hasAck
public boolean hasAck() -
getAck
-
setAck
-
clearAck
-
hasFlow
public boolean hasFlow() -
getFlow
-
setFlow
-
clearFlow
-
hasUnsubscribe
public boolean hasUnsubscribe() -
getUnsubscribe
-
setUnsubscribe
-
clearUnsubscribe
-
hasSuccess
public boolean hasSuccess() -
getSuccess
-
setSuccess
-
clearSuccess
-
hasError
public boolean hasError() -
getError
-
setError
-
clearError
-
hasCloseProducer
public boolean hasCloseProducer() -
getCloseProducer
-
setCloseProducer
-
clearCloseProducer
-
hasCloseConsumer
public boolean hasCloseConsumer() -
getCloseConsumer
-
setCloseConsumer
-
clearCloseConsumer
-
hasProducerSuccess
public boolean hasProducerSuccess() -
getProducerSuccess
-
setProducerSuccess
-
clearProducerSuccess
-
hasPing
public boolean hasPing() -
getPing
-
setPing
-
clearPing
-
hasPong
public boolean hasPong() -
getPong
-
setPong
-
clearPong
-
hasRedeliverUnacknowledgedMessages
public boolean hasRedeliverUnacknowledgedMessages() -
getRedeliverUnacknowledgedMessages
-
setRedeliverUnacknowledgedMessages
-
clearRedeliverUnacknowledgedMessages
-
hasPartitionMetadata
public boolean hasPartitionMetadata() -
getPartitionMetadata
-
setPartitionMetadata
-
clearPartitionMetadata
-
hasPartitionMetadataResponse
public boolean hasPartitionMetadataResponse() -
getPartitionMetadataResponse
-
setPartitionMetadataResponse
-
clearPartitionMetadataResponse
-
hasLookupTopic
public boolean hasLookupTopic() -
getLookupTopic
-
setLookupTopic
-
clearLookupTopic
-
hasLookupTopicResponse
public boolean hasLookupTopicResponse() -
getLookupTopicResponse
-
setLookupTopicResponse
-
clearLookupTopicResponse
-
hasConsumerStats
public boolean hasConsumerStats() -
getConsumerStats
-
setConsumerStats
-
clearConsumerStats
-
hasConsumerStatsResponse
public boolean hasConsumerStatsResponse() -
getConsumerStatsResponse
-
setConsumerStatsResponse
-
clearConsumerStatsResponse
-
hasReachedEndOfTopic
public boolean hasReachedEndOfTopic() -
getReachedEndOfTopic
-
setReachedEndOfTopic
-
clearReachedEndOfTopic
-
hasSeek
public boolean hasSeek() -
getSeek
-
setSeek
-
clearSeek
-
hasGetLastMessageId
public boolean hasGetLastMessageId() -
getGetLastMessageId
-
setGetLastMessageId
-
clearGetLastMessageId
-
hasGetLastMessageIdResponse
public boolean hasGetLastMessageIdResponse() -
getGetLastMessageIdResponse
-
setGetLastMessageIdResponse
-
clearGetLastMessageIdResponse
-
hasActiveConsumerChange
public boolean hasActiveConsumerChange() -
getActiveConsumerChange
-
setActiveConsumerChange
-
clearActiveConsumerChange
-
hasGetTopicsOfNamespace
public boolean hasGetTopicsOfNamespace() -
getGetTopicsOfNamespace
-
setGetTopicsOfNamespace
-
clearGetTopicsOfNamespace
-
hasGetTopicsOfNamespaceResponse
public boolean hasGetTopicsOfNamespaceResponse() -
getGetTopicsOfNamespaceResponse
-
setGetTopicsOfNamespaceResponse
-
clearGetTopicsOfNamespaceResponse
-
hasGetSchema
public boolean hasGetSchema() -
getGetSchema
-
setGetSchema
-
clearGetSchema
-
hasGetSchemaResponse
public boolean hasGetSchemaResponse() -
getGetSchemaResponse
-
setGetSchemaResponse
-
clearGetSchemaResponse
-
hasAuthChallenge
public boolean hasAuthChallenge() -
getAuthChallenge
-
setAuthChallenge
-
clearAuthChallenge
-
hasAuthResponse
public boolean hasAuthResponse() -
getAuthResponse
-
setAuthResponse
-
clearAuthResponse
-
hasAckResponse
public boolean hasAckResponse() -
getAckResponse
-
setAckResponse
-
clearAckResponse
-
hasGetOrCreateSchema
public boolean hasGetOrCreateSchema() -
getGetOrCreateSchema
-
setGetOrCreateSchema
-
clearGetOrCreateSchema
-
hasGetOrCreateSchemaResponse
public boolean hasGetOrCreateSchemaResponse() -
getGetOrCreateSchemaResponse
-
setGetOrCreateSchemaResponse
-
clearGetOrCreateSchemaResponse
-
hasNewTxn
public boolean hasNewTxn() -
getNewTxn
-
setNewTxn
-
clearNewTxn
-
hasNewTxnResponse
public boolean hasNewTxnResponse() -
getNewTxnResponse
-
setNewTxnResponse
-
clearNewTxnResponse
-
hasAddPartitionToTxn
public boolean hasAddPartitionToTxn() -
getAddPartitionToTxn
-
setAddPartitionToTxn
-
clearAddPartitionToTxn
-
hasAddPartitionToTxnResponse
public boolean hasAddPartitionToTxnResponse() -
getAddPartitionToTxnResponse
-
setAddPartitionToTxnResponse
-
clearAddPartitionToTxnResponse
-
hasAddSubscriptionToTxn
public boolean hasAddSubscriptionToTxn() -
getAddSubscriptionToTxn
-
setAddSubscriptionToTxn
-
clearAddSubscriptionToTxn
-
hasAddSubscriptionToTxnResponse
public boolean hasAddSubscriptionToTxnResponse() -
getAddSubscriptionToTxnResponse
-
setAddSubscriptionToTxnResponse
-
clearAddSubscriptionToTxnResponse
-
hasEndTxn
public boolean hasEndTxn() -
getEndTxn
-
setEndTxn
-
clearEndTxn
-
hasEndTxnResponse
public boolean hasEndTxnResponse() -
getEndTxnResponse
-
setEndTxnResponse
-
clearEndTxnResponse
-
hasEndTxnOnPartition
public boolean hasEndTxnOnPartition() -
getEndTxnOnPartition
-
setEndTxnOnPartition
-
clearEndTxnOnPartition
-
hasEndTxnOnPartitionResponse
public boolean hasEndTxnOnPartitionResponse() -
getEndTxnOnPartitionResponse
-
setEndTxnOnPartitionResponse
-
clearEndTxnOnPartitionResponse
-
hasEndTxnOnSubscription
public boolean hasEndTxnOnSubscription() -
getEndTxnOnSubscription
-
setEndTxnOnSubscription
-
clearEndTxnOnSubscription
-
hasEndTxnOnSubscriptionResponse
public boolean hasEndTxnOnSubscriptionResponse() -
getEndTxnOnSubscriptionResponse
-
setEndTxnOnSubscriptionResponse
-
clearEndTxnOnSubscriptionResponse
-
hasTcClientConnectRequest
public boolean hasTcClientConnectRequest() -
getTcClientConnectRequest
-
setTcClientConnectRequest
-
clearTcClientConnectRequest
-
hasTcClientConnectResponse
public boolean hasTcClientConnectResponse() -
getTcClientConnectResponse
-
setTcClientConnectResponse
-
clearTcClientConnectResponse
-
hasWatchTopicList
public boolean hasWatchTopicList() -
getWatchTopicList
-
setWatchTopicList
-
clearWatchTopicList
-
hasWatchTopicListSuccess
public boolean hasWatchTopicListSuccess() -
getWatchTopicListSuccess
-
setWatchTopicListSuccess
-
clearWatchTopicListSuccess
-
hasWatchTopicUpdate
public boolean hasWatchTopicUpdate() -
getWatchTopicUpdate
-
setWatchTopicUpdate
-
clearWatchTopicUpdate
-
hasWatchTopicListClose
public boolean hasWatchTopicListClose() -
getWatchTopicListClose
-
setWatchTopicListClose
-
clearWatchTopicListClose
-
hasTopicMigrated
public boolean hasTopicMigrated() -
getTopicMigrated
-
setTopicMigrated
-
clearTopicMigrated
-
writeTo
public int writeTo(io.netty.buffer.ByteBuf _b) -
getSerializedSize
public int getSerializedSize() -
parseFrom
public void parseFrom(io.netty.buffer.ByteBuf _buffer, int _size) -
clear
-
copyFrom
-
toByteArray
public byte[] toByteArray() -
parseFrom
public void parseFrom(byte[] a)
-