Class CommandProducer
java.lang.Object
org.apache.pulsar.common.api.proto.CommandProducer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllMetadatas(Iterable<KeyValue> metadatas) clear()copyFrom(CommandProducer _other) longgetEpoch()getMetadataAt(int idx) intlonglongintgetTopic()longbooleanbooleanhasEpoch()booleanbooleanbooleanbooleanbooleanbooleanbooleanhasTopic()booleanbooleanbooleanbooleanbooleanbooleanvoidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setEncrypted(boolean encrypted) setEpoch(long epoch) setInitialSubscriptionName(String initialSubscriptionName) setProducerAccessMode(ProducerAccessMode producerAccessMode) setProducerId(long producerId) setProducerName(String producerName) setRequestId(long requestId) setTopicEpoch(long topicEpoch) setTxnEnabled(boolean txnEnabled) setUserProvidedProducerName(boolean userProvidedProducerName) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
CommandProducer
public CommandProducer()
-
-
Method Details
-
hasTopic
public boolean hasTopic() -
getTopic
-
setTopic
-
clearTopic
-
hasProducerId
public boolean hasProducerId() -
getProducerId
public long getProducerId() -
setProducerId
-
clearProducerId
-
hasRequestId
public boolean hasRequestId() -
getRequestId
public long getRequestId() -
setRequestId
-
clearRequestId
-
hasProducerName
public boolean hasProducerName() -
getProducerName
-
setProducerName
-
clearProducerName
-
hasEncrypted
public boolean hasEncrypted() -
isEncrypted
public boolean isEncrypted() -
setEncrypted
-
clearEncrypted
-
getMetadatasCount
public int getMetadatasCount() -
getMetadataAt
-
getMetadatasList
-
addMetadata
-
addAllMetadatas
-
clearMetadata
-
hasSchema
public boolean hasSchema() -
getSchema
-
setSchema
-
clearSchema
-
hasEpoch
public boolean hasEpoch() -
getEpoch
public long getEpoch() -
setEpoch
-
clearEpoch
-
hasUserProvidedProducerName
public boolean hasUserProvidedProducerName() -
isUserProvidedProducerName
public boolean isUserProvidedProducerName() -
setUserProvidedProducerName
-
clearUserProvidedProducerName
-
hasProducerAccessMode
public boolean hasProducerAccessMode() -
getProducerAccessMode
-
setProducerAccessMode
-
clearProducerAccessMode
-
hasTopicEpoch
public boolean hasTopicEpoch() -
getTopicEpoch
public long getTopicEpoch() -
setTopicEpoch
-
clearTopicEpoch
-
hasTxnEnabled
public boolean hasTxnEnabled() -
isTxnEnabled
public boolean isTxnEnabled() -
setTxnEnabled
-
clearTxnEnabled
-
hasInitialSubscriptionName
public boolean hasInitialSubscriptionName() -
getInitialSubscriptionName
-
setInitialSubscriptionName
-
clearInitialSubscriptionName
-
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)
-