Class CommandSubscribe
java.lang.Object
org.apache.pulsar.common.api.proto.CommandSubscribe
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllMetadatas
(Iterable<KeyValue> metadatas) addAllSubscriptionProperties
(Iterable<KeyValue> subscriptionProperties) clear()
copyFrom
(CommandSubscribe _other) long
long
getMetadataAt
(int idx) int
int
long
int
long
int
getSubscriptionPropertyAt
(int idx) getTopic()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasTopic()
boolean
boolean
boolean
boolean
void
parseFrom
(byte[] a) void
parseFrom
(io.netty.buffer.ByteBuf _buffer, int _size) setConsumerEpoch
(long consumerEpoch) setConsumerId
(long consumerId) setConsumerName
(String consumerName) setDurable
(boolean durable) setForceTopicCreation
(boolean forceTopicCreation) setInitialPosition
(CommandSubscribe.InitialPosition initialPosition) setPriorityLevel
(int priorityLevel) setReadCompacted
(boolean readCompacted) setReplicateSubscriptionState
(boolean replicateSubscriptionState) setRequestId
(long requestId) setStartMessageRollbackDurationSec
(long startMessageRollbackDurationSec) setSubscription
(String subscription) setSubType
(CommandSubscribe.SubType subType) byte[]
int
writeTo
(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
CommandSubscribe
public CommandSubscribe()
-
-
Method Details
-
hasTopic
public boolean hasTopic() -
getTopic
-
setTopic
-
clearTopic
-
hasSubscription
public boolean hasSubscription() -
getSubscription
-
setSubscription
-
clearSubscription
-
hasSubType
public boolean hasSubType() -
getSubType
-
setSubType
-
clearSubType
-
hasConsumerId
public boolean hasConsumerId() -
getConsumerId
public long getConsumerId() -
setConsumerId
-
clearConsumerId
-
hasRequestId
public boolean hasRequestId() -
getRequestId
public long getRequestId() -
setRequestId
-
clearRequestId
-
hasConsumerName
public boolean hasConsumerName() -
getConsumerName
-
setConsumerName
-
clearConsumerName
-
hasPriorityLevel
public boolean hasPriorityLevel() -
getPriorityLevel
public int getPriorityLevel() -
setPriorityLevel
-
clearPriorityLevel
-
hasDurable
public boolean hasDurable() -
isDurable
public boolean isDurable() -
setDurable
-
clearDurable
-
hasStartMessageId
public boolean hasStartMessageId() -
getStartMessageId
-
setStartMessageId
-
clearStartMessageId
-
getMetadatasCount
public int getMetadatasCount() -
getMetadataAt
-
getMetadatasList
-
addMetadata
-
addAllMetadatas
-
clearMetadata
-
hasReadCompacted
public boolean hasReadCompacted() -
isReadCompacted
public boolean isReadCompacted() -
setReadCompacted
-
clearReadCompacted
-
hasSchema
public boolean hasSchema() -
getSchema
-
setSchema
-
clearSchema
-
hasInitialPosition
public boolean hasInitialPosition() -
getInitialPosition
-
setInitialPosition
-
clearInitialPosition
-
hasReplicateSubscriptionState
public boolean hasReplicateSubscriptionState() -
isReplicateSubscriptionState
public boolean isReplicateSubscriptionState() -
setReplicateSubscriptionState
-
clearReplicateSubscriptionState
-
hasForceTopicCreation
public boolean hasForceTopicCreation() -
isForceTopicCreation
public boolean isForceTopicCreation() -
setForceTopicCreation
-
clearForceTopicCreation
-
hasStartMessageRollbackDurationSec
public boolean hasStartMessageRollbackDurationSec() -
getStartMessageRollbackDurationSec
public long getStartMessageRollbackDurationSec() -
setStartMessageRollbackDurationSec
-
clearStartMessageRollbackDurationSec
-
getSubscriptionPropertiesCount
public int getSubscriptionPropertiesCount() -
getSubscriptionPropertyAt
-
getSubscriptionPropertiesList
-
addSubscriptionProperty
-
addAllSubscriptionProperties
-
clearSubscriptionProperties
-
hasConsumerEpoch
public boolean hasConsumerEpoch() -
getConsumerEpoch
public long getConsumerEpoch() -
setConsumerEpoch
-
clearConsumerEpoch
-
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)
-