// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: spotify/login5/v3/challenges/code.proto

package com.spotify.login5v3;

public final class Code {
  private Code() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface CodeChallengeOrBuilder extends
      // @@protoc_insertion_point(interface_extends:spotify.login5.v3.challenges.CodeChallenge)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.spotify.login5.v3.challenges.CodeChallenge.Method method = 1;</code>
     * @return The enum numeric value on the wire for method.
     */
    int getMethodValue();
    /**
     * <code>.spotify.login5.v3.challenges.CodeChallenge.Method method = 1;</code>
     * @return The method.
     */
    com.spotify.login5v3.Code.CodeChallenge.Method getMethod();

    /**
     * <code>int32 code_length = 2;</code>
     * @return The codeLength.
     */
    int getCodeLength();

    /**
     * <code>int32 expires_in = 3;</code>
     * @return The expiresIn.
     */
    int getExpiresIn();

    /**
     * <code>string canonical_phone_number = 4;</code>
     * @return The canonicalPhoneNumber.
     */
    java.lang.String getCanonicalPhoneNumber();
    /**
     * <code>string canonical_phone_number = 4;</code>
     * @return The bytes for canonicalPhoneNumber.
     */
    com.google.protobuf.ByteString
        getCanonicalPhoneNumberBytes();
  }
  /**
   * Protobuf type {@code spotify.login5.v3.challenges.CodeChallenge}
   */
  public  static final class CodeChallenge extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:spotify.login5.v3.challenges.CodeChallenge)
      CodeChallengeOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CodeChallenge.newBuilder() to construct.
    private CodeChallenge(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CodeChallenge() {
      method_ = 0;
      canonicalPhoneNumber_ = "";
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new CodeChallenge();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CodeChallenge(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              int rawValue = input.readEnum();

              method_ = rawValue;
              break;
            }
            case 16: {

              codeLength_ = input.readInt32();
              break;
            }
            case 24: {

              expiresIn_ = input.readInt32();
              break;
            }
            case 34: {
              java.lang.String s = input.readStringRequireUtf8();

              canonicalPhoneNumber_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.spotify.login5v3.Code.internal_static_spotify_login5_v3_challenges_CodeChallenge_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.spotify.login5v3.Code.internal_static_spotify_login5_v3_challenges_CodeChallenge_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.spotify.login5v3.Code.CodeChallenge.class, com.spotify.login5v3.Code.CodeChallenge.Builder.class);
    }

    /**
     * Protobuf enum {@code spotify.login5.v3.challenges.CodeChallenge.Method}
     */
    public enum Method
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>UNKNOWN = 0;</code>
       */
      UNKNOWN(0),
      /**
       * <code>SMS = 1;</code>
       */
      SMS(1),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>UNKNOWN = 0;</code>
       */
      public static final int UNKNOWN_VALUE = 0;
      /**
       * <code>SMS = 1;</code>
       */
      public static final int SMS_VALUE = 1;


      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Method valueOf(int value) {
        return forNumber(value);
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
      public static Method forNumber(int value) {
        switch (value) {
          case 0: return UNKNOWN;
          case 1: return SMS;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<Method>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          Method> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<Method>() {
              public Method findValueByNumber(int number) {
                return Method.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return com.spotify.login5v3.Code.CodeChallenge.getDescriptor().getEnumTypes().get(0);
      }

      private static final Method[] VALUES = values();

      public static Method valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        if (desc.getIndex() == -1) {
          return UNRECOGNIZED;
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private Method(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:spotify.login5.v3.challenges.CodeChallenge.Method)
    }

    public static final int METHOD_FIELD_NUMBER = 1;
    private int method_;
    /**
     * <code>.spotify.login5.v3.challenges.CodeChallenge.Method method = 1;</code>
     * @return The enum numeric value on the wire for method.
     */
    public int getMethodValue() {
      return method_;
    }
    /**
     * <code>.spotify.login5.v3.challenges.CodeChallenge.Method method = 1;</code>
     * @return The method.
     */
    public com.spotify.login5v3.Code.CodeChallenge.Method getMethod() {
      @SuppressWarnings("deprecation")
      com.spotify.login5v3.Code.CodeChallenge.Method result = com.spotify.login5v3.Code.CodeChallenge.Method.valueOf(method_);
      return result == null ? com.spotify.login5v3.Code.CodeChallenge.Method.UNRECOGNIZED : result;
    }

    public static final int CODE_LENGTH_FIELD_NUMBER = 2;
    private int codeLength_;
    /**
     * <code>int32 code_length = 2;</code>
     * @return The codeLength.
     */
    public int getCodeLength() {
      return codeLength_;
    }

    public static final int EXPIRES_IN_FIELD_NUMBER = 3;
    private int expiresIn_;
    /**
     * <code>int32 expires_in = 3;</code>
     * @return The expiresIn.
     */
    public int getExpiresIn() {
      return expiresIn_;
    }

    public static final int CANONICAL_PHONE_NUMBER_FIELD_NUMBER = 4;
    private volatile java.lang.Object canonicalPhoneNumber_;
    /**
     * <code>string canonical_phone_number = 4;</code>
     * @return The canonicalPhoneNumber.
     */
    public java.lang.String getCanonicalPhoneNumber() {
      java.lang.Object ref = canonicalPhoneNumber_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        canonicalPhoneNumber_ = s;
        return s;
      }
    }
    /**
     * <code>string canonical_phone_number = 4;</code>
     * @return The bytes for canonicalPhoneNumber.
     */
    public com.google.protobuf.ByteString
        getCanonicalPhoneNumberBytes() {
      java.lang.Object ref = canonicalPhoneNumber_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        canonicalPhoneNumber_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (method_ != com.spotify.login5v3.Code.CodeChallenge.Method.UNKNOWN.getNumber()) {
        output.writeEnum(1, method_);
      }
      if (codeLength_ != 0) {
        output.writeInt32(2, codeLength_);
      }
      if (expiresIn_ != 0) {
        output.writeInt32(3, expiresIn_);
      }
      if (!getCanonicalPhoneNumberBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, canonicalPhoneNumber_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (method_ != com.spotify.login5v3.Code.CodeChallenge.Method.UNKNOWN.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, method_);
      }
      if (codeLength_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, codeLength_);
      }
      if (expiresIn_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, expiresIn_);
      }
      if (!getCanonicalPhoneNumberBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, canonicalPhoneNumber_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.spotify.login5v3.Code.CodeChallenge)) {
        return super.equals(obj);
      }
      com.spotify.login5v3.Code.CodeChallenge other = (com.spotify.login5v3.Code.CodeChallenge) obj;

      if (method_ != other.method_) return false;
      if (getCodeLength()
          != other.getCodeLength()) return false;
      if (getExpiresIn()
          != other.getExpiresIn()) return false;
      if (!getCanonicalPhoneNumber()
          .equals(other.getCanonicalPhoneNumber())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + METHOD_FIELD_NUMBER;
      hash = (53 * hash) + method_;
      hash = (37 * hash) + CODE_LENGTH_FIELD_NUMBER;
      hash = (53 * hash) + getCodeLength();
      hash = (37 * hash) + EXPIRES_IN_FIELD_NUMBER;
      hash = (53 * hash) + getExpiresIn();
      hash = (37 * hash) + CANONICAL_PHONE_NUMBER_FIELD_NUMBER;
      hash = (53 * hash) + getCanonicalPhoneNumber().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.spotify.login5v3.Code.CodeChallenge parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.spotify.login5v3.Code.CodeChallenge parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.spotify.login5v3.Code.CodeChallenge parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.spotify.login5v3.Code.CodeChallenge parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.spotify.login5v3.Code.CodeChallenge parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.spotify.login5v3.Code.CodeChallenge parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.spotify.login5v3.Code.CodeChallenge parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.spotify.login5v3.Code.CodeChallenge parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.spotify.login5v3.Code.CodeChallenge parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.spotify.login5v3.Code.CodeChallenge parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.spotify.login5v3.Code.CodeChallenge parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.spotify.login5v3.Code.CodeChallenge parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.spotify.login5v3.Code.CodeChallenge prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code spotify.login5.v3.challenges.CodeChallenge}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:spotify.login5.v3.challenges.CodeChallenge)
        com.spotify.login5v3.Code.CodeChallengeOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.spotify.login5v3.Code.internal_static_spotify_login5_v3_challenges_CodeChallenge_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.spotify.login5v3.Code.internal_static_spotify_login5_v3_challenges_CodeChallenge_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.spotify.login5v3.Code.CodeChallenge.class, com.spotify.login5v3.Code.CodeChallenge.Builder.class);
      }

      // Construct using com.spotify.login5v3.Code.CodeChallenge.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        method_ = 0;

        codeLength_ = 0;

        expiresIn_ = 0;

        canonicalPhoneNumber_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.spotify.login5v3.Code.internal_static_spotify_login5_v3_challenges_CodeChallenge_descriptor;
      }

      @java.lang.Override
      public com.spotify.login5v3.Code.CodeChallenge getDefaultInstanceForType() {
        return com.spotify.login5v3.Code.CodeChallenge.getDefaultInstance();
      }

      @java.lang.Override
      public com.spotify.login5v3.Code.CodeChallenge build() {
        com.spotify.login5v3.Code.CodeChallenge result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.spotify.login5v3.Code.CodeChallenge buildPartial() {
        com.spotify.login5v3.Code.CodeChallenge result = new com.spotify.login5v3.Code.CodeChallenge(this);
        result.method_ = method_;
        result.codeLength_ = codeLength_;
        result.expiresIn_ = expiresIn_;
        result.canonicalPhoneNumber_ = canonicalPhoneNumber_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.spotify.login5v3.Code.CodeChallenge) {
          return mergeFrom((com.spotify.login5v3.Code.CodeChallenge)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.spotify.login5v3.Code.CodeChallenge other) {
        if (other == com.spotify.login5v3.Code.CodeChallenge.getDefaultInstance()) return this;
        if (other.method_ != 0) {
          setMethodValue(other.getMethodValue());
        }
        if (other.getCodeLength() != 0) {
          setCodeLength(other.getCodeLength());
        }
        if (other.getExpiresIn() != 0) {
          setExpiresIn(other.getExpiresIn());
        }
        if (!other.getCanonicalPhoneNumber().isEmpty()) {
          canonicalPhoneNumber_ = other.canonicalPhoneNumber_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.spotify.login5v3.Code.CodeChallenge parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.spotify.login5v3.Code.CodeChallenge) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int method_ = 0;
      /**
       * <code>.spotify.login5.v3.challenges.CodeChallenge.Method method = 1;</code>
       * @return The enum numeric value on the wire for method.
       */
      public int getMethodValue() {
        return method_;
      }
      /**
       * <code>.spotify.login5.v3.challenges.CodeChallenge.Method method = 1;</code>
       * @param value The enum numeric value on the wire for method to set.
       * @return This builder for chaining.
       */
      public Builder setMethodValue(int value) {
        method_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.spotify.login5.v3.challenges.CodeChallenge.Method method = 1;</code>
       * @return The method.
       */
      public com.spotify.login5v3.Code.CodeChallenge.Method getMethod() {
        @SuppressWarnings("deprecation")
        com.spotify.login5v3.Code.CodeChallenge.Method result = com.spotify.login5v3.Code.CodeChallenge.Method.valueOf(method_);
        return result == null ? com.spotify.login5v3.Code.CodeChallenge.Method.UNRECOGNIZED : result;
      }
      /**
       * <code>.spotify.login5.v3.challenges.CodeChallenge.Method method = 1;</code>
       * @param value The method to set.
       * @return This builder for chaining.
       */
      public Builder setMethod(com.spotify.login5v3.Code.CodeChallenge.Method value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        method_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.spotify.login5.v3.challenges.CodeChallenge.Method method = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearMethod() {
        
        method_ = 0;
        onChanged();
        return this;
      }

      private int codeLength_ ;
      /**
       * <code>int32 code_length = 2;</code>
       * @return The codeLength.
       */
      public int getCodeLength() {
        return codeLength_;
      }
      /**
       * <code>int32 code_length = 2;</code>
       * @param value The codeLength to set.
       * @return This builder for chaining.
       */
      public Builder setCodeLength(int value) {
        
        codeLength_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 code_length = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearCodeLength() {
        
        codeLength_ = 0;
        onChanged();
        return this;
      }

      private int expiresIn_ ;
      /**
       * <code>int32 expires_in = 3;</code>
       * @return The expiresIn.
       */
      public int getExpiresIn() {
        return expiresIn_;
      }
      /**
       * <code>int32 expires_in = 3;</code>
       * @param value The expiresIn to set.
       * @return This builder for chaining.
       */
      public Builder setExpiresIn(int value) {
        
        expiresIn_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 expires_in = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearExpiresIn() {
        
        expiresIn_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object canonicalPhoneNumber_ = "";
      /**
       * <code>string canonical_phone_number = 4;</code>
       * @return The canonicalPhoneNumber.
       */
      public java.lang.String getCanonicalPhoneNumber() {
        java.lang.Object ref = canonicalPhoneNumber_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          canonicalPhoneNumber_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string canonical_phone_number = 4;</code>
       * @return The bytes for canonicalPhoneNumber.
       */
      public com.google.protobuf.ByteString
          getCanonicalPhoneNumberBytes() {
        java.lang.Object ref = canonicalPhoneNumber_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          canonicalPhoneNumber_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string canonical_phone_number = 4;</code>
       * @param value The canonicalPhoneNumber to set.
       * @return This builder for chaining.
       */
      public Builder setCanonicalPhoneNumber(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        canonicalPhoneNumber_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string canonical_phone_number = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearCanonicalPhoneNumber() {
        
        canonicalPhoneNumber_ = getDefaultInstance().getCanonicalPhoneNumber();
        onChanged();
        return this;
      }
      /**
       * <code>string canonical_phone_number = 4;</code>
       * @param value The bytes for canonicalPhoneNumber to set.
       * @return This builder for chaining.
       */
      public Builder setCanonicalPhoneNumberBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        canonicalPhoneNumber_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:spotify.login5.v3.challenges.CodeChallenge)
    }

    // @@protoc_insertion_point(class_scope:spotify.login5.v3.challenges.CodeChallenge)
    private static final com.spotify.login5v3.Code.CodeChallenge DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.spotify.login5v3.Code.CodeChallenge();
    }

    public static com.spotify.login5v3.Code.CodeChallenge getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<CodeChallenge>
        PARSER = new com.google.protobuf.AbstractParser<CodeChallenge>() {
      @java.lang.Override
      public CodeChallenge parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new CodeChallenge(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<CodeChallenge> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<CodeChallenge> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.spotify.login5v3.Code.CodeChallenge getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface CodeSolutionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:spotify.login5.v3.challenges.CodeSolution)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string code = 1;</code>
     * @return The code.
     */
    java.lang.String getCode();
    /**
     * <code>string code = 1;</code>
     * @return The bytes for code.
     */
    com.google.protobuf.ByteString
        getCodeBytes();
  }
  /**
   * Protobuf type {@code spotify.login5.v3.challenges.CodeSolution}
   */
  public  static final class CodeSolution extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:spotify.login5.v3.challenges.CodeSolution)
      CodeSolutionOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CodeSolution.newBuilder() to construct.
    private CodeSolution(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CodeSolution() {
      code_ = "";
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new CodeSolution();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CodeSolution(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              code_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.spotify.login5v3.Code.internal_static_spotify_login5_v3_challenges_CodeSolution_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.spotify.login5v3.Code.internal_static_spotify_login5_v3_challenges_CodeSolution_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.spotify.login5v3.Code.CodeSolution.class, com.spotify.login5v3.Code.CodeSolution.Builder.class);
    }

    public static final int CODE_FIELD_NUMBER = 1;
    private volatile java.lang.Object code_;
    /**
     * <code>string code = 1;</code>
     * @return The code.
     */
    public java.lang.String getCode() {
      java.lang.Object ref = code_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        code_ = s;
        return s;
      }
    }
    /**
     * <code>string code = 1;</code>
     * @return The bytes for code.
     */
    public com.google.protobuf.ByteString
        getCodeBytes() {
      java.lang.Object ref = code_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        code_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getCodeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!getCodeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, code_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.spotify.login5v3.Code.CodeSolution)) {
        return super.equals(obj);
      }
      com.spotify.login5v3.Code.CodeSolution other = (com.spotify.login5v3.Code.CodeSolution) obj;

      if (!getCode()
          .equals(other.getCode())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + CODE_FIELD_NUMBER;
      hash = (53 * hash) + getCode().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.spotify.login5v3.Code.CodeSolution parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.spotify.login5v3.Code.CodeSolution parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.spotify.login5v3.Code.CodeSolution parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.spotify.login5v3.Code.CodeSolution parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.spotify.login5v3.Code.CodeSolution parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.spotify.login5v3.Code.CodeSolution parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.spotify.login5v3.Code.CodeSolution parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.spotify.login5v3.Code.CodeSolution parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.spotify.login5v3.Code.CodeSolution parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.spotify.login5v3.Code.CodeSolution parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.spotify.login5v3.Code.CodeSolution parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.spotify.login5v3.Code.CodeSolution parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.spotify.login5v3.Code.CodeSolution prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code spotify.login5.v3.challenges.CodeSolution}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:spotify.login5.v3.challenges.CodeSolution)
        com.spotify.login5v3.Code.CodeSolutionOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.spotify.login5v3.Code.internal_static_spotify_login5_v3_challenges_CodeSolution_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.spotify.login5v3.Code.internal_static_spotify_login5_v3_challenges_CodeSolution_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.spotify.login5v3.Code.CodeSolution.class, com.spotify.login5v3.Code.CodeSolution.Builder.class);
      }

      // Construct using com.spotify.login5v3.Code.CodeSolution.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        code_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.spotify.login5v3.Code.internal_static_spotify_login5_v3_challenges_CodeSolution_descriptor;
      }

      @java.lang.Override
      public com.spotify.login5v3.Code.CodeSolution getDefaultInstanceForType() {
        return com.spotify.login5v3.Code.CodeSolution.getDefaultInstance();
      }

      @java.lang.Override
      public com.spotify.login5v3.Code.CodeSolution build() {
        com.spotify.login5v3.Code.CodeSolution result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.spotify.login5v3.Code.CodeSolution buildPartial() {
        com.spotify.login5v3.Code.CodeSolution result = new com.spotify.login5v3.Code.CodeSolution(this);
        result.code_ = code_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.spotify.login5v3.Code.CodeSolution) {
          return mergeFrom((com.spotify.login5v3.Code.CodeSolution)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.spotify.login5v3.Code.CodeSolution other) {
        if (other == com.spotify.login5v3.Code.CodeSolution.getDefaultInstance()) return this;
        if (!other.getCode().isEmpty()) {
          code_ = other.code_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.spotify.login5v3.Code.CodeSolution parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.spotify.login5v3.Code.CodeSolution) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object code_ = "";
      /**
       * <code>string code = 1;</code>
       * @return The code.
       */
      public java.lang.String getCode() {
        java.lang.Object ref = code_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          code_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string code = 1;</code>
       * @return The bytes for code.
       */
      public com.google.protobuf.ByteString
          getCodeBytes() {
        java.lang.Object ref = code_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          code_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string code = 1;</code>
       * @param value The code to set.
       * @return This builder for chaining.
       */
      public Builder setCode(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        code_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string code = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearCode() {
        
        code_ = getDefaultInstance().getCode();
        onChanged();
        return this;
      }
      /**
       * <code>string code = 1;</code>
       * @param value The bytes for code to set.
       * @return This builder for chaining.
       */
      public Builder setCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        code_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:spotify.login5.v3.challenges.CodeSolution)
    }

    // @@protoc_insertion_point(class_scope:spotify.login5.v3.challenges.CodeSolution)
    private static final com.spotify.login5v3.Code.CodeSolution DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.spotify.login5v3.Code.CodeSolution();
    }

    public static com.spotify.login5v3.Code.CodeSolution getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<CodeSolution>
        PARSER = new com.google.protobuf.AbstractParser<CodeSolution>() {
      @java.lang.Override
      public CodeSolution parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new CodeSolution(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<CodeSolution> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<CodeSolution> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.spotify.login5v3.Code.CodeSolution getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_spotify_login5_v3_challenges_CodeChallenge_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_spotify_login5_v3_challenges_CodeChallenge_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_spotify_login5_v3_challenges_CodeSolution_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_spotify_login5_v3_challenges_CodeSolution_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\'spotify/login5/v3/challenges/code.prot" +
      "o\022\034spotify.login5.v3.challenges\"\274\001\n\rCode" +
      "Challenge\022B\n\006method\030\001 \001(\01622.spotify.logi" +
      "n5.v3.challenges.CodeChallenge.Method\022\023\n" +
      "\013code_length\030\002 \001(\005\022\022\n\nexpires_in\030\003 \001(\005\022\036" +
      "\n\026canonical_phone_number\030\004 \001(\t\"\036\n\006Method" +
      "\022\013\n\007UNKNOWN\020\000\022\007\n\003SMS\020\001\"\034\n\014CodeSolution\022\014" +
      "\n\004code\030\001 \001(\tB\026\n\024com.spotify.login5v3b\006pr" +
      "oto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_spotify_login5_v3_challenges_CodeChallenge_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_spotify_login5_v3_challenges_CodeChallenge_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_spotify_login5_v3_challenges_CodeChallenge_descriptor,
        new java.lang.String[] { "Method", "CodeLength", "ExpiresIn", "CanonicalPhoneNumber", });
    internal_static_spotify_login5_v3_challenges_CodeSolution_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_spotify_login5_v3_challenges_CodeSolution_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_spotify_login5_v3_challenges_CodeSolution_descriptor,
        new java.lang.String[] { "Code", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
