- 2.77.0 (latest)
- 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 OsLoginProto.PosixAccount.Builder extends GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder> implements OsLoginProto.PosixAccountOrBuilderThe POSIX account information associated with a Google account.
Protobuf type google.cloud.oslogin.common.PosixAccount
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OsLoginProto.PosixAccount.BuilderImplements
OsLoginProto.PosixAccountOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OsLoginProto.PosixAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
build()
public OsLoginProto.PosixAccount build()| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount |
|
buildPartial()
public OsLoginProto.PosixAccount buildPartial()| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount |
|
clear()
public OsLoginProto.PosixAccount.Builder clear()| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
clearAccountId()
public OsLoginProto.PosixAccount.Builder clearAccountId()Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public OsLoginProto.PosixAccount.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
clearGecos()
public OsLoginProto.PosixAccount.Builder clearGecos()The GECOS (user information) entry for this account.
string gecos = 7;
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
clearGid()
public OsLoginProto.PosixAccount.Builder clearGid()The default group ID.
int64 gid = 4;
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
clearHomeDirectory()
public OsLoginProto.PosixAccount.Builder clearHomeDirectory()The path to the home directory for this account.
string home_directory = 5;
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
clearName()
public OsLoginProto.PosixAccount.Builder clearName()Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OsLoginProto.PosixAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
clearOperatingSystemType()
public OsLoginProto.PosixAccount.Builder clearOperatingSystemType()The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
clearPrimary()
public OsLoginProto.PosixAccount.Builder clearPrimary()Only one POSIX account can be marked as primary.
bool primary = 1;
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
clearShell()
public OsLoginProto.PosixAccount.Builder clearShell()The path to the logic shell for this account.
string shell = 6;
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
clearSystemId()
public OsLoginProto.PosixAccount.Builder clearSystemId()System identifier for which account the username or uid applies to. By default, the empty value is used.
string system_id = 8;
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
clearUid()
public OsLoginProto.PosixAccount.Builder clearUid()The user ID.
int64 uid = 3;
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
clearUsername()
public OsLoginProto.PosixAccount.Builder clearUsername()The username of the POSIX account.
string username = 2;
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
clone()
public OsLoginProto.PosixAccount.Builder clone()| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
getAccountId()
public String getAccountId()Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The accountId. |
getAccountIdBytes()
public ByteString getAccountIdBytes()Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for accountId. |
getDefaultInstanceForType()
public OsLoginProto.PosixAccount getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGecos()
public String getGecos()The GECOS (user information) entry for this account.
string gecos = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The gecos. |
getGecosBytes()
public ByteString getGecosBytes()The GECOS (user information) entry for this account.
string gecos = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gecos. |
getGid()
public long getGid()The default group ID.
int64 gid = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The gid. |
getHomeDirectory()
public String getHomeDirectory()The path to the home directory for this account.
string home_directory = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The homeDirectory. |
getHomeDirectoryBytes()
public ByteString getHomeDirectoryBytes()The path to the home directory for this account.
string home_directory = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for homeDirectory. |
getName()
public String getName()Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getOperatingSystemType()
public OsLoginProto.OperatingSystemType getOperatingSystemType()The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.OperatingSystemType |
The operatingSystemType. |
getOperatingSystemTypeValue()
public int getOperatingSystemTypeValue()The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for operatingSystemType. |
getPrimary()
public boolean getPrimary()Only one POSIX account can be marked as primary.
bool primary = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The primary. |
getShell()
public String getShell()The path to the logic shell for this account.
string shell = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The shell. |
getShellBytes()
public ByteString getShellBytes()The path to the logic shell for this account.
string shell = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for shell. |
getSystemId()
public String getSystemId()System identifier for which account the username or uid applies to. By default, the empty value is used.
string system_id = 8;
| Returns | |
|---|---|
| Type | Description |
String |
The systemId. |
getSystemIdBytes()
public ByteString getSystemIdBytes()System identifier for which account the username or uid applies to. By default, the empty value is used.
string system_id = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for systemId. |
getUid()
public long getUid()The user ID.
int64 uid = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The uid. |
getUsername()
public String getUsername()The username of the POSIX account.
string username = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes()
public ByteString getUsernameBytes()The username of the POSIX account.
string username = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for username. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(OsLoginProto.PosixAccount other)
public OsLoginProto.PosixAccount.Builder mergeFrom(OsLoginProto.PosixAccount other)| Parameter | |
|---|---|
| Name | Description |
other |
OsLoginProto.PosixAccount |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OsLoginProto.PosixAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OsLoginProto.PosixAccount.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OsLoginProto.PosixAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
setAccountId(String value)
public OsLoginProto.PosixAccount.Builder setAccountId(String value)Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe accountId to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setAccountIdBytes(ByteString value)
public OsLoginProto.PosixAccount.Builder setAccountIdBytes(ByteString value)Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for accountId to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public OsLoginProto.PosixAccount.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
setGecos(String value)
public OsLoginProto.PosixAccount.Builder setGecos(String value)The GECOS (user information) entry for this account.
string gecos = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gecos to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setGecosBytes(ByteString value)
public OsLoginProto.PosixAccount.Builder setGecosBytes(ByteString value)The GECOS (user information) entry for this account.
string gecos = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gecos to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setGid(long value)
public OsLoginProto.PosixAccount.Builder setGid(long value)The default group ID.
int64 gid = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe gid to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setHomeDirectory(String value)
public OsLoginProto.PosixAccount.Builder setHomeDirectory(String value)The path to the home directory for this account.
string home_directory = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe homeDirectory to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setHomeDirectoryBytes(ByteString value)
public OsLoginProto.PosixAccount.Builder setHomeDirectoryBytes(ByteString value)The path to the home directory for this account.
string home_directory = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for homeDirectory to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setName(String value)
public OsLoginProto.PosixAccount.Builder setName(String value)Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public OsLoginProto.PosixAccount.Builder setNameBytes(ByteString value)Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setOperatingSystemType(OsLoginProto.OperatingSystemType value)
public OsLoginProto.PosixAccount.Builder setOperatingSystemType(OsLoginProto.OperatingSystemType value)The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
OsLoginProto.OperatingSystemTypeThe operatingSystemType to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setOperatingSystemTypeValue(int value)
public OsLoginProto.PosixAccount.Builder setOperatingSystemTypeValue(int value)The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for operatingSystemType to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setPrimary(boolean value)
public OsLoginProto.PosixAccount.Builder setPrimary(boolean value)Only one POSIX account can be marked as primary.
bool primary = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe primary to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OsLoginProto.PosixAccount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
setShell(String value)
public OsLoginProto.PosixAccount.Builder setShell(String value)The path to the logic shell for this account.
string shell = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe shell to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setShellBytes(ByteString value)
public OsLoginProto.PosixAccount.Builder setShellBytes(ByteString value)The path to the logic shell for this account.
string shell = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for shell to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setSystemId(String value)
public OsLoginProto.PosixAccount.Builder setSystemId(String value)System identifier for which account the username or uid applies to. By default, the empty value is used.
string system_id = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe systemId to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setSystemIdBytes(ByteString value)
public OsLoginProto.PosixAccount.Builder setSystemIdBytes(ByteString value)System identifier for which account the username or uid applies to. By default, the empty value is used.
string system_id = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for systemId to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setUid(long value)
public OsLoginProto.PosixAccount.Builder setUid(long value)The user ID.
int64 uid = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe uid to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final OsLoginProto.PosixAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
|
setUsername(String value)
public OsLoginProto.PosixAccount.Builder setUsername(String value)The username of the POSIX account.
string username = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe username to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |
setUsernameBytes(ByteString value)
public OsLoginProto.PosixAccount.Builder setUsernameBytes(ByteString value)The username of the POSIX account.
string username = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for username to set. |
| Returns | |
|---|---|
| Type | Description |
OsLoginProto.PosixAccount.Builder |
This builder for chaining. |