- 2.84.0 (latest)
- 2.82.0
- 2.81.0
- 2.79.0
- 2.77.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.71.0
- 2.69.0
- 2.67.0
- 2.66.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.7
- 2.0.15
public static final class LoginProfile.Builder extends GeneratedMessage.Builder<LoginProfile.Builder> implements LoginProfileOrBuilderThe user profile information used for logging in to a virtual machine on Google Compute Engine.
Protobuf type google.cloud.oslogin.v1.LoginProfile
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LoginProfile.BuilderImplements
LoginProfileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPosixAccounts(Iterable<? extends OsLoginProto.PosixAccount> values)
public LoginProfile.Builder addAllPosixAccounts(Iterable<? extends OsLoginProto.PosixAccount> values)The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.oslogin.common.OsLoginProto.PosixAccount> |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
addPosixAccounts(OsLoginProto.PosixAccount value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
OsLoginProto.PosixAccount |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
addPosixAccounts(OsLoginProto.PosixAccount.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OsLoginProto.PosixAccount.Builder |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
addPosixAccounts(int index, OsLoginProto.PosixAccount value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
OsLoginProto.PosixAccount |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
addPosixAccounts(int index, OsLoginProto.PosixAccount.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
OsLoginProto.PosixAccount.Builder |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
addPosixAccountsBuilder()
public OsLoginProto.PosixAccount.Builder addPosixAccountsBuilder()The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
addPosixAccountsBuilder(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
build()
public LoginProfile build()| Returns | |
|---|---|
| Type | Description |
LoginProfile |
|
buildPartial()
public LoginProfile buildPartial()| Returns | |
|---|---|
| Type | Description |
LoginProfile |
|
clear()
public LoginProfile.Builder clear()| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
clearName()
public LoginProfile.Builder clearName()Required. A unique user ID.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
This builder for chaining. |
clearPosixAccounts()
public LoginProfile.Builder clearPosixAccounts()The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
clearSshPublicKeys()
public LoginProfile.Builder clearSshPublicKeys()| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
containsSshPublicKeys(String key)
public 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 |
|
getDefaultInstanceForType()
public LoginProfile getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LoginProfile |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMutableSshPublicKeys() (deprecated)
public Map<String,OsLoginProto.SshPublicKey> getMutableSshPublicKeys()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,SshPublicKey> |
|
getName()
public String getName()Required. A unique user ID.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public 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 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 |
|
getPosixAccountsBuilder(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
getPosixAccountsBuilderList()
public List<OsLoginProto.PosixAccount.Builder> getPosixAccountsBuilderList()The list of POSIX accounts associated with the user.
repeated .google.cloud.oslogin.common.PosixAccount posix_accounts = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getPosixAccountsCount()
public 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 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 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 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 Map<String,OsLoginProto.SshPublicKey> getSshPublicKeys()Use #getSshPublicKeysMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,SshPublicKey> |
|
getSshPublicKeysCount()
public 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 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 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 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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LoginProfile other)
public LoginProfile.Builder mergeFrom(LoginProfile other)| Parameter | |
|---|---|
| Name | Description |
other |
LoginProfile |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LoginProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LoginProfile.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
putAllSshPublicKeys(Map<String,OsLoginProto.SshPublicKey> values)
public LoginProfile.Builder putAllSshPublicKeys(Map<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;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,SshPublicKey> |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
putSshPublicKeys(String key, OsLoginProto.SshPublicKey value)
public LoginProfile.Builder putSshPublicKeys(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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
OsLoginProto.SshPublicKey |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
putSshPublicKeysBuilderIfAbsent(String key)
public OsLoginProto.SshPublicKey.Builder putSshPublicKeysBuilderIfAbsent(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.Builder |
|
removePosixAccounts(int index)
public LoginProfile.Builder removePosixAccounts(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 |
LoginProfile.Builder |
|
removeSshPublicKeys(String key)
public LoginProfile.Builder removeSshPublicKeys(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 |
LoginProfile.Builder |
|
setName(String value)
public LoginProfile.Builder setName(String value)Required. A unique user ID.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public LoginProfile.Builder setNameBytes(ByteString value)Required. A unique user ID.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
This builder for chaining. |
setPosixAccounts(int index, OsLoginProto.PosixAccount value)
public 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
OsLoginProto.PosixAccount |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|
setPosixAccounts(int index, OsLoginProto.PosixAccount.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
OsLoginProto.PosixAccount.Builder |
| Returns | |
|---|---|
| Type | Description |
LoginProfile.Builder |
|