Class MQTT5AuthData
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.baidu.bifromq.plugin.authprovider.type.MQTT5AuthData
- All Implemented Interfaces:
MQTT5AuthDataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class MQTT5AuthData
extends com.google.protobuf.GeneratedMessageV3
implements MQTT5AuthDataOrBuilder
Protobuf type
mqtt5authtypes.MQTT5AuthData- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typemqtt5authtypes.MQTT5AuthDataNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.ByteStringgetCert()optional bytes cert = 3;string channelId = 7;com.google.protobuf.ByteStringstring channelId = 7;optional string clientId = 4;com.google.protobuf.ByteStringoptional string clientId = 4;static MQTT5AuthDatastatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<MQTT5AuthData>com.google.protobuf.ByteStringoptional bytes password = 2;string remoteAddr = 5;com.google.protobuf.ByteStringstring remoteAddr = 5;intuint32 remotePort = 6;booleanfor MQTT5 request/response use caseintoptional string username = 1;com.google.protobuf.ByteStringoptional string username = 1;.commontype.UserProperties userProps = 9;.commontype.UserProperties userProps = 9;booleanhasCert()optional bytes cert = 3;booleanoptional string clientId = 4;inthashCode()booleanoptional bytes password = 2;booleanoptional string username = 1;boolean.commontype.UserProperties userProps = 9;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic MQTT5AuthData.Builderstatic MQTT5AuthData.BuildernewBuilder(MQTT5AuthData prototype) protected MQTT5AuthData.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static MQTT5AuthDataparseDelimitedFrom(InputStream input) static MQTT5AuthDataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MQTT5AuthDataparseFrom(byte[] data) static MQTT5AuthDataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MQTT5AuthDataparseFrom(com.google.protobuf.ByteString data) static MQTT5AuthDataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MQTT5AuthDataparseFrom(com.google.protobuf.CodedInputStream input) static MQTT5AuthDataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MQTT5AuthDataparseFrom(InputStream input) static MQTT5AuthDataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MQTT5AuthDataparseFrom(ByteBuffer data) static MQTT5AuthDataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MQTT5AuthData>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
USERNAME_FIELD_NUMBER
- See Also:
-
PASSWORD_FIELD_NUMBER
- See Also:
-
CERT_FIELD_NUMBER
- See Also:
-
CLIENTID_FIELD_NUMBER
- See Also:
-
REMOTEADDR_FIELD_NUMBER
- See Also:
-
REMOTEPORT_FIELD_NUMBER
- See Also:
-
CHANNELID_FIELD_NUMBER
- See Also:
-
RESPONSEINFO_FIELD_NUMBER
- See Also:
-
USERPROPS_FIELD_NUMBER
- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasUsername
optional string username = 1;- Specified by:
hasUsernamein interfaceMQTT5AuthDataOrBuilder- Returns:
- Whether the username field is set.
-
getUsername
optional string username = 1;- Specified by:
getUsernamein interfaceMQTT5AuthDataOrBuilder- Returns:
- The username.
-
getUsernameBytes
optional string username = 1;- Specified by:
getUsernameBytesin interfaceMQTT5AuthDataOrBuilder- Returns:
- The bytes for username.
-
hasPassword
optional bytes password = 2;- Specified by:
hasPasswordin interfaceMQTT5AuthDataOrBuilder- Returns:
- Whether the password field is set.
-
getPassword
optional bytes password = 2;- Specified by:
getPasswordin interfaceMQTT5AuthDataOrBuilder- Returns:
- The password.
-
hasCert
optional bytes cert = 3;- Specified by:
hasCertin interfaceMQTT5AuthDataOrBuilder- Returns:
- Whether the cert field is set.
-
getCert
optional bytes cert = 3;- Specified by:
getCertin interfaceMQTT5AuthDataOrBuilder- Returns:
- The cert.
-
hasClientId
optional string clientId = 4;- Specified by:
hasClientIdin interfaceMQTT5AuthDataOrBuilder- Returns:
- Whether the clientId field is set.
-
getClientId
optional string clientId = 4;- Specified by:
getClientIdin interfaceMQTT5AuthDataOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
optional string clientId = 4;- Specified by:
getClientIdBytesin interfaceMQTT5AuthDataOrBuilder- Returns:
- The bytes for clientId.
-
getRemoteAddr
string remoteAddr = 5;- Specified by:
getRemoteAddrin interfaceMQTT5AuthDataOrBuilder- Returns:
- The remoteAddr.
-
getRemoteAddrBytes
string remoteAddr = 5;- Specified by:
getRemoteAddrBytesin interfaceMQTT5AuthDataOrBuilder- Returns:
- The bytes for remoteAddr.
-
getRemotePort
uint32 remotePort = 6;- Specified by:
getRemotePortin interfaceMQTT5AuthDataOrBuilder- Returns:
- The remotePort.
-
getChannelId
string channelId = 7;- Specified by:
getChannelIdin interfaceMQTT5AuthDataOrBuilder- Returns:
- The channelId.
-
getChannelIdBytes
string channelId = 7;- Specified by:
getChannelIdBytesin interfaceMQTT5AuthDataOrBuilder- Returns:
- The bytes for channelId.
-
getResponseInfo
for MQTT5 request/response use case
bool responseInfo = 8;- Specified by:
getResponseInfoin interfaceMQTT5AuthDataOrBuilder- Returns:
- The responseInfo.
-
hasUserProps
.commontype.UserProperties userProps = 9;- Specified by:
hasUserPropsin interfaceMQTT5AuthDataOrBuilder- Returns:
- Whether the userProps field is set.
-
getUserProps
.commontype.UserProperties userProps = 9;- Specified by:
getUserPropsin interfaceMQTT5AuthDataOrBuilder- Returns:
- The userProps.
-
getUserPropsOrBuilder
.commontype.UserProperties userProps = 9;- Specified by:
getUserPropsOrBuilderin interfaceMQTT5AuthDataOrBuilder
-
isInitialized
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MQTT5AuthData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MQTT5AuthData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MQTT5AuthData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MQTT5AuthData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MQTT5AuthData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MQTT5AuthData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MQTT5AuthData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MQTT5AuthData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static MQTT5AuthData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static MQTT5AuthData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MQTT5AuthData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-