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
@Generated
public interface LoginProfileOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanA map from SSH public key fingerprint to the associated key object.getName()Required.com.google.protobuf.ByteStringRequired.getPosixAccounts(int index) The list of POSIX accounts associated with the user.intThe list of POSIX accounts associated with the user.The list of POSIX accounts associated with the user.getPosixAccountsOrBuilder(int index) The list of POSIX accounts associated with the user.List<? extends OsLoginProto.PosixAccountOrBuilder>The list of POSIX accounts associated with the user.Deprecated.intA map from SSH public key fingerprint to the associated key object.A map from SSH public key fingerprint to the associated key object.getSshPublicKeysOrDefault(String key, OsLoginProto.SshPublicKey defaultValue) A map from SSH public key fingerprint to the associated key object.A map from SSH public key fingerprint to the associated key object.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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
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.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
A map from SSH public key fingerprint to the associated key object.
map<string, .google.cloud.oslogin.common.SshPublicKey> ssh_public_keys = 3;
-