Class CommandActiveConsumerChange
- java.lang.Object
-
- org.apache.pulsar.common.api.proto.CommandActiveConsumerChange
-
public final class CommandActiveConsumerChange extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CommandActiveConsumerChange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandActiveConsumerChangeclear()CommandActiveConsumerChangeclearConsumerId()CommandActiveConsumerChangeclearIsActive()CommandActiveConsumerChangecopyFrom(CommandActiveConsumerChange _other)longgetConsumerId()intgetSerializedSize()booleanhasConsumerId()booleanhasIsActive()booleanisIsActive()voidparseFrom(byte[] a)voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size)CommandActiveConsumerChangesetConsumerId(long consumerId)CommandActiveConsumerChangesetIsActive(boolean isActive)byte[]toByteArray()intwriteTo(io.netty.buffer.ByteBuf _b)
-
-
-
Method Detail
-
hasConsumerId
public boolean hasConsumerId()
-
getConsumerId
public long getConsumerId()
-
setConsumerId
public CommandActiveConsumerChange setConsumerId(long consumerId)
-
clearConsumerId
public CommandActiveConsumerChange clearConsumerId()
-
hasIsActive
public boolean hasIsActive()
-
isIsActive
public boolean isIsActive()
-
setIsActive
public CommandActiveConsumerChange setIsActive(boolean isActive)
-
clearIsActive
public CommandActiveConsumerChange clearIsActive()
-
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 CommandActiveConsumerChange clear()
-
copyFrom
public CommandActiveConsumerChange copyFrom(CommandActiveConsumerChange _other)
-
toByteArray
public byte[] toByteArray()
-
parseFrom
public void parseFrom(byte[] a)
-
-