类 CommandUnsubscribe
java.lang.Object
org.apache.pulsar.common.api.proto.CommandUnsubscribe
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clear()copyFrom(CommandUnsubscribe _other) longlongintbooleanbooleanhasForce()booleanbooleanisForce()voidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setConsumerId(long consumerId) setForce(boolean force) setRequestId(long requestId) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
构造器详细资料
-
CommandUnsubscribe
public CommandUnsubscribe()
-
-
方法详细资料
-
hasConsumerId
public boolean hasConsumerId() -
getConsumerId
public long getConsumerId() -
setConsumerId
-
clearConsumerId
-
hasRequestId
public boolean hasRequestId() -
getRequestId
public long getRequestId() -
setRequestId
-
clearRequestId
-
hasForce
public boolean hasForce() -
isForce
public boolean isForce() -
setForce
-
clearForce
-
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)
-