public static final class OsLoginProto.PosixAccount extends com.google.protobuf.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.
|
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| 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 |
NAME_FIELD_NUMBER |
static int |
OPERATING_SYSTEM_TYPE_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 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAccountId()
Output only.
|
com.google.protobuf.ByteString |
getAccountIdBytes()
Output only.
|
static OsLoginProto.PosixAccount |
getDefaultInstance() |
OsLoginProto.PosixAccount |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<OsLoginProto.PosixAccount> |
getParserForType() |
boolean |
getPrimary()
Only one POSIX account can be marked as primary.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OsLoginProto.PosixAccount.Builder |
newBuilder() |
static OsLoginProto.PosixAccount.Builder |
newBuilder(OsLoginProto.PosixAccount prototype) |
OsLoginProto.PosixAccount.Builder |
newBuilderForType() |
protected OsLoginProto.PosixAccount.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static OsLoginProto.PosixAccount |
parseDelimitedFrom(InputStream input) |
static OsLoginProto.PosixAccount |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OsLoginProto.PosixAccount |
parseFrom(byte[] data) |
static OsLoginProto.PosixAccount |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OsLoginProto.PosixAccount |
parseFrom(ByteBuffer data) |
static OsLoginProto.PosixAccount |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OsLoginProto.PosixAccount |
parseFrom(com.google.protobuf.ByteString data) |
static OsLoginProto.PosixAccount |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OsLoginProto.PosixAccount |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OsLoginProto.PosixAccount |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OsLoginProto.PosixAccount |
parseFrom(InputStream input) |
static OsLoginProto.PosixAccount |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OsLoginProto.PosixAccount> |
parser() |
OsLoginProto.PosixAccount.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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 static final int OPERATING_SYSTEM_TYPE_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean getPrimary()
Only one POSIX account can be marked as primary.
bool primary = 1;getPrimary in interface OsLoginProto.PosixAccountOrBuilderpublic String getUsername()
The username of the POSIX account.
string username = 2;getUsername in interface OsLoginProto.PosixAccountOrBuilderpublic com.google.protobuf.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 String getHomeDirectory()
The path to the home directory for this account.
string home_directory = 5;getHomeDirectory in interface OsLoginProto.PosixAccountOrBuilderpublic com.google.protobuf.ByteString getHomeDirectoryBytes()
The path to the home directory for this account.
string home_directory = 5;getHomeDirectoryBytes in interface OsLoginProto.PosixAccountOrBuilderpublic String getShell()
The path to the logic shell for this account.
string shell = 6;getShell in interface OsLoginProto.PosixAccountOrBuilderpublic com.google.protobuf.ByteString getShellBytes()
The path to the logic shell for this account.
string shell = 6;getShellBytes in interface OsLoginProto.PosixAccountOrBuilderpublic String getGecos()
The GECOS (user information) entry for this account.
string gecos = 7;getGecos in interface OsLoginProto.PosixAccountOrBuilderpublic com.google.protobuf.ByteString getGecosBytes()
The GECOS (user information) entry for this account.
string gecos = 7;getGecosBytes in interface OsLoginProto.PosixAccountOrBuilderpublic 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 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;getSystemIdBytes in interface OsLoginProto.PosixAccountOrBuilderpublic String getAccountId()
Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getAccountId in interface OsLoginProto.PosixAccountOrBuilderpublic com.google.protobuf.ByteString getAccountIdBytes()
Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getAccountIdBytes in interface OsLoginProto.PosixAccountOrBuilderpublic int getOperatingSystemTypeValue()
The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;getOperatingSystemTypeValue in interface OsLoginProto.PosixAccountOrBuilderpublic OsLoginProto.OperatingSystemType getOperatingSystemType()
The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;getOperatingSystemType in interface OsLoginProto.PosixAccountOrBuilderpublic String getName()
Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface OsLoginProto.PosixAccountOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface OsLoginProto.PosixAccountOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static OsLoginProto.PosixAccount parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OsLoginProto.PosixAccount parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OsLoginProto.PosixAccount parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OsLoginProto.PosixAccount parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OsLoginProto.PosixAccount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OsLoginProto.PosixAccount parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OsLoginProto.PosixAccount parseFrom(InputStream input) throws IOException
IOExceptionpublic static OsLoginProto.PosixAccount parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OsLoginProto.PosixAccount parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OsLoginProto.PosixAccount parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OsLoginProto.PosixAccount parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OsLoginProto.PosixAccount parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OsLoginProto.PosixAccount.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OsLoginProto.PosixAccount.Builder newBuilder()
public static OsLoginProto.PosixAccount.Builder newBuilder(OsLoginProto.PosixAccount prototype)
public OsLoginProto.PosixAccount.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected OsLoginProto.PosixAccount.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static OsLoginProto.PosixAccount getDefaultInstance()
public static com.google.protobuf.Parser<OsLoginProto.PosixAccount> parser()
public com.google.protobuf.Parser<OsLoginProto.PosixAccount> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OsLoginProto.PosixAccount getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.