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 class
OsLoginProto.PosixAccount.Builder
The 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 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(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 OsLoginProto.PosixAccount
parseFrom(ByteBuffer data)
static OsLoginProto.PosixAccount
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<OsLoginProto.PosixAccount>
parser()
OsLoginProto.PosixAccount.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getPrimary
public boolean getPrimary()
Only one POSIX account can be marked as primary.
bool primary = 1;
- Specified by:
getPrimary
in interfaceOsLoginProto.PosixAccountOrBuilder
- Returns:
- The primary.
-
getUsername
public String getUsername()
The username of the POSIX account.
string username = 2;
- Specified by:
getUsername
in interfaceOsLoginProto.PosixAccountOrBuilder
- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()
The username of the POSIX account.
string username = 2;
- Specified by:
getUsernameBytes
in interfaceOsLoginProto.PosixAccountOrBuilder
- Returns:
- The bytes for username.
-
getUid
public long getUid()
The user ID.
int64 uid = 3;
- Specified by:
getUid
in interfaceOsLoginProto.PosixAccountOrBuilder
- Returns:
- The uid.
-
getGid
public long getGid()
The default group ID.
int64 gid = 4;
- Specified by:
getGid
in interfaceOsLoginProto.PosixAccountOrBuilder
- Returns:
- The gid.
-
getHomeDirectory
public String getHomeDirectory()
The path to the home directory for this account.
string home_directory = 5;
- Specified by:
getHomeDirectory
in 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:
getHomeDirectoryBytes
in 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:
getShell
in 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:
getShellBytes
in interfaceOsLoginProto.PosixAccountOrBuilder
- Returns:
- The bytes for shell.
-
getGecos
public String getGecos()
The GECOS (user information) entry for this account.
string gecos = 7;
- Specified by:
getGecos
in 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:
getGecosBytes
in 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:
getSystemId
in 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:
getSystemIdBytes
in 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:
getAccountId
in 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:
getAccountIdBytes
in 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:
getOperatingSystemTypeValue
in 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:
getOperatingSystemType
in 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:
getName
in 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:
getNameBytes
in interfaceOsLoginProto.PosixAccountOrBuilder
- Returns:
- The bytes for name.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OsLoginProto.PosixAccount.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OsLoginProto.PosixAccount getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-