Class MQTT3AuthData
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.baidu.bifromq.plugin.authprovider.type.MQTT3AuthData
- All Implemented Interfaces:
MQTT3AuthDataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class MQTT3AuthData
extends com.google.protobuf.GeneratedMessageV3
implements MQTT3AuthDataOrBuilder
Protobuf type
mqtt3authtypes.MQTT3AuthData- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typemqtt3authtypes.MQTT3AuthDataNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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 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 = 4;string channelId = 8;com.google.protobuf.ByteStringstring channelId = 8;optional string clientId = 5;com.google.protobuf.ByteStringoptional string clientId = 5;static MQTT3AuthDatastatic final com.google.protobuf.Descriptors.DescriptorbooleanMQIsdp is MQTT 3.1com.google.protobuf.Parser<MQTT3AuthData>com.google.protobuf.ByteStringoptional bytes password = 3;string remoteAddr = 6;com.google.protobuf.ByteStringstring remoteAddr = 6;intuint32 remotePort = 7;intfinal com.google.protobuf.UnknownFieldSetoptional string username = 2;com.google.protobuf.ByteStringoptional string username = 2;booleanhasCert()optional bytes cert = 4;booleanoptional string clientId = 5;inthashCode()booleanoptional bytes password = 3;booleanoptional string username = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic MQTT3AuthData.Builderstatic MQTT3AuthData.BuildernewBuilder(MQTT3AuthData prototype) protected MQTT3AuthData.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static MQTT3AuthDataparseDelimitedFrom(InputStream input) static MQTT3AuthDataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MQTT3AuthDataparseFrom(byte[] data) static MQTT3AuthDataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MQTT3AuthDataparseFrom(com.google.protobuf.ByteString data) static MQTT3AuthDataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MQTT3AuthDataparseFrom(com.google.protobuf.CodedInputStream input) static MQTT3AuthDataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MQTT3AuthDataparseFrom(InputStream input) static MQTT3AuthDataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MQTT3AuthDataparseFrom(ByteBuffer data) static MQTT3AuthDataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MQTT3AuthData>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, hasField, hasOneof
-
Field Details
-
ISMQISDP_FIELD_NUMBER
- See Also:
-
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:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getIsMQIsdp
MQIsdp is MQTT 3.1
bool isMQIsdp = 1;- Specified by:
getIsMQIsdpin interfaceMQTT3AuthDataOrBuilder- Returns:
- The isMQIsdp.
-
hasUsername
optional string username = 2;- Specified by:
hasUsernamein interfaceMQTT3AuthDataOrBuilder- Returns:
- Whether the username field is set.
-
getUsername
optional string username = 2;- Specified by:
getUsernamein interfaceMQTT3AuthDataOrBuilder- Returns:
- The username.
-
getUsernameBytes
optional string username = 2;- Specified by:
getUsernameBytesin interfaceMQTT3AuthDataOrBuilder- Returns:
- The bytes for username.
-
hasPassword
optional bytes password = 3;- Specified by:
hasPasswordin interfaceMQTT3AuthDataOrBuilder- Returns:
- Whether the password field is set.
-
getPassword
optional bytes password = 3;- Specified by:
getPasswordin interfaceMQTT3AuthDataOrBuilder- Returns:
- The password.
-
hasCert
optional bytes cert = 4;- Specified by:
hasCertin interfaceMQTT3AuthDataOrBuilder- Returns:
- Whether the cert field is set.
-
getCert
optional bytes cert = 4;- Specified by:
getCertin interfaceMQTT3AuthDataOrBuilder- Returns:
- The cert.
-
hasClientId
optional string clientId = 5;- Specified by:
hasClientIdin interfaceMQTT3AuthDataOrBuilder- Returns:
- Whether the clientId field is set.
-
getClientId
optional string clientId = 5;- Specified by:
getClientIdin interfaceMQTT3AuthDataOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
optional string clientId = 5;- Specified by:
getClientIdBytesin interfaceMQTT3AuthDataOrBuilder- Returns:
- The bytes for clientId.
-
getRemoteAddr
string remoteAddr = 6;- Specified by:
getRemoteAddrin interfaceMQTT3AuthDataOrBuilder- Returns:
- The remoteAddr.
-
getRemoteAddrBytes
string remoteAddr = 6;- Specified by:
getRemoteAddrBytesin interfaceMQTT3AuthDataOrBuilder- Returns:
- The bytes for remoteAddr.
-
getRemotePort
uint32 remotePort = 7;- Specified by:
getRemotePortin interfaceMQTT3AuthDataOrBuilder- Returns:
- The remotePort.
-
getChannelId
string channelId = 8;- Specified by:
getChannelIdin interfaceMQTT3AuthDataOrBuilder- Returns:
- The channelId.
-
getChannelIdBytes
string channelId = 8;- Specified by:
getChannelIdBytesin interfaceMQTT3AuthDataOrBuilder- Returns:
- The bytes for channelId.
-
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 MQTT3AuthData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MQTT3AuthData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MQTT3AuthData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MQTT3AuthData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MQTT3AuthData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MQTT3AuthData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MQTT3AuthData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MQTT3AuthData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static MQTT3AuthData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static MQTT3AuthData 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 MQTT3AuthData.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
-