Class CommandSubscribe
java.lang.Object
org.apache.pulsar.common.api.proto.CommandSubscribe
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllMetadatas(Iterable<KeyValue> metadatas) addAllSubscriptionProperties(Iterable<KeyValue> subscriptionProperties) clear()copyFrom(CommandSubscribe _other) longlonggetMetadataAt(int idx) intintlongintlongintgetSubscriptionPropertyAt(int idx) getTopic()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasTopic()booleanbooleanbooleanbooleanvoidparseFrom(byte[] a) voidparseFrom(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[]intwriteTo(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)
-