public final class LoginProfile extends GeneratedMessageV3 implements LoginProfileOrBuilder
The user profile information used for logging in to a virtual machine on Google Compute Engine.Protobuf type
google.cloud.oslogin.v1.LoginProfile| Modifier and Type | Class and Description | 
|---|---|
| static class  | LoginProfile.Builder
 The user profile information used for logging in to a virtual machine on
 Google Compute Engine. | 
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 | NAME_FIELD_NUMBER | 
| static int | POSIX_ACCOUNTS_FIELD_NUMBER | 
| static int | SSH_PUBLIC_KEYS_FIELD_NUMBER | 
| static int | SUSPENDED_FIELD_NUMBER | 
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description | 
|---|---|
| boolean | containsSshPublicKeys(java.lang.String key)
 A map from SSH public key fingerprint to the associated key object. | 
| boolean | equals(java.lang.Object obj) | 
| static LoginProfile | getDefaultInstance() | 
| LoginProfile | getDefaultInstanceForType() | 
| static Descriptors.Descriptor | getDescriptor() | 
| java.lang.String | getName()
 The primary email address that uniquely identifies the user. | 
| ByteString | getNameBytes()
 The primary email address that uniquely identifies the user. | 
| Parser<LoginProfile> | getParserForType() | 
| OsLoginProto.PosixAccount | getPosixAccounts(int index)
 The list of POSIX accounts associated with the user. | 
| int | getPosixAccountsCount()
 The list of POSIX accounts associated with the user. | 
| java.util.List<OsLoginProto.PosixAccount> | getPosixAccountsList()
 The list of POSIX accounts associated with the user. | 
| OsLoginProto.PosixAccountOrBuilder | getPosixAccountsOrBuilder(int index)
 The list of POSIX accounts associated with the user. | 
| java.util.List<? extends OsLoginProto.PosixAccountOrBuilder> | getPosixAccountsOrBuilderList()
 The list of POSIX accounts associated with the user. | 
| int | getSerializedSize() | 
| java.util.Map<java.lang.String,OsLoginProto.SshPublicKey> | getSshPublicKeys()Deprecated.  | 
| int | getSshPublicKeysCount()
 A map from SSH public key fingerprint to the associated key object. | 
| java.util.Map<java.lang.String,OsLoginProto.SshPublicKey> | getSshPublicKeysMap()
 A map from SSH public key fingerprint to the associated key object. | 
| OsLoginProto.SshPublicKey | getSshPublicKeysOrDefault(java.lang.String key,
                         OsLoginProto.SshPublicKey defaultValue)
 A map from SSH public key fingerprint to the associated key object. | 
| OsLoginProto.SshPublicKey | getSshPublicKeysOrThrow(java.lang.String key)
 A map from SSH public key fingerprint to the associated key object. | 
| boolean | getSuspended()
 Indicates if the user is suspended. | 
| UnknownFieldSet | getUnknownFields() | 
| int | hashCode() | 
| protected GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable() | 
| protected MapField | internalGetMapField(int number) | 
| boolean | isInitialized() | 
| static LoginProfile.Builder | newBuilder() | 
| static LoginProfile.Builder | newBuilder(LoginProfile prototype) | 
| LoginProfile.Builder | newBuilderForType() | 
| protected LoginProfile.Builder | newBuilderForType(GeneratedMessageV3.BuilderParent parent) | 
| static LoginProfile | parseDelimitedFrom(java.io.InputStream input) | 
| static LoginProfile | parseDelimitedFrom(java.io.InputStream input,
                  ExtensionRegistryLite extensionRegistry) | 
| static LoginProfile | parseFrom(byte[] data) | 
| static LoginProfile | parseFrom(byte[] data,
         ExtensionRegistryLite extensionRegistry) | 
| static LoginProfile | parseFrom(java.nio.ByteBuffer data) | 
| static LoginProfile | parseFrom(java.nio.ByteBuffer data,
         ExtensionRegistryLite extensionRegistry) | 
| static LoginProfile | parseFrom(ByteString data) | 
| static LoginProfile | parseFrom(ByteString data,
         ExtensionRegistryLite extensionRegistry) | 
| static LoginProfile | parseFrom(CodedInputStream input) | 
| static LoginProfile | parseFrom(CodedInputStream input,
         ExtensionRegistryLite extensionRegistry) | 
| static LoginProfile | parseFrom(java.io.InputStream input) | 
| static LoginProfile | parseFrom(java.io.InputStream input,
         ExtensionRegistryLite extensionRegistry) | 
| static Parser<LoginProfile> | parser() | 
| LoginProfile.Builder | toBuilder() | 
| void | writeTo(CodedOutputStream output) | 
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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 NAME_FIELD_NUMBER
public static final int POSIX_ACCOUNTS_FIELD_NUMBER
public static final int SSH_PUBLIC_KEYS_FIELD_NUMBER
public static final int SUSPENDED_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getName()
The primary email address that uniquely identifies the user.
string name = 1;getName in interface LoginProfileOrBuilderpublic ByteString getNameBytes()
The primary email address that uniquely identifies the user.
string name = 1;getNameBytes in interface LoginProfileOrBuilderpublic java.util.List<OsLoginProto.PosixAccount> getPosixAccountsList()
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;getPosixAccountsList in interface LoginProfileOrBuilderpublic java.util.List<? extends OsLoginProto.PosixAccountOrBuilder> getPosixAccountsOrBuilderList()
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;getPosixAccountsOrBuilderList in interface LoginProfileOrBuilderpublic int getPosixAccountsCount()
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;getPosixAccountsCount in interface LoginProfileOrBuilderpublic OsLoginProto.PosixAccount getPosixAccounts(int index)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;getPosixAccounts in interface LoginProfileOrBuilderpublic OsLoginProto.PosixAccountOrBuilder getPosixAccountsOrBuilder(int index)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;getPosixAccountsOrBuilder in interface LoginProfileOrBuilderpublic int getSshPublicKeysCount()
LoginProfileOrBuilderA map from SSH public key fingerprint to the associated key object.
map<string, .google.cloud.oslogin.common.SshPublicKey> ssh_public_keys = 3;getSshPublicKeysCount in interface LoginProfileOrBuilderpublic boolean containsSshPublicKeys(java.lang.String key)
A map from SSH public key fingerprint to the associated key object.
map<string, .google.cloud.oslogin.common.SshPublicKey> ssh_public_keys = 3;containsSshPublicKeys in interface LoginProfileOrBuilder@Deprecated public java.util.Map<java.lang.String,OsLoginProto.SshPublicKey> getSshPublicKeys()
getSshPublicKeysMap() instead.getSshPublicKeys in interface LoginProfileOrBuilderpublic java.util.Map<java.lang.String,OsLoginProto.SshPublicKey> getSshPublicKeysMap()
A map from SSH public key fingerprint to the associated key object.
map<string, .google.cloud.oslogin.common.SshPublicKey> ssh_public_keys = 3;getSshPublicKeysMap in interface LoginProfileOrBuilderpublic OsLoginProto.SshPublicKey getSshPublicKeysOrDefault(java.lang.String key, OsLoginProto.SshPublicKey defaultValue)
A map from SSH public key fingerprint to the associated key object.
map<string, .google.cloud.oslogin.common.SshPublicKey> ssh_public_keys = 3;getSshPublicKeysOrDefault in interface LoginProfileOrBuilderpublic OsLoginProto.SshPublicKey getSshPublicKeysOrThrow(java.lang.String key)
A map from SSH public key fingerprint to the associated key object.
map<string, .google.cloud.oslogin.common.SshPublicKey> ssh_public_keys = 3;getSshPublicKeysOrThrow in interface LoginProfileOrBuilderpublic boolean getSuspended()
Indicates if the user is suspended. A suspended user cannot log in but their profile information is retained.
bool suspended = 4;getSuspended in interface LoginProfileOrBuilderpublic 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 LoginProfile parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LoginProfile parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LoginProfile parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LoginProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LoginProfile parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LoginProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static LoginProfile parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LoginProfile parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LoginProfile parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LoginProfile parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LoginProfile parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LoginProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LoginProfile.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static LoginProfile.Builder newBuilder()
public static LoginProfile.Builder newBuilder(LoginProfile prototype)
public LoginProfile.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected LoginProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static LoginProfile getDefaultInstance()
public static Parser<LoginProfile> parser()
public Parser<LoginProfile> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public LoginProfile getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder