Class OAuth2ConnectionMessages.OAuth2AuthResponseMessage
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.seeq.link.messages.connector.oauth2.OAuth2ConnectionMessages.OAuth2AuthResponseMessage
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,OAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
,Serializable
- Enclosing class:
- OAuth2ConnectionMessages
public static final class OAuth2ConnectionMessages.OAuth2AuthResponseMessage
extends com.google.protobuf.GeneratedMessageV3
implements OAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
Protobuf type
com.seeq.link.messages.connector.oauth2.OAuth2AuthResponseMessage
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Protobuf typecom.seeq.link.messages.connector.oauth2.OAuth2AuthResponseMessage
static final class
Message encapsulating the group information sent back from AD for the logged in userstatic interface
Nested 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 int
static final int
static final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<OAuth2ConnectionMessages.OAuth2AuthResponseMessage>
Deprecated.static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
optional string accessToken = 7;
com.google.protobuf.ByteString
optional string accessToken = 7;
boolean
required bool authenticated = 1;
static final com.google.protobuf.Descriptors.Descriptor
optional string emailAddress = 6;
com.google.protobuf.ByteString
optional string emailAddress = 6;
optional .com.seeq.link.messages.ErrorInfo errorInfo = 8;
optional .com.seeq.link.messages.ErrorInfo errorInfo = 8;
optional string firstName = 4;
com.google.protobuf.ByteString
optional string firstName = 4;
optional string lastName = 5;
com.google.protobuf.ByteString
optional string lastName = 5;
getName()
optional string name = 3;
com.google.protobuf.ByteString
optional string name = 3;
com.google.protobuf.Parser<OAuth2ConnectionMessages.OAuth2AuthResponseMessage>
int
optional string subject = 2;
com.google.protobuf.ByteString
optional string subject = 2;
final com.google.protobuf.UnknownFieldSet
getUserGroup
(int index) users groups of the authenticated userint
users groups of the authenticated userusers groups of the authenticated usergetUserGroupOrBuilder
(int index) users groups of the authenticated userusers groups of the authenticated userboolean
Tells if the user groups of the user were provided in the responseboolean
optional string accessToken = 7;
boolean
required bool authenticated = 1;
boolean
optional string emailAddress = 6;
boolean
optional .com.seeq.link.messages.ErrorInfo errorInfo = 8;
boolean
optional string firstName = 4;
int
hashCode()
boolean
optional string lastName = 5;
boolean
hasName()
optional string name = 3;
boolean
optional string subject = 2;
boolean
Tells if the user groups of the user were provided in the responseprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<OAuth2ConnectionMessages.OAuth2AuthResponseMessage>
parser()
void
writeTo
(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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
AUTHENTICATED_FIELD_NUMBER
public static final int AUTHENTICATED_FIELD_NUMBER- See Also:
-
SUBJECT_FIELD_NUMBER
public static final int SUBJECT_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FIRSTNAME_FIELD_NUMBER
public static final int FIRSTNAME_FIELD_NUMBER- See Also:
-
LASTNAME_FIELD_NUMBER
public static final int LASTNAME_FIELD_NUMBER- See Also:
-
EMAILADDRESS_FIELD_NUMBER
public static final int EMAILADDRESS_FIELD_NUMBER- See Also:
-
ACCESSTOKEN_FIELD_NUMBER
public static final int ACCESSTOKEN_FIELD_NUMBER- See Also:
-
ERRORINFO_FIELD_NUMBER
public static final int ERRORINFO_FIELD_NUMBER- See Also:
-
USERGROUP_FIELD_NUMBER
public static final int USERGROUP_FIELD_NUMBER- See Also:
-
USERGROUPSPROVIDED_FIELD_NUMBER
public static final int USERGROUPSPROVIDED_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OAuth2ConnectionMessages.OAuth2AuthResponseMessage> PARSERDeprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasAuthenticated
public boolean hasAuthenticated()required bool authenticated = 1;
- Specified by:
hasAuthenticated
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- Whether the authenticated field is set.
-
getAuthenticated
public boolean getAuthenticated()required bool authenticated = 1;
- Specified by:
getAuthenticated
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The authenticated.
-
hasSubject
public boolean hasSubject()optional string subject = 2;
- Specified by:
hasSubject
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- Whether the subject field is set.
-
getSubject
optional string subject = 2;
- Specified by:
getSubject
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The subject.
-
getSubjectBytes
public com.google.protobuf.ByteString getSubjectBytes()optional string subject = 2;
- Specified by:
getSubjectBytes
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The bytes for subject.
-
hasName
public boolean hasName()optional string name = 3;
- Specified by:
hasName
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- Whether the name field is set.
-
getName
optional string name = 3;
- Specified by:
getName
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 3;
- Specified by:
getNameBytes
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The bytes for name.
-
hasFirstName
public boolean hasFirstName()optional string firstName = 4;
- Specified by:
hasFirstName
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- Whether the firstName field is set.
-
getFirstName
optional string firstName = 4;
- Specified by:
getFirstName
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The firstName.
-
getFirstNameBytes
public com.google.protobuf.ByteString getFirstNameBytes()optional string firstName = 4;
- Specified by:
getFirstNameBytes
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The bytes for firstName.
-
hasLastName
public boolean hasLastName()optional string lastName = 5;
- Specified by:
hasLastName
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- Whether the lastName field is set.
-
getLastName
optional string lastName = 5;
- Specified by:
getLastName
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The lastName.
-
getLastNameBytes
public com.google.protobuf.ByteString getLastNameBytes()optional string lastName = 5;
- Specified by:
getLastNameBytes
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The bytes for lastName.
-
hasEmailAddress
public boolean hasEmailAddress()optional string emailAddress = 6;
- Specified by:
hasEmailAddress
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- Whether the emailAddress field is set.
-
getEmailAddress
optional string emailAddress = 6;
- Specified by:
getEmailAddress
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The emailAddress.
-
getEmailAddressBytes
public com.google.protobuf.ByteString getEmailAddressBytes()optional string emailAddress = 6;
- Specified by:
getEmailAddressBytes
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The bytes for emailAddress.
-
hasAccessToken
public boolean hasAccessToken()optional string accessToken = 7;
- Specified by:
hasAccessToken
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- Whether the accessToken field is set.
-
getAccessToken
optional string accessToken = 7;
- Specified by:
getAccessToken
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The accessToken.
-
getAccessTokenBytes
public com.google.protobuf.ByteString getAccessTokenBytes()optional string accessToken = 7;
- Specified by:
getAccessTokenBytes
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The bytes for accessToken.
-
hasErrorInfo
public boolean hasErrorInfo()optional .com.seeq.link.messages.ErrorInfo errorInfo = 8;
- Specified by:
hasErrorInfo
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- Whether the errorInfo field is set.
-
getErrorInfo
optional .com.seeq.link.messages.ErrorInfo errorInfo = 8;
- Specified by:
getErrorInfo
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The errorInfo.
-
getErrorInfoOrBuilder
optional .com.seeq.link.messages.ErrorInfo errorInfo = 8;
- Specified by:
getErrorInfoOrBuilder
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
-
getUserGroupList
users groups of the authenticated user
repeated .com.seeq.link.messages.connector.oauth2.OAuth2AuthResponseMessage.UserGroupInfo userGroup = 9;
- Specified by:
getUserGroupList
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
-
getUserGroupOrBuilderList
public List<? extends OAuth2ConnectionMessages.OAuth2AuthResponseMessage.UserGroupInfoOrBuilder> getUserGroupOrBuilderList()users groups of the authenticated user
repeated .com.seeq.link.messages.connector.oauth2.OAuth2AuthResponseMessage.UserGroupInfo userGroup = 9;
- Specified by:
getUserGroupOrBuilderList
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
-
getUserGroupCount
public int getUserGroupCount()users groups of the authenticated user
repeated .com.seeq.link.messages.connector.oauth2.OAuth2AuthResponseMessage.UserGroupInfo userGroup = 9;
- Specified by:
getUserGroupCount
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
-
getUserGroup
users groups of the authenticated user
repeated .com.seeq.link.messages.connector.oauth2.OAuth2AuthResponseMessage.UserGroupInfo userGroup = 9;
- Specified by:
getUserGroup
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
-
getUserGroupOrBuilder
public OAuth2ConnectionMessages.OAuth2AuthResponseMessage.UserGroupInfoOrBuilder getUserGroupOrBuilder(int index) users groups of the authenticated user
repeated .com.seeq.link.messages.connector.oauth2.OAuth2AuthResponseMessage.UserGroupInfo userGroup = 9;
- Specified by:
getUserGroupOrBuilder
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
-
hasUserGroupsProvided
public boolean hasUserGroupsProvided()Tells if the user groups of the user were provided in the response
optional bool userGroupsProvided = 10 [default = false];
- Specified by:
hasUserGroupsProvided
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- Whether the userGroupsProvided field is set.
-
getUserGroupsProvided
public boolean getUserGroupsProvided()Tells if the user groups of the user were provided in the response
optional bool userGroupsProvided = 10 [default = false];
- Specified by:
getUserGroupsProvided
in interfaceOAuth2ConnectionMessages.OAuth2AuthResponseMessageOrBuilder
- Returns:
- The userGroupsProvided.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OAuth2ConnectionMessages.OAuth2AuthResponseMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OAuth2ConnectionMessages.OAuth2AuthResponseMessage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OAuth2ConnectionMessages.OAuth2AuthResponseMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OAuth2ConnectionMessages.OAuth2AuthResponseMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OAuth2ConnectionMessages.OAuth2AuthResponseMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OAuth2ConnectionMessages.OAuth2AuthResponseMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OAuth2ConnectionMessages.OAuth2AuthResponseMessage parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static OAuth2ConnectionMessages.OAuth2AuthResponseMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static OAuth2ConnectionMessages.OAuth2AuthResponseMessage parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static OAuth2ConnectionMessages.OAuth2AuthResponseMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static OAuth2ConnectionMessages.OAuth2AuthResponseMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static OAuth2ConnectionMessages.OAuth2AuthResponseMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static OAuth2ConnectionMessages.OAuth2AuthResponseMessage.Builder newBuilder(OAuth2ConnectionMessages.OAuth2AuthResponseMessage prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OAuth2ConnectionMessages.OAuth2AuthResponseMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
public static com.google.protobuf.Parser<OAuth2ConnectionMessages.OAuth2AuthResponseMessage> parser() -
getParserForType
public com.google.protobuf.Parser<OAuth2ConnectionMessages.OAuth2AuthResponseMessage> getParserForType()- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-