Package com.google.cloud.oslogin.common
Class OsLoginProto.PosixAccount
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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.GeneratedMessageV3 implements OsLoginProto.PosixAccountOrBuilder
The POSIX account information associated with a Google account.
Protobuf typegoogle.cloud.oslogin.common.PosixAccount- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOsLoginProto.PosixAccount.BuilderThe POSIX account information associated with a Google account.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACCOUNT_ID_FIELD_NUMBERstatic intGECOS_FIELD_NUMBERstatic intGID_FIELD_NUMBERstatic intHOME_DIRECTORY_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOPERATING_SYSTEM_TYPE_FIELD_NUMBERstatic intPRIMARY_FIELD_NUMBERstatic intSHELL_FIELD_NUMBERstatic intSYSTEM_ID_FIELD_NUMBERstatic intUID_FIELD_NUMBERstatic intUSERNAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAccountId()Output only.com.google.protobuf.ByteStringgetAccountIdBytes()Output only.static OsLoginProto.PosixAccountgetDefaultInstance()OsLoginProto.PosixAccountgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetGecos()The GECOS (user information) entry for this account.com.google.protobuf.ByteStringgetGecosBytes()The GECOS (user information) entry for this account.longgetGid()The default group ID.StringgetHomeDirectory()The path to the home directory for this account.com.google.protobuf.ByteStringgetHomeDirectoryBytes()The path to the home directory for this account.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.OsLoginProto.OperatingSystemTypegetOperatingSystemType()The operating system type where this account applies.intgetOperatingSystemTypeValue()The operating system type where this account applies.com.google.protobuf.Parser<OsLoginProto.PosixAccount>getParserForType()booleangetPrimary()Only one POSIX account can be marked as primary.intgetSerializedSize()StringgetShell()The path to the logic shell for this account.com.google.protobuf.ByteStringgetShellBytes()The path to the logic shell for this account.StringgetSystemId()System identifier for which account the username or uid applies to.com.google.protobuf.ByteStringgetSystemIdBytes()System identifier for which account the username or uid applies to.longgetUid()The user ID.StringgetUsername()The username of the POSIX account.com.google.protobuf.ByteStringgetUsernameBytes()The username of the POSIX account.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OsLoginProto.PosixAccount.BuildernewBuilder()static OsLoginProto.PosixAccount.BuildernewBuilder(OsLoginProto.PosixAccount prototype)OsLoginProto.PosixAccount.BuildernewBuilderForType()protected OsLoginProto.PosixAccount.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()OsLoginProto.PosixAccount.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PRIMARY_FIELD_NUMBER
public static final int PRIMARY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GID_FIELD_NUMBER
public static final int GID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOME_DIRECTORY_FIELD_NUMBER
public static final int HOME_DIRECTORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHELL_FIELD_NUMBER
public static final int SHELL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GECOS_FIELD_NUMBER
public static final int GECOS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SYSTEM_ID_FIELD_NUMBER
public static final int SYSTEM_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCOUNT_ID_FIELD_NUMBER
public static final int ACCOUNT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPERATING_SYSTEM_TYPE_FIELD_NUMBER
public static final int OPERATING_SYSTEM_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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
public String 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
public String 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
public String 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
public String 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
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:
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
public String 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
public OsLoginProto.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
public String 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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static OsLoginProto.PosixAccount parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OsLoginProto.PosixAccount parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OsLoginProto.PosixAccount parseDelimitedFrom(InputStream input) throws IOException
- 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
public OsLoginProto.PosixAccount.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OsLoginProto.PosixAccount.Builder newBuilder()
-
newBuilder
public static OsLoginProto.PosixAccount.Builder newBuilder(OsLoginProto.PosixAccount prototype)
-
toBuilder
public OsLoginProto.PosixAccount.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OsLoginProto.PosixAccount.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OsLoginProto.PosixAccount getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OsLoginProto.PosixAccount> parser()
-
getParserForType
public com.google.protobuf.Parser<OsLoginProto.PosixAccount> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OsLoginProto.PosixAccount getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-