Class CommandSubscribe

java.lang.Object
org.apache.pulsar.common.api.proto.CommandSubscribe

public final class CommandSubscribe extends Object
  • Constructor Details

    • CommandSubscribe

      public CommandSubscribe()
  • Method Details

    • hasTopic

      public boolean hasTopic()
    • getTopic

      public String getTopic()
    • setTopic

      public CommandSubscribe setTopic(String topic)
    • clearTopic

      public CommandSubscribe clearTopic()
    • hasSubscription

      public boolean hasSubscription()
    • getSubscription

      public String getSubscription()
    • setSubscription

      public CommandSubscribe setSubscription(String subscription)
    • clearSubscription

      public CommandSubscribe clearSubscription()
    • hasSubType

      public boolean hasSubType()
    • getSubType

      public CommandSubscribe.SubType getSubType()
    • setSubType

      public CommandSubscribe setSubType(CommandSubscribe.SubType subType)
    • clearSubType

      public CommandSubscribe clearSubType()
    • hasConsumerId

      public boolean hasConsumerId()
    • getConsumerId

      public long getConsumerId()
    • setConsumerId

      public CommandSubscribe setConsumerId(long consumerId)
    • clearConsumerId

      public CommandSubscribe clearConsumerId()
    • hasRequestId

      public boolean hasRequestId()
    • getRequestId

      public long getRequestId()
    • setRequestId

      public CommandSubscribe setRequestId(long requestId)
    • clearRequestId

      public CommandSubscribe clearRequestId()
    • hasConsumerName

      public boolean hasConsumerName()
    • getConsumerName

      public String getConsumerName()
    • setConsumerName

      public CommandSubscribe setConsumerName(String consumerName)
    • clearConsumerName

      public CommandSubscribe clearConsumerName()
    • hasPriorityLevel

      public boolean hasPriorityLevel()
    • getPriorityLevel

      public int getPriorityLevel()
    • setPriorityLevel

      public CommandSubscribe setPriorityLevel(int priorityLevel)
    • clearPriorityLevel

      public CommandSubscribe clearPriorityLevel()
    • hasDurable

      public boolean hasDurable()
    • isDurable

      public boolean isDurable()
    • setDurable

      public CommandSubscribe setDurable(boolean durable)
    • clearDurable

      public CommandSubscribe clearDurable()
    • hasStartMessageId

      public boolean hasStartMessageId()
    • getStartMessageId

      public MessageIdData getStartMessageId()
    • setStartMessageId

      public MessageIdData setStartMessageId()
    • clearStartMessageId

      public CommandSubscribe clearStartMessageId()
    • getMetadatasCount

      public int getMetadatasCount()
    • getMetadataAt

      public KeyValue getMetadataAt(int idx)
    • getMetadatasList

      public List<KeyValue> getMetadatasList()
    • addMetadata

      public KeyValue addMetadata()
    • addAllMetadatas

      public CommandSubscribe addAllMetadatas(Iterable<KeyValue> metadatas)
    • clearMetadata

      public CommandSubscribe clearMetadata()
    • hasReadCompacted

      public boolean hasReadCompacted()
    • isReadCompacted

      public boolean isReadCompacted()
    • setReadCompacted

      public CommandSubscribe setReadCompacted(boolean readCompacted)
    • clearReadCompacted

      public CommandSubscribe clearReadCompacted()
    • hasSchema

      public boolean hasSchema()
    • getSchema

      public Schema getSchema()
    • setSchema

      public Schema setSchema()
    • clearSchema

      public CommandSubscribe clearSchema()
    • hasInitialPosition

      public boolean hasInitialPosition()
    • getInitialPosition

      public CommandSubscribe.InitialPosition getInitialPosition()
    • setInitialPosition

      public CommandSubscribe setInitialPosition(CommandSubscribe.InitialPosition initialPosition)
    • clearInitialPosition

      public CommandSubscribe clearInitialPosition()
    • hasReplicateSubscriptionState

      public boolean hasReplicateSubscriptionState()
    • isReplicateSubscriptionState

      public boolean isReplicateSubscriptionState()
    • setReplicateSubscriptionState

      public CommandSubscribe setReplicateSubscriptionState(boolean replicateSubscriptionState)
    • clearReplicateSubscriptionState

      public CommandSubscribe clearReplicateSubscriptionState()
    • hasForceTopicCreation

      public boolean hasForceTopicCreation()
    • isForceTopicCreation

      public boolean isForceTopicCreation()
    • setForceTopicCreation

      public CommandSubscribe setForceTopicCreation(boolean forceTopicCreation)
    • clearForceTopicCreation

      public CommandSubscribe clearForceTopicCreation()
    • hasStartMessageRollbackDurationSec

      public boolean hasStartMessageRollbackDurationSec()
    • getStartMessageRollbackDurationSec

      public long getStartMessageRollbackDurationSec()
    • setStartMessageRollbackDurationSec

      public CommandSubscribe setStartMessageRollbackDurationSec(long startMessageRollbackDurationSec)
    • clearStartMessageRollbackDurationSec

      public CommandSubscribe clearStartMessageRollbackDurationSec()
    • hasKeySharedMeta

      public boolean hasKeySharedMeta()
    • getKeySharedMeta

      public KeySharedMeta getKeySharedMeta()
    • setKeySharedMeta

      public KeySharedMeta setKeySharedMeta()
    • clearKeySharedMeta

      public CommandSubscribe clearKeySharedMeta()
    • getSubscriptionPropertiesCount

      public int getSubscriptionPropertiesCount()
    • getSubscriptionPropertyAt

      public KeyValue getSubscriptionPropertyAt(int idx)
    • getSubscriptionPropertiesList

      public List<KeyValue> getSubscriptionPropertiesList()
    • addSubscriptionProperty

      public KeyValue addSubscriptionProperty()
    • addAllSubscriptionProperties

      public CommandSubscribe addAllSubscriptionProperties(Iterable<KeyValue> subscriptionProperties)
    • clearSubscriptionProperties

      public CommandSubscribe clearSubscriptionProperties()
    • hasConsumerEpoch

      public boolean hasConsumerEpoch()
    • getConsumerEpoch

      public long getConsumerEpoch()
    • setConsumerEpoch

      public CommandSubscribe setConsumerEpoch(long consumerEpoch)
    • clearConsumerEpoch

      public CommandSubscribe 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

      public CommandSubscribe clear()
    • copyFrom

      public CommandSubscribe copyFrom(CommandSubscribe _other)
    • toByteArray

      public byte[] toByteArray()
    • parseFrom

      public void parseFrom(byte[] a)