Package com.google.cloud.oslogin.common
Class OsLoginProto.PosixAccount
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.oslogin.common.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.GeneratedMessage
implements OsLoginProto.PosixAccountOrBuilder
The POSIX account information associated with a Google account.Protobuf type
google.cloud.oslogin.common.PosixAccount- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe POSIX account information associated with a Google account.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.com.google.protobuf.ByteStringOutput only.static OsLoginProto.PosixAccountstatic final com.google.protobuf.Descriptors.DescriptorgetGecos()The GECOS (user information) entry for this account.com.google.protobuf.ByteStringThe GECOS (user information) entry for this account.longgetGid()The default group ID.The path to the home directory for this account.com.google.protobuf.ByteStringThe path to the home directory for this account.getName()Output only.com.google.protobuf.ByteStringOutput only.The operating system type where this account applies.intThe operating system type where this account applies.com.google.protobuf.Parser<OsLoginProto.PosixAccount>booleanOnly one POSIX account can be marked as primary.intgetShell()The path to the logic shell for this account.com.google.protobuf.ByteStringThe path to the logic shell for this account.System identifier for which account the username or uid applies to.com.google.protobuf.ByteStringSystem identifier for which account the username or uid applies to.longgetUid()The user ID.The username of the POSIX account.com.google.protobuf.ByteStringThe username of the POSIX account.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(OsLoginProto.PosixAccount prototype) protected OsLoginProto.PosixAccount.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static OsLoginProto.PosixAccountparseDelimitedFrom(InputStream input) static OsLoginProto.PosixAccountparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OsLoginProto.PosixAccountparseFrom(byte[] data) static OsLoginProto.PosixAccountparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OsLoginProto.PosixAccountparseFrom(com.google.protobuf.ByteString data) static OsLoginProto.PosixAccountparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OsLoginProto.PosixAccountparseFrom(com.google.protobuf.CodedInputStream input) static OsLoginProto.PosixAccountparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OsLoginProto.PosixAccountparseFrom(InputStream input) static OsLoginProto.PosixAccountparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OsLoginProto.PosixAccountparseFrom(ByteBuffer data) static OsLoginProto.PosixAccountparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<OsLoginProto.PosixAccount>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PRIMARY_FIELD_NUMBER
public static final int PRIMARY_FIELD_NUMBER- See Also:
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER- See Also:
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER- See Also:
-
GID_FIELD_NUMBER
public static final int GID_FIELD_NUMBER- See Also:
-
HOME_DIRECTORY_FIELD_NUMBER
public static final int HOME_DIRECTORY_FIELD_NUMBER- See Also:
-
SHELL_FIELD_NUMBER
public static final int SHELL_FIELD_NUMBER- See Also:
-
GECOS_FIELD_NUMBER
public static final int GECOS_FIELD_NUMBER- See Also:
-
SYSTEM_ID_FIELD_NUMBER
public static final int SYSTEM_ID_FIELD_NUMBER- See Also:
-
ACCOUNT_ID_FIELD_NUMBER
public static final int ACCOUNT_ID_FIELD_NUMBER- See Also:
-
OPERATING_SYSTEM_TYPE_FIELD_NUMBER
public static final int OPERATING_SYSTEM_TYPE_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getPrimary
public boolean getPrimary()Only one POSIX account can be marked as primary.
bool primary = 1;- Specified by:
getPrimaryin interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The primary.
-
getUsername
The username of the POSIX account.
string username = 2;- Specified by:
getUsernamein interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()The username of the POSIX account.
string username = 2;- Specified by:
getUsernameBytesin interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The bytes for username.
-
getUid
public long getUid()The user ID.
int64 uid = 3;- Specified by:
getUidin interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The uid.
-
getGid
public long getGid()The default group ID.
int64 gid = 4;- Specified by:
getGidin interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The gid.
-
getHomeDirectory
The path to the home directory for this account.
string home_directory = 5;- Specified by:
getHomeDirectoryin interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The homeDirectory.
-
getHomeDirectoryBytes
public com.google.protobuf.ByteString getHomeDirectoryBytes()The path to the home directory for this account.
string home_directory = 5;- Specified by:
getHomeDirectoryBytesin interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The bytes for homeDirectory.
-
getShell
The path to the logic shell for this account.
string shell = 6;- Specified by:
getShellin interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The shell.
-
getShellBytes
public com.google.protobuf.ByteString getShellBytes()The path to the logic shell for this account.
string shell = 6;- Specified by:
getShellBytesin interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The bytes for shell.
-
getGecos
The GECOS (user information) entry for this account.
string gecos = 7;- Specified by:
getGecosin interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The gecos.
-
getGecosBytes
public com.google.protobuf.ByteString getGecosBytes()The GECOS (user information) entry for this account.
string gecos = 7;- Specified by:
getGecosBytesin interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The bytes for gecos.
-
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:
getSystemIdin interfaceOsLoginProto.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:
getSystemIdBytesin interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The bytes for systemId.
-
getAccountId
Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAccountIdin interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The accountId.
-
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:
getAccountIdBytesin interfaceOsLoginProto.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:
getOperatingSystemTypeValuein interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The enum numeric value on the wire for operatingSystemType.
-
getOperatingSystemType
The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;- Specified by:
getOperatingSystemTypein interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The operatingSystemType.
-
getName
Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceOsLoginProto.PosixAccountOrBuilder- Returns:
- The bytes for name.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OsLoginProto.PosixAccount parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static OsLoginProto.PosixAccount parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static OsLoginProto.PosixAccount parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static OsLoginProto.PosixAccount parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OsLoginProto.PosixAccount.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-