Class OsLoginProto.PosixAccount

  • All Implemented Interfaces:
    OsLoginProto.PosixAccountOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
    Enclosing class:
    OsLoginProto

    public static final class OsLoginProto.PosixAccount
    extends com.google.protobuf.GeneratedMessageV3
    implements OsLoginProto.PosixAccountOrBuilder
     The POSIX account information associated with a Google account.
     
    Protobuf type google.cloud.oslogin.common.PosixAccount
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance 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
      • getHomeDirectoryBytes

        public com.google.protobuf.ByteString getHomeDirectoryBytes()
         The path to the home directory for this account.
         
        string home_directory = 5;
        Specified by:
        getHomeDirectoryBytes in interface OsLoginProto.PosixAccountOrBuilder
        Returns:
        The bytes for homeDirectory.
      • getShellBytes

        public com.google.protobuf.ByteString getShellBytes()
         The path to the logic shell for this account.
         
        string shell = 6;
        Specified by:
        getShellBytes in interface OsLoginProto.PosixAccountOrBuilder
        Returns:
        The bytes for shell.
      • getGecosBytes

        public com.google.protobuf.ByteString getGecosBytes()
         The GECOS (user information) entry for this account.
         
        string gecos = 7;
        Specified by:
        getGecosBytes in interface OsLoginProto.PosixAccountOrBuilder
        Returns:
        The bytes for gecos.
      • getSystemId

        public String getSystemId()
         System identifier for which account the username or uid applies to.
         By default, the empty value is used.
         
        string system_id = 8;
        Specified by:
        getSystemId in interface OsLoginProto.PosixAccountOrBuilder
        Returns:
        The systemId.
      • getSystemIdBytes

        public com.google.protobuf.ByteString getSystemIdBytes()
         System identifier for which account the username or uid applies to.
         By default, the empty value is used.
         
        string system_id = 8;
        Specified by:
        getSystemIdBytes in interface OsLoginProto.PosixAccountOrBuilder
        Returns:
        The bytes for systemId.
      • getAccountIdBytes

        public com.google.protobuf.ByteString getAccountIdBytes()
         Output only. A POSIX account identifier.
         
        string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAccountIdBytes in interface OsLoginProto.PosixAccountOrBuilder
        Returns:
        The bytes for accountId.
      • getOperatingSystemTypeValue

        public int getOperatingSystemTypeValue()
         The operating system type where this account applies.
         
        .google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;
        Specified by:
        getOperatingSystemTypeValue in interface OsLoginProto.PosixAccountOrBuilder
        Returns:
        The enum numeric value on the wire for operatingSystemType.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The canonical resource name.
         
        string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface OsLoginProto.PosixAccountOrBuilder
        Returns:
        The bytes for name.
      • 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 OsLoginProto.PosixAccount parseFrom​(ByteBuffer data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

        protected OsLoginProto.PosixAccount.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

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