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

package com.spotify.explicit;

public final class ExplicitContentPubsub {
  private ExplicitContentPubsub() {}
  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 KeyValuePairOrBuilder extends
      // @@protoc_insertion_point(interface_extends:spotify.explicit_content.proto.KeyValuePair)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>required string key = 1;</code>
     * @return Whether the key field is set.
     */
    boolean hasKey();
    /**
     * <code>required string key = 1;</code>
     * @return The key.
     */
    java.lang.String getKey();
    /**
     * <code>required string key = 1;</code>
     * @return The bytes for key.
     */
    com.google.protobuf.ByteString
        getKeyBytes();

    /**
     * <code>required string value = 2;</code>
     * @return Whether the value field is set.
     */
    boolean hasValue();
    /**
     * <code>required string value = 2;</code>
     * @return The value.
     */
    java.lang.String getValue();
    /**
     * <code>required string value = 2;</code>
     * @return The bytes for value.
     */
    com.google.protobuf.ByteString
        getValueBytes();
  }
  /**
   * Protobuf type {@code spotify.explicit_content.proto.KeyValuePair}
   */
  public  static final class KeyValuePair extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:spotify.explicit_content.proto.KeyValuePair)
      KeyValuePairOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use KeyValuePair.newBuilder() to construct.
    private KeyValuePair(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private KeyValuePair() {
      key_ = "";
      value_ = "";
    }

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

    @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.explicit.ExplicitContentPubsub.internal_static_spotify_explicit_content_proto_KeyValuePair_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.spotify.explicit.ExplicitContentPubsub.internal_static_spotify_explicit_content_proto_KeyValuePair_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.class, com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.Builder.class);
    }

    private int bitField0_;
    public static final int KEY_FIELD_NUMBER = 1;
    private volatile java.lang.Object key_;
    /**
     * <code>required string key = 1;</code>
     * @return Whether the key field is set.
     */
    public boolean hasKey() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required string key = 1;</code>
     * @return The key.
     */
    public java.lang.String getKey() {
      java.lang.Object ref = key_;
      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()) {
          key_ = s;
        }
        return s;
      }
    }
    /**
     * <code>required string key = 1;</code>
     * @return The bytes for key.
     */
    public com.google.protobuf.ByteString
        getKeyBytes() {
      java.lang.Object ref = key_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        key_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int VALUE_FIELD_NUMBER = 2;
    private volatile java.lang.Object value_;
    /**
     * <code>required string value = 2;</code>
     * @return Whether the value field is set.
     */
    public boolean hasValue() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>required string value = 2;</code>
     * @return The value.
     */
    public java.lang.String getValue() {
      java.lang.Object ref = value_;
      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()) {
          value_ = s;
        }
        return s;
      }
    }
    /**
     * <code>required string value = 2;</code>
     * @return The bytes for value.
     */
    public com.google.protobuf.ByteString
        getValueBytes() {
      java.lang.Object ref = value_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        value_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.spotify.explicit.ExplicitContentPubsub.internal_static_spotify_explicit_content_proto_KeyValuePair_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.class, com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.Builder.class);
      }

      // Construct using com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.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();
        key_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        value_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.spotify.explicit.ExplicitContentPubsub.internal_static_spotify_explicit_content_proto_KeyValuePair_descriptor;
      }

      @java.lang.Override
      public com.spotify.explicit.ExplicitContentPubsub.KeyValuePair getDefaultInstanceForType() {
        return com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.getDefaultInstance();
      }

      @java.lang.Override
      public com.spotify.explicit.ExplicitContentPubsub.KeyValuePair build() {
        com.spotify.explicit.ExplicitContentPubsub.KeyValuePair result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.spotify.explicit.ExplicitContentPubsub.KeyValuePair buildPartial() {
        com.spotify.explicit.ExplicitContentPubsub.KeyValuePair result = new com.spotify.explicit.ExplicitContentPubsub.KeyValuePair(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          to_bitField0_ |= 0x00000001;
        }
        result.key_ = key_;
        if (((from_bitField0_ & 0x00000002) != 0)) {
          to_bitField0_ |= 0x00000002;
        }
        result.value_ = value_;
        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 key_ = "";
      /**
       * <code>required string key = 1;</code>
       * @return Whether the key field is set.
       */
      public boolean hasKey() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required string key = 1;</code>
       * @return The key.
       */
      public java.lang.String getKey() {
        java.lang.Object ref = key_;
        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()) {
            key_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>required string key = 1;</code>
       * @return The bytes for key.
       */
      public com.google.protobuf.ByteString
          getKeyBytes() {
        java.lang.Object ref = key_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          key_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>required string key = 1;</code>
       * @param value The key to set.
       * @return This builder for chaining.
       */
      public Builder setKey(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        key_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required string key = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearKey() {
        bitField0_ = (bitField0_ & ~0x00000001);
        key_ = getDefaultInstance().getKey();
        onChanged();
        return this;
      }
      /**
       * <code>required string key = 1;</code>
       * @param value The bytes for key to set.
       * @return This builder for chaining.
       */
      public Builder setKeyBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        key_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object value_ = "";
      /**
       * <code>required string value = 2;</code>
       * @return Whether the value field is set.
       */
      public boolean hasValue() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required string value = 2;</code>
       * @return The value.
       */
      public java.lang.String getValue() {
        java.lang.Object ref = value_;
        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()) {
            value_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>required string value = 2;</code>
       * @return The bytes for value.
       */
      public com.google.protobuf.ByteString
          getValueBytes() {
        java.lang.Object ref = value_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          value_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>required string value = 2;</code>
       * @param value The value to set.
       * @return This builder for chaining.
       */
      public Builder setValue(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        value_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required string value = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearValue() {
        bitField0_ = (bitField0_ & ~0x00000002);
        value_ = getDefaultInstance().getValue();
        onChanged();
        return this;
      }
      /**
       * <code>required string value = 2;</code>
       * @param value The bytes for value to set.
       * @return This builder for chaining.
       */
      public Builder setValueBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        value_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:spotify.explicit_content.proto.KeyValuePair)
    }

    // @@protoc_insertion_point(class_scope:spotify.explicit_content.proto.KeyValuePair)
    private static final com.spotify.explicit.ExplicitContentPubsub.KeyValuePair DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.spotify.explicit.ExplicitContentPubsub.KeyValuePair();
    }

    public static com.spotify.explicit.ExplicitContentPubsub.KeyValuePair getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public com.spotify.explicit.ExplicitContentPubsub.KeyValuePair getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface UserAttributesUpdateOrBuilder extends
      // @@protoc_insertion_point(interface_extends:spotify.explicit_content.proto.UserAttributesUpdate)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
     */
    java.util.List<com.spotify.explicit.ExplicitContentPubsub.KeyValuePair> 
        getPairsList();
    /**
     * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
     */
    com.spotify.explicit.ExplicitContentPubsub.KeyValuePair getPairs(int index);
    /**
     * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
     */
    int getPairsCount();
    /**
     * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
     */
    java.util.List<? extends com.spotify.explicit.ExplicitContentPubsub.KeyValuePairOrBuilder> 
        getPairsOrBuilderList();
    /**
     * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
     */
    com.spotify.explicit.ExplicitContentPubsub.KeyValuePairOrBuilder getPairsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code spotify.explicit_content.proto.UserAttributesUpdate}
   */
  public  static final class UserAttributesUpdate extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:spotify.explicit_content.proto.UserAttributesUpdate)
      UserAttributesUpdateOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use UserAttributesUpdate.newBuilder() to construct.
    private UserAttributesUpdate(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private UserAttributesUpdate() {
      pairs_ = java.util.Collections.emptyList();
    }

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

    @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.explicit.ExplicitContentPubsub.internal_static_spotify_explicit_content_proto_UserAttributesUpdate_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.spotify.explicit.ExplicitContentPubsub.internal_static_spotify_explicit_content_proto_UserAttributesUpdate_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate.class, com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate.Builder.class);
    }

    public static final int PAIRS_FIELD_NUMBER = 1;
    private java.util.List<com.spotify.explicit.ExplicitContentPubsub.KeyValuePair> pairs_;
    /**
     * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
     */
    public java.util.List<com.spotify.explicit.ExplicitContentPubsub.KeyValuePair> getPairsList() {
      return pairs_;
    }
    /**
     * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
     */
    public java.util.List<? extends com.spotify.explicit.ExplicitContentPubsub.KeyValuePairOrBuilder> 
        getPairsOrBuilderList() {
      return pairs_;
    }
    /**
     * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
     */
    public int getPairsCount() {
      return pairs_.size();
    }
    /**
     * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
     */
    public com.spotify.explicit.ExplicitContentPubsub.KeyValuePair getPairs(int index) {
      return pairs_.get(index);
    }
    /**
     * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
     */
    public com.spotify.explicit.ExplicitContentPubsub.KeyValuePairOrBuilder getPairsOrBuilder(
        int index) {
      return pairs_.get(index);
    }

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.spotify.explicit.ExplicitContentPubsub.internal_static_spotify_explicit_content_proto_UserAttributesUpdate_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate.class, com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate.Builder.class);
      }

      // Construct using com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.spotify.explicit.ExplicitContentPubsub.internal_static_spotify_explicit_content_proto_UserAttributesUpdate_descriptor;
      }

      @java.lang.Override
      public com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate getDefaultInstanceForType() {
        return com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate.getDefaultInstance();
      }

      @java.lang.Override
      public com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate build() {
        com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate buildPartial() {
        com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate result = new com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate(this);
        int from_bitField0_ = bitField0_;
        if (pairsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            pairs_ = java.util.Collections.unmodifiableList(pairs_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.pairs_ = pairs_;
        } else {
          result.pairs_ = pairsBuilder_.build();
        }
        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.explicit.ExplicitContentPubsub.KeyValuePair> pairs_ =
        java.util.Collections.emptyList();
      private void ensurePairsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          pairs_ = new java.util.ArrayList<com.spotify.explicit.ExplicitContentPubsub.KeyValuePair>(pairs_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.spotify.explicit.ExplicitContentPubsub.KeyValuePair, com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.Builder, com.spotify.explicit.ExplicitContentPubsub.KeyValuePairOrBuilder> pairsBuilder_;

      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public java.util.List<com.spotify.explicit.ExplicitContentPubsub.KeyValuePair> getPairsList() {
        if (pairsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(pairs_);
        } else {
          return pairsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public int getPairsCount() {
        if (pairsBuilder_ == null) {
          return pairs_.size();
        } else {
          return pairsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public com.spotify.explicit.ExplicitContentPubsub.KeyValuePair getPairs(int index) {
        if (pairsBuilder_ == null) {
          return pairs_.get(index);
        } else {
          return pairsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public Builder setPairs(
          int index, com.spotify.explicit.ExplicitContentPubsub.KeyValuePair value) {
        if (pairsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePairsIsMutable();
          pairs_.set(index, value);
          onChanged();
        } else {
          pairsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public Builder setPairs(
          int index, com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.Builder builderForValue) {
        if (pairsBuilder_ == null) {
          ensurePairsIsMutable();
          pairs_.set(index, builderForValue.build());
          onChanged();
        } else {
          pairsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public Builder addPairs(com.spotify.explicit.ExplicitContentPubsub.KeyValuePair value) {
        if (pairsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePairsIsMutable();
          pairs_.add(value);
          onChanged();
        } else {
          pairsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public Builder addPairs(
          int index, com.spotify.explicit.ExplicitContentPubsub.KeyValuePair value) {
        if (pairsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePairsIsMutable();
          pairs_.add(index, value);
          onChanged();
        } else {
          pairsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public Builder addPairs(
          com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.Builder builderForValue) {
        if (pairsBuilder_ == null) {
          ensurePairsIsMutable();
          pairs_.add(builderForValue.build());
          onChanged();
        } else {
          pairsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public Builder addPairs(
          int index, com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.Builder builderForValue) {
        if (pairsBuilder_ == null) {
          ensurePairsIsMutable();
          pairs_.add(index, builderForValue.build());
          onChanged();
        } else {
          pairsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public Builder addAllPairs(
          java.lang.Iterable<? extends com.spotify.explicit.ExplicitContentPubsub.KeyValuePair> values) {
        if (pairsBuilder_ == null) {
          ensurePairsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, pairs_);
          onChanged();
        } else {
          pairsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public Builder clearPairs() {
        if (pairsBuilder_ == null) {
          pairs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          pairsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public Builder removePairs(int index) {
        if (pairsBuilder_ == null) {
          ensurePairsIsMutable();
          pairs_.remove(index);
          onChanged();
        } else {
          pairsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.Builder getPairsBuilder(
          int index) {
        return getPairsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public com.spotify.explicit.ExplicitContentPubsub.KeyValuePairOrBuilder getPairsOrBuilder(
          int index) {
        if (pairsBuilder_ == null) {
          return pairs_.get(index);  } else {
          return pairsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public java.util.List<? extends com.spotify.explicit.ExplicitContentPubsub.KeyValuePairOrBuilder> 
           getPairsOrBuilderList() {
        if (pairsBuilder_ != null) {
          return pairsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(pairs_);
        }
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.Builder addPairsBuilder() {
        return getPairsFieldBuilder().addBuilder(
            com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.getDefaultInstance());
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.Builder addPairsBuilder(
          int index) {
        return getPairsFieldBuilder().addBuilder(
            index, com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.getDefaultInstance());
      }
      /**
       * <code>repeated .spotify.explicit_content.proto.KeyValuePair pairs = 1;</code>
       */
      public java.util.List<com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.Builder> 
           getPairsBuilderList() {
        return getPairsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.spotify.explicit.ExplicitContentPubsub.KeyValuePair, com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.Builder, com.spotify.explicit.ExplicitContentPubsub.KeyValuePairOrBuilder> 
          getPairsFieldBuilder() {
        if (pairsBuilder_ == null) {
          pairsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.spotify.explicit.ExplicitContentPubsub.KeyValuePair, com.spotify.explicit.ExplicitContentPubsub.KeyValuePair.Builder, com.spotify.explicit.ExplicitContentPubsub.KeyValuePairOrBuilder>(
                  pairs_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          pairs_ = null;
        }
        return pairsBuilder_;
      }
      @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.explicit_content.proto.UserAttributesUpdate)
    }

    // @@protoc_insertion_point(class_scope:spotify.explicit_content.proto.UserAttributesUpdate)
    private static final com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate();
    }

    public static com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public com.spotify.explicit.ExplicitContentPubsub.UserAttributesUpdate getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_spotify_explicit_content_proto_KeyValuePair_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_spotify_explicit_content_proto_KeyValuePair_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_spotify_explicit_content_proto_UserAttributesUpdate_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_spotify_explicit_content_proto_UserAttributesUpdate_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\035explicit_content_pubsub.proto\022\036spotify" +
      ".explicit_content.proto\"*\n\014KeyValuePair\022" +
      "\013\n\003key\030\001 \002(\t\022\r\n\005value\030\002 \002(\t\"S\n\024UserAttri" +
      "butesUpdate\022;\n\005pairs\030\001 \003(\0132,.spotify.exp" +
      "licit_content.proto.KeyValuePairB\030\n\024com." +
      "spotify.explicitH\002"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_spotify_explicit_content_proto_KeyValuePair_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_spotify_explicit_content_proto_KeyValuePair_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_spotify_explicit_content_proto_KeyValuePair_descriptor,
        new java.lang.String[] { "Key", "Value", });
    internal_static_spotify_explicit_content_proto_UserAttributesUpdate_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_spotify_explicit_content_proto_UserAttributesUpdate_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_spotify_explicit_content_proto_UserAttributesUpdate_descriptor,
        new java.lang.String[] { "Pairs", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
