public static final class OsLoginProto.PosixAccount.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder> implements OsLoginProto.PosixAccountOrBuilder
The POSIX account information associated with a Google account.Protobuf type
google.cloud.oslogin.common.PosixAccount| Modifier and Type | Method and Description |
|---|---|
OsLoginProto.PosixAccount.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OsLoginProto.PosixAccount |
build() |
OsLoginProto.PosixAccount |
buildPartial() |
OsLoginProto.PosixAccount.Builder |
clear() |
OsLoginProto.PosixAccount.Builder |
clearAccountId()
Output only.
|
OsLoginProto.PosixAccount.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OsLoginProto.PosixAccount.Builder |
clearGecos()
The GECOS (user information) entry for this account.
|
OsLoginProto.PosixAccount.Builder |
clearGid()
The default group ID.
|
OsLoginProto.PosixAccount.Builder |
clearHomeDirectory()
The path to the home directory for this account.
|
OsLoginProto.PosixAccount.Builder |
clearName()
Output only.
|
OsLoginProto.PosixAccount.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OsLoginProto.PosixAccount.Builder |
clearOperatingSystemType()
The operating system type where this account applies.
|
OsLoginProto.PosixAccount.Builder |
clearPrimary()
Only one POSIX account can be marked as primary.
|
OsLoginProto.PosixAccount.Builder |
clearShell()
The path to the logic shell for this account.
|
OsLoginProto.PosixAccount.Builder |
clearSystemId()
System identifier for which account the username or uid applies to.
|
OsLoginProto.PosixAccount.Builder |
clearUid()
The user ID.
|
OsLoginProto.PosixAccount.Builder |
clearUsername()
The username of the POSIX account.
|
OsLoginProto.PosixAccount.Builder |
clone() |
String |
getAccountId()
Output only.
|
com.google.protobuf.ByteString |
getAccountIdBytes()
Output only.
|
OsLoginProto.PosixAccount |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGecos()
The GECOS (user information) entry for this account.
|
com.google.protobuf.ByteString |
getGecosBytes()
The GECOS (user information) entry for this account.
|
long |
getGid()
The default group ID.
|
String |
getHomeDirectory()
The path to the home directory for this account.
|
com.google.protobuf.ByteString |
getHomeDirectoryBytes()
The path to the home directory for this account.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
OsLoginProto.OperatingSystemType |
getOperatingSystemType()
The operating system type where this account applies.
|
int |
getOperatingSystemTypeValue()
The operating system type where this account applies.
|
boolean |
getPrimary()
Only one POSIX account can be marked as primary.
|
String |
getShell()
The path to the logic shell for this account.
|
com.google.protobuf.ByteString |
getShellBytes()
The path to the logic shell for this account.
|
String |
getSystemId()
System identifier for which account the username or uid applies to.
|
com.google.protobuf.ByteString |
getSystemIdBytes()
System identifier for which account the username or uid applies to.
|
long |
getUid()
The user ID.
|
String |
getUsername()
The username of the POSIX account.
|
com.google.protobuf.ByteString |
getUsernameBytes()
The username of the POSIX account.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OsLoginProto.PosixAccount.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OsLoginProto.PosixAccount.Builder |
mergeFrom(com.google.protobuf.Message other) |
OsLoginProto.PosixAccount.Builder |
mergeFrom(OsLoginProto.PosixAccount other) |
OsLoginProto.PosixAccount.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OsLoginProto.PosixAccount.Builder |
setAccountId(String value)
Output only.
|
OsLoginProto.PosixAccount.Builder |
setAccountIdBytes(com.google.protobuf.ByteString value)
Output only.
|
OsLoginProto.PosixAccount.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OsLoginProto.PosixAccount.Builder |
setGecos(String value)
The GECOS (user information) entry for this account.
|
OsLoginProto.PosixAccount.Builder |
setGecosBytes(com.google.protobuf.ByteString value)
The GECOS (user information) entry for this account.
|
OsLoginProto.PosixAccount.Builder |
setGid(long value)
The default group ID.
|
OsLoginProto.PosixAccount.Builder |
setHomeDirectory(String value)
The path to the home directory for this account.
|
OsLoginProto.PosixAccount.Builder |
setHomeDirectoryBytes(com.google.protobuf.ByteString value)
The path to the home directory for this account.
|
OsLoginProto.PosixAccount.Builder |
setName(String value)
Output only.
|
OsLoginProto.PosixAccount.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
OsLoginProto.PosixAccount.Builder |
setOperatingSystemType(OsLoginProto.OperatingSystemType value)
The operating system type where this account applies.
|
OsLoginProto.PosixAccount.Builder |
setOperatingSystemTypeValue(int value)
The operating system type where this account applies.
|
OsLoginProto.PosixAccount.Builder |
setPrimary(boolean value)
Only one POSIX account can be marked as primary.
|
OsLoginProto.PosixAccount.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OsLoginProto.PosixAccount.Builder |
setShell(String value)
The path to the logic shell for this account.
|
OsLoginProto.PosixAccount.Builder |
setShellBytes(com.google.protobuf.ByteString value)
The path to the logic shell for this account.
|
OsLoginProto.PosixAccount.Builder |
setSystemId(String value)
System identifier for which account the username or uid applies to.
|
OsLoginProto.PosixAccount.Builder |
setSystemIdBytes(com.google.protobuf.ByteString value)
System identifier for which account the username or uid applies to.
|
OsLoginProto.PosixAccount.Builder |
setUid(long value)
The user ID.
|
OsLoginProto.PosixAccount.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OsLoginProto.PosixAccount.Builder |
setUsername(String value)
The username of the POSIX account.
|
OsLoginProto.PosixAccount.Builder |
setUsernameBytes(com.google.protobuf.ByteString value)
The username of the POSIX account.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>public OsLoginProto.PosixAccount.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>public OsLoginProto.PosixAccount getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OsLoginProto.PosixAccount build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OsLoginProto.PosixAccount buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OsLoginProto.PosixAccount.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>public OsLoginProto.PosixAccount.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>public OsLoginProto.PosixAccount.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>public OsLoginProto.PosixAccount.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>public OsLoginProto.PosixAccount.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>public OsLoginProto.PosixAccount.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>public OsLoginProto.PosixAccount.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OsLoginProto.PosixAccount.Builder>public OsLoginProto.PosixAccount.Builder mergeFrom(OsLoginProto.PosixAccount other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>public OsLoginProto.PosixAccount.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OsLoginProto.PosixAccount.Builder>IOExceptionpublic boolean getPrimary()
Only one POSIX account can be marked as primary.
bool primary = 1;getPrimary in interface OsLoginProto.PosixAccountOrBuilderpublic OsLoginProto.PosixAccount.Builder setPrimary(boolean value)
Only one POSIX account can be marked as primary.
bool primary = 1;value - The primary to set.public OsLoginProto.PosixAccount.Builder clearPrimary()
Only one POSIX account can be marked as primary.
bool primary = 1;public String getUsername()
The username of the POSIX account.
string username = 2;getUsername in interface OsLoginProto.PosixAccountOrBuilderpublic com.google.protobuf.ByteString getUsernameBytes()
The username of the POSIX account.
string username = 2;getUsernameBytes in interface OsLoginProto.PosixAccountOrBuilderpublic OsLoginProto.PosixAccount.Builder setUsername(String value)
The username of the POSIX account.
string username = 2;value - The username to set.public OsLoginProto.PosixAccount.Builder clearUsername()
The username of the POSIX account.
string username = 2;public OsLoginProto.PosixAccount.Builder setUsernameBytes(com.google.protobuf.ByteString value)
The username of the POSIX account.
string username = 2;value - The bytes for username to set.public long getUid()
The user ID.
int64 uid = 3;getUid in interface OsLoginProto.PosixAccountOrBuilderpublic OsLoginProto.PosixAccount.Builder setUid(long value)
The user ID.
int64 uid = 3;value - The uid to set.public OsLoginProto.PosixAccount.Builder clearUid()
The user ID.
int64 uid = 3;public long getGid()
The default group ID.
int64 gid = 4;getGid in interface OsLoginProto.PosixAccountOrBuilderpublic OsLoginProto.PosixAccount.Builder setGid(long value)
The default group ID.
int64 gid = 4;value - The gid to set.public OsLoginProto.PosixAccount.Builder clearGid()
The default group ID.
int64 gid = 4;public String getHomeDirectory()
The path to the home directory for this account.
string home_directory = 5;getHomeDirectory in interface OsLoginProto.PosixAccountOrBuilderpublic com.google.protobuf.ByteString getHomeDirectoryBytes()
The path to the home directory for this account.
string home_directory = 5;getHomeDirectoryBytes in interface OsLoginProto.PosixAccountOrBuilderpublic OsLoginProto.PosixAccount.Builder setHomeDirectory(String value)
The path to the home directory for this account.
string home_directory = 5;value - The homeDirectory to set.public OsLoginProto.PosixAccount.Builder clearHomeDirectory()
The path to the home directory for this account.
string home_directory = 5;public OsLoginProto.PosixAccount.Builder setHomeDirectoryBytes(com.google.protobuf.ByteString value)
The path to the home directory for this account.
string home_directory = 5;value - The bytes for homeDirectory to set.public String getShell()
The path to the logic shell for this account.
string shell = 6;getShell in interface OsLoginProto.PosixAccountOrBuilderpublic com.google.protobuf.ByteString getShellBytes()
The path to the logic shell for this account.
string shell = 6;getShellBytes in interface OsLoginProto.PosixAccountOrBuilderpublic OsLoginProto.PosixAccount.Builder setShell(String value)
The path to the logic shell for this account.
string shell = 6;value - The shell to set.public OsLoginProto.PosixAccount.Builder clearShell()
The path to the logic shell for this account.
string shell = 6;public OsLoginProto.PosixAccount.Builder setShellBytes(com.google.protobuf.ByteString value)
The path to the logic shell for this account.
string shell = 6;value - The bytes for shell to set.public String getGecos()
The GECOS (user information) entry for this account.
string gecos = 7;getGecos in interface OsLoginProto.PosixAccountOrBuilderpublic com.google.protobuf.ByteString getGecosBytes()
The GECOS (user information) entry for this account.
string gecos = 7;getGecosBytes in interface OsLoginProto.PosixAccountOrBuilderpublic OsLoginProto.PosixAccount.Builder setGecos(String value)
The GECOS (user information) entry for this account.
string gecos = 7;value - The gecos to set.public OsLoginProto.PosixAccount.Builder clearGecos()
The GECOS (user information) entry for this account.
string gecos = 7;public OsLoginProto.PosixAccount.Builder setGecosBytes(com.google.protobuf.ByteString value)
The GECOS (user information) entry for this account.
string gecos = 7;value - The bytes for gecos to set.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;getSystemId in interface OsLoginProto.PosixAccountOrBuilderpublic com.google.protobuf.ByteString getSystemIdBytes()
System identifier for which account the username or uid applies to. By default, the empty value is used.
string system_id = 8;getSystemIdBytes in interface OsLoginProto.PosixAccountOrBuilderpublic 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;value - The systemId to set.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;public OsLoginProto.PosixAccount.Builder setSystemIdBytes(com.google.protobuf.ByteString value)
System identifier for which account the username or uid applies to. By default, the empty value is used.
string system_id = 8;value - The bytes for systemId to set.public String getAccountId()
Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getAccountId in interface OsLoginProto.PosixAccountOrBuilderpublic com.google.protobuf.ByteString getAccountIdBytes()
Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getAccountIdBytes in interface OsLoginProto.PosixAccountOrBuilderpublic OsLoginProto.PosixAccount.Builder setAccountId(String value)
Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The accountId to set.public OsLoginProto.PosixAccount.Builder clearAccountId()
Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];public OsLoginProto.PosixAccount.Builder setAccountIdBytes(com.google.protobuf.ByteString value)
Output only. A POSIX account identifier.
string account_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for accountId to set.public int getOperatingSystemTypeValue()
The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;getOperatingSystemTypeValue in interface OsLoginProto.PosixAccountOrBuilderpublic OsLoginProto.PosixAccount.Builder setOperatingSystemTypeValue(int value)
The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;value - The enum numeric value on the wire for operatingSystemType to set.public OsLoginProto.OperatingSystemType getOperatingSystemType()
The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;getOperatingSystemType in interface OsLoginProto.PosixAccountOrBuilderpublic OsLoginProto.PosixAccount.Builder setOperatingSystemType(OsLoginProto.OperatingSystemType value)
The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;value - The operatingSystemType to set.public OsLoginProto.PosixAccount.Builder clearOperatingSystemType()
The operating system type where this account applies.
.google.cloud.oslogin.common.OperatingSystemType operating_system_type = 10;public String getName()
Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface OsLoginProto.PosixAccountOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface OsLoginProto.PosixAccountOrBuilderpublic OsLoginProto.PosixAccount.Builder setName(String value)
Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public OsLoginProto.PosixAccount.Builder clearName()
Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];public OsLoginProto.PosixAccount.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The canonical resource name.
string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public final OsLoginProto.PosixAccount.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>public final OsLoginProto.PosixAccount.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>Copyright © 2023 Google LLC. All rights reserved.