Package com.google.cloud.oslogin.v1
Interface LoginProfileOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LoginProfile
,LoginProfile.Builder
public interface LoginProfileOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsSshPublicKeys(String key)
A map from SSH public key fingerprint to the associated key object.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.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.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.List<? extends OsLoginProto.PosixAccountOrBuilder>
getPosixAccountsOrBuilderList()
The list of POSIX accounts associated with the user.Map<String,OsLoginProto.SshPublicKey>
getSshPublicKeys()
Deprecated.int
getSshPublicKeysCount()
A map from SSH public key fingerprint to the associated key object.Map<String,OsLoginProto.SshPublicKey>
getSshPublicKeysMap()
A map from SSH public key fingerprint to the associated key object.OsLoginProto.SshPublicKey
getSshPublicKeysOrDefault(String key, OsLoginProto.SshPublicKey defaultValue)
A map from SSH public key fingerprint to the associated key object.OsLoginProto.SshPublicKey
getSshPublicKeysOrThrow(String key)
A map from SSH public key fingerprint to the associated key object.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. A unique user ID.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. A unique user ID.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for name.
-
getPosixAccountsList
List<OsLoginProto.PosixAccount> getPosixAccountsList()
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;
-
getPosixAccounts
OsLoginProto.PosixAccount getPosixAccounts(int index)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;
-
getPosixAccountsCount
int getPosixAccountsCount()
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;
-
getPosixAccountsOrBuilderList
List<? extends OsLoginProto.PosixAccountOrBuilder> getPosixAccountsOrBuilderList()
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;
-
getPosixAccountsOrBuilder
OsLoginProto.PosixAccountOrBuilder getPosixAccountsOrBuilder(int index)
The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;
-
getSshPublicKeysCount
int getSshPublicKeysCount()
A map from SSH public key fingerprint to the associated key object.
map<string, .google.cloud.oslogin.common.SshPublicKey> ssh_public_keys = 3;
-
containsSshPublicKeys
boolean containsSshPublicKeys(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;
-
getSshPublicKeys
@Deprecated Map<String,OsLoginProto.SshPublicKey> getSshPublicKeys()
Deprecated.UsegetSshPublicKeysMap()
instead.
-
getSshPublicKeysMap
Map<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;
-
getSshPublicKeysOrDefault
OsLoginProto.SshPublicKey getSshPublicKeysOrDefault(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;
-
getSshPublicKeysOrThrow
OsLoginProto.SshPublicKey getSshPublicKeysOrThrow(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;
-
-