// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: queue.proto

package com.spotify.transfer;

public final class QueueOuterClass {
  private QueueOuterClass() {}
  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 QueueOrBuilder extends
      // @@protoc_insertion_point(interface_extends:spotify.player.proto.transfer.Queue)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
     */
    java.util.List<com.spotify.context.ContextTrackOuterClass.ContextTrack> 
        getTracksList();
    /**
     * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
     */
    com.spotify.context.ContextTrackOuterClass.ContextTrack getTracks(int index);
    /**
     * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
     */
    int getTracksCount();
    /**
     * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
     */
    java.util.List<? extends com.spotify.context.ContextTrackOuterClass.ContextTrackOrBuilder> 
        getTracksOrBuilderList();
    /**
     * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
     */
    com.spotify.context.ContextTrackOuterClass.ContextTrackOrBuilder getTracksOrBuilder(
        int index);

    /**
     * <code>optional bool is_playing_queue = 2;</code>
     * @return Whether the isPlayingQueue field is set.
     */
    boolean hasIsPlayingQueue();
    /**
     * <code>optional bool is_playing_queue = 2;</code>
     * @return The isPlayingQueue.
     */
    boolean getIsPlayingQueue();
  }
  /**
   * Protobuf type {@code spotify.player.proto.transfer.Queue}
   */
  public  static final class Queue extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:spotify.player.proto.transfer.Queue)
      QueueOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Queue.newBuilder() to construct.
    private Queue(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Queue() {
      tracks_ = java.util.Collections.emptyList();
    }

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

    @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.transfer.QueueOuterClass.internal_static_spotify_player_proto_transfer_Queue_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.spotify.transfer.QueueOuterClass.internal_static_spotify_player_proto_transfer_Queue_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.spotify.transfer.QueueOuterClass.Queue.class, com.spotify.transfer.QueueOuterClass.Queue.Builder.class);
    }

    private int bitField0_;
    public static final int TRACKS_FIELD_NUMBER = 1;
    private java.util.List<com.spotify.context.ContextTrackOuterClass.ContextTrack> tracks_;
    /**
     * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
     */
    public java.util.List<com.spotify.context.ContextTrackOuterClass.ContextTrack> getTracksList() {
      return tracks_;
    }
    /**
     * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
     */
    public java.util.List<? extends com.spotify.context.ContextTrackOuterClass.ContextTrackOrBuilder> 
        getTracksOrBuilderList() {
      return tracks_;
    }
    /**
     * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
     */
    public int getTracksCount() {
      return tracks_.size();
    }
    /**
     * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
     */
    public com.spotify.context.ContextTrackOuterClass.ContextTrack getTracks(int index) {
      return tracks_.get(index);
    }
    /**
     * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
     */
    public com.spotify.context.ContextTrackOuterClass.ContextTrackOrBuilder getTracksOrBuilder(
        int index) {
      return tracks_.get(index);
    }

    public static final int IS_PLAYING_QUEUE_FIELD_NUMBER = 2;
    private boolean isPlayingQueue_;
    /**
     * <code>optional bool is_playing_queue = 2;</code>
     * @return Whether the isPlayingQueue field is set.
     */
    public boolean hasIsPlayingQueue() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>optional bool is_playing_queue = 2;</code>
     * @return The isPlayingQueue.
     */
    public boolean getIsPlayingQueue() {
      return isPlayingQueue_;
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.spotify.transfer.QueueOuterClass.internal_static_spotify_player_proto_transfer_Queue_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.spotify.transfer.QueueOuterClass.Queue.class, com.spotify.transfer.QueueOuterClass.Queue.Builder.class);
      }

      // Construct using com.spotify.transfer.QueueOuterClass.Queue.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getTracksFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (tracksBuilder_ == null) {
          tracks_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          tracksBuilder_.clear();
        }
        isPlayingQueue_ = false;
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.spotify.transfer.QueueOuterClass.internal_static_spotify_player_proto_transfer_Queue_descriptor;
      }

      @java.lang.Override
      public com.spotify.transfer.QueueOuterClass.Queue getDefaultInstanceForType() {
        return com.spotify.transfer.QueueOuterClass.Queue.getDefaultInstance();
      }

      @java.lang.Override
      public com.spotify.transfer.QueueOuterClass.Queue build() {
        com.spotify.transfer.QueueOuterClass.Queue result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.spotify.transfer.QueueOuterClass.Queue buildPartial() {
        com.spotify.transfer.QueueOuterClass.Queue result = new com.spotify.transfer.QueueOuterClass.Queue(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (tracksBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            tracks_ = java.util.Collections.unmodifiableList(tracks_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.tracks_ = tracks_;
        } else {
          result.tracks_ = tracksBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.isPlayingQueue_ = isPlayingQueue_;
          to_bitField0_ |= 0x00000001;
        }
        result.bitField0_ = to_bitField0_;
        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 java.util.List<com.spotify.context.ContextTrackOuterClass.ContextTrack> tracks_ =
        java.util.Collections.emptyList();
      private void ensureTracksIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          tracks_ = new java.util.ArrayList<com.spotify.context.ContextTrackOuterClass.ContextTrack>(tracks_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.spotify.context.ContextTrackOuterClass.ContextTrack, com.spotify.context.ContextTrackOuterClass.ContextTrack.Builder, com.spotify.context.ContextTrackOuterClass.ContextTrackOrBuilder> tracksBuilder_;

      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public java.util.List<com.spotify.context.ContextTrackOuterClass.ContextTrack> getTracksList() {
        if (tracksBuilder_ == null) {
          return java.util.Collections.unmodifiableList(tracks_);
        } else {
          return tracksBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public int getTracksCount() {
        if (tracksBuilder_ == null) {
          return tracks_.size();
        } else {
          return tracksBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public com.spotify.context.ContextTrackOuterClass.ContextTrack getTracks(int index) {
        if (tracksBuilder_ == null) {
          return tracks_.get(index);
        } else {
          return tracksBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public Builder setTracks(
          int index, com.spotify.context.ContextTrackOuterClass.ContextTrack value) {
        if (tracksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTracksIsMutable();
          tracks_.set(index, value);
          onChanged();
        } else {
          tracksBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public Builder setTracks(
          int index, com.spotify.context.ContextTrackOuterClass.ContextTrack.Builder builderForValue) {
        if (tracksBuilder_ == null) {
          ensureTracksIsMutable();
          tracks_.set(index, builderForValue.build());
          onChanged();
        } else {
          tracksBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public Builder addTracks(com.spotify.context.ContextTrackOuterClass.ContextTrack value) {
        if (tracksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTracksIsMutable();
          tracks_.add(value);
          onChanged();
        } else {
          tracksBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public Builder addTracks(
          int index, com.spotify.context.ContextTrackOuterClass.ContextTrack value) {
        if (tracksBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureTracksIsMutable();
          tracks_.add(index, value);
          onChanged();
        } else {
          tracksBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public Builder addTracks(
          com.spotify.context.ContextTrackOuterClass.ContextTrack.Builder builderForValue) {
        if (tracksBuilder_ == null) {
          ensureTracksIsMutable();
          tracks_.add(builderForValue.build());
          onChanged();
        } else {
          tracksBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public Builder addTracks(
          int index, com.spotify.context.ContextTrackOuterClass.ContextTrack.Builder builderForValue) {
        if (tracksBuilder_ == null) {
          ensureTracksIsMutable();
          tracks_.add(index, builderForValue.build());
          onChanged();
        } else {
          tracksBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public Builder addAllTracks(
          java.lang.Iterable<? extends com.spotify.context.ContextTrackOuterClass.ContextTrack> values) {
        if (tracksBuilder_ == null) {
          ensureTracksIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, tracks_);
          onChanged();
        } else {
          tracksBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public Builder clearTracks() {
        if (tracksBuilder_ == null) {
          tracks_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          tracksBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public Builder removeTracks(int index) {
        if (tracksBuilder_ == null) {
          ensureTracksIsMutable();
          tracks_.remove(index);
          onChanged();
        } else {
          tracksBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public com.spotify.context.ContextTrackOuterClass.ContextTrack.Builder getTracksBuilder(
          int index) {
        return getTracksFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public com.spotify.context.ContextTrackOuterClass.ContextTrackOrBuilder getTracksOrBuilder(
          int index) {
        if (tracksBuilder_ == null) {
          return tracks_.get(index);  } else {
          return tracksBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public java.util.List<? extends com.spotify.context.ContextTrackOuterClass.ContextTrackOrBuilder> 
           getTracksOrBuilderList() {
        if (tracksBuilder_ != null) {
          return tracksBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(tracks_);
        }
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public com.spotify.context.ContextTrackOuterClass.ContextTrack.Builder addTracksBuilder() {
        return getTracksFieldBuilder().addBuilder(
            com.spotify.context.ContextTrackOuterClass.ContextTrack.getDefaultInstance());
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public com.spotify.context.ContextTrackOuterClass.ContextTrack.Builder addTracksBuilder(
          int index) {
        return getTracksFieldBuilder().addBuilder(
            index, com.spotify.context.ContextTrackOuterClass.ContextTrack.getDefaultInstance());
      }
      /**
       * <code>repeated .spotify.player.proto.ContextTrack tracks = 1;</code>
       */
      public java.util.List<com.spotify.context.ContextTrackOuterClass.ContextTrack.Builder> 
           getTracksBuilderList() {
        return getTracksFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.spotify.context.ContextTrackOuterClass.ContextTrack, com.spotify.context.ContextTrackOuterClass.ContextTrack.Builder, com.spotify.context.ContextTrackOuterClass.ContextTrackOrBuilder> 
          getTracksFieldBuilder() {
        if (tracksBuilder_ == null) {
          tracksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.spotify.context.ContextTrackOuterClass.ContextTrack, com.spotify.context.ContextTrackOuterClass.ContextTrack.Builder, com.spotify.context.ContextTrackOuterClass.ContextTrackOrBuilder>(
                  tracks_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          tracks_ = null;
        }
        return tracksBuilder_;
      }

      private boolean isPlayingQueue_ ;
      /**
       * <code>optional bool is_playing_queue = 2;</code>
       * @return Whether the isPlayingQueue field is set.
       */
      public boolean hasIsPlayingQueue() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>optional bool is_playing_queue = 2;</code>
       * @return The isPlayingQueue.
       */
      public boolean getIsPlayingQueue() {
        return isPlayingQueue_;
      }
      /**
       * <code>optional bool is_playing_queue = 2;</code>
       * @param value The isPlayingQueue to set.
       * @return This builder for chaining.
       */
      public Builder setIsPlayingQueue(boolean value) {
        bitField0_ |= 0x00000002;
        isPlayingQueue_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional bool is_playing_queue = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsPlayingQueue() {
        bitField0_ = (bitField0_ & ~0x00000002);
        isPlayingQueue_ = false;
        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.player.proto.transfer.Queue)
    }

    // @@protoc_insertion_point(class_scope:spotify.player.proto.transfer.Queue)
    private static final com.spotify.transfer.QueueOuterClass.Queue DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.spotify.transfer.QueueOuterClass.Queue();
    }

    public static com.spotify.transfer.QueueOuterClass.Queue getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser<Queue>
        PARSER = new com.google.protobuf.AbstractParser<Queue>() {
      @java.lang.Override
      public Queue 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<Queue> parser() {
      return PARSER;
    }

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

    @java.lang.Override
    public com.spotify.transfer.QueueOuterClass.Queue getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_spotify_player_proto_transfer_Queue_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_spotify_player_proto_transfer_Queue_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\013queue.proto\022\035spotify.player.proto.tran" +
      "sfer\032\023context_track.proto\"U\n\005Queue\0222\n\006tr" +
      "acks\030\001 \003(\0132\".spotify.player.proto.Contex" +
      "tTrack\022\030\n\020is_playing_queue\030\002 \001(\010B\030\n\024com." +
      "spotify.transferH\002"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.spotify.context.ContextTrackOuterClass.getDescriptor(),
        });
    internal_static_spotify_player_proto_transfer_Queue_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_spotify_player_proto_transfer_Queue_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_spotify_player_proto_transfer_Queue_descriptor,
        new java.lang.String[] { "Tracks", "IsPlayingQueue", });
    com.spotify.context.ContextTrackOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
