Send feedback
Class OsLoginProto.PosixAccount (2.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.7.0 keyboard_arrow_down
public static final class OsLoginProto . PosixAccount extends GeneratedMessageV3 implements OsLoginProto . PosixAccountOrBuilder
The POSIX account information associated with a Google account.
Protobuf type google.cloud.oslogin.common.PosixAccount
Static Fields
ACCOUNT_ID_FIELD_NUMBER
public static final int ACCOUNT_ID_FIELD_NUMBER
Field Value
GECOS_FIELD_NUMBER
public static final int GECOS_FIELD_NUMBER
Field Value
GID_FIELD_NUMBER
public static final int GID_FIELD_NUMBER
Field Value
HOME_DIRECTORY_FIELD_NUMBER
public static final int HOME_DIRECTORY_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
OPERATING_SYSTEM_TYPE_FIELD_NUMBER
public static final int OPERATING_SYSTEM_TYPE_FIELD_NUMBER
Field Value
PRIMARY_FIELD_NUMBER
public static final int PRIMARY_FIELD_NUMBER
Field Value
SHELL_FIELD_NUMBER
public static final int SHELL_FIELD_NUMBER
Field Value
SYSTEM_ID_FIELD_NUMBER
public static final int SYSTEM_ID_FIELD_NUMBER
Field Value
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
Field Value
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static OsLoginProto . PosixAccount getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static OsLoginProto . PosixAccount . Builder newBuilder ()
Returns
newBuilder(OsLoginProto.PosixAccount prototype)
public static OsLoginProto . PosixAccount . Builder newBuilder ( OsLoginProto . PosixAccount prototype )
Parameter
Returns
public static OsLoginProto . PosixAccount parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static OsLoginProto . PosixAccount parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static OsLoginProto . PosixAccount parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OsLoginProto . PosixAccount parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static OsLoginProto . PosixAccount parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OsLoginProto . PosixAccount parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static OsLoginProto . PosixAccount parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static OsLoginProto . PosixAccount parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static OsLoginProto . PosixAccount parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static OsLoginProto . PosixAccount parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static OsLoginProto . PosixAccount parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OsLoginProto . PosixAccount parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<OsLoginProto . PosixAccount > parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getAccountId()
public String getAccountId ()
Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type Description String The accountId.
getAccountIdBytes()
public ByteString getAccountIdBytes ()
Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDefaultInstanceForType()
public OsLoginProto . PosixAccount getDefaultInstanceForType ()
Returns
getGecos()
The GECOS (user information) entry for this account.
string gecos = 7;
Returns
Type Description String The gecos.
getGecosBytes()
public ByteString getGecosBytes ()
The GECOS (user information) entry for this account.
string gecos = 7;
Returns
getGid()
The default group ID.
int64 gid = 4;
Returns
Type Description long The gid.
getHomeDirectory()
public String getHomeDirectory ()
The path to the home directory for this account.
string home_directory = 5;
Returns
Type Description String The homeDirectory.
getHomeDirectoryBytes()
public ByteString getHomeDirectoryBytes ()
The path to the home directory for this account.
string home_directory = 5;
Returns
Type Description ByteString The bytes for homeDirectory.
getName()
Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type Description String The name.
getNameBytes()
public ByteString getNameBytes ()
Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getOperatingSystemType()
public OsLoginProto . OperatingSystemType getOperatingSystemType ()
The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;
Returns
getOperatingSystemTypeValue()
public int getOperatingSystemTypeValue ()
The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;
Returns
Type Description int The enum numeric value on the wire for operatingSystemType.
getParserForType()
public Parser<OsLoginProto . PosixAccount > getParserForType ()
Returns
Overrides
getPrimary()
public boolean getPrimary ()
Only one POSIX account can be marked as primary.
bool primary = 1;
Returns
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getShell()
The path to the logic shell for this account.
string shell = 6;
Returns
Type Description String The shell.
getShellBytes()
public ByteString getShellBytes ()
The path to the logic shell for this account.
string shell = 6;
Returns
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;
Returns
Type Description String The systemId.
getSystemIdBytes()
public ByteString getSystemIdBytes ()
System identifier for which account the username or uid applies to.
By default, the empty value is used.
string system_id = 8;
Returns
getUid()
The user ID.
int64 uid = 3;
Returns
Type Description long The uid.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
getUsername()
public String getUsername ()
The username of the POSIX account.
string username = 2;
Returns
Type Description String The username.
getUsernameBytes()
public ByteString getUsernameBytes ()
The username of the POSIX account.
string username = 2;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public OsLoginProto . PosixAccount . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OsLoginProto . PosixAccount . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public OsLoginProto . PosixAccount . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]