public static final class LoginProfile.Builder extends GeneratedMessageV3.Builder<LoginProfile.Builder> 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 | Method and Description | 
|---|---|
| LoginProfile.Builder | addAllPosixAccounts(java.lang.Iterable<? extends OsLoginProto.PosixAccount> values)
 The list of POSIX accounts associated with the user. | 
| LoginProfile.Builder | addPosixAccounts(int index,
                OsLoginProto.PosixAccount.Builder builderForValue)
 The list of POSIX accounts associated with the user. | 
| LoginProfile.Builder | addPosixAccounts(int index,
                OsLoginProto.PosixAccount value)
 The list of POSIX accounts associated with the user. | 
| LoginProfile.Builder | addPosixAccounts(OsLoginProto.PosixAccount.Builder builderForValue)
 The list of POSIX accounts associated with the user. | 
| LoginProfile.Builder | addPosixAccounts(OsLoginProto.PosixAccount value)
 The list of POSIX accounts associated with the user. | 
| OsLoginProto.PosixAccount.Builder | addPosixAccountsBuilder()
 The list of POSIX accounts associated with the user. | 
| OsLoginProto.PosixAccount.Builder | addPosixAccountsBuilder(int index)
 The list of POSIX accounts associated with the user. | 
| LoginProfile.Builder | addRepeatedField(Descriptors.FieldDescriptor field,
                java.lang.Object value) | 
| LoginProfile | build() | 
| LoginProfile | buildPartial() | 
| LoginProfile.Builder | clear() | 
| LoginProfile.Builder | clearField(Descriptors.FieldDescriptor field) | 
| LoginProfile.Builder | clearName()
 The primary email address that uniquely identifies the user. | 
| LoginProfile.Builder | clearOneof(Descriptors.OneofDescriptor oneof) | 
| LoginProfile.Builder | clearPosixAccounts()
 The list of POSIX accounts associated with the user. | 
| LoginProfile.Builder | clearSshPublicKeys() | 
| LoginProfile.Builder | clearSuspended()
 Indicates if the user is suspended. | 
| LoginProfile.Builder | clone() | 
| boolean | containsSshPublicKeys(java.lang.String key)
 A map from SSH public key fingerprint to the associated key object. | 
| LoginProfile | getDefaultInstanceForType() | 
| static Descriptors.Descriptor | getDescriptor() | 
| Descriptors.Descriptor | getDescriptorForType() | 
| java.util.Map<java.lang.String,OsLoginProto.SshPublicKey> | getMutableSshPublicKeys()Deprecated.  | 
| java.lang.String | getName()
 The primary email address that uniquely identifies the user. | 
| ByteString | getNameBytes()
 The primary email address that uniquely identifies the user. | 
| OsLoginProto.PosixAccount | getPosixAccounts(int index)
 The list of POSIX accounts associated with the user. | 
| OsLoginProto.PosixAccount.Builder | getPosixAccountsBuilder(int index)
 The list of POSIX accounts associated with the user. | 
| java.util.List<OsLoginProto.PosixAccount.Builder> | getPosixAccountsBuilderList()
 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. | 
| 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. | 
| protected GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable() | 
| protected MapField | internalGetMapField(int number) | 
| protected MapField | internalGetMutableMapField(int number) | 
| boolean | isInitialized() | 
| LoginProfile.Builder | mergeFrom(CodedInputStream input,
         ExtensionRegistryLite extensionRegistry) | 
| LoginProfile.Builder | mergeFrom(LoginProfile other) | 
| LoginProfile.Builder | mergeFrom(Message other) | 
| LoginProfile.Builder | mergeUnknownFields(UnknownFieldSet unknownFields) | 
| LoginProfile.Builder | putAllSshPublicKeys(java.util.Map<java.lang.String,OsLoginProto.SshPublicKey> values)
 A map from SSH public key fingerprint to the associated key object. | 
| LoginProfile.Builder | putSshPublicKeys(java.lang.String key,
                OsLoginProto.SshPublicKey value)
 A map from SSH public key fingerprint to the associated key object. | 
| LoginProfile.Builder | removePosixAccounts(int index)
 The list of POSIX accounts associated with the user. | 
| LoginProfile.Builder | removeSshPublicKeys(java.lang.String key)
 A map from SSH public key fingerprint to the associated key object. | 
| LoginProfile.Builder | setField(Descriptors.FieldDescriptor field,
        java.lang.Object value) | 
| LoginProfile.Builder | setName(java.lang.String value)
 The primary email address that uniquely identifies the user. | 
| LoginProfile.Builder | setNameBytes(ByteString value)
 The primary email address that uniquely identifies the user. | 
| LoginProfile.Builder | setPosixAccounts(int index,
                OsLoginProto.PosixAccount.Builder builderForValue)
 The list of POSIX accounts associated with the user. | 
| LoginProfile.Builder | setPosixAccounts(int index,
                OsLoginProto.PosixAccount value)
 The list of POSIX accounts associated with the user. | 
| LoginProfile.Builder | setRepeatedField(Descriptors.FieldDescriptor field,
                int index,
                java.lang.Object value) | 
| LoginProfile.Builder | setSuspended(boolean value)
 Indicates if the user is suspended. | 
| LoginProfile.Builder | setUnknownFields(UnknownFieldSet unknownFields) | 
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3.Builder<LoginProfile.Builder>protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class GeneratedMessageV3.Builder<LoginProfile.Builder>protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<LoginProfile.Builder>public LoginProfile.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<LoginProfile.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<LoginProfile.Builder>public LoginProfile getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic LoginProfile build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic LoginProfile buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic LoginProfile.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<LoginProfile.Builder>public LoginProfile.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<LoginProfile.Builder>public LoginProfile.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<LoginProfile.Builder>public LoginProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<LoginProfile.Builder>public LoginProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<LoginProfile.Builder>public LoginProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<LoginProfile.Builder>public LoginProfile.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<LoginProfile.Builder>public LoginProfile.Builder mergeFrom(LoginProfile other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<LoginProfile.Builder>public LoginProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<LoginProfile.Builder>java.io.IOExceptionpublic 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 LoginProfile.Builder setName(java.lang.String value)
The primary email address that uniquely identifies the user.
string name = 1;public LoginProfile.Builder clearName()
The primary email address that uniquely identifies the user.
string name = 1;public LoginProfile.Builder setNameBytes(ByteString value)
The primary email address that uniquely identifies the user.
string name = 1;public 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 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 LoginProfile.Builder setPosixAccounts(int index, OsLoginProto.PosixAccount value)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;public LoginProfile.Builder setPosixAccounts(int index, OsLoginProto.PosixAccount.Builder builderForValue)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;public LoginProfile.Builder addPosixAccounts(OsLoginProto.PosixAccount value)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;public LoginProfile.Builder addPosixAccounts(int index, OsLoginProto.PosixAccount value)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;public LoginProfile.Builder addPosixAccounts(OsLoginProto.PosixAccount.Builder builderForValue)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;public LoginProfile.Builder addPosixAccounts(int index, OsLoginProto.PosixAccount.Builder builderForValue)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;public LoginProfile.Builder addAllPosixAccounts(java.lang.Iterable<? extends OsLoginProto.PosixAccount> values)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;public LoginProfile.Builder clearPosixAccounts()
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;public LoginProfile.Builder removePosixAccounts(int index)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;public OsLoginProto.PosixAccount.Builder getPosixAccountsBuilder(int index)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;public 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 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 OsLoginProto.PosixAccount.Builder addPosixAccountsBuilder()
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;public OsLoginProto.PosixAccount.Builder addPosixAccountsBuilder(int index)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;public java.util.List<OsLoginProto.PosixAccount.Builder> getPosixAccountsBuilderList()
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;public 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 LoginProfile.Builder clearSshPublicKeys()
public LoginProfile.Builder removeSshPublicKeys(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;@Deprecated public java.util.Map<java.lang.String,OsLoginProto.SshPublicKey> getMutableSshPublicKeys()
public LoginProfile.Builder putSshPublicKeys(java.lang.String key, OsLoginProto.SshPublicKey value)
A map from SSH public key fingerprint to the associated key object.
map<string, .google.cloud.oslogin.common.SshPublicKey> ssh_public_keys = 3;public LoginProfile.Builder putAllSshPublicKeys(java.util.Map<java.lang.String,OsLoginProto.SshPublicKey> values)
A map from SSH public key fingerprint to the associated key object.
map<string, .google.cloud.oslogin.common.SshPublicKey> ssh_public_keys = 3;public 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 LoginProfile.Builder setSuspended(boolean value)
Indicates if the user is suspended. A suspended user cannot log in but their profile information is retained.
bool suspended = 4;public LoginProfile.Builder clearSuspended()
Indicates if the user is suspended. A suspended user cannot log in but their profile information is retained.
bool suspended = 4;public final LoginProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<LoginProfile.Builder>public final LoginProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<LoginProfile.Builder>