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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public boolean getPrimary()
Only one POSIX account can be marked as primary.
bool primary = 1;
getPrimary
in interface OsLoginProto.PosixAccountOrBuilder
public java.lang.String getUsername()
The username of the POSIX account.
string username = 2;
getUsername
in interface OsLoginProto.PosixAccountOrBuilder
public ByteString getUsernameBytes()
The username of the POSIX account.
string username = 2;
getUsernameBytes
in interface OsLoginProto.PosixAccountOrBuilder
public long getUid()
The user ID.
int64 uid = 3;
getUid
in interface OsLoginProto.PosixAccountOrBuilder
public long getGid()
The default group ID.
int64 gid = 4;
getGid
in interface OsLoginProto.PosixAccountOrBuilder
public java.lang.String getHomeDirectory()
The path to the home directory for this account.
string home_directory = 5;
getHomeDirectory
in interface OsLoginProto.PosixAccountOrBuilder
public ByteString getHomeDirectoryBytes()
The path to the home directory for this account.
string home_directory = 5;
getHomeDirectoryBytes
in interface OsLoginProto.PosixAccountOrBuilder
public java.lang.String getShell()
The path to the logic shell for this account.
string shell = 6;
getShell
in interface OsLoginProto.PosixAccountOrBuilder
public ByteString getShellBytes()
The path to the logic shell for this account.
string shell = 6;
getShellBytes
in interface OsLoginProto.PosixAccountOrBuilder
public java.lang.String getGecos()
The GECOS (user information) entry for this account.
string gecos = 7;
getGecos
in interface OsLoginProto.PosixAccountOrBuilder
public ByteString getGecosBytes()
The GECOS (user information) entry for this account.
string gecos = 7;
getGecosBytes
in interface OsLoginProto.PosixAccountOrBuilder
public 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.PosixAccountOrBuilder
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;
getSystemIdBytes
in interface OsLoginProto.PosixAccountOrBuilder
public java.lang.String getAccountId()
Output only. A POSIX account identifier.
string account_id = 9;
getAccountId
in interface OsLoginProto.PosixAccountOrBuilder
public ByteString getAccountIdBytes()
Output only. A POSIX account identifier.
string account_id = 9;
getAccountIdBytes
in interface OsLoginProto.PosixAccountOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static OsLoginProto.PosixAccount parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OsLoginProto.PosixAccount parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OsLoginProto.PosixAccount parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OsLoginProto.PosixAccount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OsLoginProto.PosixAccount parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OsLoginProto.PosixAccount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static OsLoginProto.PosixAccount parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static OsLoginProto.PosixAccount parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static OsLoginProto.PosixAccount parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static OsLoginProto.PosixAccount parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static OsLoginProto.PosixAccount parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static OsLoginProto.PosixAccount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public OsLoginProto.PosixAccount.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static OsLoginProto.PosixAccount.Builder newBuilder()
public static OsLoginProto.PosixAccount.Builder newBuilder(OsLoginProto.PosixAccount prototype)
public OsLoginProto.PosixAccount.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected OsLoginProto.PosixAccount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static OsLoginProto.PosixAccount getDefaultInstance()
public static Parser<OsLoginProto.PosixAccount> parser()
public Parser<OsLoginProto.PosixAccount> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public OsLoginProto.PosixAccount getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder