Class ServiceAccountInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.ServiceAccountInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, ServiceAccountInfoOrBuilder

public final class ServiceAccountInfo extends com.google.protobuf.GeneratedMessageV3 implements ServiceAccountInfoOrBuilder
Protobuf type yamcs.protobuf.iam.ServiceAccountInfo
See Also:
  • Field Details

  • Method Details

    • 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()
       Service account name
       
      optional string name = 1;
      Specified by:
      hasName in interface ServiceAccountInfoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Service account name
       
      optional string name = 1;
      Specified by:
      getName in interface ServiceAccountInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

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

      public boolean hasDisplayName()
       Displayed name
       
      optional string displayName = 2;
      Specified by:
      hasDisplayName in interface ServiceAccountInfoOrBuilder
      Returns:
      Whether the displayName field is set.
    • getDisplayName

      public String getDisplayName()
       Displayed name
       
      optional string displayName = 2;
      Specified by:
      getDisplayName in interface ServiceAccountInfoOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Displayed name
       
      optional string displayName = 2;
      Specified by:
      getDisplayNameBytes in interface ServiceAccountInfoOrBuilder
      Returns:
      The bytes for displayName.
    • hasActive

      public boolean hasActive()
       Whether the account may login
       
      optional bool active = 3;
      Specified by:
      hasActive in interface ServiceAccountInfoOrBuilder
      Returns:
      Whether the active field is set.
    • getActive

      public boolean getActive()
       Whether the account may login
       
      optional bool active = 3;
      Specified by:
      getActive in interface ServiceAccountInfoOrBuilder
      Returns:
      The active.
    • hasCreatedBy

      public boolean hasCreatedBy()
       User that created this user account
       
      optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
      Specified by:
      hasCreatedBy in interface ServiceAccountInfoOrBuilder
      Returns:
      Whether the createdBy field is set.
    • getCreatedBy

      public UserInfo getCreatedBy()
       User that created this user account
       
      optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
      Specified by:
      getCreatedBy in interface ServiceAccountInfoOrBuilder
      Returns:
      The createdBy.
    • getCreatedByOrBuilder

      public UserInfoOrBuilder getCreatedByOrBuilder()
       User that created this user account
       
      optional .yamcs.protobuf.iam.UserInfo createdBy = 4;
      Specified by:
      getCreatedByOrBuilder in interface ServiceAccountInfoOrBuilder
    • hasCreationTime

      public boolean hasCreationTime()
       When this user was created
       
      optional .google.protobuf.Timestamp creationTime = 5;
      Specified by:
      hasCreationTime in interface ServiceAccountInfoOrBuilder
      Returns:
      Whether the creationTime field is set.
    • getCreationTime

      public com.google.protobuf.Timestamp getCreationTime()
       When this user was created
       
      optional .google.protobuf.Timestamp creationTime = 5;
      Specified by:
      getCreationTime in interface ServiceAccountInfoOrBuilder
      Returns:
      The creationTime.
    • getCreationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()
       When this user was created
       
      optional .google.protobuf.Timestamp creationTime = 5;
      Specified by:
      getCreationTimeOrBuilder in interface ServiceAccountInfoOrBuilder
    • hasConfirmationTime

      public boolean hasConfirmationTime()
       When this account was first activated
       
      optional .google.protobuf.Timestamp confirmationTime = 6;
      Specified by:
      hasConfirmationTime in interface ServiceAccountInfoOrBuilder
      Returns:
      Whether the confirmationTime field is set.
    • getConfirmationTime

      public com.google.protobuf.Timestamp getConfirmationTime()
       When this account was first activated
       
      optional .google.protobuf.Timestamp confirmationTime = 6;
      Specified by:
      getConfirmationTime in interface ServiceAccountInfoOrBuilder
      Returns:
      The confirmationTime.
    • getConfirmationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getConfirmationTimeOrBuilder()
       When this account was first activated
       
      optional .google.protobuf.Timestamp confirmationTime = 6;
      Specified by:
      getConfirmationTimeOrBuilder in interface ServiceAccountInfoOrBuilder
    • hasLastLoginTime

      public boolean hasLastLoginTime()
       When this account last logged in
       
      optional .google.protobuf.Timestamp lastLoginTime = 7;
      Specified by:
      hasLastLoginTime in interface ServiceAccountInfoOrBuilder
      Returns:
      Whether the lastLoginTime field is set.
    • getLastLoginTime

      public com.google.protobuf.Timestamp getLastLoginTime()
       When this account last logged in
       
      optional .google.protobuf.Timestamp lastLoginTime = 7;
      Specified by:
      getLastLoginTime in interface ServiceAccountInfoOrBuilder
      Returns:
      The lastLoginTime.
    • getLastLoginTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastLoginTimeOrBuilder()
       When this account last logged in
       
      optional .google.protobuf.Timestamp lastLoginTime = 7;
      Specified by:
      getLastLoginTimeOrBuilder in interface ServiceAccountInfoOrBuilder
    • 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 ServiceAccountInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static ServiceAccountInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceAccountInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServiceAccountInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServiceAccountInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceAccountInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

      public static ServiceAccountInfo.Builder newBuilder()
    • newBuilder

      public static ServiceAccountInfo.Builder newBuilder(ServiceAccountInfo prototype)
    • toBuilder

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

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

      public static ServiceAccountInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ServiceAccountInfo> 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 ServiceAccountInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder