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| Modifier and Type | Class and Description |
|---|---|
static class |
OsLoginProto.PosixAccount.Builder
The POSIX account information associated with a Google account.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ACCOUNT_ID_FIELD_NUMBER |
static int |
GECOS_FIELD_NUMBER |
static int |
GID_FIELD_NUMBER |
static int |
HOME_DIRECTORY_FIELD_NUMBER |
static int |
PRIMARY_FIELD_NUMBER |
static int |
SHELL_FIELD_NUMBER |
static int |
SYSTEM_ID_FIELD_NUMBER |
static int |
UID_FIELD_NUMBER |
static int |
USERNAME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int PRIMARY_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
public static final int GID_FIELD_NUMBER
public static final int HOME_DIRECTORY_FIELD_NUMBER
public static final int SHELL_FIELD_NUMBER
public static final int GECOS_FIELD_NUMBER
public static final int SYSTEM_ID_FIELD_NUMBER
public static final int ACCOUNT_ID_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public boolean getPrimary()
Only one POSIX account can be marked as primary.
bool primary = 1;getPrimary in interface OsLoginProto.PosixAccountOrBuilderpublic java.lang.String getUsername()
The username of the POSIX account.
string username = 2;getUsername in interface OsLoginProto.PosixAccountOrBuilderpublic ByteString getUsernameBytes()
The username of the POSIX account.
string username = 2;getUsernameBytes in interface OsLoginProto.PosixAccountOrBuilderpublic long getUid()
The user ID.
int64 uid = 3;getUid in interface OsLoginProto.PosixAccountOrBuilderpublic long getGid()
The default group ID.
int64 gid = 4;getGid in interface OsLoginProto.PosixAccountOrBuilderpublic java.lang.String getHomeDirectory()
The path to the home directory for this account.
string home_directory = 5;getHomeDirectory in interface OsLoginProto.PosixAccountOrBuilderpublic ByteString getHomeDirectoryBytes()
The path to the home directory for this account.
string home_directory = 5;getHomeDirectoryBytes in interface OsLoginProto.PosixAccountOrBuilderpublic java.lang.String getShell()
The path to the logic shell for this account.
string shell = 6;getShell in interface OsLoginProto.PosixAccountOrBuilderpublic ByteString getShellBytes()
The path to the logic shell for this account.
string shell = 6;getShellBytes in interface OsLoginProto.PosixAccountOrBuilderpublic java.lang.String getGecos()
The GECOS (user information) entry for this account.
string gecos = 7;getGecos in interface OsLoginProto.PosixAccountOrBuilderpublic ByteString getGecosBytes()
The GECOS (user information) entry for this account.
string gecos = 7;getGecosBytes in interface OsLoginProto.PosixAccountOrBuilderpublic java.lang.String getSystemId()
System identifier for which account the username or uid applies to. By default, the empty value is used.
string system_id = 8;getSystemId in interface OsLoginProto.PosixAccountOrBuilderpublic ByteString getSystemIdBytes()
System identifier for which account the username or uid applies to. By default, the empty value is used.
string system_id = 8;getSystemIdBytes in interface OsLoginProto.PosixAccountOrBuilderpublic java.lang.String getAccountId()
Output only. A POSIX account identifier.
string account_id = 9;getAccountId in interface OsLoginProto.PosixAccountOrBuilderpublic ByteString getAccountIdBytes()
Output only. A POSIX account identifier.
string account_id = 9;getAccountIdBytes in interface OsLoginProto.PosixAccountOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static OsLoginProto.PosixAccount parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OsLoginProto.PosixAccount parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OsLoginProto.PosixAccount parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OsLoginProto.PosixAccount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OsLoginProto.PosixAccount parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OsLoginProto.PosixAccount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static OsLoginProto.PosixAccount parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OsLoginProto.PosixAccount parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static OsLoginProto.PosixAccount parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OsLoginProto.PosixAccount parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static OsLoginProto.PosixAccount parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static OsLoginProto.PosixAccount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic OsLoginProto.PosixAccount.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static OsLoginProto.PosixAccount.Builder newBuilder()
public static OsLoginProto.PosixAccount.Builder newBuilder(OsLoginProto.PosixAccount prototype)
public OsLoginProto.PosixAccount.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected OsLoginProto.PosixAccount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static OsLoginProto.PosixAccount getDefaultInstance()
public static Parser<OsLoginProto.PosixAccount> parser()
public Parser<OsLoginProto.PosixAccount> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public OsLoginProto.PosixAccount getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder