Package com.google.cloud.oslogin.common
Interface OsLoginProto.PosixAccountOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OsLoginProto.PosixAccount
,OsLoginProto.PosixAccount.Builder
- Enclosing class:
- OsLoginProto
public static interface OsLoginProto.PosixAccountOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAccountId()
Output only.com.google.protobuf.ByteString
getAccountIdBytes()
Output only.String
getGecos()
The GECOS (user information) entry for this account.com.google.protobuf.ByteString
getGecosBytes()
The GECOS (user information) entry for this account.long
getGid()
The default group ID.String
getHomeDirectory()
The path to the home directory for this account.com.google.protobuf.ByteString
getHomeDirectoryBytes()
The path to the home directory for this account.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.OsLoginProto.OperatingSystemType
getOperatingSystemType()
The operating system type where this account applies.int
getOperatingSystemTypeValue()
The operating system type where this account applies.boolean
getPrimary()
Only one POSIX account can be marked as primary.String
getShell()
The path to the logic shell for this account.com.google.protobuf.ByteString
getShellBytes()
The path to the logic shell for this account.String
getSystemId()
System identifier for which account the username or uid applies to.com.google.protobuf.ByteString
getSystemIdBytes()
System identifier for which account the username or uid applies to.long
getUid()
The user ID.String
getUsername()
The username of the POSIX account.com.google.protobuf.ByteString
getUsernameBytes()
The username of the POSIX account.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPrimary
boolean getPrimary()
Only one POSIX account can be marked as primary.
bool primary = 1;
- Returns:
- The primary.
-
getUsername
String getUsername()
The username of the POSIX account.
string username = 2;
- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()
The username of the POSIX account.
string username = 2;
- Returns:
- The bytes for username.
-
getUid
long getUid()
The user ID.
int64 uid = 3;
- Returns:
- The uid.
-
getGid
long getGid()
The default group ID.
int64 gid = 4;
- Returns:
- The gid.
-
getHomeDirectory
String getHomeDirectory()
The path to the home directory for this account.
string home_directory = 5;
- Returns:
- The homeDirectory.
-
getHomeDirectoryBytes
com.google.protobuf.ByteString getHomeDirectoryBytes()
The path to the home directory for this account.
string home_directory = 5;
- Returns:
- The bytes for homeDirectory.
-
getShell
String getShell()
The path to the logic shell for this account.
string shell = 6;
- Returns:
- The shell.
-
getShellBytes
com.google.protobuf.ByteString getShellBytes()
The path to the logic shell for this account.
string shell = 6;
- Returns:
- The bytes for shell.
-
getGecos
String getGecos()
The GECOS (user information) entry for this account.
string gecos = 7;
- Returns:
- The gecos.
-
getGecosBytes
com.google.protobuf.ByteString getGecosBytes()
The GECOS (user information) entry for this account.
string gecos = 7;
- Returns:
- The bytes for gecos.
-
getSystemId
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:
- The systemId.
-
getSystemIdBytes
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;
- Returns:
- The bytes for systemId.
-
getAccountId
String getAccountId()
Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The accountId.
-
getAccountIdBytes
com.google.protobuf.ByteString getAccountIdBytes()
Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for accountId.
-
getOperatingSystemTypeValue
int getOperatingSystemTypeValue()
The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;
- Returns:
- The enum numeric value on the wire for operatingSystemType.
-
getOperatingSystemType
OsLoginProto.OperatingSystemType getOperatingSystemType()
The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;
- Returns:
- The operatingSystemType.
-
getName
String getName()
Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
-