// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: storage-resolve.proto

package com.spotify.storage;

public final class StorageResolve {
  private StorageResolve() {}
  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 StorageResolveResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:spotify.download.proto.StorageResolveResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.spotify.download.proto.StorageResolveResponse.Result result = 1;</code>
     * @return The enum numeric value on the wire for result.
     */
    int getResultValue();
    /**
     * <code>.spotify.download.proto.StorageResolveResponse.Result result = 1;</code>
     * @return The result.
     */
    com.spotify.storage.StorageResolve.StorageResolveResponse.Result getResult();

    /**
     * <code>repeated string cdnurl = 2;</code>
     * @return A list containing the cdnurl.
     */
    java.util.List<java.lang.String>
        getCdnurlList();
    /**
     * <code>repeated string cdnurl = 2;</code>
     * @return The count of cdnurl.
     */
    int getCdnurlCount();
    /**
     * <code>repeated string cdnurl = 2;</code>
     * @param index The index of the element to return.
     * @return The cdnurl at the given index.
     */
    java.lang.String getCdnurl(int index);
    /**
     * <code>repeated string cdnurl = 2;</code>
     * @param index The index of the value to return.
     * @return The bytes of the cdnurl at the given index.
     */
    com.google.protobuf.ByteString
        getCdnurlBytes(int index);

    /**
     * <code>bytes fileid = 4;</code>
     * @return The fileid.
     */
    com.google.protobuf.ByteString getFileid();
  }
  /**
   * Protobuf type {@code spotify.download.proto.StorageResolveResponse}
   */
  public  static final class StorageResolveResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:spotify.download.proto.StorageResolveResponse)
      StorageResolveResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use StorageResolveResponse.newBuilder() to construct.
    private StorageResolveResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private StorageResolveResponse() {
      result_ = 0;
      cdnurl_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      fileid_ = com.google.protobuf.ByteString.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.spotify.storage.StorageResolve.internal_static_spotify_download_proto_StorageResolveResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.spotify.storage.StorageResolve.internal_static_spotify_download_proto_StorageResolveResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.spotify.storage.StorageResolve.StorageResolveResponse.class, com.spotify.storage.StorageResolve.StorageResolveResponse.Builder.class);
    }

    /**
     * Protobuf enum {@code spotify.download.proto.StorageResolveResponse.Result}
     */
    public enum Result
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>CDN = 0;</code>
       */
      CDN(0),
      /**
       * <code>STORAGE = 1;</code>
       */
      STORAGE(1),
      /**
       * <code>RESTRICTED = 3;</code>
       */
      RESTRICTED(3),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>CDN = 0;</code>
       */
      public static final int CDN_VALUE = 0;
      /**
       * <code>STORAGE = 1;</code>
       */
      public static final int STORAGE_VALUE = 1;
      /**
       * <code>RESTRICTED = 3;</code>
       */
      public static final int RESTRICTED_VALUE = 3;


      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 Result 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 Result forNumber(int value) {
        switch (value) {
          case 0: return CDN;
          case 1: return STORAGE;
          case 3: return RESTRICTED;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<Result>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          Result> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<Result>() {
              public Result findValueByNumber(int number) {
                return Result.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.storage.StorageResolve.StorageResolveResponse.getDescriptor().getEnumTypes().get(0);
      }

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

      public static Result 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 Result(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:spotify.download.proto.StorageResolveResponse.Result)
    }

    public static final int RESULT_FIELD_NUMBER = 1;
    private int result_;
    /**
     * <code>.spotify.download.proto.StorageResolveResponse.Result result = 1;</code>
     * @return The enum numeric value on the wire for result.
     */
    public int getResultValue() {
      return result_;
    }
    /**
     * <code>.spotify.download.proto.StorageResolveResponse.Result result = 1;</code>
     * @return The result.
     */
    public com.spotify.storage.StorageResolve.StorageResolveResponse.Result getResult() {
      @SuppressWarnings("deprecation")
      com.spotify.storage.StorageResolve.StorageResolveResponse.Result result = com.spotify.storage.StorageResolve.StorageResolveResponse.Result.valueOf(result_);
      return result == null ? com.spotify.storage.StorageResolve.StorageResolveResponse.Result.UNRECOGNIZED : result;
    }

    public static final int CDNURL_FIELD_NUMBER = 2;
    private com.google.protobuf.LazyStringList cdnurl_;
    /**
     * <code>repeated string cdnurl = 2;</code>
     * @return A list containing the cdnurl.
     */
    public com.google.protobuf.ProtocolStringList
        getCdnurlList() {
      return cdnurl_;
    }
    /**
     * <code>repeated string cdnurl = 2;</code>
     * @return The count of cdnurl.
     */
    public int getCdnurlCount() {
      return cdnurl_.size();
    }
    /**
     * <code>repeated string cdnurl = 2;</code>
     * @param index The index of the element to return.
     * @return The cdnurl at the given index.
     */
    public java.lang.String getCdnurl(int index) {
      return cdnurl_.get(index);
    }
    /**
     * <code>repeated string cdnurl = 2;</code>
     * @param index The index of the value to return.
     * @return The bytes of the cdnurl at the given index.
     */
    public com.google.protobuf.ByteString
        getCdnurlBytes(int index) {
      return cdnurl_.getByteString(index);
    }

    public static final int FILEID_FIELD_NUMBER = 4;
    private com.google.protobuf.ByteString fileid_;
    /**
     * <code>bytes fileid = 4;</code>
     * @return The fileid.
     */
    public com.google.protobuf.ByteString getFileid() {
      return fileid_;
    }

    public static com.spotify.storage.StorageResolve.StorageResolveResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.spotify.storage.StorageResolve.StorageResolveResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.spotify.storage.StorageResolve.StorageResolveResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.spotify.storage.StorageResolve.StorageResolveResponse 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.storage.StorageResolve.StorageResolveResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.spotify.storage.StorageResolve.StorageResolveResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.spotify.storage.StorageResolve.StorageResolveResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.spotify.storage.StorageResolve.StorageResolveResponse 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.storage.StorageResolve.StorageResolveResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.spotify.storage.StorageResolve.StorageResolveResponse 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.storage.StorageResolve.StorageResolveResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.spotify.storage.StorageResolve.StorageResolveResponse 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.storage.StorageResolve.StorageResolveResponse 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.download.proto.StorageResolveResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:spotify.download.proto.StorageResolveResponse)
        com.spotify.storage.StorageResolve.StorageResolveResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.spotify.storage.StorageResolve.internal_static_spotify_download_proto_StorageResolveResponse_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.spotify.storage.StorageResolve.internal_static_spotify_download_proto_StorageResolveResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.spotify.storage.StorageResolve.StorageResolveResponse.class, com.spotify.storage.StorageResolve.StorageResolveResponse.Builder.class);
      }

      // Construct using com.spotify.storage.StorageResolve.StorageResolveResponse.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();
        result_ = 0;

        cdnurl_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        fileid_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.spotify.storage.StorageResolve.internal_static_spotify_download_proto_StorageResolveResponse_descriptor;
      }

      @java.lang.Override
      public com.spotify.storage.StorageResolve.StorageResolveResponse getDefaultInstanceForType() {
        return com.spotify.storage.StorageResolve.StorageResolveResponse.getDefaultInstance();
      }

      @java.lang.Override
      public com.spotify.storage.StorageResolve.StorageResolveResponse build() {
        com.spotify.storage.StorageResolve.StorageResolveResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.spotify.storage.StorageResolve.StorageResolveResponse buildPartial() {
        com.spotify.storage.StorageResolve.StorageResolveResponse result = new com.spotify.storage.StorageResolve.StorageResolveResponse(this);
        int from_bitField0_ = bitField0_;
        result.result_ = result_;
        if (((bitField0_ & 0x00000001) != 0)) {
          cdnurl_ = cdnurl_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.cdnurl_ = cdnurl_;
        result.fileid_ = fileid_;
        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);
      }
      private int bitField0_;

      private int result_ = 0;
      /**
       * <code>.spotify.download.proto.StorageResolveResponse.Result result = 1;</code>
       * @return The enum numeric value on the wire for result.
       */
      public int getResultValue() {
        return result_;
      }
      /**
       * <code>.spotify.download.proto.StorageResolveResponse.Result result = 1;</code>
       * @param value The enum numeric value on the wire for result to set.
       * @return This builder for chaining.
       */
      public Builder setResultValue(int value) {
        result_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.spotify.download.proto.StorageResolveResponse.Result result = 1;</code>
       * @return The result.
       */
      public com.spotify.storage.StorageResolve.StorageResolveResponse.Result getResult() {
        @SuppressWarnings("deprecation")
        com.spotify.storage.StorageResolve.StorageResolveResponse.Result result = com.spotify.storage.StorageResolve.StorageResolveResponse.Result.valueOf(result_);
        return result == null ? com.spotify.storage.StorageResolve.StorageResolveResponse.Result.UNRECOGNIZED : result;
      }
      /**
       * <code>.spotify.download.proto.StorageResolveResponse.Result result = 1;</code>
       * @param value The result to set.
       * @return This builder for chaining.
       */
      public Builder setResult(com.spotify.storage.StorageResolve.StorageResolveResponse.Result value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        result_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.spotify.download.proto.StorageResolveResponse.Result result = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearResult() {
        
        result_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList cdnurl_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureCdnurlIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          cdnurl_ = new com.google.protobuf.LazyStringArrayList(cdnurl_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated string cdnurl = 2;</code>
       * @return A list containing the cdnurl.
       */
      public com.google.protobuf.ProtocolStringList
          getCdnurlList() {
        return cdnurl_.getUnmodifiableView();
      }
      /**
       * <code>repeated string cdnurl = 2;</code>
       * @return The count of cdnurl.
       */
      public int getCdnurlCount() {
        return cdnurl_.size();
      }
      /**
       * <code>repeated string cdnurl = 2;</code>
       * @param index The index of the element to return.
       * @return The cdnurl at the given index.
       */
      public java.lang.String getCdnurl(int index) {
        return cdnurl_.get(index);
      }
      /**
       * <code>repeated string cdnurl = 2;</code>
       * @param index The index of the value to return.
       * @return The bytes of the cdnurl at the given index.
       */
      public com.google.protobuf.ByteString
          getCdnurlBytes(int index) {
        return cdnurl_.getByteString(index);
      }
      /**
       * <code>repeated string cdnurl = 2;</code>
       * @param index The index to set the value at.
       * @param value The cdnurl to set.
       * @return This builder for chaining.
       */
      public Builder setCdnurl(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureCdnurlIsMutable();
        cdnurl_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string cdnurl = 2;</code>
       * @param value The cdnurl to add.
       * @return This builder for chaining.
       */
      public Builder addCdnurl(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureCdnurlIsMutable();
        cdnurl_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string cdnurl = 2;</code>
       * @param values The cdnurl to add.
       * @return This builder for chaining.
       */
      public Builder addAllCdnurl(
          java.lang.Iterable<java.lang.String> values) {
        ensureCdnurlIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, cdnurl_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string cdnurl = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearCdnurl() {
        cdnurl_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string cdnurl = 2;</code>
       * @param value The bytes of the cdnurl to add.
       * @return This builder for chaining.
       */
      public Builder addCdnurlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureCdnurlIsMutable();
        cdnurl_.add(value);
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString fileid_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>bytes fileid = 4;</code>
       * @return The fileid.
       */
      public com.google.protobuf.ByteString getFileid() {
        return fileid_;
      }
      /**
       * <code>bytes fileid = 4;</code>
       * @param value The fileid to set.
       * @return This builder for chaining.
       */
      public Builder setFileid(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        fileid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bytes fileid = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearFileid() {
        
        fileid_ = getDefaultInstance().getFileid();
        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.download.proto.StorageResolveResponse)
    }

    // @@protoc_insertion_point(class_scope:spotify.download.proto.StorageResolveResponse)
    private static final com.spotify.storage.StorageResolve.StorageResolveResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.spotify.storage.StorageResolve.StorageResolveResponse();
    }

    public static com.spotify.storage.StorageResolve.StorageResolveResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<StorageResolveResponse>
        PARSER = new com.google.protobuf.AbstractParser<StorageResolveResponse>() {
      @java.lang.Override
      public StorageResolveResponse parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e.getMessage()).setUnfinishedMessage(
                  builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

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

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

    @java.lang.Override
    public com.spotify.storage.StorageResolve.StorageResolveResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_spotify_download_proto_StorageResolveResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_spotify_download_proto_StorageResolveResponse_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\025storage-resolve.proto\022\026spotify.downloa" +
      "d.proto\"\257\001\n\026StorageResolveResponse\022E\n\006re" +
      "sult\030\001 \001(\01625.spotify.download.proto.Stor" +
      "ageResolveResponse.Result\022\016\n\006cdnurl\030\002 \003(" +
      "\t\022\016\n\006fileid\030\004 \001(\014\".\n\006Result\022\007\n\003CDN\020\000\022\013\n\007" +
      "STORAGE\020\001\022\016\n\nRESTRICTED\020\003B\027\n\023com.spotify" +
      ".storageH\002b\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_spotify_download_proto_StorageResolveResponse_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_spotify_download_proto_StorageResolveResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_spotify_download_proto_StorageResolveResponse_descriptor,
        new java.lang.String[] { "Result", "Cdnurl", "Fileid", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
