Class Success
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.baidu.bifromq.plugin.authprovider.type.Success
- All Implemented Interfaces:
SuccessOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Success
extends com.google.protobuf.GeneratedMessageV3
implements SuccessOrBuilder
Protobuf type
mqtt5authtypes.Success- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typemqtt5authtypes.SuccessNested 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 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 TypeMethodDescriptionbooleancontainsAttrs(String key) additional attributes filled by auth provider plugin which will be copied to ClientInfobooleangetAttrs()Deprecated.intadditional attributes filled by auth provider plugin which will be copied to ClientInfoadditional attributes filled by auth provider plugin which will be copied to ClientInfogetAttrsOrDefault(String key, String defaultValue) additional attributes filled by auth provider plugin which will be copied to ClientInfogetAttrsOrThrow(String key) additional attributes filled by auth provider plugin which will be copied to ClientInfostatic Successstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Success>for mqtt5 request/response use casecom.google.protobuf.ByteStringfor mqtt5 request/response use caseintstring tenantId = 1;com.google.protobuf.ByteStringstring tenantId = 1;string userId = 2;com.google.protobuf.ByteStringstring userId = 2;user properties return back via mqtt5 connackuser properties return back via mqtt5 connackinthashCode()booleanfor mqtt5 request/response use casebooleanuser properties return back via mqtt5 connackprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Success.Builderstatic Success.BuildernewBuilder(Success prototype) protected Success.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SuccessparseDelimitedFrom(InputStream input) static SuccessparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SuccessparseFrom(byte[] data) static SuccessparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SuccessparseFrom(com.google.protobuf.ByteString data) static SuccessparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SuccessparseFrom(com.google.protobuf.CodedInputStream input) static SuccessparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SuccessparseFrom(InputStream input) static SuccessparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SuccessparseFrom(ByteBuffer data) static SuccessparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Success>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, 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
-
TENANTID_FIELD_NUMBER
- See Also:
-
USERID_FIELD_NUMBER
- See Also:
-
ATTRS_FIELD_NUMBER
- See Also:
-
RESPONSEINFO_FIELD_NUMBER
- See Also:
-
USERPROPS_FIELD_NUMBER
- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
-
internalGetMapFieldReflection
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTenantId
string tenantId = 1;- Specified by:
getTenantIdin interfaceSuccessOrBuilder- Returns:
- The tenantId.
-
getTenantIdBytes
string tenantId = 1;- Specified by:
getTenantIdBytesin interfaceSuccessOrBuilder- Returns:
- The bytes for tenantId.
-
getUserId
string userId = 2;- Specified by:
getUserIdin interfaceSuccessOrBuilder- Returns:
- The userId.
-
getUserIdBytes
string userId = 2;- Specified by:
getUserIdBytesin interfaceSuccessOrBuilder- Returns:
- The bytes for userId.
-
getAttrsCount
Description copied from interface:SuccessOrBuilderadditional attributes filled by auth provider plugin which will be copied to ClientInfo
map<string, string> attrs = 3;- Specified by:
getAttrsCountin interfaceSuccessOrBuilder
-
containsAttrs
additional attributes filled by auth provider plugin which will be copied to ClientInfo
map<string, string> attrs = 3;- Specified by:
containsAttrsin interfaceSuccessOrBuilder
-
getAttrs
Deprecated.UsegetAttrsMap()instead.- Specified by:
getAttrsin interfaceSuccessOrBuilder
-
getAttrsMap
additional attributes filled by auth provider plugin which will be copied to ClientInfo
map<string, string> attrs = 3;- Specified by:
getAttrsMapin interfaceSuccessOrBuilder
-
getAttrsOrDefault
additional attributes filled by auth provider plugin which will be copied to ClientInfo
map<string, string> attrs = 3;- Specified by:
getAttrsOrDefaultin interfaceSuccessOrBuilder
-
getAttrsOrThrow
additional attributes filled by auth provider plugin which will be copied to ClientInfo
map<string, string> attrs = 3;- Specified by:
getAttrsOrThrowin interfaceSuccessOrBuilder
-
hasResponseInfo
for mqtt5 request/response use case
optional string ResponseInfo = 4;- Specified by:
hasResponseInfoin interfaceSuccessOrBuilder- Returns:
- Whether the responseInfo field is set.
-
getResponseInfo
for mqtt5 request/response use case
optional string ResponseInfo = 4;- Specified by:
getResponseInfoin interfaceSuccessOrBuilder- Returns:
- The responseInfo.
-
getResponseInfoBytes
for mqtt5 request/response use case
optional string ResponseInfo = 4;- Specified by:
getResponseInfoBytesin interfaceSuccessOrBuilder- Returns:
- The bytes for responseInfo.
-
hasUserProps
user properties return back via mqtt5 connack
.commontype.UserProperties userProps = 5;- Specified by:
hasUserPropsin interfaceSuccessOrBuilder- Returns:
- Whether the userProps field is set.
-
getUserProps
user properties return back via mqtt5 connack
.commontype.UserProperties userProps = 5;- Specified by:
getUserPropsin interfaceSuccessOrBuilder- Returns:
- The userProps.
-
getUserPropsOrBuilder
user properties return back via mqtt5 connack
.commontype.UserProperties userProps = 5;- Specified by:
getUserPropsOrBuilderin interfaceSuccessOrBuilder
-
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 Success parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Success parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Success parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Success parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Success parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Success parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Success parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Success parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Success 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 Success.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
-