类 CommandSubscribe
- java.lang.Object
-
- org.apache.pulsar.common.api.proto.CommandSubscribe
-
public final class CommandSubscribe extends java.lang.Object
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
CommandSubscribe.InitialPosition
static class
CommandSubscribe.SubType
-
构造器概要
构造器 构造器 说明 CommandSubscribe()
-
方法概要
-
-
-
方法详细资料
-
hasTopic
public boolean hasTopic()
-
getTopic
public java.lang.String getTopic()
-
setTopic
public CommandSubscribe setTopic(java.lang.String topic)
-
clearTopic
public CommandSubscribe clearTopic()
-
hasSubscription
public boolean hasSubscription()
-
getSubscription
public java.lang.String getSubscription()
-
setSubscription
public CommandSubscribe setSubscription(java.lang.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 java.lang.String getConsumerName()
-
setConsumerName
public CommandSubscribe setConsumerName(java.lang.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 java.util.List<KeyValue> getMetadatasList()
-
addMetadata
public KeyValue addMetadata()
-
addAllMetadatas
public CommandSubscribe addAllMetadatas(java.lang.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()
-
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)
-
-