Interface LoginProfileOrBuilder (2.43.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
Name Description
key String
Returns
Type Description
boolean

getName()

public abstract String getName()

Required. A unique user ID.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. A unique user ID.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.oslogin.common.OsLoginProto.PosixAccountOrBuilder>

getSshPublicKeys() (deprecated)

public abstract Map<String,OsLoginProto.SshPublicKey> getSshPublicKeys()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue OsLoginProto.SshPublicKey
Returns
Type Description
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
Name Description
key String
Returns
Type Description
OsLoginProto.SshPublicKey