Class UpdateAccountRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateAccountRequest.Builder>
com.heroiclabs.nakama.api.UpdateAccountRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateAccountRequestOrBuilder, Cloneable
Enclosing class:
UpdateAccountRequest

public static final class UpdateAccountRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateAccountRequest.Builder> implements UpdateAccountRequestOrBuilder
 Update a user's account details.
 
Protobuf type nakama.api.UpdateAccountRequest
  • 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<UpdateAccountRequest.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<UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • getDefaultInstanceForType

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

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

      public UpdateAccountRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<UpdateAccountRequest.Builder>
    • setField

      public UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • clearField

      public UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • clearOneof

      public UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • setRepeatedField

      public UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • addRepeatedField

      public UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • mergeFrom

      public UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public UpdateAccountRequest.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<UpdateAccountRequest.Builder>
      Throws:
      IOException
    • hasUsername

      public boolean hasUsername()
       The username of the user's account.
       
      .google.protobuf.StringValue username = 1;
      Specified by:
      hasUsername in interface UpdateAccountRequestOrBuilder
      Returns:
      Whether the username field is set.
    • getUsername

      public StringValue getUsername()
       The username of the user's account.
       
      .google.protobuf.StringValue username = 1;
      Specified by:
      getUsername in interface UpdateAccountRequestOrBuilder
      Returns:
      The username.
    • setUsername

      public UpdateAccountRequest.Builder setUsername(StringValue value)
       The username of the user's account.
       
      .google.protobuf.StringValue username = 1;
    • setUsername

      public UpdateAccountRequest.Builder setUsername(StringValue.Builder builderForValue)
       The username of the user's account.
       
      .google.protobuf.StringValue username = 1;
    • mergeUsername

      public UpdateAccountRequest.Builder mergeUsername(StringValue value)
       The username of the user's account.
       
      .google.protobuf.StringValue username = 1;
    • clearUsername

      public UpdateAccountRequest.Builder clearUsername()
       The username of the user's account.
       
      .google.protobuf.StringValue username = 1;
    • getUsernameBuilder

      public StringValue.Builder getUsernameBuilder()
       The username of the user's account.
       
      .google.protobuf.StringValue username = 1;
    • getUsernameOrBuilder

      public StringValueOrBuilder getUsernameOrBuilder()
       The username of the user's account.
       
      .google.protobuf.StringValue username = 1;
      Specified by:
      getUsernameOrBuilder in interface UpdateAccountRequestOrBuilder
    • hasDisplayName

      public boolean hasDisplayName()
       The display name of the user.
       
      .google.protobuf.StringValue display_name = 2;
      Specified by:
      hasDisplayName in interface UpdateAccountRequestOrBuilder
      Returns:
      Whether the displayName field is set.
    • getDisplayName

      public StringValue getDisplayName()
       The display name of the user.
       
      .google.protobuf.StringValue display_name = 2;
      Specified by:
      getDisplayName in interface UpdateAccountRequestOrBuilder
      Returns:
      The displayName.
    • setDisplayName

      public UpdateAccountRequest.Builder setDisplayName(StringValue value)
       The display name of the user.
       
      .google.protobuf.StringValue display_name = 2;
    • setDisplayName

      public UpdateAccountRequest.Builder setDisplayName(StringValue.Builder builderForValue)
       The display name of the user.
       
      .google.protobuf.StringValue display_name = 2;
    • mergeDisplayName

      public UpdateAccountRequest.Builder mergeDisplayName(StringValue value)
       The display name of the user.
       
      .google.protobuf.StringValue display_name = 2;
    • clearDisplayName

      public UpdateAccountRequest.Builder clearDisplayName()
       The display name of the user.
       
      .google.protobuf.StringValue display_name = 2;
    • getDisplayNameBuilder

      public StringValue.Builder getDisplayNameBuilder()
       The display name of the user.
       
      .google.protobuf.StringValue display_name = 2;
    • getDisplayNameOrBuilder

      public StringValueOrBuilder getDisplayNameOrBuilder()
       The display name of the user.
       
      .google.protobuf.StringValue display_name = 2;
      Specified by:
      getDisplayNameOrBuilder in interface UpdateAccountRequestOrBuilder
    • hasAvatarUrl

      public boolean hasAvatarUrl()
       A URL for an avatar image.
       
      .google.protobuf.StringValue avatar_url = 3;
      Specified by:
      hasAvatarUrl in interface UpdateAccountRequestOrBuilder
      Returns:
      Whether the avatarUrl field is set.
    • getAvatarUrl

      public StringValue getAvatarUrl()
       A URL for an avatar image.
       
      .google.protobuf.StringValue avatar_url = 3;
      Specified by:
      getAvatarUrl in interface UpdateAccountRequestOrBuilder
      Returns:
      The avatarUrl.
    • setAvatarUrl

      public UpdateAccountRequest.Builder setAvatarUrl(StringValue value)
       A URL for an avatar image.
       
      .google.protobuf.StringValue avatar_url = 3;
    • setAvatarUrl

      public UpdateAccountRequest.Builder setAvatarUrl(StringValue.Builder builderForValue)
       A URL for an avatar image.
       
      .google.protobuf.StringValue avatar_url = 3;
    • mergeAvatarUrl

      public UpdateAccountRequest.Builder mergeAvatarUrl(StringValue value)
       A URL for an avatar image.
       
      .google.protobuf.StringValue avatar_url = 3;
    • clearAvatarUrl

      public UpdateAccountRequest.Builder clearAvatarUrl()
       A URL for an avatar image.
       
      .google.protobuf.StringValue avatar_url = 3;
    • getAvatarUrlBuilder

      public StringValue.Builder getAvatarUrlBuilder()
       A URL for an avatar image.
       
      .google.protobuf.StringValue avatar_url = 3;
    • getAvatarUrlOrBuilder

      public StringValueOrBuilder getAvatarUrlOrBuilder()
       A URL for an avatar image.
       
      .google.protobuf.StringValue avatar_url = 3;
      Specified by:
      getAvatarUrlOrBuilder in interface UpdateAccountRequestOrBuilder
    • hasLangTag

      public boolean hasLangTag()
       The language expected to be a tag which follows the BCP-47 spec.
       
      .google.protobuf.StringValue lang_tag = 4;
      Specified by:
      hasLangTag in interface UpdateAccountRequestOrBuilder
      Returns:
      Whether the langTag field is set.
    • getLangTag

      public StringValue getLangTag()
       The language expected to be a tag which follows the BCP-47 spec.
       
      .google.protobuf.StringValue lang_tag = 4;
      Specified by:
      getLangTag in interface UpdateAccountRequestOrBuilder
      Returns:
      The langTag.
    • setLangTag

      public UpdateAccountRequest.Builder setLangTag(StringValue value)
       The language expected to be a tag which follows the BCP-47 spec.
       
      .google.protobuf.StringValue lang_tag = 4;
    • setLangTag

      public UpdateAccountRequest.Builder setLangTag(StringValue.Builder builderForValue)
       The language expected to be a tag which follows the BCP-47 spec.
       
      .google.protobuf.StringValue lang_tag = 4;
    • mergeLangTag

      public UpdateAccountRequest.Builder mergeLangTag(StringValue value)
       The language expected to be a tag which follows the BCP-47 spec.
       
      .google.protobuf.StringValue lang_tag = 4;
    • clearLangTag

      public UpdateAccountRequest.Builder clearLangTag()
       The language expected to be a tag which follows the BCP-47 spec.
       
      .google.protobuf.StringValue lang_tag = 4;
    • getLangTagBuilder

      public StringValue.Builder getLangTagBuilder()
       The language expected to be a tag which follows the BCP-47 spec.
       
      .google.protobuf.StringValue lang_tag = 4;
    • getLangTagOrBuilder

      public StringValueOrBuilder getLangTagOrBuilder()
       The language expected to be a tag which follows the BCP-47 spec.
       
      .google.protobuf.StringValue lang_tag = 4;
      Specified by:
      getLangTagOrBuilder in interface UpdateAccountRequestOrBuilder
    • hasLocation

      public boolean hasLocation()
       The location set by the user.
       
      .google.protobuf.StringValue location = 5;
      Specified by:
      hasLocation in interface UpdateAccountRequestOrBuilder
      Returns:
      Whether the location field is set.
    • getLocation

      public StringValue getLocation()
       The location set by the user.
       
      .google.protobuf.StringValue location = 5;
      Specified by:
      getLocation in interface UpdateAccountRequestOrBuilder
      Returns:
      The location.
    • setLocation

      public UpdateAccountRequest.Builder setLocation(StringValue value)
       The location set by the user.
       
      .google.protobuf.StringValue location = 5;
    • setLocation

      public UpdateAccountRequest.Builder setLocation(StringValue.Builder builderForValue)
       The location set by the user.
       
      .google.protobuf.StringValue location = 5;
    • mergeLocation

      public UpdateAccountRequest.Builder mergeLocation(StringValue value)
       The location set by the user.
       
      .google.protobuf.StringValue location = 5;
    • clearLocation

      public UpdateAccountRequest.Builder clearLocation()
       The location set by the user.
       
      .google.protobuf.StringValue location = 5;
    • getLocationBuilder

      public StringValue.Builder getLocationBuilder()
       The location set by the user.
       
      .google.protobuf.StringValue location = 5;
    • getLocationOrBuilder

      public StringValueOrBuilder getLocationOrBuilder()
       The location set by the user.
       
      .google.protobuf.StringValue location = 5;
      Specified by:
      getLocationOrBuilder in interface UpdateAccountRequestOrBuilder
    • hasTimezone

      public boolean hasTimezone()
       The timezone set by the user.
       
      .google.protobuf.StringValue timezone = 6;
      Specified by:
      hasTimezone in interface UpdateAccountRequestOrBuilder
      Returns:
      Whether the timezone field is set.
    • getTimezone

      public StringValue getTimezone()
       The timezone set by the user.
       
      .google.protobuf.StringValue timezone = 6;
      Specified by:
      getTimezone in interface UpdateAccountRequestOrBuilder
      Returns:
      The timezone.
    • setTimezone

      public UpdateAccountRequest.Builder setTimezone(StringValue value)
       The timezone set by the user.
       
      .google.protobuf.StringValue timezone = 6;
    • setTimezone

      public UpdateAccountRequest.Builder setTimezone(StringValue.Builder builderForValue)
       The timezone set by the user.
       
      .google.protobuf.StringValue timezone = 6;
    • mergeTimezone

      public UpdateAccountRequest.Builder mergeTimezone(StringValue value)
       The timezone set by the user.
       
      .google.protobuf.StringValue timezone = 6;
    • clearTimezone

      public UpdateAccountRequest.Builder clearTimezone()
       The timezone set by the user.
       
      .google.protobuf.StringValue timezone = 6;
    • getTimezoneBuilder

      public StringValue.Builder getTimezoneBuilder()
       The timezone set by the user.
       
      .google.protobuf.StringValue timezone = 6;
    • getTimezoneOrBuilder

      public StringValueOrBuilder getTimezoneOrBuilder()
       The timezone set by the user.
       
      .google.protobuf.StringValue timezone = 6;
      Specified by:
      getTimezoneOrBuilder in interface UpdateAccountRequestOrBuilder
    • setUnknownFields

      public final UpdateAccountRequest.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<UpdateAccountRequest.Builder>
    • mergeUnknownFields

      public final UpdateAccountRequest.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<UpdateAccountRequest.Builder>