Class AccountSteam.Builder

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

public static final class AccountSteam.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AccountSteam.Builder> implements AccountSteamOrBuilder
 Send a Steam token to the server. Used with authenticate/link/unlink.
 
Protobuf type nakama.api.AccountSteam
  • 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<AccountSteam.Builder>
    • internalGetMutableMapField

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

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

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

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

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

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

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

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

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

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

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

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

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

      public AccountSteam.Builder mergeFrom(AccountSteam other)
    • isInitialized

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

      public AccountSteam.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<AccountSteam.Builder>
      Throws:
      IOException
    • getToken

      public String getToken()
       The account token received from Steam to access their profile API.
       
      string token = 1;
      Specified by:
      getToken in interface AccountSteamOrBuilder
      Returns:
      The token.
    • getTokenBytes

      public com.google.protobuf.ByteString getTokenBytes()
       The account token received from Steam to access their profile API.
       
      string token = 1;
      Specified by:
      getTokenBytes in interface AccountSteamOrBuilder
      Returns:
      The bytes for token.
    • setToken

      public AccountSteam.Builder setToken(String value)
       The account token received from Steam to access their profile API.
       
      string token = 1;
      Parameters:
      value - The token to set.
      Returns:
      This builder for chaining.
    • clearToken

      public AccountSteam.Builder clearToken()
       The account token received from Steam to access their profile API.
       
      string token = 1;
      Returns:
      This builder for chaining.
    • setTokenBytes

      public AccountSteam.Builder setTokenBytes(com.google.protobuf.ByteString value)
       The account token received from Steam to access their profile API.
       
      string token = 1;
      Parameters:
      value - The bytes for token to set.
      Returns:
      This builder for chaining.
    • getVarsCount

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

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

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

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

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

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

      public AccountSteam.Builder clearVars()
    • removeVars

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

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

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

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

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

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