java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateUserRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<UpdateUserRequest.Builder>
org.yamcs.protobuf.UpdateUserRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,UpdateUserRequestOrBuilder
- Enclosing class:
UpdateUserRequest
public static final class UpdateUserRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UpdateUserRequest.Builder>
implements UpdateUserRequestOrBuilder
Protobuf type
yamcs.protobuf.iam.UpdateUserRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Whether the user may loginDisplay nameEmail addressUsernameUser passwordAssigned rolesWhether the user has all privilegesbooleanWhether the user may loginstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDisplay namecom.google.protobuf.ByteStringDisplay namegetEmail()Email addresscom.google.protobuf.ByteStringEmail addressgetName()Usernamecom.google.protobuf.ByteStringUsernameUser passwordcom.google.protobuf.ByteStringUser passwordAssigned rolesAssigned rolesAssigned rolesbooleanWhether the user has all privilegesbooleanWhether the user may loginbooleanDisplay namebooleanhasEmail()Email addressbooleanhasName()UsernamebooleanUser passwordbooleanAssigned rolesbooleanWhether the user has all privilegesprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(UpdateUserRequest other) Assigned rolessetActive(boolean value) Whether the user may loginsetDisplayName(String value) Display namesetDisplayNameBytes(com.google.protobuf.ByteString value) Display nameEmail addresssetEmailBytes(com.google.protobuf.ByteString value) Email addressUsernamesetNameBytes(com.google.protobuf.ByteString value) UsernamesetPassword(String value) User passwordsetPasswordBytes(com.google.protobuf.ByteString value) User passwordsetRoleAssignment(RoleAssignment value) Assigned rolessetRoleAssignment(RoleAssignment.Builder builderForValue) Assigned rolessetSuperuser(boolean value) Whether the user has all privilegesMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UpdateUserRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UpdateUserRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UpdateUserRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateUserRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UpdateUserRequest.Builder>
-
mergeFrom
public UpdateUserRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateUserRequest.Builder>- Throws:
IOException
-
hasName
public boolean hasName()Username
optional string name = 1;- Specified by:
hasNamein interfaceUpdateUserRequestOrBuilder- Returns:
- Whether the name field is set.
-
getName
Username
optional string name = 1;- Specified by:
getNamein interfaceUpdateUserRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Username
optional string name = 1;- Specified by:
getNameBytesin interfaceUpdateUserRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Username
optional string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Username
optional string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Username
optional string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDisplayName
public boolean hasDisplayName()Display name
optional string displayName = 2;- Specified by:
hasDisplayNamein interfaceUpdateUserRequestOrBuilder- Returns:
- Whether the displayName field is set.
-
getDisplayName
Display name
optional string displayName = 2;- Specified by:
getDisplayNamein interfaceUpdateUserRequestOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Display name
optional string displayName = 2;- Specified by:
getDisplayNameBytesin interfaceUpdateUserRequestOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Display name
optional string displayName = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Display name
optional string displayName = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Display name
optional string displayName = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasEmail
public boolean hasEmail()Email address
optional string email = 3;- Specified by:
hasEmailin interfaceUpdateUserRequestOrBuilder- Returns:
- Whether the email field is set.
-
getEmail
Email address
optional string email = 3;- Specified by:
getEmailin interfaceUpdateUserRequestOrBuilder- Returns:
- The email.
-
getEmailBytes
public com.google.protobuf.ByteString getEmailBytes()Email address
optional string email = 3;- Specified by:
getEmailBytesin interfaceUpdateUserRequestOrBuilder- Returns:
- The bytes for email.
-
setEmail
Email address
optional string email = 3;- Parameters:
value- The email to set.- Returns:
- This builder for chaining.
-
clearEmail
Email address
optional string email = 3;- Returns:
- This builder for chaining.
-
setEmailBytes
Email address
optional string email = 3;- Parameters:
value- The bytes for email to set.- Returns:
- This builder for chaining.
-
hasActive
public boolean hasActive()Whether the user may login
optional bool active = 4;- Specified by:
hasActivein interfaceUpdateUserRequestOrBuilder- Returns:
- Whether the active field is set.
-
getActive
public boolean getActive()Whether the user may login
optional bool active = 4;- Specified by:
getActivein interfaceUpdateUserRequestOrBuilder- Returns:
- The active.
-
setActive
Whether the user may login
optional bool active = 4;- Parameters:
value- The active to set.- Returns:
- This builder for chaining.
-
clearActive
Whether the user may login
optional bool active = 4;- Returns:
- This builder for chaining.
-
hasSuperuser
public boolean hasSuperuser()Whether the user has all privileges
optional bool superuser = 5;- Specified by:
hasSuperuserin interfaceUpdateUserRequestOrBuilder- Returns:
- Whether the superuser field is set.
-
getSuperuser
public boolean getSuperuser()Whether the user has all privileges
optional bool superuser = 5;- Specified by:
getSuperuserin interfaceUpdateUserRequestOrBuilder- Returns:
- The superuser.
-
setSuperuser
Whether the user has all privileges
optional bool superuser = 5;- Parameters:
value- The superuser to set.- Returns:
- This builder for chaining.
-
clearSuperuser
Whether the user has all privileges
optional bool superuser = 5;- Returns:
- This builder for chaining.
-
hasPassword
public boolean hasPassword()User password
optional string password = 6 [(.yamcs.api.field_behavior) = SECRET];- Specified by:
hasPasswordin interfaceUpdateUserRequestOrBuilder- Returns:
- Whether the password field is set.
-
getPassword
User password
optional string password = 6 [(.yamcs.api.field_behavior) = SECRET];- Specified by:
getPasswordin interfaceUpdateUserRequestOrBuilder- Returns:
- The password.
-
getPasswordBytes
public com.google.protobuf.ByteString getPasswordBytes()User password
optional string password = 6 [(.yamcs.api.field_behavior) = SECRET];- Specified by:
getPasswordBytesin interfaceUpdateUserRequestOrBuilder- Returns:
- The bytes for password.
-
setPassword
User password
optional string password = 6 [(.yamcs.api.field_behavior) = SECRET];- Parameters:
value- The password to set.- Returns:
- This builder for chaining.
-
clearPassword
User password
optional string password = 6 [(.yamcs.api.field_behavior) = SECRET];- Returns:
- This builder for chaining.
-
setPasswordBytes
User password
optional string password = 6 [(.yamcs.api.field_behavior) = SECRET];- Parameters:
value- The bytes for password to set.- Returns:
- This builder for chaining.
-
hasRoleAssignment
public boolean hasRoleAssignment()Assigned roles
optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7;- Specified by:
hasRoleAssignmentin interfaceUpdateUserRequestOrBuilder- Returns:
- Whether the roleAssignment field is set.
-
getRoleAssignment
Assigned roles
optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7;- Specified by:
getRoleAssignmentin interfaceUpdateUserRequestOrBuilder- Returns:
- The roleAssignment.
-
setRoleAssignment
Assigned roles
optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7; -
setRoleAssignment
Assigned roles
optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7; -
mergeRoleAssignment
Assigned roles
optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7; -
clearRoleAssignment
Assigned roles
optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7; -
getRoleAssignmentBuilder
Assigned roles
optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7; -
getRoleAssignmentOrBuilder
Assigned roles
optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7;- Specified by:
getRoleAssignmentOrBuilderin interfaceUpdateUserRequestOrBuilder
-