Send feedback
Class OsLoginProto.PosixAccount (2.50.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.50.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACCOUNT_ID_FIELD_NUMBER
public static final int ACCOUNT_ID_FIELD_NUMBER
Field Value
Type
Description
int
GECOS_FIELD_NUMBER
public static final int GECOS_FIELD_NUMBER
Field Value
Type
Description
int
GID_FIELD_NUMBER
public static final int GID_FIELD_NUMBER
Field Value
Type
Description
int
HOME_DIRECTORY_FIELD_NUMBER
public static final int HOME_DIRECTORY_FIELD_NUMBER
Field Value
Type
Description
int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
OPERATING_SYSTEM_TYPE_FIELD_NUMBER
public static final int OPERATING_SYSTEM_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
PRIMARY_FIELD_NUMBER
public static final int PRIMARY_FIELD_NUMBER
Field Value
Type
Description
int
SHELL_FIELD_NUMBER
public static final int SHELL_FIELD_NUMBER
Field Value
Type
Description
int
SYSTEM_ID_FIELD_NUMBER
public static final int SYSTEM_ID_FIELD_NUMBER
Field Value
Type
Description
int
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
Field Value
Type
Description
int
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static OsLoginProto . PosixAccount getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static OsLoginProto . PosixAccount . Builder newBuilder ()
newBuilder(OsLoginProto.PosixAccount prototype)
public static OsLoginProto . PosixAccount . Builder newBuilder ( OsLoginProto . PosixAccount prototype )
public static OsLoginProto . PosixAccount parseDelimitedFrom ( InputStream input )
public static OsLoginProto . PosixAccount parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static OsLoginProto . PosixAccount parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OsLoginProto . PosixAccount parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static OsLoginProto . PosixAccount parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OsLoginProto . PosixAccount parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static OsLoginProto . PosixAccount parseFrom ( CodedInputStream input )
public static OsLoginProto . PosixAccount parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static OsLoginProto . PosixAccount parseFrom ( InputStream input )
public static OsLoginProto . PosixAccount parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static OsLoginProto . PosixAccount parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OsLoginProto . PosixAccount parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<OsLoginProto . PosixAccount > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
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
Type
Description
ByteString
The bytes for accountId.
getDefaultInstanceForType()
public OsLoginProto . PosixAccount getDefaultInstanceForType ()
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
Type
Description
ByteString
The bytes for gecos.
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
Type
Description
ByteString
The bytes for name.
getOperatingSystemType()
public OsLoginProto . OperatingSystemType getOperatingSystemType ()
The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;
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 ()
Overrides
getPrimary()
public boolean getPrimary ()
Only one POSIX account can be marked as primary.
bool primary = 1;
Returns
Type
Description
boolean
The primary.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
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
Type
Description
ByteString
The bytes for shell.
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
Type
Description
ByteString
The bytes for systemId.
getUid()
The user ID.
int64 uid = 3;
Returns
Type
Description
long
The uid.
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
Type
Description
ByteString
The bytes for username.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public OsLoginProto . PosixAccount . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OsLoginProto . PosixAccount . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public OsLoginProto . PosixAccount . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
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."],[],[]]