Class CommandAuthResponse
- java.lang.Object
-
- org.apache.pulsar.common.api.proto.CommandAuthResponse
-
public final class CommandAuthResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CommandAuthResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandAuthResponseclear()CommandAuthResponseclearClientVersion()CommandAuthResponseclearProtocolVersion()CommandAuthResponseclearResponse()CommandAuthResponsecopyFrom(CommandAuthResponse _other)java.lang.StringgetClientVersion()intgetProtocolVersion()AuthDatagetResponse()intgetSerializedSize()booleanhasClientVersion()booleanhasProtocolVersion()booleanhasResponse()voidparseFrom(byte[] a)voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size)CommandAuthResponsesetClientVersion(java.lang.String clientVersion)CommandAuthResponsesetProtocolVersion(int protocolVersion)AuthDatasetResponse()byte[]toByteArray()intwriteTo(io.netty.buffer.ByteBuf _b)
-
-
-
Method Detail
-
hasClientVersion
public boolean hasClientVersion()
-
getClientVersion
public java.lang.String getClientVersion()
-
setClientVersion
public CommandAuthResponse setClientVersion(java.lang.String clientVersion)
-
clearClientVersion
public CommandAuthResponse clearClientVersion()
-
hasResponse
public boolean hasResponse()
-
getResponse
public AuthData getResponse()
-
setResponse
public AuthData setResponse()
-
clearResponse
public CommandAuthResponse clearResponse()
-
hasProtocolVersion
public boolean hasProtocolVersion()
-
getProtocolVersion
public int getProtocolVersion()
-
setProtocolVersion
public CommandAuthResponse setProtocolVersion(int protocolVersion)
-
clearProtocolVersion
public CommandAuthResponse clearProtocolVersion()
-
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 CommandAuthResponse clear()
-
copyFrom
public CommandAuthResponse copyFrom(CommandAuthResponse _other)
-
toByteArray
public byte[] toByteArray()
-
parseFrom
public void parseFrom(byte[] a)
-
-