Class AccountEmail.Builder

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

public static final class AccountEmail.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AccountEmail.Builder> implements AccountEmailOrBuilder
 Send an email with password to the server. Used with authenticate/link/unlink.
 
Protobuf type nakama.api.AccountEmail
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AccountEmail.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<AccountEmail.Builder>
    • internalGetFieldAccessorTable

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

      public AccountEmail.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<AccountEmail.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<AccountEmail.Builder>
    • getDefaultInstanceForType

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

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

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

      public AccountEmail.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<AccountEmail.Builder>
    • setField

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

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

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

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

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

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

      public AccountEmail.Builder mergeFrom(AccountEmail other)
    • isInitialized

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

      public AccountEmail.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<AccountEmail.Builder>
      Throws:
      IOException
    • getEmail

      public String getEmail()
       A valid RFC-5322 email address.
       
      string email = 1;
      Specified by:
      getEmail in interface AccountEmailOrBuilder
      Returns:
      The email.
    • getEmailBytes

      public com.google.protobuf.ByteString getEmailBytes()
       A valid RFC-5322 email address.
       
      string email = 1;
      Specified by:
      getEmailBytes in interface AccountEmailOrBuilder
      Returns:
      The bytes for email.
    • setEmail

      public AccountEmail.Builder setEmail(String value)
       A valid RFC-5322 email address.
       
      string email = 1;
      Parameters:
      value - The email to set.
      Returns:
      This builder for chaining.
    • clearEmail

      public AccountEmail.Builder clearEmail()
       A valid RFC-5322 email address.
       
      string email = 1;
      Returns:
      This builder for chaining.
    • setEmailBytes

      public AccountEmail.Builder setEmailBytes(com.google.protobuf.ByteString value)
       A valid RFC-5322 email address.
       
      string email = 1;
      Parameters:
      value - The bytes for email to set.
      Returns:
      This builder for chaining.
    • getPassword

      public String getPassword()
       A password for the user account.
       
      string password = 2;
      Specified by:
      getPassword in interface AccountEmailOrBuilder
      Returns:
      The password.
    • getPasswordBytes

      public com.google.protobuf.ByteString getPasswordBytes()
       A password for the user account.
       
      string password = 2;
      Specified by:
      getPasswordBytes in interface AccountEmailOrBuilder
      Returns:
      The bytes for password.
    • setPassword

      public AccountEmail.Builder setPassword(String value)
       A password for the user account.
       
      string password = 2;
      Parameters:
      value - The password to set.
      Returns:
      This builder for chaining.
    • clearPassword

      public AccountEmail.Builder clearPassword()
       A password for the user account.
       
      string password = 2;
      Returns:
      This builder for chaining.
    • setPasswordBytes

      public AccountEmail.Builder setPasswordBytes(com.google.protobuf.ByteString value)
       A password for the user account.
       
      string password = 2;
      Parameters:
      value - The bytes for password to set.
      Returns:
      This builder for chaining.
    • getVarsCount

      public int getVarsCount()
      Description copied from interface: AccountEmailOrBuilder
       Extra information that will be bundled in the session token.
       
      map<string, string> vars = 3;
      Specified by:
      getVarsCount in interface AccountEmailOrBuilder
    • containsVars

      public boolean containsVars(String key)
       Extra information that will be bundled in the session token.
       
      map<string, string> vars = 3;
      Specified by:
      containsVars in interface AccountEmailOrBuilder
    • getVars

      @Deprecated public Map<String,String> getVars()
      Deprecated.
      Use getVarsMap() instead.
      Specified by:
      getVars in interface AccountEmailOrBuilder
    • getVarsMap

      public Map<String,String> getVarsMap()
       Extra information that will be bundled in the session token.
       
      map<string, string> vars = 3;
      Specified by:
      getVarsMap in interface AccountEmailOrBuilder
    • getVarsOrDefault

      public String getVarsOrDefault(String key, String defaultValue)
       Extra information that will be bundled in the session token.
       
      map<string, string> vars = 3;
      Specified by:
      getVarsOrDefault in interface AccountEmailOrBuilder
    • getVarsOrThrow

      public String getVarsOrThrow(String key)
       Extra information that will be bundled in the session token.
       
      map<string, string> vars = 3;
      Specified by:
      getVarsOrThrow in interface AccountEmailOrBuilder
    • clearVars

      public AccountEmail.Builder clearVars()
    • removeVars

      public AccountEmail.Builder removeVars(String key)
       Extra information that will be bundled in the session token.
       
      map<string, string> vars = 3;
    • getMutableVars

      @Deprecated public Map<String,String> getMutableVars()
      Deprecated.
      Use alternate mutation accessors instead.
    • putVars

      public AccountEmail.Builder putVars(String key, String value)
       Extra information that will be bundled in the session token.
       
      map<string, string> vars = 3;
    • putAllVars

      public AccountEmail.Builder putAllVars(Map<String,String> values)
       Extra information that will be bundled in the session token.
       
      map<string, string> vars = 3;
    • setUnknownFields

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

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