Class UpdateUserRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<UpdateUserRequest.Builder> implements UpdateUserRequestOrBuilder
Protobuf type yamcs.protobuf.iam.UpdateUserRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateUserRequest.Builder>
    • clear

      public UpdateUserRequest.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateUserRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateUserRequest.Builder>
    • getDefaultInstanceForType

      public UpdateUserRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public UpdateUserRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateUserRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public UpdateUserRequest.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateUserRequest.Builder>
    • setField

      public UpdateUserRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateUserRequest.Builder>
    • clearField

      public UpdateUserRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateUserRequest.Builder>
    • clearOneof

      public UpdateUserRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateUserRequest.Builder>
    • setRepeatedField

      public UpdateUserRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateUserRequest.Builder>
    • addRepeatedField

      public UpdateUserRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateUserRequest.Builder>
    • mergeFrom

      public UpdateUserRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateUserRequest.Builder>
    • mergeFrom

      public UpdateUserRequest.Builder mergeFrom(UpdateUserRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateUserRequest.Builder>
    • mergeFrom

      public UpdateUserRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateUserRequest.Builder>
      Throws:
      IOException
    • hasName

      public boolean hasName()
       Username
       
      optional string name = 1;
      Specified by:
      hasName in interface UpdateUserRequestOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Username
       
      optional string name = 1;
      Specified by:
      getName in interface UpdateUserRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Username
       
      optional string name = 1;
      Specified by:
      getNameBytes in interface UpdateUserRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public UpdateUserRequest.Builder setName(String value)
       Username
       
      optional string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public UpdateUserRequest.Builder clearName()
       Username
       
      optional string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public UpdateUserRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       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:
      hasDisplayName in interface UpdateUserRequestOrBuilder
      Returns:
      Whether the displayName field is set.
    • getDisplayName

      public String getDisplayName()
       Display name
       
      optional string displayName = 2;
      Specified by:
      getDisplayName in interface UpdateUserRequestOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Display name
       
      optional string displayName = 2;
      Specified by:
      getDisplayNameBytes in interface UpdateUserRequestOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public UpdateUserRequest.Builder setDisplayName(String value)
       Display name
       
      optional string displayName = 2;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public UpdateUserRequest.Builder clearDisplayName()
       Display name
       
      optional string displayName = 2;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public UpdateUserRequest.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       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:
      hasEmail in interface UpdateUserRequestOrBuilder
      Returns:
      Whether the email field is set.
    • getEmail

      public String getEmail()
       Email address
       
      optional string email = 3;
      Specified by:
      getEmail in interface UpdateUserRequestOrBuilder
      Returns:
      The email.
    • getEmailBytes

      public com.google.protobuf.ByteString getEmailBytes()
       Email address
       
      optional string email = 3;
      Specified by:
      getEmailBytes in interface UpdateUserRequestOrBuilder
      Returns:
      The bytes for email.
    • setEmail

      public UpdateUserRequest.Builder setEmail(String value)
       Email address
       
      optional string email = 3;
      Parameters:
      value - The email to set.
      Returns:
      This builder for chaining.
    • clearEmail

      public UpdateUserRequest.Builder clearEmail()
       Email address
       
      optional string email = 3;
      Returns:
      This builder for chaining.
    • setEmailBytes

      public UpdateUserRequest.Builder setEmailBytes(com.google.protobuf.ByteString value)
       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:
      hasActive in interface UpdateUserRequestOrBuilder
      Returns:
      Whether the active field is set.
    • getActive

      public boolean getActive()
       Whether the user may login
       
      optional bool active = 4;
      Specified by:
      getActive in interface UpdateUserRequestOrBuilder
      Returns:
      The active.
    • setActive

      public UpdateUserRequest.Builder setActive(boolean value)
       Whether the user may login
       
      optional bool active = 4;
      Parameters:
      value - The active to set.
      Returns:
      This builder for chaining.
    • clearActive

      public UpdateUserRequest.Builder 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:
      hasSuperuser in interface UpdateUserRequestOrBuilder
      Returns:
      Whether the superuser field is set.
    • getSuperuser

      public boolean getSuperuser()
       Whether the user has all privileges
       
      optional bool superuser = 5;
      Specified by:
      getSuperuser in interface UpdateUserRequestOrBuilder
      Returns:
      The superuser.
    • setSuperuser

      public UpdateUserRequest.Builder setSuperuser(boolean value)
       Whether the user has all privileges
       
      optional bool superuser = 5;
      Parameters:
      value - The superuser to set.
      Returns:
      This builder for chaining.
    • clearSuperuser

      public UpdateUserRequest.Builder 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:
      hasPassword in interface UpdateUserRequestOrBuilder
      Returns:
      Whether the password field is set.
    • getPassword

      public String getPassword()
       User password
       
      optional string password = 6 [(.yamcs.api.field_behavior) = SECRET];
      Specified by:
      getPassword in interface UpdateUserRequestOrBuilder
      Returns:
      The password.
    • getPasswordBytes

      public com.google.protobuf.ByteString getPasswordBytes()
       User password
       
      optional string password = 6 [(.yamcs.api.field_behavior) = SECRET];
      Specified by:
      getPasswordBytes in interface UpdateUserRequestOrBuilder
      Returns:
      The bytes for password.
    • setPassword

      public UpdateUserRequest.Builder setPassword(String value)
       User password
       
      optional string password = 6 [(.yamcs.api.field_behavior) = SECRET];
      Parameters:
      value - The password to set.
      Returns:
      This builder for chaining.
    • clearPassword

      public UpdateUserRequest.Builder clearPassword()
       User password
       
      optional string password = 6 [(.yamcs.api.field_behavior) = SECRET];
      Returns:
      This builder for chaining.
    • setPasswordBytes

      public UpdateUserRequest.Builder setPasswordBytes(com.google.protobuf.ByteString value)
       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:
      hasRoleAssignment in interface UpdateUserRequestOrBuilder
      Returns:
      Whether the roleAssignment field is set.
    • getRoleAssignment

      public RoleAssignment getRoleAssignment()
       Assigned roles
       
      optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7;
      Specified by:
      getRoleAssignment in interface UpdateUserRequestOrBuilder
      Returns:
      The roleAssignment.
    • setRoleAssignment

      public UpdateUserRequest.Builder setRoleAssignment(RoleAssignment value)
       Assigned roles
       
      optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7;
    • setRoleAssignment

      public UpdateUserRequest.Builder setRoleAssignment(RoleAssignment.Builder builderForValue)
       Assigned roles
       
      optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7;
    • mergeRoleAssignment

      public UpdateUserRequest.Builder mergeRoleAssignment(RoleAssignment value)
       Assigned roles
       
      optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7;
    • clearRoleAssignment

      public UpdateUserRequest.Builder clearRoleAssignment()
       Assigned roles
       
      optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7;
    • getRoleAssignmentBuilder

      public RoleAssignment.Builder getRoleAssignmentBuilder()
       Assigned roles
       
      optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7;
    • getRoleAssignmentOrBuilder

      public RoleAssignmentOrBuilder getRoleAssignmentOrBuilder()
       Assigned roles
       
      optional .yamcs.protobuf.iam.RoleAssignment roleAssignment = 7;
      Specified by:
      getRoleAssignmentOrBuilder in interface UpdateUserRequestOrBuilder
    • setUnknownFields

      public final UpdateUserRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateUserRequest.Builder>
    • mergeUnknownFields

      public final UpdateUserRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateUserRequest.Builder>