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

package com.spotify.context;

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

    /**
     * <code>optional string uri = 1;</code>
     * @return Whether the uri field is set.
     */
    boolean hasUri();
    /**
     * <code>optional string uri = 1;</code>
     * @return The uri.
     */
    java.lang.String getUri();
    /**
     * <code>optional string uri = 1;</code>
     * @return The bytes for uri.
     */
    com.google.protobuf.ByteString
        getUriBytes();

    /**
     * <code>optional string url = 2;</code>
     * @return Whether the url field is set.
     */
    boolean hasUrl();
    /**
     * <code>optional string url = 2;</code>
     * @return The url.
     */
    java.lang.String getUrl();
    /**
     * <code>optional string url = 2;</code>
     * @return The bytes for url.
     */
    com.google.protobuf.ByteString
        getUrlBytes();

    /**
     * <code>map&lt;string, string&gt; metadata = 3;</code>
     */
    int getMetadataCount();
    /**
     * <code>map&lt;string, string&gt; metadata = 3;</code>
     */
    boolean containsMetadata(
        java.lang.String key);
    /**
     * Use {@link #getMetadataMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.String, java.lang.String>
    getMetadata();
    /**
     * <code>map&lt;string, string&gt; metadata = 3;</code>
     */
    java.util.Map<java.lang.String, java.lang.String>
    getMetadataMap();
    /**
     * <code>map&lt;string, string&gt; metadata = 3;</code>
     */

    java.lang.String getMetadataOrDefault(
        java.lang.String key,
        java.lang.String defaultValue);
    /**
     * <code>map&lt;string, string&gt; metadata = 3;</code>
     */

    java.lang.String getMetadataOrThrow(
        java.lang.String key);

    /**
     * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
     * @return Whether the restrictions field is set.
     */
    boolean hasRestrictions();
    /**
     * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
     * @return The restrictions.
     */
    com.spotify.context.RestrictionsOuterClass.Restrictions getRestrictions();
    /**
     * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
     */
    com.spotify.context.RestrictionsOuterClass.RestrictionsOrBuilder getRestrictionsOrBuilder();

    /**
     * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
     */
    java.util.List<com.spotify.context.ContextPageOuterClass.ContextPage> 
        getPagesList();
    /**
     * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
     */
    com.spotify.context.ContextPageOuterClass.ContextPage getPages(int index);
    /**
     * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
     */
    int getPagesCount();
    /**
     * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
     */
    java.util.List<? extends com.spotify.context.ContextPageOuterClass.ContextPageOrBuilder> 
        getPagesOrBuilderList();
    /**
     * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
     */
    com.spotify.context.ContextPageOuterClass.ContextPageOrBuilder getPagesOrBuilder(
        int index);

    /**
     * <code>optional bool loading = 6;</code>
     * @return Whether the loading field is set.
     */
    boolean hasLoading();
    /**
     * <code>optional bool loading = 6;</code>
     * @return The loading.
     */
    boolean getLoading();
  }
  /**
   * Protobuf type {@code spotify.player.proto.Context}
   */
  public  static final class Context extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:spotify.player.proto.Context)
      ContextOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Context.newBuilder() to construct.
    private Context(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Context() {
      uri_ = "";
      url_ = "";
      pages_ = java.util.Collections.emptyList();
    }

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

    @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.context.ContextOuterClass.internal_static_spotify_player_proto_Context_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 3:
          return internalGetMetadata();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.spotify.context.ContextOuterClass.internal_static_spotify_player_proto_Context_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.spotify.context.ContextOuterClass.Context.class, com.spotify.context.ContextOuterClass.Context.Builder.class);
    }

    private int bitField0_;
    public static final int URI_FIELD_NUMBER = 1;
    private volatile java.lang.Object uri_;
    /**
     * <code>optional string uri = 1;</code>
     * @return Whether the uri field is set.
     */
    public boolean hasUri() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>optional string uri = 1;</code>
     * @return The uri.
     */
    public java.lang.String getUri() {
      java.lang.Object ref = uri_;
      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();
        if (bs.isValidUtf8()) {
          uri_ = s;
        }
        return s;
      }
    }
    /**
     * <code>optional string uri = 1;</code>
     * @return The bytes for uri.
     */
    public com.google.protobuf.ByteString
        getUriBytes() {
      java.lang.Object ref = uri_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        uri_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int URL_FIELD_NUMBER = 2;
    private volatile java.lang.Object url_;
    /**
     * <code>optional string url = 2;</code>
     * @return Whether the url field is set.
     */
    public boolean hasUrl() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>optional string url = 2;</code>
     * @return The url.
     */
    public java.lang.String getUrl() {
      java.lang.Object ref = url_;
      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();
        if (bs.isValidUtf8()) {
          url_ = s;
        }
        return s;
      }
    }
    /**
     * <code>optional string url = 2;</code>
     * @return The bytes for url.
     */
    public com.google.protobuf.ByteString
        getUrlBytes() {
      java.lang.Object ref = url_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        url_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int METADATA_FIELD_NUMBER = 3;
    private static final class MetadataDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, java.lang.String> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.String, java.lang.String>newDefaultInstance(
                  com.spotify.context.ContextOuterClass.internal_static_spotify_player_proto_Context_MetadataEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "");
    }
    private com.google.protobuf.MapField<
        java.lang.String, java.lang.String> metadata_;
    private com.google.protobuf.MapField<java.lang.String, java.lang.String>
    internalGetMetadata() {
      if (metadata_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            MetadataDefaultEntryHolder.defaultEntry);
      }
      return metadata_;
    }

    public int getMetadataCount() {
      return internalGetMetadata().getMap().size();
    }
    /**
     * <code>map&lt;string, string&gt; metadata = 3;</code>
     */

    public boolean containsMetadata(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      return internalGetMetadata().getMap().containsKey(key);
    }
    /**
     * Use {@link #getMetadataMap()} instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, java.lang.String> getMetadata() {
      return getMetadataMap();
    }
    /**
     * <code>map&lt;string, string&gt; metadata = 3;</code>
     */

    public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {
      return internalGetMetadata().getMap();
    }
    /**
     * <code>map&lt;string, string&gt; metadata = 3;</code>
     */

    public java.lang.String getMetadataOrDefault(
        java.lang.String key,
        java.lang.String defaultValue) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetMetadata().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;string, string&gt; metadata = 3;</code>
     */

    public java.lang.String getMetadataOrThrow(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetMetadata().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public static final int RESTRICTIONS_FIELD_NUMBER = 4;
    private com.spotify.context.RestrictionsOuterClass.Restrictions restrictions_;
    /**
     * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
     * @return Whether the restrictions field is set.
     */
    public boolean hasRestrictions() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
     * @return The restrictions.
     */
    public com.spotify.context.RestrictionsOuterClass.Restrictions getRestrictions() {
      return restrictions_ == null ? com.spotify.context.RestrictionsOuterClass.Restrictions.getDefaultInstance() : restrictions_;
    }
    /**
     * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
     */
    public com.spotify.context.RestrictionsOuterClass.RestrictionsOrBuilder getRestrictionsOrBuilder() {
      return restrictions_ == null ? com.spotify.context.RestrictionsOuterClass.Restrictions.getDefaultInstance() : restrictions_;
    }

    public static final int PAGES_FIELD_NUMBER = 5;
    private java.util.List<com.spotify.context.ContextPageOuterClass.ContextPage> pages_;
    /**
     * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
     */
    public java.util.List<com.spotify.context.ContextPageOuterClass.ContextPage> getPagesList() {
      return pages_;
    }
    /**
     * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
     */
    public java.util.List<? extends com.spotify.context.ContextPageOuterClass.ContextPageOrBuilder> 
        getPagesOrBuilderList() {
      return pages_;
    }
    /**
     * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
     */
    public int getPagesCount() {
      return pages_.size();
    }
    /**
     * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
     */
    public com.spotify.context.ContextPageOuterClass.ContextPage getPages(int index) {
      return pages_.get(index);
    }
    /**
     * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
     */
    public com.spotify.context.ContextPageOuterClass.ContextPageOrBuilder getPagesOrBuilder(
        int index) {
      return pages_.get(index);
    }

    public static final int LOADING_FIELD_NUMBER = 6;
    private boolean loading_;
    /**
     * <code>optional bool loading = 6;</code>
     * @return Whether the loading field is set.
     */
    public boolean hasLoading() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <code>optional bool loading = 6;</code>
     * @return The loading.
     */
    public boolean getLoading() {
      return loading_;
    }

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

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 3:
            return internalGetMetadata();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 3:
            return internalGetMutableMetadata();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.spotify.context.ContextOuterClass.internal_static_spotify_player_proto_Context_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.spotify.context.ContextOuterClass.Context.class, com.spotify.context.ContextOuterClass.Context.Builder.class);
      }

      // Construct using com.spotify.context.ContextOuterClass.Context.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getRestrictionsFieldBuilder();
          getPagesFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        uri_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        url_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        internalGetMutableMetadata().clear();
        if (restrictionsBuilder_ == null) {
          restrictions_ = null;
        } else {
          restrictionsBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000008);
        if (pagesBuilder_ == null) {
          pages_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000010);
        } else {
          pagesBuilder_.clear();
        }
        loading_ = false;
        bitField0_ = (bitField0_ & ~0x00000020);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.spotify.context.ContextOuterClass.internal_static_spotify_player_proto_Context_descriptor;
      }

      @java.lang.Override
      public com.spotify.context.ContextOuterClass.Context getDefaultInstanceForType() {
        return com.spotify.context.ContextOuterClass.Context.getDefaultInstance();
      }

      @java.lang.Override
      public com.spotify.context.ContextOuterClass.Context build() {
        com.spotify.context.ContextOuterClass.Context result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.spotify.context.ContextOuterClass.Context buildPartial() {
        com.spotify.context.ContextOuterClass.Context result = new com.spotify.context.ContextOuterClass.Context(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          to_bitField0_ |= 0x00000001;
        }
        result.uri_ = uri_;
        if (((from_bitField0_ & 0x00000002) != 0)) {
          to_bitField0_ |= 0x00000002;
        }
        result.url_ = url_;
        result.metadata_ = internalGetMetadata();
        result.metadata_.makeImmutable();
        if (((from_bitField0_ & 0x00000008) != 0)) {
          if (restrictionsBuilder_ == null) {
            result.restrictions_ = restrictions_;
          } else {
            result.restrictions_ = restrictionsBuilder_.build();
          }
          to_bitField0_ |= 0x00000004;
        }
        if (pagesBuilder_ == null) {
          if (((bitField0_ & 0x00000010) != 0)) {
            pages_ = java.util.Collections.unmodifiableList(pages_);
            bitField0_ = (bitField0_ & ~0x00000010);
          }
          result.pages_ = pages_;
        } else {
          result.pages_ = pagesBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000020) != 0)) {
          result.loading_ = loading_;
          to_bitField0_ |= 0x00000008;
        }
        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.lang.Object uri_ = "";
      /**
       * <code>optional string uri = 1;</code>
       * @return Whether the uri field is set.
       */
      public boolean hasUri() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>optional string uri = 1;</code>
       * @return The uri.
       */
      public java.lang.String getUri() {
        java.lang.Object ref = uri_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            uri_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string uri = 1;</code>
       * @return The bytes for uri.
       */
      public com.google.protobuf.ByteString
          getUriBytes() {
        java.lang.Object ref = uri_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          uri_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string uri = 1;</code>
       * @param value The uri to set.
       * @return This builder for chaining.
       */
      public Builder setUri(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        uri_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string uri = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearUri() {
        bitField0_ = (bitField0_ & ~0x00000001);
        uri_ = getDefaultInstance().getUri();
        onChanged();
        return this;
      }
      /**
       * <code>optional string uri = 1;</code>
       * @param value The bytes for uri to set.
       * @return This builder for chaining.
       */
      public Builder setUriBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        uri_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object url_ = "";
      /**
       * <code>optional string url = 2;</code>
       * @return Whether the url field is set.
       */
      public boolean hasUrl() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>optional string url = 2;</code>
       * @return The url.
       */
      public java.lang.String getUrl() {
        java.lang.Object ref = url_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            url_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string url = 2;</code>
       * @return The bytes for url.
       */
      public com.google.protobuf.ByteString
          getUrlBytes() {
        java.lang.Object ref = url_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          url_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string url = 2;</code>
       * @param value The url to set.
       * @return This builder for chaining.
       */
      public Builder setUrl(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        url_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string url = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearUrl() {
        bitField0_ = (bitField0_ & ~0x00000002);
        url_ = getDefaultInstance().getUrl();
        onChanged();
        return this;
      }
      /**
       * <code>optional string url = 2;</code>
       * @param value The bytes for url to set.
       * @return This builder for chaining.
       */
      public Builder setUrlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        url_ = value;
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.String, java.lang.String> metadata_;
      private com.google.protobuf.MapField<java.lang.String, java.lang.String>
      internalGetMetadata() {
        if (metadata_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              MetadataDefaultEntryHolder.defaultEntry);
        }
        return metadata_;
      }
      private com.google.protobuf.MapField<java.lang.String, java.lang.String>
      internalGetMutableMetadata() {
        onChanged();;
        if (metadata_ == null) {
          metadata_ = com.google.protobuf.MapField.newMapField(
              MetadataDefaultEntryHolder.defaultEntry);
        }
        if (!metadata_.isMutable()) {
          metadata_ = metadata_.copy();
        }
        return metadata_;
      }

      public int getMetadataCount() {
        return internalGetMetadata().getMap().size();
      }
      /**
       * <code>map&lt;string, string&gt; metadata = 3;</code>
       */

      public boolean containsMetadata(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        return internalGetMetadata().getMap().containsKey(key);
      }
      /**
       * Use {@link #getMetadataMap()} instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, java.lang.String> getMetadata() {
        return getMetadataMap();
      }
      /**
       * <code>map&lt;string, string&gt; metadata = 3;</code>
       */

      public java.util.Map<java.lang.String, java.lang.String> getMetadataMap() {
        return internalGetMetadata().getMap();
      }
      /**
       * <code>map&lt;string, string&gt; metadata = 3;</code>
       */

      public java.lang.String getMetadataOrDefault(
          java.lang.String key,
          java.lang.String defaultValue) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map<java.lang.String, java.lang.String> map =
            internalGetMetadata().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;string, string&gt; metadata = 3;</code>
       */

      public java.lang.String getMetadataOrThrow(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        java.util.Map<java.lang.String, java.lang.String> map =
            internalGetMetadata().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }

      public Builder clearMetadata() {
        internalGetMutableMetadata().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;string, string&gt; metadata = 3;</code>
       */

      public Builder removeMetadata(
          java.lang.String key) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        internalGetMutableMetadata().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.String, java.lang.String>
      getMutableMetadata() {
        return internalGetMutableMetadata().getMutableMap();
      }
      /**
       * <code>map&lt;string, string&gt; metadata = 3;</code>
       */
      public Builder putMetadata(
          java.lang.String key,
          java.lang.String value) {
        if (key == null) { throw new java.lang.NullPointerException(); }
        if (value == null) { throw new java.lang.NullPointerException(); }
        internalGetMutableMetadata().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;string, string&gt; metadata = 3;</code>
       */

      public Builder putAllMetadata(
          java.util.Map<java.lang.String, java.lang.String> values) {
        internalGetMutableMetadata().getMutableMap()
            .putAll(values);
        return this;
      }

      private com.spotify.context.RestrictionsOuterClass.Restrictions restrictions_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.spotify.context.RestrictionsOuterClass.Restrictions, com.spotify.context.RestrictionsOuterClass.Restrictions.Builder, com.spotify.context.RestrictionsOuterClass.RestrictionsOrBuilder> restrictionsBuilder_;
      /**
       * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
       * @return Whether the restrictions field is set.
       */
      public boolean hasRestrictions() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
       * @return The restrictions.
       */
      public com.spotify.context.RestrictionsOuterClass.Restrictions getRestrictions() {
        if (restrictionsBuilder_ == null) {
          return restrictions_ == null ? com.spotify.context.RestrictionsOuterClass.Restrictions.getDefaultInstance() : restrictions_;
        } else {
          return restrictionsBuilder_.getMessage();
        }
      }
      /**
       * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
       */
      public Builder setRestrictions(com.spotify.context.RestrictionsOuterClass.Restrictions value) {
        if (restrictionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          restrictions_ = value;
          onChanged();
        } else {
          restrictionsBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000008;
        return this;
      }
      /**
       * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
       */
      public Builder setRestrictions(
          com.spotify.context.RestrictionsOuterClass.Restrictions.Builder builderForValue) {
        if (restrictionsBuilder_ == null) {
          restrictions_ = builderForValue.build();
          onChanged();
        } else {
          restrictionsBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000008;
        return this;
      }
      /**
       * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
       */
      public Builder mergeRestrictions(com.spotify.context.RestrictionsOuterClass.Restrictions value) {
        if (restrictionsBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0) &&
              restrictions_ != null &&
              restrictions_ != com.spotify.context.RestrictionsOuterClass.Restrictions.getDefaultInstance()) {
            restrictions_ =
              com.spotify.context.RestrictionsOuterClass.Restrictions.newBuilder(restrictions_).mergeFrom(value).buildPartial();
          } else {
            restrictions_ = value;
          }
          onChanged();
        } else {
          restrictionsBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000008;
        return this;
      }
      /**
       * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
       */
      public Builder clearRestrictions() {
        if (restrictionsBuilder_ == null) {
          restrictions_ = null;
          onChanged();
        } else {
          restrictionsBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }
      /**
       * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
       */
      public com.spotify.context.RestrictionsOuterClass.Restrictions.Builder getRestrictionsBuilder() {
        bitField0_ |= 0x00000008;
        onChanged();
        return getRestrictionsFieldBuilder().getBuilder();
      }
      /**
       * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
       */
      public com.spotify.context.RestrictionsOuterClass.RestrictionsOrBuilder getRestrictionsOrBuilder() {
        if (restrictionsBuilder_ != null) {
          return restrictionsBuilder_.getMessageOrBuilder();
        } else {
          return restrictions_ == null ?
              com.spotify.context.RestrictionsOuterClass.Restrictions.getDefaultInstance() : restrictions_;
        }
      }
      /**
       * <code>optional .spotify.player.proto.Restrictions restrictions = 4;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.spotify.context.RestrictionsOuterClass.Restrictions, com.spotify.context.RestrictionsOuterClass.Restrictions.Builder, com.spotify.context.RestrictionsOuterClass.RestrictionsOrBuilder> 
          getRestrictionsFieldBuilder() {
        if (restrictionsBuilder_ == null) {
          restrictionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.spotify.context.RestrictionsOuterClass.Restrictions, com.spotify.context.RestrictionsOuterClass.Restrictions.Builder, com.spotify.context.RestrictionsOuterClass.RestrictionsOrBuilder>(
                  getRestrictions(),
                  getParentForChildren(),
                  isClean());
          restrictions_ = null;
        }
        return restrictionsBuilder_;
      }

      private java.util.List<com.spotify.context.ContextPageOuterClass.ContextPage> pages_ =
        java.util.Collections.emptyList();
      private void ensurePagesIsMutable() {
        if (!((bitField0_ & 0x00000010) != 0)) {
          pages_ = new java.util.ArrayList<com.spotify.context.ContextPageOuterClass.ContextPage>(pages_);
          bitField0_ |= 0x00000010;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.spotify.context.ContextPageOuterClass.ContextPage, com.spotify.context.ContextPageOuterClass.ContextPage.Builder, com.spotify.context.ContextPageOuterClass.ContextPageOrBuilder> pagesBuilder_;

      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public java.util.List<com.spotify.context.ContextPageOuterClass.ContextPage> getPagesList() {
        if (pagesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(pages_);
        } else {
          return pagesBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public int getPagesCount() {
        if (pagesBuilder_ == null) {
          return pages_.size();
        } else {
          return pagesBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public com.spotify.context.ContextPageOuterClass.ContextPage getPages(int index) {
        if (pagesBuilder_ == null) {
          return pages_.get(index);
        } else {
          return pagesBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public Builder setPages(
          int index, com.spotify.context.ContextPageOuterClass.ContextPage value) {
        if (pagesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePagesIsMutable();
          pages_.set(index, value);
          onChanged();
        } else {
          pagesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public Builder setPages(
          int index, com.spotify.context.ContextPageOuterClass.ContextPage.Builder builderForValue) {
        if (pagesBuilder_ == null) {
          ensurePagesIsMutable();
          pages_.set(index, builderForValue.build());
          onChanged();
        } else {
          pagesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public Builder addPages(com.spotify.context.ContextPageOuterClass.ContextPage value) {
        if (pagesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePagesIsMutable();
          pages_.add(value);
          onChanged();
        } else {
          pagesBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public Builder addPages(
          int index, com.spotify.context.ContextPageOuterClass.ContextPage value) {
        if (pagesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePagesIsMutable();
          pages_.add(index, value);
          onChanged();
        } else {
          pagesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public Builder addPages(
          com.spotify.context.ContextPageOuterClass.ContextPage.Builder builderForValue) {
        if (pagesBuilder_ == null) {
          ensurePagesIsMutable();
          pages_.add(builderForValue.build());
          onChanged();
        } else {
          pagesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public Builder addPages(
          int index, com.spotify.context.ContextPageOuterClass.ContextPage.Builder builderForValue) {
        if (pagesBuilder_ == null) {
          ensurePagesIsMutable();
          pages_.add(index, builderForValue.build());
          onChanged();
        } else {
          pagesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public Builder addAllPages(
          java.lang.Iterable<? extends com.spotify.context.ContextPageOuterClass.ContextPage> values) {
        if (pagesBuilder_ == null) {
          ensurePagesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, pages_);
          onChanged();
        } else {
          pagesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public Builder clearPages() {
        if (pagesBuilder_ == null) {
          pages_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000010);
          onChanged();
        } else {
          pagesBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public Builder removePages(int index) {
        if (pagesBuilder_ == null) {
          ensurePagesIsMutable();
          pages_.remove(index);
          onChanged();
        } else {
          pagesBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public com.spotify.context.ContextPageOuterClass.ContextPage.Builder getPagesBuilder(
          int index) {
        return getPagesFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public com.spotify.context.ContextPageOuterClass.ContextPageOrBuilder getPagesOrBuilder(
          int index) {
        if (pagesBuilder_ == null) {
          return pages_.get(index);  } else {
          return pagesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public java.util.List<? extends com.spotify.context.ContextPageOuterClass.ContextPageOrBuilder> 
           getPagesOrBuilderList() {
        if (pagesBuilder_ != null) {
          return pagesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(pages_);
        }
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public com.spotify.context.ContextPageOuterClass.ContextPage.Builder addPagesBuilder() {
        return getPagesFieldBuilder().addBuilder(
            com.spotify.context.ContextPageOuterClass.ContextPage.getDefaultInstance());
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public com.spotify.context.ContextPageOuterClass.ContextPage.Builder addPagesBuilder(
          int index) {
        return getPagesFieldBuilder().addBuilder(
            index, com.spotify.context.ContextPageOuterClass.ContextPage.getDefaultInstance());
      }
      /**
       * <code>repeated .spotify.player.proto.ContextPage pages = 5;</code>
       */
      public java.util.List<com.spotify.context.ContextPageOuterClass.ContextPage.Builder> 
           getPagesBuilderList() {
        return getPagesFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.spotify.context.ContextPageOuterClass.ContextPage, com.spotify.context.ContextPageOuterClass.ContextPage.Builder, com.spotify.context.ContextPageOuterClass.ContextPageOrBuilder> 
          getPagesFieldBuilder() {
        if (pagesBuilder_ == null) {
          pagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.spotify.context.ContextPageOuterClass.ContextPage, com.spotify.context.ContextPageOuterClass.ContextPage.Builder, com.spotify.context.ContextPageOuterClass.ContextPageOrBuilder>(
                  pages_,
                  ((bitField0_ & 0x00000010) != 0),
                  getParentForChildren(),
                  isClean());
          pages_ = null;
        }
        return pagesBuilder_;
      }

      private boolean loading_ ;
      /**
       * <code>optional bool loading = 6;</code>
       * @return Whether the loading field is set.
       */
      public boolean hasLoading() {
        return ((bitField0_ & 0x00000020) != 0);
      }
      /**
       * <code>optional bool loading = 6;</code>
       * @return The loading.
       */
      public boolean getLoading() {
        return loading_;
      }
      /**
       * <code>optional bool loading = 6;</code>
       * @param value The loading to set.
       * @return This builder for chaining.
       */
      public Builder setLoading(boolean value) {
        bitField0_ |= 0x00000020;
        loading_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional bool loading = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearLoading() {
        bitField0_ = (bitField0_ & ~0x00000020);
        loading_ = 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.Context)
    }

    // @@protoc_insertion_point(class_scope:spotify.player.proto.Context)
    private static final com.spotify.context.ContextOuterClass.Context DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.spotify.context.ContextOuterClass.Context();
    }

    public static com.spotify.context.ContextOuterClass.Context getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public com.spotify.context.ContextOuterClass.Context getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_spotify_player_proto_Context_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_spotify_player_proto_Context_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_spotify_player_proto_Context_MetadataEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_spotify_player_proto_Context_MetadataEntry_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\rcontext.proto\022\024spotify.player.proto\032\022c" +
      "ontext_page.proto\032\022restrictions.proto\"\220\002" +
      "\n\007Context\022\013\n\003uri\030\001 \001(\t\022\013\n\003url\030\002 \001(\t\022=\n\010m" +
      "etadata\030\003 \003(\0132+.spotify.player.proto.Con" +
      "text.MetadataEntry\0228\n\014restrictions\030\004 \001(\013" +
      "2\".spotify.player.proto.Restrictions\0220\n\005" +
      "pages\030\005 \003(\0132!.spotify.player.proto.Conte" +
      "xtPage\022\017\n\007loading\030\006 \001(\010\032/\n\rMetadataEntry" +
      "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\027\n\023com." +
      "spotify.contextH\002"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.spotify.context.ContextPageOuterClass.getDescriptor(),
          com.spotify.context.RestrictionsOuterClass.getDescriptor(),
        });
    internal_static_spotify_player_proto_Context_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_spotify_player_proto_Context_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_spotify_player_proto_Context_descriptor,
        new java.lang.String[] { "Uri", "Url", "Metadata", "Restrictions", "Pages", "Loading", });
    internal_static_spotify_player_proto_Context_MetadataEntry_descriptor =
      internal_static_spotify_player_proto_Context_descriptor.getNestedTypes().get(0);
    internal_static_spotify_player_proto_Context_MetadataEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_spotify_player_proto_Context_MetadataEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    com.spotify.context.ContextPageOuterClass.getDescriptor();
    com.spotify.context.RestrictionsOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
