Interface LoginProfileOrBuilder (2.20.0)

public interface LoginProfileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsSshPublicKeys(String key)

public abstract 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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getName()

public abstract String getName()

Required. A unique user ID.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. A unique user ID.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getPosixAccounts(int index)

public abstract OsLoginProto.PosixAccount getPosixAccounts(int index)

The list of POSIX accounts associated with the user.

repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
OsLoginProto.PosixAccount

getPosixAccountsCount()

public abstract int getPosixAccountsCount()

The list of POSIX accounts associated with the user.

repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;

Returns
TypeDescription
int

getPosixAccountsList()

public abstract List<OsLoginProto.PosixAccount> getPosixAccountsList()

The list of POSIX accounts associated with the user.

repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;

Returns
TypeDescription
List<PosixAccount>

getPosixAccountsOrBuilder(int index)

public abstract OsLoginProto.PosixAccountOrBuilder getPosixAccountsOrBuilder(int index)

The list of POSIX accounts associated with the user.

repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
OsLoginProto.PosixAccountOrBuilder

getPosixAccountsOrBuilderList()

public abstract List<? extends OsLoginProto.PosixAccountOrBuilder> getPosixAccountsOrBuilderList()

The list of POSIX accounts associated with the user.

repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;

Returns
TypeDescription
List<? extends com.google.cloud.oslogin.common.OsLoginProto.PosixAccountOrBuilder>

getSshPublicKeys()

public abstract Map<String,OsLoginProto.SshPublicKey> getSshPublicKeys()
Returns
TypeDescription
Map<String,SshPublicKey>

getSshPublicKeysCount()

public abstract 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;

Returns
TypeDescription
int

getSshPublicKeysMap()

public abstract 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;

Returns
TypeDescription
Map<String,SshPublicKey>

getSshPublicKeysOrDefault(String key, OsLoginProto.SshPublicKey defaultValue)

public abstract 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;

Parameters
NameDescription
keyString
defaultValueOsLoginProto.SshPublicKey
Returns
TypeDescription
OsLoginProto.SshPublicKey

getSshPublicKeysOrThrow(String key)

public abstract 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;

Parameter
NameDescription
keyString
Returns
TypeDescription
OsLoginProto.SshPublicKey