public static final class OsLoginProto.PosixAccount.Builder extends GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder> implements OsLoginProto.PosixAccountOrBuilder
The POSIX account information associated with a Google account.Protobuf type
google.cloud.oslogin.common.PosixAccount
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>
public OsLoginProto.PosixAccount.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>
public OsLoginProto.PosixAccount getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public OsLoginProto.PosixAccount build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public OsLoginProto.PosixAccount buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public OsLoginProto.PosixAccount.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>
public OsLoginProto.PosixAccount.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>
public OsLoginProto.PosixAccount.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>
public OsLoginProto.PosixAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>
public OsLoginProto.PosixAccount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>
public OsLoginProto.PosixAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>
public OsLoginProto.PosixAccount.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<OsLoginProto.PosixAccount.Builder>
public OsLoginProto.PosixAccount.Builder mergeFrom(OsLoginProto.PosixAccount other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>
public OsLoginProto.PosixAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<OsLoginProto.PosixAccount.Builder>
java.io.IOException
public boolean getPrimary()
Only one POSIX account can be marked as primary.
bool primary = 1;
getPrimary
in interface OsLoginProto.PosixAccountOrBuilder
public OsLoginProto.PosixAccount.Builder setPrimary(boolean value)
Only one POSIX account can be marked as primary.
bool primary = 1;
public OsLoginProto.PosixAccount.Builder clearPrimary()
Only one POSIX account can be marked as primary.
bool primary = 1;
public java.lang.String getUsername()
The username of the POSIX account.
string username = 2;
getUsername
in interface OsLoginProto.PosixAccountOrBuilder
public ByteString getUsernameBytes()
The username of the POSIX account.
string username = 2;
getUsernameBytes
in interface OsLoginProto.PosixAccountOrBuilder
public OsLoginProto.PosixAccount.Builder setUsername(java.lang.String value)
The username of the POSIX account.
string username = 2;
public OsLoginProto.PosixAccount.Builder clearUsername()
The username of the POSIX account.
string username = 2;
public OsLoginProto.PosixAccount.Builder setUsernameBytes(ByteString value)
The username of the POSIX account.
string username = 2;
public long getUid()
The user ID.
int64 uid = 3;
getUid
in interface OsLoginProto.PosixAccountOrBuilder
public OsLoginProto.PosixAccount.Builder setUid(long value)
The user ID.
int64 uid = 3;
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.PosixAccountOrBuilder
public OsLoginProto.PosixAccount.Builder setGid(long value)
The default group ID.
int64 gid = 4;
public OsLoginProto.PosixAccount.Builder clearGid()
The default group ID.
int64 gid = 4;
public java.lang.String getHomeDirectory()
The path to the home directory for this account.
string home_directory = 5;
getHomeDirectory
in interface OsLoginProto.PosixAccountOrBuilder
public ByteString getHomeDirectoryBytes()
The path to the home directory for this account.
string home_directory = 5;
getHomeDirectoryBytes
in interface OsLoginProto.PosixAccountOrBuilder
public OsLoginProto.PosixAccount.Builder setHomeDirectory(java.lang.String value)
The path to the home directory for this account.
string home_directory = 5;
public OsLoginProto.PosixAccount.Builder clearHomeDirectory()
The path to the home directory for this account.
string home_directory = 5;
public OsLoginProto.PosixAccount.Builder setHomeDirectoryBytes(ByteString value)
The path to the home directory for this account.
string home_directory = 5;
public java.lang.String getShell()
The path to the logic shell for this account.
string shell = 6;
getShell
in interface OsLoginProto.PosixAccountOrBuilder
public ByteString getShellBytes()
The path to the logic shell for this account.
string shell = 6;
getShellBytes
in interface OsLoginProto.PosixAccountOrBuilder
public OsLoginProto.PosixAccount.Builder setShell(java.lang.String value)
The path to the logic shell for this account.
string shell = 6;
public OsLoginProto.PosixAccount.Builder clearShell()
The path to the logic shell for this account.
string shell = 6;
public OsLoginProto.PosixAccount.Builder setShellBytes(ByteString value)
The path to the logic shell for this account.
string shell = 6;
public java.lang.String getGecos()
The GECOS (user information) entry for this account.
string gecos = 7;
getGecos
in interface OsLoginProto.PosixAccountOrBuilder
public ByteString getGecosBytes()
The GECOS (user information) entry for this account.
string gecos = 7;
getGecosBytes
in interface OsLoginProto.PosixAccountOrBuilder
public OsLoginProto.PosixAccount.Builder setGecos(java.lang.String value)
The GECOS (user information) entry for this account.
string gecos = 7;
public OsLoginProto.PosixAccount.Builder clearGecos()
The GECOS (user information) entry for this account.
string gecos = 7;
public OsLoginProto.PosixAccount.Builder setGecosBytes(ByteString value)
The GECOS (user information) entry for this account.
string gecos = 7;
public java.lang.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.PosixAccountOrBuilder
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;
getSystemIdBytes
in interface OsLoginProto.PosixAccountOrBuilder
public OsLoginProto.PosixAccount.Builder setSystemId(java.lang.String value)
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 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(ByteString value)
System identifier for which account the username or uid applies to. By default, the empty value is used.
string system_id = 8;
public java.lang.String getAccountId()
Output only. A POSIX account identifier.
string account_id = 9;
getAccountId
in interface OsLoginProto.PosixAccountOrBuilder
public ByteString getAccountIdBytes()
Output only. A POSIX account identifier.
string account_id = 9;
getAccountIdBytes
in interface OsLoginProto.PosixAccountOrBuilder
public OsLoginProto.PosixAccount.Builder setAccountId(java.lang.String value)
Output only. A POSIX account identifier.
string account_id = 9;
public OsLoginProto.PosixAccount.Builder clearAccountId()
Output only. A POSIX account identifier.
string account_id = 9;
public OsLoginProto.PosixAccount.Builder setAccountIdBytes(ByteString value)
Output only. A POSIX account identifier.
string account_id = 9;
public final OsLoginProto.PosixAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>
public final OsLoginProto.PosixAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<OsLoginProto.PosixAccount.Builder>