Class CommandProducer
- java.lang.Object
-
- org.apache.pulsar.common.api.proto.CommandProducer
-
public final class CommandProducer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CommandProducer()
-
Method Summary
-
-
-
Method Detail
-
hasTopic
public boolean hasTopic()
-
getTopic
public java.lang.String getTopic()
-
setTopic
public CommandProducer setTopic(java.lang.String topic)
-
clearTopic
public CommandProducer clearTopic()
-
hasProducerId
public boolean hasProducerId()
-
getProducerId
public long getProducerId()
-
setProducerId
public CommandProducer setProducerId(long producerId)
-
clearProducerId
public CommandProducer clearProducerId()
-
hasRequestId
public boolean hasRequestId()
-
getRequestId
public long getRequestId()
-
setRequestId
public CommandProducer setRequestId(long requestId)
-
clearRequestId
public CommandProducer clearRequestId()
-
hasProducerName
public boolean hasProducerName()
-
getProducerName
public java.lang.String getProducerName()
-
setProducerName
public CommandProducer setProducerName(java.lang.String producerName)
-
clearProducerName
public CommandProducer clearProducerName()
-
hasEncrypted
public boolean hasEncrypted()
-
isEncrypted
public boolean isEncrypted()
-
setEncrypted
public CommandProducer setEncrypted(boolean encrypted)
-
clearEncrypted
public CommandProducer clearEncrypted()
-
getMetadatasCount
public int getMetadatasCount()
-
getMetadataAt
public KeyValue getMetadataAt(int idx)
-
getMetadatasList
public java.util.List<KeyValue> getMetadatasList()
-
addMetadata
public KeyValue addMetadata()
-
addAllMetadatas
public CommandProducer addAllMetadatas(java.lang.Iterable<KeyValue> metadatas)
-
clearMetadata
public CommandProducer clearMetadata()
-
hasSchema
public boolean hasSchema()
-
getSchema
public Schema getSchema()
-
setSchema
public Schema setSchema()
-
clearSchema
public CommandProducer clearSchema()
-
hasEpoch
public boolean hasEpoch()
-
getEpoch
public long getEpoch()
-
setEpoch
public CommandProducer setEpoch(long epoch)
-
clearEpoch
public CommandProducer clearEpoch()
-
hasUserProvidedProducerName
public boolean hasUserProvidedProducerName()
-
isUserProvidedProducerName
public boolean isUserProvidedProducerName()
-
setUserProvidedProducerName
public CommandProducer setUserProvidedProducerName(boolean userProvidedProducerName)
-
clearUserProvidedProducerName
public CommandProducer clearUserProvidedProducerName()
-
hasProducerAccessMode
public boolean hasProducerAccessMode()
-
getProducerAccessMode
public ProducerAccessMode getProducerAccessMode()
-
setProducerAccessMode
public CommandProducer setProducerAccessMode(ProducerAccessMode producerAccessMode)
-
clearProducerAccessMode
public CommandProducer clearProducerAccessMode()
-
hasTopicEpoch
public boolean hasTopicEpoch()
-
getTopicEpoch
public long getTopicEpoch()
-
setTopicEpoch
public CommandProducer setTopicEpoch(long topicEpoch)
-
clearTopicEpoch
public CommandProducer clearTopicEpoch()
-
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 CommandProducer clear()
-
copyFrom
public CommandProducer copyFrom(CommandProducer _other)
-
toByteArray
public byte[] toByteArray()
-
parseFrom
public void parseFrom(byte[] a)
-
-