Class AuthenticateRequest.Builder

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

public static final class AuthenticateRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AuthenticateRequest.Builder> implements AuthenticateRequestOrBuilder
 Authentication request
 
Protobuf type satori.api.AuthenticateRequest
  • 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<AuthenticateRequest.Builder>
    • internalGetMutableMapField

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticateRequest.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<AuthenticateRequest.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<AuthenticateRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public AuthenticateRequest.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<AuthenticateRequest.Builder>
      Throws:
      IOException
    • getId

      public String getId()
       Identity ID. Must be between eight and 128 characters (inclusive).
       Must be an alphanumeric string with only underscores and hyphens allowed.
       
      string id = 1;
      Specified by:
      getId in interface AuthenticateRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Identity ID. Must be between eight and 128 characters (inclusive).
       Must be an alphanumeric string with only underscores and hyphens allowed.
       
      string id = 1;
      Specified by:
      getIdBytes in interface AuthenticateRequestOrBuilder
      Returns:
      The bytes for id.
    • setId

      public AuthenticateRequest.Builder setId(String value)
       Identity ID. Must be between eight and 128 characters (inclusive).
       Must be an alphanumeric string with only underscores and hyphens allowed.
       
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public AuthenticateRequest.Builder clearId()
       Identity ID. Must be between eight and 128 characters (inclusive).
       Must be an alphanumeric string with only underscores and hyphens allowed.
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public AuthenticateRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
       Identity ID. Must be between eight and 128 characters (inclusive).
       Must be an alphanumeric string with only underscores and hyphens allowed.
       
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getDefaultCount

      public int getDefaultCount()
      Description copied from interface: AuthenticateRequestOrBuilder
       Optional default properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> default = 2;
      Specified by:
      getDefaultCount in interface AuthenticateRequestOrBuilder
    • containsDefault

      public boolean containsDefault(String key)
       Optional default properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> default = 2;
      Specified by:
      containsDefault in interface AuthenticateRequestOrBuilder
    • getDefault

      @Deprecated public Map<String,String> getDefault()
      Deprecated.
      Use getDefaultMap() instead.
      Specified by:
      getDefault in interface AuthenticateRequestOrBuilder
    • getDefaultMap

      public Map<String,String> getDefaultMap()
       Optional default properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> default = 2;
      Specified by:
      getDefaultMap in interface AuthenticateRequestOrBuilder
    • getDefaultOrDefault

      public String getDefaultOrDefault(String key, String defaultValue)
       Optional default properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> default = 2;
      Specified by:
      getDefaultOrDefault in interface AuthenticateRequestOrBuilder
    • getDefaultOrThrow

      public String getDefaultOrThrow(String key)
       Optional default properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> default = 2;
      Specified by:
      getDefaultOrThrow in interface AuthenticateRequestOrBuilder
    • clearDefault

      public AuthenticateRequest.Builder clearDefault()
    • removeDefault

      public AuthenticateRequest.Builder removeDefault(String key)
       Optional default properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> default = 2;
    • getMutableDefault

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

      public AuthenticateRequest.Builder putDefault(String key, String value)
       Optional default properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> default = 2;
    • putAllDefault

      public AuthenticateRequest.Builder putAllDefault(Map<String,String> values)
       Optional default properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> default = 2;
    • getCustomCount

      public int getCustomCount()
      Description copied from interface: AuthenticateRequestOrBuilder
       Optional custom properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> custom = 3;
      Specified by:
      getCustomCount in interface AuthenticateRequestOrBuilder
    • containsCustom

      public boolean containsCustom(String key)
       Optional custom properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> custom = 3;
      Specified by:
      containsCustom in interface AuthenticateRequestOrBuilder
    • getCustom

      @Deprecated public Map<String,String> getCustom()
      Deprecated.
      Use getCustomMap() instead.
      Specified by:
      getCustom in interface AuthenticateRequestOrBuilder
    • getCustomMap

      public Map<String,String> getCustomMap()
       Optional custom properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> custom = 3;
      Specified by:
      getCustomMap in interface AuthenticateRequestOrBuilder
    • getCustomOrDefault

      public String getCustomOrDefault(String key, String defaultValue)
       Optional custom properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> custom = 3;
      Specified by:
      getCustomOrDefault in interface AuthenticateRequestOrBuilder
    • getCustomOrThrow

      public String getCustomOrThrow(String key)
       Optional custom properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> custom = 3;
      Specified by:
      getCustomOrThrow in interface AuthenticateRequestOrBuilder
    • clearCustom

      public AuthenticateRequest.Builder clearCustom()
    • removeCustom

      public AuthenticateRequest.Builder removeCustom(String key)
       Optional custom properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> custom = 3;
    • getMutableCustom

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

      public AuthenticateRequest.Builder putCustom(String key, String value)
       Optional custom properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> custom = 3;
    • putAllCustom

      public AuthenticateRequest.Builder putAllCustom(Map<String,String> values)
       Optional custom properties to update with this call.
       If not set, properties are left as they are on the server.
       
      map<string, string> custom = 3;
    • setUnknownFields

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

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