Class UserInfo

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, UserInfoOrBuilder

    public final class UserInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements UserInfoOrBuilder
    Protobuf type yamcs.protobuf.iam.UserInfo
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.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 class com.google.protobuf.GeneratedMessageV3
      • hasName

        public boolean hasName()
        optional string name = 17;
        Specified by:
        hasName in interface UserInfoOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        optional string name = 17;
        Specified by:
        getNameBytes in interface UserInfoOrBuilder
        Returns:
        The bytes for name.
      • hasDisplayName

        public boolean hasDisplayName()
        optional string displayName = 18;
        Specified by:
        hasDisplayName in interface UserInfoOrBuilder
        Returns:
        Whether the displayName field is set.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
        optional string displayName = 18;
        Specified by:
        getDisplayNameBytes in interface UserInfoOrBuilder
        Returns:
        The bytes for displayName.
      • hasEmail

        public boolean hasEmail()
        optional string email = 19;
        Specified by:
        hasEmail in interface UserInfoOrBuilder
        Returns:
        Whether the email field is set.
      • getEmailBytes

        public com.google.protobuf.ByteString getEmailBytes()
        optional string email = 19;
        Specified by:
        getEmailBytes in interface UserInfoOrBuilder
        Returns:
        The bytes for email.
      • hasActive

        public boolean hasActive()
        optional bool active = 16;
        Specified by:
        hasActive in interface UserInfoOrBuilder
        Returns:
        Whether the active field is set.
      • getActive

        public boolean getActive()
        optional bool active = 16;
        Specified by:
        getActive in interface UserInfoOrBuilder
        Returns:
        The active.
      • hasSuperuser

        public boolean hasSuperuser()
        optional bool superuser = 13;
        Specified by:
        hasSuperuser in interface UserInfoOrBuilder
        Returns:
        Whether the superuser field is set.
      • getSuperuser

        public boolean getSuperuser()
        optional bool superuser = 13;
        Specified by:
        getSuperuser in interface UserInfoOrBuilder
        Returns:
        The superuser.
      • hasCreatedBy

        public boolean hasCreatedBy()
        optional .yamcs.protobuf.iam.UserInfo createdBy = 20;
        Specified by:
        hasCreatedBy in interface UserInfoOrBuilder
        Returns:
        Whether the createdBy field is set.
      • getCreatedBy

        public UserInfo getCreatedBy()
        optional .yamcs.protobuf.iam.UserInfo createdBy = 20;
        Specified by:
        getCreatedBy in interface UserInfoOrBuilder
        Returns:
        The createdBy.
      • hasCreationTime

        public boolean hasCreationTime()
        optional .google.protobuf.Timestamp creationTime = 14;
        Specified by:
        hasCreationTime in interface UserInfoOrBuilder
        Returns:
        Whether the creationTime field is set.
      • getCreationTime

        public com.google.protobuf.Timestamp getCreationTime()
        optional .google.protobuf.Timestamp creationTime = 14;
        Specified by:
        getCreationTime in interface UserInfoOrBuilder
        Returns:
        The creationTime.
      • getCreationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
        optional .google.protobuf.Timestamp creationTime = 14;
        Specified by:
        getCreationTimeOrBuilder in interface UserInfoOrBuilder
      • hasConfirmationTime

        public boolean hasConfirmationTime()
        optional .google.protobuf.Timestamp confirmationTime = 21;
        Specified by:
        hasConfirmationTime in interface UserInfoOrBuilder
        Returns:
        Whether the confirmationTime field is set.
      • getConfirmationTime

        public com.google.protobuf.Timestamp getConfirmationTime()
        optional .google.protobuf.Timestamp confirmationTime = 21;
        Specified by:
        getConfirmationTime in interface UserInfoOrBuilder
        Returns:
        The confirmationTime.
      • getConfirmationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getConfirmationTimeOrBuilder()
        optional .google.protobuf.Timestamp confirmationTime = 21;
        Specified by:
        getConfirmationTimeOrBuilder in interface UserInfoOrBuilder
      • hasLastLoginTime

        public boolean hasLastLoginTime()
        optional .google.protobuf.Timestamp lastLoginTime = 15;
        Specified by:
        hasLastLoginTime in interface UserInfoOrBuilder
        Returns:
        Whether the lastLoginTime field is set.
      • getLastLoginTime

        public com.google.protobuf.Timestamp getLastLoginTime()
        optional .google.protobuf.Timestamp lastLoginTime = 15;
        Specified by:
        getLastLoginTime in interface UserInfoOrBuilder
        Returns:
        The lastLoginTime.
      • getLastLoginTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getLastLoginTimeOrBuilder()
        optional .google.protobuf.Timestamp lastLoginTime = 15;
        Specified by:
        getLastLoginTimeOrBuilder in interface UserInfoOrBuilder
      • getSystemPrivilegeList

        public com.google.protobuf.ProtocolStringList getSystemPrivilegeList()
        repeated string systemPrivilege = 11;
        Specified by:
        getSystemPrivilegeList in interface UserInfoOrBuilder
        Returns:
        A list containing the systemPrivilege.
      • getSystemPrivilegeCount

        public int getSystemPrivilegeCount()
        repeated string systemPrivilege = 11;
        Specified by:
        getSystemPrivilegeCount in interface UserInfoOrBuilder
        Returns:
        The count of systemPrivilege.
      • getSystemPrivilege

        public String getSystemPrivilege​(int index)
        repeated string systemPrivilege = 11;
        Specified by:
        getSystemPrivilege in interface UserInfoOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The systemPrivilege at the given index.
      • getSystemPrivilegeBytes

        public com.google.protobuf.ByteString getSystemPrivilegeBytes​(int index)
        repeated string systemPrivilege = 11;
        Specified by:
        getSystemPrivilegeBytes in interface UserInfoOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the systemPrivilege at the given index.
      • getObjectPrivilegeCount

        public int getObjectPrivilegeCount()
        repeated .yamcs.protobuf.iam.ObjectPrivilegeInfo objectPrivilege = 12;
        Specified by:
        getObjectPrivilegeCount in interface UserInfoOrBuilder
      • getGroupsCount

        public int getGroupsCount()
        repeated .yamcs.protobuf.iam.GroupInfo groups = 22;
        Specified by:
        getGroupsCount in interface UserInfoOrBuilder
      • getIdentitiesCount

        public int getIdentitiesCount()
        repeated .yamcs.protobuf.iam.ExternalIdentityInfo identities = 23;
        Specified by:
        getIdentitiesCount in interface UserInfoOrBuilder
      • getRolesCount

        public int getRolesCount()
        repeated .yamcs.protobuf.iam.RoleInfo roles = 24;
        Specified by:
        getRolesCount in interface UserInfoOrBuilder
      • hasClearance

        public boolean hasClearance()
        optional .yamcs.protobuf.mdb.SignificanceInfo.SignificanceLevelType clearance = 25;
        Specified by:
        hasClearance in interface UserInfoOrBuilder
        Returns:
        Whether the clearance field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static UserInfo parseFrom​(ByteBuffer data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UserInfo parseFrom​(ByteBuffer data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UserInfo parseFrom​(com.google.protobuf.ByteString data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UserInfo parseFrom​(com.google.protobuf.ByteString data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UserInfo parseFrom​(byte[] data)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UserInfo parseFrom​(byte[] data,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UserInfo parseFrom​(com.google.protobuf.CodedInputStream input,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws IOException
        Throws:
        IOException
      • newBuilderForType

        public UserInfo.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public UserInfo.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected UserInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static UserInfo getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<UserInfo> parser()
      • getParserForType

        public com.google.protobuf.Parser<UserInfo> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public UserInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder