// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: keyapis/notification/v1/keyapis_notification_push_token_v1.proto

package ru.keyapis.notification.v1;

public final class KeyapisNotificationV1Proto {
  private KeyapisNotificationV1Proto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  public interface PushTokenOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PushToken)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Идентификатор.
     * # Диапазон: 0..2147483647
     * </pre>
     *
     * <code>int32 id = 1;</code>
     * @return The id.
     */
    int getId();

    /**
     * <pre>
     * Тип
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken.Type type = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The enum numeric value on the wire for type.
     */
    int getTypeValue();
    /**
     * <pre>
     * Тип
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken.Type type = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The type.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type getType();

    /**
     * <pre>
     * Токен.
     * # Диапазон: 16..256
     * </pre>
     *
     * <code>string token = 3 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The token.
     */
    java.lang.String getToken();
    /**
     * <pre>
     * Токен.
     * # Диапазон: 16..256
     * </pre>
     *
     * <code>string token = 3 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The bytes for token.
     */
    com.google.protobuf.ByteString
        getTokenBytes();

    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The userAppId.
     */
    java.lang.String getUserAppId();
    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The bytes for userAppId.
     */
    com.google.protobuf.ByteString
        getUserAppIdBytes();

    /**
     * <pre>
     * Идентификатор пользователя.
     * # Диапазон: 1..2147483647
     * </pre>
     *
     * <code>.google.protobuf.Int32Value user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return Whether the userId field is set.
     */
    boolean hasUserId();
    /**
     * <pre>
     * Идентификатор пользователя.
     * # Диапазон: 1..2147483647
     * </pre>
     *
     * <code>.google.protobuf.Int32Value user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return The userId.
     */
    com.google.protobuf.Int32Value getUserId();

    /**
     * <pre>
     * Дата и время создания.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return Whether the createdAt field is set.
     */
    boolean hasCreatedAt();
    /**
     * <pre>
     * Дата и время создания.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return The createdAt.
     */
    com.google.protobuf.Timestamp getCreatedAt();

    /**
     * <pre>
     * Дата последнего изменения.
     * Заполняется и обновляется сервером.
     * Заполняется при создании и изменении.
     * Является версией объекта.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return Whether the changedAt field is set.
     */
    boolean hasChangedAt();
    /**
     * <pre>
     * Дата последнего изменения.
     * Заполняется и обновляется сервером.
     * Заполняется при создании и изменении.
     * Является версией объекта.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return The changedAt.
     */
    com.google.protobuf.Timestamp getChangedAt();

    /**
     * <pre>
     * Версия приложения.
     * # Диапазон: 3..256
     * </pre>
     *
     * <code>string app_version = 8 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The appVersion.
     */
    java.lang.String getAppVersion();
    /**
     * <pre>
     * Версия приложения.
     * # Диапазон: 3..256
     * </pre>
     *
     * <code>string app_version = 8 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The bytes for appVersion.
     */
    com.google.protobuf.ByteString
        getAppVersionBytes();
  }
  /**
   * <pre>
   * Пуш-токен.
   * # Описание модели
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.PushToken}
   */
  public  static final class PushToken extends
      com.google.protobuf.GeneratedMessageLite<
          PushToken, PushToken.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PushToken)
      PushTokenOrBuilder {
    private PushToken() {
      token_ = "";
      userAppId_ = "";
      appVersion_ = "";
    }
    /**
     * <pre>
     * Справочников типов пуш-токенов.
     * # Тип: byte
     * </pre>
     *
     * Protobuf enum {@code keyapis.notification.v1.PushToken.Type}
     */
    public enum Type
        implements com.google.protobuf.Internal.EnumLite {
      /**
       * <pre>
       * Не указан
       * </pre>
       *
       * <code>TYPE_UNKNOWN = 0;</code>
       */
      TYPE_UNKNOWN(0),
      /**
       * <pre>
       * Для Mobile Firebase Cloud Messaging
       * </pre>
       *
       * <code>MOBILE_FCM = 1;</code>
       */
      MOBILE_FCM(1),
      /**
       * <pre>
       * Для Mobile Huawei Messaging System
       * </pre>
       *
       * <code>MOBILE_HMS = 2;</code>
       */
      MOBILE_HMS(2),
      /**
       * <pre>
       * Для Mobile Apple PushToken System для текста
       * </pre>
       *
       * <code>MOBILE_APNS_TEXT = 3;</code>
       */
      MOBILE_APNS_TEXT(3),
      /**
       * <pre>
       * Для Mobile Apple PushToken System для звонков
       * </pre>
       *
       * <code>MOBILE_APNS_CALL = 4;</code>
       */
      MOBILE_APNS_CALL(4),
      /**
       * <pre>
       * Для PWA Firebase Cloud Messaging
       * </pre>
       *
       * <code>PWA_FCM = 5;</code>
       */
      PWA_FCM(5),
      /**
       * <pre>
       * Для PWA Apple PushToken System
       * </pre>
       *
       * <code>PWA_APNS = 6;</code>
       */
      PWA_APNS(6),
      /**
       * <pre>
       * Для Mobile RuStore
       * </pre>
       *
       * <code>MOBILE_RUSTORE = 7;</code>
       */
      MOBILE_RUSTORE(7),
      UNRECOGNIZED(-1),
      ;

      /**
       * <pre>
       * Не указан
       * </pre>
       *
       * <code>TYPE_UNKNOWN = 0;</code>
       */
      public static final int TYPE_UNKNOWN_VALUE = 0;
      /**
       * <pre>
       * Для Mobile Firebase Cloud Messaging
       * </pre>
       *
       * <code>MOBILE_FCM = 1;</code>
       */
      public static final int MOBILE_FCM_VALUE = 1;
      /**
       * <pre>
       * Для Mobile Huawei Messaging System
       * </pre>
       *
       * <code>MOBILE_HMS = 2;</code>
       */
      public static final int MOBILE_HMS_VALUE = 2;
      /**
       * <pre>
       * Для Mobile Apple PushToken System для текста
       * </pre>
       *
       * <code>MOBILE_APNS_TEXT = 3;</code>
       */
      public static final int MOBILE_APNS_TEXT_VALUE = 3;
      /**
       * <pre>
       * Для Mobile Apple PushToken System для звонков
       * </pre>
       *
       * <code>MOBILE_APNS_CALL = 4;</code>
       */
      public static final int MOBILE_APNS_CALL_VALUE = 4;
      /**
       * <pre>
       * Для PWA Firebase Cloud Messaging
       * </pre>
       *
       * <code>PWA_FCM = 5;</code>
       */
      public static final int PWA_FCM_VALUE = 5;
      /**
       * <pre>
       * Для PWA Apple PushToken System
       * </pre>
       *
       * <code>PWA_APNS = 6;</code>
       */
      public static final int PWA_APNS_VALUE = 6;
      /**
       * <pre>
       * Для Mobile RuStore
       * </pre>
       *
       * <code>MOBILE_RUSTORE = 7;</code>
       */
      public static final int MOBILE_RUSTORE_VALUE = 7;


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

      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Type valueOf(int value) {
        return forNumber(value);
      }

      public static Type forNumber(int value) {
        switch (value) {
          case 0: return TYPE_UNKNOWN;
          case 1: return MOBILE_FCM;
          case 2: return MOBILE_HMS;
          case 3: return MOBILE_APNS_TEXT;
          case 4: return MOBILE_APNS_CALL;
          case 5: return PWA_FCM;
          case 6: return PWA_APNS;
          case 7: return MOBILE_RUSTORE;
          default: return null;
        }
      }

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

      public static com.google.protobuf.Internal.EnumVerifier 
          internalGetVerifier() {
        return TypeVerifier.INSTANCE;
      }

      private static final class TypeVerifier implements 
           com.google.protobuf.Internal.EnumVerifier { 
              static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new TypeVerifier();
              @java.lang.Override
              public boolean isInRange(int number) {
                return Type.forNumber(number) != null;
              }
            };

      private final int value;

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

      // @@protoc_insertion_point(enum_scope:keyapis.notification.v1.PushToken.Type)
    }

    public interface ValidationErrorOrBuilder extends
        // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PushToken.ValidationError)
        com.google.protobuf.MessageLiteOrBuilder {

      /**
       * <pre>
       * Передан некоректный идентификатор устройства пользователя
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid user_app_id = 1;</code>
       * @return Whether the userAppId field is set.
       */
      boolean hasUserAppId();
      /**
       * <pre>
       * Передан некоректный идентификатор устройства пользователя
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid user_app_id = 1;</code>
       * @return The userAppId.
       */
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid getUserAppId();

      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.ReasonCase getReasonCase();
    }
    /**
     * <pre>
     * Ошибка валидации пуш-токена.
     * Эти проверки выполняются до обращения в базу данных
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.PushToken.ValidationError}
     */
    public  static final class ValidationError extends
        com.google.protobuf.GeneratedMessageLite<
            ValidationError, ValidationError.Builder> implements
        // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PushToken.ValidationError)
        ValidationErrorOrBuilder {
      private ValidationError() {
      }
      public interface UserAppIdInvalidOrBuilder extends
          // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid)
          com.google.protobuf.MessageLiteOrBuilder {
      }
      /**
       * <pre>
       * Причины:
       * - Cодержит значение не Guid
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid}
       */
      public  static final class UserAppIdInvalid extends
          com.google.protobuf.GeneratedMessageLite<
              UserAppIdInvalid, UserAppIdInvalid.Builder> implements
          // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid)
          UserAppIdInvalidOrBuilder {
        private UserAppIdInvalid() {
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid parseFrom(
            java.nio.ByteBuffer data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid parseFrom(
            java.nio.ByteBuffer data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid parseFrom(
            com.google.protobuf.ByteString data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid parseFrom(
            com.google.protobuf.ByteString data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid parseFrom(byte[] data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid parseFrom(
            byte[] data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid parseFrom(java.io.InputStream input)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid parseFrom(
            java.io.InputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input, extensionRegistry);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid parseDelimitedFrom(java.io.InputStream input)
            throws java.io.IOException {
          return parseDelimitedFrom(DEFAULT_INSTANCE, input);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid parseDelimitedFrom(
            java.io.InputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid parseFrom(
            com.google.protobuf.CodedInputStream input)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid parseFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input, extensionRegistry);
        }

        public static Builder newBuilder() {
          return (Builder) DEFAULT_INSTANCE.createBuilder();
        }
        public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid prototype) {
          return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
        }

        /**
         * <pre>
         * Причины:
         * - Cодержит значение не Guid
         * </pre>
         *
         * Protobuf type {@code keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid}
         */
        public static final class Builder extends
            com.google.protobuf.GeneratedMessageLite.Builder<
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid, Builder> implements
            // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid)
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalidOrBuilder {
          // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid.newBuilder()
          private Builder() {
            super(DEFAULT_INSTANCE);
          }


          // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid)
        }
        @java.lang.Override
        @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
        protected final java.lang.Object dynamicMethod(
            com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
            java.lang.Object arg0, java.lang.Object arg1) {
          switch (method) {
            case NEW_MUTABLE_INSTANCE: {
              return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid();
            }
            case NEW_BUILDER: {
              return new Builder();
            }
            case BUILD_MESSAGE_INFO: {
                java.lang.Object[] objects = null;java.lang.String info =
                    "\u0000\u0000";
                return newMessageInfo(DEFAULT_INSTANCE, info, objects);
            }
            // fall through
            case GET_DEFAULT_INSTANCE: {
              return DEFAULT_INSTANCE;
            }
            case GET_PARSER: {
              com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid> parser = PARSER;
              if (parser == null) {
                synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid.class) {
                  parser = PARSER;
                  if (parser == null) {
                    parser =
                        new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid>(
                            DEFAULT_INSTANCE);
                    PARSER = parser;
                  }
                }
              }
              return parser;
          }
          case GET_MEMOIZED_IS_INITIALIZED: {
            return (byte) 1;
          }
          case SET_MEMOIZED_IS_INITIALIZED: {
            return null;
          }
          }
          throw new UnsupportedOperationException();
        }


        // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid)
        private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid DEFAULT_INSTANCE;
        static {
          UserAppIdInvalid defaultInstance = new UserAppIdInvalid();
          // New instances are implicitly immutable so no need to make
          // immutable.
          DEFAULT_INSTANCE = defaultInstance;
          com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
            UserAppIdInvalid.class, defaultInstance);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid getDefaultInstance() {
          return DEFAULT_INSTANCE;
        }

        private static volatile com.google.protobuf.Parser<UserAppIdInvalid> PARSER;

        public static com.google.protobuf.Parser<UserAppIdInvalid> parser() {
          return DEFAULT_INSTANCE.getParserForType();
        }
      }

      private int reasonCase_ = 0;
      private java.lang.Object reason_;
      public enum ReasonCase {
        USER_APP_ID(1),
        REASON_NOT_SET(0);
        private final int value;
        private ReasonCase(int value) {
          this.value = value;
        }
        /**
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static ReasonCase valueOf(int value) {
          return forNumber(value);
        }

        public static ReasonCase forNumber(int value) {
          switch (value) {
            case 1: return USER_APP_ID;
            case 0: return REASON_NOT_SET;
            default: return null;
          }
        }
        public int getNumber() {
          return this.value;
        }
      };

      @java.lang.Override
      public ReasonCase
      getReasonCase() {
        return ReasonCase.forNumber(
            reasonCase_);
      }

      private void clearReason() {
        reasonCase_ = 0;
        reason_ = null;
      }

      public static final int USER_APP_ID_FIELD_NUMBER = 1;
      /**
       * <pre>
       * Передан некоректный идентификатор устройства пользователя
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid user_app_id = 1;</code>
       */
      @java.lang.Override
      public boolean hasUserAppId() {
        return reasonCase_ == 1;
      }
      /**
       * <pre>
       * Передан некоректный идентификатор устройства пользователя
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid user_app_id = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid getUserAppId() {
        if (reasonCase_ == 1) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid.getDefaultInstance();
      }
      /**
       * <pre>
       * Передан некоректный идентификатор устройства пользователя
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid user_app_id = 1;</code>
       */
      private void setUserAppId(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Передан некоректный идентификатор устройства пользователя
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid user_app_id = 1;</code>
       */
      private void mergeUserAppId(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid value) {
        value.getClass();
  if (reasonCase_ == 1 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Передан некоректный идентификатор устройства пользователя
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid user_app_id = 1;</code>
       */
      private void clearUserAppId() {
        if (reasonCase_ == 1) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static Builder newBuilder() {
        return (Builder) DEFAULT_INSTANCE.createBuilder();
      }
      public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError prototype) {
        return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
      }

      /**
       * <pre>
       * Ошибка валидации пуш-токена.
       * Эти проверки выполняются до обращения в базу данных
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.PushToken.ValidationError}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageLite.Builder<
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError, Builder> implements
          // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PushToken.ValidationError)
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationErrorOrBuilder {
        // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.newBuilder()
        private Builder() {
          super(DEFAULT_INSTANCE);
        }

        @java.lang.Override
        public ReasonCase
            getReasonCase() {
          return instance.getReasonCase();
        }

        public Builder clearReason() {
          copyOnWrite();
          instance.clearReason();
          return this;
        }


        /**
         * <pre>
         * Передан некоректный идентификатор устройства пользователя
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid user_app_id = 1;</code>
         */
        @java.lang.Override
        public boolean hasUserAppId() {
          return instance.hasUserAppId();
        }
        /**
         * <pre>
         * Передан некоректный идентификатор устройства пользователя
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid user_app_id = 1;</code>
         */
        @java.lang.Override
        public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid getUserAppId() {
          return instance.getUserAppId();
        }
        /**
         * <pre>
         * Передан некоректный идентификатор устройства пользователя
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid user_app_id = 1;</code>
         */
        public Builder setUserAppId(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid value) {
          copyOnWrite();
          instance.setUserAppId(value);
          return this;
        }
        /**
         * <pre>
         * Передан некоректный идентификатор устройства пользователя
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid user_app_id = 1;</code>
         */
        public Builder setUserAppId(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid.Builder builderForValue) {
          copyOnWrite();
          instance.setUserAppId(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Передан некоректный идентификатор устройства пользователя
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid user_app_id = 1;</code>
         */
        public Builder mergeUserAppId(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid value) {
          copyOnWrite();
          instance.mergeUserAppId(value);
          return this;
        }
        /**
         * <pre>
         * Передан некоректный идентификатор устройства пользователя
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.ValidationError.UserAppIdInvalid user_app_id = 1;</code>
         */
        public Builder clearUserAppId() {
          copyOnWrite();
          instance.clearUserAppId();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PushToken.ValidationError)
      }
      @java.lang.Override
      @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
      protected final java.lang.Object dynamicMethod(
          com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
          java.lang.Object arg0, java.lang.Object arg1) {
        switch (method) {
          case NEW_MUTABLE_INSTANCE: {
            return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError();
          }
          case NEW_BUILDER: {
            return new Builder();
          }
          case BUILD_MESSAGE_INFO: {
              java.lang.Object[] objects = new java.lang.Object[] {
                "reason_",
                "reasonCase_",
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.UserAppIdInvalid.class,
              };
              java.lang.String info =
                  "\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
              return newMessageInfo(DEFAULT_INSTANCE, info, objects);
          }
          // fall through
          case GET_DEFAULT_INSTANCE: {
            return DEFAULT_INSTANCE;
          }
          case GET_PARSER: {
            com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError> parser = PARSER;
            if (parser == null) {
              synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.class) {
                parser = PARSER;
                if (parser == null) {
                  parser =
                      new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError>(
                          DEFAULT_INSTANCE);
                  PARSER = parser;
                }
              }
            }
            return parser;
        }
        case GET_MEMOIZED_IS_INITIALIZED: {
          return (byte) 1;
        }
        case SET_MEMOIZED_IS_INITIALIZED: {
          return null;
        }
        }
        throw new UnsupportedOperationException();
      }


      // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PushToken.ValidationError)
      private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError DEFAULT_INSTANCE;
      static {
        ValidationError defaultInstance = new ValidationError();
        // New instances are implicitly immutable so no need to make
        // immutable.
        DEFAULT_INSTANCE = defaultInstance;
        com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
          ValidationError.class, defaultInstance);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static volatile com.google.protobuf.Parser<ValidationError> PARSER;

      public static com.google.protobuf.Parser<ValidationError> parser() {
        return DEFAULT_INSTANCE.getParserForType();
      }
    }

    public interface SavingErrorOrBuilder extends
        // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PushToken.SavingError)
        com.google.protobuf.MessageLiteOrBuilder {

      /**
       * <pre>
       * Идентификатор устройства пользователя уже используется
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExists user_app_id_exists = 1;</code>
       * @return Whether the userAppIdExists field is set.
       */
      boolean hasUserAppIdExists();
      /**
       * <pre>
       * Идентификатор устройства пользователя уже используется
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExists user_app_id_exists = 1;</code>
       * @return The userAppIdExists.
       */
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists getUserAppIdExists();

      /**
       * <pre>
       * Конфликт версий
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.Conflict conflict = 2;</code>
       * @return Whether the conflict field is set.
       */
      boolean hasConflict();
      /**
       * <pre>
       * Конфликт версий
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.Conflict conflict = 2;</code>
       * @return The conflict.
       */
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict getConflict();

      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.ReasonCase getReasonCase();
    }
    /**
     * <pre>
     * Ошибка сохранения пуш-токена.
     * Эти проверки выполняются при работе с базой данных и сторонними сервисами
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.PushToken.SavingError}
     */
    public  static final class SavingError extends
        com.google.protobuf.GeneratedMessageLite<
            SavingError, SavingError.Builder> implements
        // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PushToken.SavingError)
        SavingErrorOrBuilder {
      private SavingError() {
      }
      public interface UserAppIdExistsOrBuilder extends
          // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PushToken.SavingError.UserAppIdExists)
          com.google.protobuf.MessageLiteOrBuilder {
      }
      /**
       * <pre>
       * Причины:
       *  - Переданный индентификатор устройства пользователя уже существует с другим токеном
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.PushToken.SavingError.UserAppIdExists}
       */
      public  static final class UserAppIdExists extends
          com.google.protobuf.GeneratedMessageLite<
              UserAppIdExists, UserAppIdExists.Builder> implements
          // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PushToken.SavingError.UserAppIdExists)
          UserAppIdExistsOrBuilder {
        private UserAppIdExists() {
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists parseFrom(
            java.nio.ByteBuffer data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists parseFrom(
            java.nio.ByteBuffer data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists parseFrom(
            com.google.protobuf.ByteString data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists parseFrom(
            com.google.protobuf.ByteString data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists parseFrom(byte[] data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists parseFrom(
            byte[] data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists parseFrom(java.io.InputStream input)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists parseFrom(
            java.io.InputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input, extensionRegistry);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists parseDelimitedFrom(java.io.InputStream input)
            throws java.io.IOException {
          return parseDelimitedFrom(DEFAULT_INSTANCE, input);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists parseDelimitedFrom(
            java.io.InputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists parseFrom(
            com.google.protobuf.CodedInputStream input)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists parseFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input, extensionRegistry);
        }

        public static Builder newBuilder() {
          return (Builder) DEFAULT_INSTANCE.createBuilder();
        }
        public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists prototype) {
          return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
        }

        /**
         * <pre>
         * Причины:
         *  - Переданный индентификатор устройства пользователя уже существует с другим токеном
         * </pre>
         *
         * Protobuf type {@code keyapis.notification.v1.PushToken.SavingError.UserAppIdExists}
         */
        public static final class Builder extends
            com.google.protobuf.GeneratedMessageLite.Builder<
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists, Builder> implements
            // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PushToken.SavingError.UserAppIdExists)
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExistsOrBuilder {
          // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists.newBuilder()
          private Builder() {
            super(DEFAULT_INSTANCE);
          }


          // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PushToken.SavingError.UserAppIdExists)
        }
        @java.lang.Override
        @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
        protected final java.lang.Object dynamicMethod(
            com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
            java.lang.Object arg0, java.lang.Object arg1) {
          switch (method) {
            case NEW_MUTABLE_INSTANCE: {
              return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists();
            }
            case NEW_BUILDER: {
              return new Builder();
            }
            case BUILD_MESSAGE_INFO: {
                java.lang.Object[] objects = null;java.lang.String info =
                    "\u0000\u0000";
                return newMessageInfo(DEFAULT_INSTANCE, info, objects);
            }
            // fall through
            case GET_DEFAULT_INSTANCE: {
              return DEFAULT_INSTANCE;
            }
            case GET_PARSER: {
              com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists> parser = PARSER;
              if (parser == null) {
                synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists.class) {
                  parser = PARSER;
                  if (parser == null) {
                    parser =
                        new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists>(
                            DEFAULT_INSTANCE);
                    PARSER = parser;
                  }
                }
              }
              return parser;
          }
          case GET_MEMOIZED_IS_INITIALIZED: {
            return (byte) 1;
          }
          case SET_MEMOIZED_IS_INITIALIZED: {
            return null;
          }
          }
          throw new UnsupportedOperationException();
        }


        // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PushToken.SavingError.UserAppIdExists)
        private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists DEFAULT_INSTANCE;
        static {
          UserAppIdExists defaultInstance = new UserAppIdExists();
          // New instances are implicitly immutable so no need to make
          // immutable.
          DEFAULT_INSTANCE = defaultInstance;
          com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
            UserAppIdExists.class, defaultInstance);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists getDefaultInstance() {
          return DEFAULT_INSTANCE;
        }

        private static volatile com.google.protobuf.Parser<UserAppIdExists> PARSER;

        public static com.google.protobuf.Parser<UserAppIdExists> parser() {
          return DEFAULT_INSTANCE.getParserForType();
        }
      }

      public interface ConflictOrBuilder extends
          // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PushToken.SavingError.Conflict)
          com.google.protobuf.MessageLiteOrBuilder {
      }
      /**
       * <pre>
       * Конфликт версий.
       * Причины:
       * - В базе хранится другая версия строки, значения changed_at отличаются
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.PushToken.SavingError.Conflict}
       */
      public  static final class Conflict extends
          com.google.protobuf.GeneratedMessageLite<
              Conflict, Conflict.Builder> implements
          // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PushToken.SavingError.Conflict)
          ConflictOrBuilder {
        private Conflict() {
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict parseFrom(
            java.nio.ByteBuffer data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict parseFrom(
            java.nio.ByteBuffer data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict parseFrom(
            com.google.protobuf.ByteString data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict parseFrom(
            com.google.protobuf.ByteString data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict parseFrom(byte[] data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict parseFrom(
            byte[] data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict parseFrom(java.io.InputStream input)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict parseFrom(
            java.io.InputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input, extensionRegistry);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict parseDelimitedFrom(java.io.InputStream input)
            throws java.io.IOException {
          return parseDelimitedFrom(DEFAULT_INSTANCE, input);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict parseDelimitedFrom(
            java.io.InputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict parseFrom(
            com.google.protobuf.CodedInputStream input)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict parseFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input, extensionRegistry);
        }

        public static Builder newBuilder() {
          return (Builder) DEFAULT_INSTANCE.createBuilder();
        }
        public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict prototype) {
          return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
        }

        /**
         * <pre>
         * Конфликт версий.
         * Причины:
         * - В базе хранится другая версия строки, значения changed_at отличаются
         * </pre>
         *
         * Protobuf type {@code keyapis.notification.v1.PushToken.SavingError.Conflict}
         */
        public static final class Builder extends
            com.google.protobuf.GeneratedMessageLite.Builder<
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict, Builder> implements
            // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PushToken.SavingError.Conflict)
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.ConflictOrBuilder {
          // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict.newBuilder()
          private Builder() {
            super(DEFAULT_INSTANCE);
          }


          // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PushToken.SavingError.Conflict)
        }
        @java.lang.Override
        @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
        protected final java.lang.Object dynamicMethod(
            com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
            java.lang.Object arg0, java.lang.Object arg1) {
          switch (method) {
            case NEW_MUTABLE_INSTANCE: {
              return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict();
            }
            case NEW_BUILDER: {
              return new Builder();
            }
            case BUILD_MESSAGE_INFO: {
                java.lang.Object[] objects = null;java.lang.String info =
                    "\u0000\u0000";
                return newMessageInfo(DEFAULT_INSTANCE, info, objects);
            }
            // fall through
            case GET_DEFAULT_INSTANCE: {
              return DEFAULT_INSTANCE;
            }
            case GET_PARSER: {
              com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict> parser = PARSER;
              if (parser == null) {
                synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict.class) {
                  parser = PARSER;
                  if (parser == null) {
                    parser =
                        new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict>(
                            DEFAULT_INSTANCE);
                    PARSER = parser;
                  }
                }
              }
              return parser;
          }
          case GET_MEMOIZED_IS_INITIALIZED: {
            return (byte) 1;
          }
          case SET_MEMOIZED_IS_INITIALIZED: {
            return null;
          }
          }
          throw new UnsupportedOperationException();
        }


        // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PushToken.SavingError.Conflict)
        private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict DEFAULT_INSTANCE;
        static {
          Conflict defaultInstance = new Conflict();
          // New instances are implicitly immutable so no need to make
          // immutable.
          DEFAULT_INSTANCE = defaultInstance;
          com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
            Conflict.class, defaultInstance);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict getDefaultInstance() {
          return DEFAULT_INSTANCE;
        }

        private static volatile com.google.protobuf.Parser<Conflict> PARSER;

        public static com.google.protobuf.Parser<Conflict> parser() {
          return DEFAULT_INSTANCE.getParserForType();
        }
      }

      private int reasonCase_ = 0;
      private java.lang.Object reason_;
      public enum ReasonCase {
        USER_APP_ID_EXISTS(1),
        CONFLICT(2),
        REASON_NOT_SET(0);
        private final int value;
        private ReasonCase(int value) {
          this.value = value;
        }
        /**
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static ReasonCase valueOf(int value) {
          return forNumber(value);
        }

        public static ReasonCase forNumber(int value) {
          switch (value) {
            case 1: return USER_APP_ID_EXISTS;
            case 2: return CONFLICT;
            case 0: return REASON_NOT_SET;
            default: return null;
          }
        }
        public int getNumber() {
          return this.value;
        }
      };

      @java.lang.Override
      public ReasonCase
      getReasonCase() {
        return ReasonCase.forNumber(
            reasonCase_);
      }

      private void clearReason() {
        reasonCase_ = 0;
        reason_ = null;
      }

      public static final int USER_APP_ID_EXISTS_FIELD_NUMBER = 1;
      /**
       * <pre>
       * Идентификатор устройства пользователя уже используется
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExists user_app_id_exists = 1;</code>
       */
      @java.lang.Override
      public boolean hasUserAppIdExists() {
        return reasonCase_ == 1;
      }
      /**
       * <pre>
       * Идентификатор устройства пользователя уже используется
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExists user_app_id_exists = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists getUserAppIdExists() {
        if (reasonCase_ == 1) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists.getDefaultInstance();
      }
      /**
       * <pre>
       * Идентификатор устройства пользователя уже используется
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExists user_app_id_exists = 1;</code>
       */
      private void setUserAppIdExists(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Идентификатор устройства пользователя уже используется
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExists user_app_id_exists = 1;</code>
       */
      private void mergeUserAppIdExists(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists value) {
        value.getClass();
  if (reasonCase_ == 1 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Идентификатор устройства пользователя уже используется
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExists user_app_id_exists = 1;</code>
       */
      private void clearUserAppIdExists() {
        if (reasonCase_ == 1) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static final int CONFLICT_FIELD_NUMBER = 2;
      /**
       * <pre>
       * Конфликт версий
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.Conflict conflict = 2;</code>
       */
      @java.lang.Override
      public boolean hasConflict() {
        return reasonCase_ == 2;
      }
      /**
       * <pre>
       * Конфликт версий
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.Conflict conflict = 2;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict getConflict() {
        if (reasonCase_ == 2) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict.getDefaultInstance();
      }
      /**
       * <pre>
       * Конфликт версий
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.Conflict conflict = 2;</code>
       */
      private void setConflict(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 2;
      }
      /**
       * <pre>
       * Конфликт версий
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.Conflict conflict = 2;</code>
       */
      private void mergeConflict(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict value) {
        value.getClass();
  if (reasonCase_ == 2 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 2;
      }
      /**
       * <pre>
       * Конфликт версий
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError.Conflict conflict = 2;</code>
       */
      private void clearConflict() {
        if (reasonCase_ == 2) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static Builder newBuilder() {
        return (Builder) DEFAULT_INSTANCE.createBuilder();
      }
      public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError prototype) {
        return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
      }

      /**
       * <pre>
       * Ошибка сохранения пуш-токена.
       * Эти проверки выполняются при работе с базой данных и сторонними сервисами
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.PushToken.SavingError}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageLite.Builder<
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError, Builder> implements
          // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PushToken.SavingError)
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingErrorOrBuilder {
        // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.newBuilder()
        private Builder() {
          super(DEFAULT_INSTANCE);
        }

        @java.lang.Override
        public ReasonCase
            getReasonCase() {
          return instance.getReasonCase();
        }

        public Builder clearReason() {
          copyOnWrite();
          instance.clearReason();
          return this;
        }


        /**
         * <pre>
         * Идентификатор устройства пользователя уже используется
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExists user_app_id_exists = 1;</code>
         */
        @java.lang.Override
        public boolean hasUserAppIdExists() {
          return instance.hasUserAppIdExists();
        }
        /**
         * <pre>
         * Идентификатор устройства пользователя уже используется
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExists user_app_id_exists = 1;</code>
         */
        @java.lang.Override
        public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists getUserAppIdExists() {
          return instance.getUserAppIdExists();
        }
        /**
         * <pre>
         * Идентификатор устройства пользователя уже используется
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExists user_app_id_exists = 1;</code>
         */
        public Builder setUserAppIdExists(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists value) {
          copyOnWrite();
          instance.setUserAppIdExists(value);
          return this;
        }
        /**
         * <pre>
         * Идентификатор устройства пользователя уже используется
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExists user_app_id_exists = 1;</code>
         */
        public Builder setUserAppIdExists(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists.Builder builderForValue) {
          copyOnWrite();
          instance.setUserAppIdExists(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Идентификатор устройства пользователя уже используется
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExists user_app_id_exists = 1;</code>
         */
        public Builder mergeUserAppIdExists(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists value) {
          copyOnWrite();
          instance.mergeUserAppIdExists(value);
          return this;
        }
        /**
         * <pre>
         * Идентификатор устройства пользователя уже используется
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError.UserAppIdExists user_app_id_exists = 1;</code>
         */
        public Builder clearUserAppIdExists() {
          copyOnWrite();
          instance.clearUserAppIdExists();
          return this;
        }

        /**
         * <pre>
         * Конфликт версий
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError.Conflict conflict = 2;</code>
         */
        @java.lang.Override
        public boolean hasConflict() {
          return instance.hasConflict();
        }
        /**
         * <pre>
         * Конфликт версий
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError.Conflict conflict = 2;</code>
         */
        @java.lang.Override
        public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict getConflict() {
          return instance.getConflict();
        }
        /**
         * <pre>
         * Конфликт версий
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError.Conflict conflict = 2;</code>
         */
        public Builder setConflict(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict value) {
          copyOnWrite();
          instance.setConflict(value);
          return this;
        }
        /**
         * <pre>
         * Конфликт версий
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError.Conflict conflict = 2;</code>
         */
        public Builder setConflict(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict.Builder builderForValue) {
          copyOnWrite();
          instance.setConflict(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Конфликт версий
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError.Conflict conflict = 2;</code>
         */
        public Builder mergeConflict(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict value) {
          copyOnWrite();
          instance.mergeConflict(value);
          return this;
        }
        /**
         * <pre>
         * Конфликт версий
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError.Conflict conflict = 2;</code>
         */
        public Builder clearConflict() {
          copyOnWrite();
          instance.clearConflict();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PushToken.SavingError)
      }
      @java.lang.Override
      @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
      protected final java.lang.Object dynamicMethod(
          com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
          java.lang.Object arg0, java.lang.Object arg1) {
        switch (method) {
          case NEW_MUTABLE_INSTANCE: {
            return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError();
          }
          case NEW_BUILDER: {
            return new Builder();
          }
          case BUILD_MESSAGE_INFO: {
              java.lang.Object[] objects = new java.lang.Object[] {
                "reason_",
                "reasonCase_",
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.UserAppIdExists.class,
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Conflict.class,
              };
              java.lang.String info =
                  "\u0000\u0002\u0001\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001<\u0000\u0002<" +
                  "\u0000";
              return newMessageInfo(DEFAULT_INSTANCE, info, objects);
          }
          // fall through
          case GET_DEFAULT_INSTANCE: {
            return DEFAULT_INSTANCE;
          }
          case GET_PARSER: {
            com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError> parser = PARSER;
            if (parser == null) {
              synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.class) {
                parser = PARSER;
                if (parser == null) {
                  parser =
                      new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError>(
                          DEFAULT_INSTANCE);
                  PARSER = parser;
                }
              }
            }
            return parser;
        }
        case GET_MEMOIZED_IS_INITIALIZED: {
          return (byte) 1;
        }
        case SET_MEMOIZED_IS_INITIALIZED: {
          return null;
        }
        }
        throw new UnsupportedOperationException();
      }


      // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PushToken.SavingError)
      private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError DEFAULT_INSTANCE;
      static {
        SavingError defaultInstance = new SavingError();
        // New instances are implicitly immutable so no need to make
        // immutable.
        DEFAULT_INSTANCE = defaultInstance;
        com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
          SavingError.class, defaultInstance);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static volatile com.google.protobuf.Parser<SavingError> PARSER;

      public static com.google.protobuf.Parser<SavingError> parser() {
        return DEFAULT_INSTANCE.getParserForType();
      }
    }

    public static final int ID_FIELD_NUMBER = 1;
    private int id_;
    /**
     * <pre>
     * Идентификатор.
     * # Диапазон: 0..2147483647
     * </pre>
     *
     * <code>int32 id = 1;</code>
     * @return The id.
     */
    @java.lang.Override
    public int getId() {
      return id_;
    }
    /**
     * <pre>
     * Идентификатор.
     * # Диапазон: 0..2147483647
     * </pre>
     *
     * <code>int32 id = 1;</code>
     * @param value The id to set.
     */
    private void setId(int value) {
      
      id_ = value;
    }
    /**
     * <pre>
     * Идентификатор.
     * # Диапазон: 0..2147483647
     * </pre>
     *
     * <code>int32 id = 1;</code>
     */
    private void clearId() {

      id_ = 0;
    }

    public static final int TYPE_FIELD_NUMBER = 2;
    private int type_;
    /**
     * <pre>
     * Тип
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken.Type type = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The enum numeric value on the wire for type.
     */
    @java.lang.Override
    public int getTypeValue() {
      return type_;
    }
    /**
     * <pre>
     * Тип
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken.Type type = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The type.
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type getType() {
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type result = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type.forNumber(type_);
      return result == null ? ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type.UNRECOGNIZED : result;
    }
    /**
     * <pre>
     * Тип
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken.Type type = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The enum numeric value on the wire for type to set.
     */
    private void setTypeValue(int value) {
        type_ = value;
    }
    /**
     * <pre>
     * Тип
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken.Type type = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The type to set.
     */
    private void setType(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type value) {
      type_ = value.getNumber();

    }
    /**
     * <pre>
     * Тип
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken.Type type = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private void clearType() {

      type_ = 0;
    }

    public static final int TOKEN_FIELD_NUMBER = 3;
    private java.lang.String token_;
    /**
     * <pre>
     * Токен.
     * # Диапазон: 16..256
     * </pre>
     *
     * <code>string token = 3 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The token.
     */
    @java.lang.Override
    public java.lang.String getToken() {
      return token_;
    }
    /**
     * <pre>
     * Токен.
     * # Диапазон: 16..256
     * </pre>
     *
     * <code>string token = 3 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The bytes for token.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getTokenBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(token_);
    }
    /**
     * <pre>
     * Токен.
     * # Диапазон: 16..256
     * </pre>
     *
     * <code>string token = 3 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The token to set.
     */
    private void setToken(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  
      token_ = value;
    }
    /**
     * <pre>
     * Токен.
     * # Диапазон: 16..256
     * </pre>
     *
     * <code>string token = 3 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private void clearToken() {

      token_ = getDefaultInstance().getToken();
    }
    /**
     * <pre>
     * Токен.
     * # Диапазон: 16..256
     * </pre>
     *
     * <code>string token = 3 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The bytes for token to set.
     */
    private void setTokenBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      token_ = value.toStringUtf8();

    }

    public static final int USER_APP_ID_FIELD_NUMBER = 4;
    private java.lang.String userAppId_;
    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The userAppId.
     */
    @java.lang.Override
    public java.lang.String getUserAppId() {
      return userAppId_;
    }
    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The bytes for userAppId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUserAppIdBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(userAppId_);
    }
    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The userAppId to set.
     */
    private void setUserAppId(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  
      userAppId_ = value;
    }
    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private void clearUserAppId() {

      userAppId_ = getDefaultInstance().getUserAppId();
    }
    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The bytes for userAppId to set.
     */
    private void setUserAppIdBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      userAppId_ = value.toStringUtf8();

    }

    public static final int USER_ID_FIELD_NUMBER = 5;
    private com.google.protobuf.Int32Value userId_;
    /**
     * <pre>
     * Идентификатор пользователя.
     * # Диапазон: 1..2147483647
     * </pre>
     *
     * <code>.google.protobuf.Int32Value user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    @java.lang.Override
    public boolean hasUserId() {
      return userId_ != null;
    }
    /**
     * <pre>
     * Идентификатор пользователя.
     * # Диапазон: 1..2147483647
     * </pre>
     *
     * <code>.google.protobuf.Int32Value user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    @java.lang.Override
    public com.google.protobuf.Int32Value getUserId() {
      return userId_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : userId_;
    }
    /**
     * <pre>
     * Идентификатор пользователя.
     * # Диапазон: 1..2147483647
     * </pre>
     *
     * <code>.google.protobuf.Int32Value user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    private void setUserId(com.google.protobuf.Int32Value value) {
      value.getClass();
  userId_ = value;

      }
    /**
     * <pre>
     * Идентификатор пользователя.
     * # Диапазон: 1..2147483647
     * </pre>
     *
     * <code>.google.protobuf.Int32Value user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeUserId(com.google.protobuf.Int32Value value) {
      value.getClass();
  if (userId_ != null &&
          userId_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
        userId_ =
          com.google.protobuf.Int32Value.newBuilder(userId_).mergeFrom(value).buildPartial();
      } else {
        userId_ = value;
      }

    }
    /**
     * <pre>
     * Идентификатор пользователя.
     * # Диапазон: 1..2147483647
     * </pre>
     *
     * <code>.google.protobuf.Int32Value user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    private void clearUserId() {  userId_ = null;

    }

    public static final int CREATED_AT_FIELD_NUMBER = 6;
    private com.google.protobuf.Timestamp createdAt_;
    /**
     * <pre>
     * Дата и время создания.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    @java.lang.Override
    public boolean hasCreatedAt() {
      return createdAt_ != null;
    }
    /**
     * <pre>
     * Дата и время создания.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    @java.lang.Override
    public com.google.protobuf.Timestamp getCreatedAt() {
      return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
    }
    /**
     * <pre>
     * Дата и время создания.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    private void setCreatedAt(com.google.protobuf.Timestamp value) {
      value.getClass();
  createdAt_ = value;

      }
    /**
     * <pre>
     * Дата и время создания.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeCreatedAt(com.google.protobuf.Timestamp value) {
      value.getClass();
  if (createdAt_ != null &&
          createdAt_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
        createdAt_ =
          com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial();
      } else {
        createdAt_ = value;
      }

    }
    /**
     * <pre>
     * Дата и время создания.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    private void clearCreatedAt() {  createdAt_ = null;

    }

    public static final int CHANGED_AT_FIELD_NUMBER = 7;
    private com.google.protobuf.Timestamp changedAt_;
    /**
     * <pre>
     * Дата последнего изменения.
     * Заполняется и обновляется сервером.
     * Заполняется при создании и изменении.
     * Является версией объекта.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    @java.lang.Override
    public boolean hasChangedAt() {
      return changedAt_ != null;
    }
    /**
     * <pre>
     * Дата последнего изменения.
     * Заполняется и обновляется сервером.
     * Заполняется при создании и изменении.
     * Является версией объекта.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    @java.lang.Override
    public com.google.protobuf.Timestamp getChangedAt() {
      return changedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : changedAt_;
    }
    /**
     * <pre>
     * Дата последнего изменения.
     * Заполняется и обновляется сервером.
     * Заполняется при создании и изменении.
     * Является версией объекта.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    private void setChangedAt(com.google.protobuf.Timestamp value) {
      value.getClass();
  changedAt_ = value;

      }
    /**
     * <pre>
     * Дата последнего изменения.
     * Заполняется и обновляется сервером.
     * Заполняется при создании и изменении.
     * Является версией объекта.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeChangedAt(com.google.protobuf.Timestamp value) {
      value.getClass();
  if (changedAt_ != null &&
          changedAt_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
        changedAt_ =
          com.google.protobuf.Timestamp.newBuilder(changedAt_).mergeFrom(value).buildPartial();
      } else {
        changedAt_ = value;
      }

    }
    /**
     * <pre>
     * Дата последнего изменения.
     * Заполняется и обновляется сервером.
     * Заполняется при создании и изменении.
     * Является версией объекта.
     * # Тип: DateTime
     * </pre>
     *
     * <code>.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    private void clearChangedAt() {  changedAt_ = null;

    }

    public static final int APP_VERSION_FIELD_NUMBER = 8;
    private java.lang.String appVersion_;
    /**
     * <pre>
     * Версия приложения.
     * # Диапазон: 3..256
     * </pre>
     *
     * <code>string app_version = 8 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The appVersion.
     */
    @java.lang.Override
    public java.lang.String getAppVersion() {
      return appVersion_;
    }
    /**
     * <pre>
     * Версия приложения.
     * # Диапазон: 3..256
     * </pre>
     *
     * <code>string app_version = 8 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The bytes for appVersion.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getAppVersionBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(appVersion_);
    }
    /**
     * <pre>
     * Версия приложения.
     * # Диапазон: 3..256
     * </pre>
     *
     * <code>string app_version = 8 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The appVersion to set.
     */
    private void setAppVersion(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  
      appVersion_ = value;
    }
    /**
     * <pre>
     * Версия приложения.
     * # Диапазон: 3..256
     * </pre>
     *
     * <code>string app_version = 8 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private void clearAppVersion() {

      appVersion_ = getDefaultInstance().getAppVersion();
    }
    /**
     * <pre>
     * Версия приложения.
     * # Диапазон: 3..256
     * </pre>
     *
     * <code>string app_version = 8 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The bytes for appVersion to set.
     */
    private void setAppVersionBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      appVersion_ = value.toStringUtf8();

    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Пуш-токен.
     * # Описание модели
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.PushToken}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PushToken)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * Идентификатор.
       * # Диапазон: 0..2147483647
       * </pre>
       *
       * <code>int32 id = 1;</code>
       * @return The id.
       */
      @java.lang.Override
      public int getId() {
        return instance.getId();
      }
      /**
       * <pre>
       * Идентификатор.
       * # Диапазон: 0..2147483647
       * </pre>
       *
       * <code>int32 id = 1;</code>
       * @param value The id to set.
       * @return This builder for chaining.
       */
      public Builder setId(int value) {
        copyOnWrite();
        instance.setId(value);
        return this;
      }
      /**
       * <pre>
       * Идентификатор.
       * # Диапазон: 0..2147483647
       * </pre>
       *
       * <code>int32 id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearId() {
        copyOnWrite();
        instance.clearId();
        return this;
      }

      /**
       * <pre>
       * Тип
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.Type type = 2 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The enum numeric value on the wire for type.
       */
      @java.lang.Override
      public int getTypeValue() {
        return instance.getTypeValue();
      }
      /**
       * <pre>
       * Тип
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.Type type = 2 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The type to set.
       * @return This builder for chaining.
       */
      public Builder setTypeValue(int value) {
        copyOnWrite();
        instance.setTypeValue(value);
        return this;
      }
      /**
       * <pre>
       * Тип
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.Type type = 2 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The type.
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type getType() {
        return instance.getType();
      }
      /**
       * <pre>
       * Тип
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.Type type = 2 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The enum numeric value on the wire for type to set.
       * @return This builder for chaining.
       */
      public Builder setType(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type value) {
        copyOnWrite();
        instance.setType(value);
        return this;
      }
      /**
       * <pre>
       * Тип
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.Type type = 2 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return This builder for chaining.
       */
      public Builder clearType() {
        copyOnWrite();
        instance.clearType();
        return this;
      }

      /**
       * <pre>
       * Токен.
       * # Диапазон: 16..256
       * </pre>
       *
       * <code>string token = 3 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The token.
       */
      @java.lang.Override
      public java.lang.String getToken() {
        return instance.getToken();
      }
      /**
       * <pre>
       * Токен.
       * # Диапазон: 16..256
       * </pre>
       *
       * <code>string token = 3 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The bytes for token.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getTokenBytes() {
        return instance.getTokenBytes();
      }
      /**
       * <pre>
       * Токен.
       * # Диапазон: 16..256
       * </pre>
       *
       * <code>string token = 3 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The token to set.
       * @return This builder for chaining.
       */
      public Builder setToken(
          java.lang.String value) {
        copyOnWrite();
        instance.setToken(value);
        return this;
      }
      /**
       * <pre>
       * Токен.
       * # Диапазон: 16..256
       * </pre>
       *
       * <code>string token = 3 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return This builder for chaining.
       */
      public Builder clearToken() {
        copyOnWrite();
        instance.clearToken();
        return this;
      }
      /**
       * <pre>
       * Токен.
       * # Диапазон: 16..256
       * </pre>
       *
       * <code>string token = 3 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The bytes for token to set.
       * @return This builder for chaining.
       */
      public Builder setTokenBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setTokenBytes(value);
        return this;
      }

      /**
       * <pre>
       * Идентификатор устройства пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>string user_app_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The userAppId.
       */
      @java.lang.Override
      public java.lang.String getUserAppId() {
        return instance.getUserAppId();
      }
      /**
       * <pre>
       * Идентификатор устройства пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>string user_app_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The bytes for userAppId.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getUserAppIdBytes() {
        return instance.getUserAppIdBytes();
      }
      /**
       * <pre>
       * Идентификатор устройства пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>string user_app_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The userAppId to set.
       * @return This builder for chaining.
       */
      public Builder setUserAppId(
          java.lang.String value) {
        copyOnWrite();
        instance.setUserAppId(value);
        return this;
      }
      /**
       * <pre>
       * Идентификатор устройства пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>string user_app_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return This builder for chaining.
       */
      public Builder clearUserAppId() {
        copyOnWrite();
        instance.clearUserAppId();
        return this;
      }
      /**
       * <pre>
       * Идентификатор устройства пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>string user_app_id = 4 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The bytes for userAppId to set.
       * @return This builder for chaining.
       */
      public Builder setUserAppIdBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setUserAppIdBytes(value);
        return this;
      }

      /**
       * <pre>
       * Идентификатор пользователя.
       * # Диапазон: 1..2147483647
       * </pre>
       *
       * <code>.google.protobuf.Int32Value user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      @java.lang.Override
      public boolean hasUserId() {
        return instance.hasUserId();
      }
      /**
       * <pre>
       * Идентификатор пользователя.
       * # Диапазон: 1..2147483647
       * </pre>
       *
       * <code>.google.protobuf.Int32Value user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      @java.lang.Override
      public com.google.protobuf.Int32Value getUserId() {
        return instance.getUserId();
      }
      /**
       * <pre>
       * Идентификатор пользователя.
       * # Диапазон: 1..2147483647
       * </pre>
       *
       * <code>.google.protobuf.Int32Value user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      public Builder setUserId(com.google.protobuf.Int32Value value) {
        copyOnWrite();
        instance.setUserId(value);
        return this;
        }
      /**
       * <pre>
       * Идентификатор пользователя.
       * # Диапазон: 1..2147483647
       * </pre>
       *
       * <code>.google.protobuf.Int32Value user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      public Builder setUserId(
          com.google.protobuf.Int32Value.Builder builderForValue) {
        copyOnWrite();
        instance.setUserId(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Идентификатор пользователя.
       * # Диапазон: 1..2147483647
       * </pre>
       *
       * <code>.google.protobuf.Int32Value user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      public Builder mergeUserId(com.google.protobuf.Int32Value value) {
        copyOnWrite();
        instance.mergeUserId(value);
        return this;
      }
      /**
       * <pre>
       * Идентификатор пользователя.
       * # Диапазон: 1..2147483647
       * </pre>
       *
       * <code>.google.protobuf.Int32Value user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      public Builder clearUserId() {  copyOnWrite();
        instance.clearUserId();
        return this;
      }

      /**
       * <pre>
       * Дата и время создания.
       * # Тип: DateTime
       * </pre>
       *
       * <code>.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      @java.lang.Override
      public boolean hasCreatedAt() {
        return instance.hasCreatedAt();
      }
      /**
       * <pre>
       * Дата и время создания.
       * # Тип: DateTime
       * </pre>
       *
       * <code>.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      @java.lang.Override
      public com.google.protobuf.Timestamp getCreatedAt() {
        return instance.getCreatedAt();
      }
      /**
       * <pre>
       * Дата и время создания.
       * # Тип: DateTime
       * </pre>
       *
       * <code>.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      public Builder setCreatedAt(com.google.protobuf.Timestamp value) {
        copyOnWrite();
        instance.setCreatedAt(value);
        return this;
        }
      /**
       * <pre>
       * Дата и время создания.
       * # Тип: DateTime
       * </pre>
       *
       * <code>.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      public Builder setCreatedAt(
          com.google.protobuf.Timestamp.Builder builderForValue) {
        copyOnWrite();
        instance.setCreatedAt(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Дата и время создания.
       * # Тип: DateTime
       * </pre>
       *
       * <code>.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) {
        copyOnWrite();
        instance.mergeCreatedAt(value);
        return this;
      }
      /**
       * <pre>
       * Дата и время создания.
       * # Тип: DateTime
       * </pre>
       *
       * <code>.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      public Builder clearCreatedAt() {  copyOnWrite();
        instance.clearCreatedAt();
        return this;
      }

      /**
       * <pre>
       * Дата последнего изменения.
       * Заполняется и обновляется сервером.
       * Заполняется при создании и изменении.
       * Является версией объекта.
       * # Тип: DateTime
       * </pre>
       *
       * <code>.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      @java.lang.Override
      public boolean hasChangedAt() {
        return instance.hasChangedAt();
      }
      /**
       * <pre>
       * Дата последнего изменения.
       * Заполняется и обновляется сервером.
       * Заполняется при создании и изменении.
       * Является версией объекта.
       * # Тип: DateTime
       * </pre>
       *
       * <code>.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      @java.lang.Override
      public com.google.protobuf.Timestamp getChangedAt() {
        return instance.getChangedAt();
      }
      /**
       * <pre>
       * Дата последнего изменения.
       * Заполняется и обновляется сервером.
       * Заполняется при создании и изменении.
       * Является версией объекта.
       * # Тип: DateTime
       * </pre>
       *
       * <code>.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      public Builder setChangedAt(com.google.protobuf.Timestamp value) {
        copyOnWrite();
        instance.setChangedAt(value);
        return this;
        }
      /**
       * <pre>
       * Дата последнего изменения.
       * Заполняется и обновляется сервером.
       * Заполняется при создании и изменении.
       * Является версией объекта.
       * # Тип: DateTime
       * </pre>
       *
       * <code>.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      public Builder setChangedAt(
          com.google.protobuf.Timestamp.Builder builderForValue) {
        copyOnWrite();
        instance.setChangedAt(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Дата последнего изменения.
       * Заполняется и обновляется сервером.
       * Заполняется при создании и изменении.
       * Является версией объекта.
       * # Тип: DateTime
       * </pre>
       *
       * <code>.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      public Builder mergeChangedAt(com.google.protobuf.Timestamp value) {
        copyOnWrite();
        instance.mergeChangedAt(value);
        return this;
      }
      /**
       * <pre>
       * Дата последнего изменения.
       * Заполняется и обновляется сервером.
       * Заполняется при создании и изменении.
       * Является версией объекта.
       * # Тип: DateTime
       * </pre>
       *
       * <code>.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
       */
      public Builder clearChangedAt() {  copyOnWrite();
        instance.clearChangedAt();
        return this;
      }

      /**
       * <pre>
       * Версия приложения.
       * # Диапазон: 3..256
       * </pre>
       *
       * <code>string app_version = 8 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The appVersion.
       */
      @java.lang.Override
      public java.lang.String getAppVersion() {
        return instance.getAppVersion();
      }
      /**
       * <pre>
       * Версия приложения.
       * # Диапазон: 3..256
       * </pre>
       *
       * <code>string app_version = 8 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The bytes for appVersion.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getAppVersionBytes() {
        return instance.getAppVersionBytes();
      }
      /**
       * <pre>
       * Версия приложения.
       * # Диапазон: 3..256
       * </pre>
       *
       * <code>string app_version = 8 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The appVersion to set.
       * @return This builder for chaining.
       */
      public Builder setAppVersion(
          java.lang.String value) {
        copyOnWrite();
        instance.setAppVersion(value);
        return this;
      }
      /**
       * <pre>
       * Версия приложения.
       * # Диапазон: 3..256
       * </pre>
       *
       * <code>string app_version = 8 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return This builder for chaining.
       */
      public Builder clearAppVersion() {
        copyOnWrite();
        instance.clearAppVersion();
        return this;
      }
      /**
       * <pre>
       * Версия приложения.
       * # Диапазон: 3..256
       * </pre>
       *
       * <code>string app_version = 8 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The bytes for appVersion to set.
       * @return This builder for chaining.
       */
      public Builder setAppVersionBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setAppVersionBytes(value);
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PushToken)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "id_",
              "type_",
              "token_",
              "userAppId_",
              "userId_",
              "createdAt_",
              "changedAt_",
              "appVersion_",
            };
            java.lang.String info =
                "\u0000\b\u0000\u0000\u0001\b\b\u0000\u0000\u0000\u0001\u0004\u0002\f\u0003\u0208" +
                "\u0004\u0208\u0005\t\u0006\t\u0007\t\b\u0208";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PushToken)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken DEFAULT_INSTANCE;
    static {
      PushToken defaultInstance = new PushToken();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        PushToken.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<PushToken> PARSER;

    public static com.google.protobuf.Parser<PushToken> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface PushTokenFilterOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PushTokenFilter)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @return A list containing the types.
     */
    java.util.List<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type> getTypesList();
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @return The count of types.
     */
    int getTypesCount();
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @param index The index of the element to return.
     * @return The types at the given index.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type getTypes(int index);
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @return A list containing the enum numeric values on the wire for types.
     */
    java.util.List<java.lang.Integer>
    getTypesValueList();
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @param index The index of the value to return.
     * @return The enum numeric value on the wire of types at the given index.
     */
    int getTypesValue(int index);

    /**
     * <pre>
     * По идентификаторам устройств пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>repeated string user_app_ids = 2;</code>
     * @return A list containing the userAppIds.
     */
    java.util.List<java.lang.String>
        getUserAppIdsList();
    /**
     * <pre>
     * По идентификаторам устройств пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>repeated string user_app_ids = 2;</code>
     * @return The count of userAppIds.
     */
    int getUserAppIdsCount();
    /**
     * <pre>
     * По идентификаторам устройств пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>repeated string user_app_ids = 2;</code>
     * @param index The index of the element to return.
     * @return The userAppIds at the given index.
     */
    java.lang.String getUserAppIds(int index);
    /**
     * <pre>
     * По идентификаторам устройств пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>repeated string user_app_ids = 2;</code>
     * @param index The index of the element to return.
     * @return The userAppIds at the given index.
     */
    com.google.protobuf.ByteString
        getUserAppIdsBytes(int index);

    /**
     * <pre>
     * По идентификаторам пользователя
     * </pre>
     *
     * <code>repeated int32 user_ids = 3;</code>
     * @return A list containing the userIds.
     */
    java.util.List<java.lang.Integer> getUserIdsList();
    /**
     * <pre>
     * По идентификаторам пользователя
     * </pre>
     *
     * <code>repeated int32 user_ids = 3;</code>
     * @return The count of userIds.
     */
    int getUserIdsCount();
    /**
     * <pre>
     * По идентификаторам пользователя
     * </pre>
     *
     * <code>repeated int32 user_ids = 3;</code>
     * @param index The index of the element to return.
     * @return The userIds at the given index.
     */
    int getUserIds(int index);

    /**
     * <pre>
     * От даты создания включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_created_at = 4;</code>
     * @return Whether the beginCreatedAt field is set.
     */
    boolean hasBeginCreatedAt();
    /**
     * <pre>
     * От даты создания включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_created_at = 4;</code>
     * @return The beginCreatedAt.
     */
    com.google.protobuf.Timestamp getBeginCreatedAt();

    /**
     * <pre>
     * До даты создания (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_created_at = 5;</code>
     * @return Whether the endCreatedAt field is set.
     */
    boolean hasEndCreatedAt();
    /**
     * <pre>
     * До даты создания (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_created_at = 5;</code>
     * @return The endCreatedAt.
     */
    com.google.protobuf.Timestamp getEndCreatedAt();

    /**
     * <pre>
     * От даты изменения включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_changed_at = 6;</code>
     * @return Whether the beginChangedAt field is set.
     */
    boolean hasBeginChangedAt();
    /**
     * <pre>
     * От даты изменения включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_changed_at = 6;</code>
     * @return The beginChangedAt.
     */
    com.google.protobuf.Timestamp getBeginChangedAt();

    /**
     * <pre>
     * До даты изменения (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_changed_at = 7;</code>
     * @return Whether the endChangedAt field is set.
     */
    boolean hasEndChangedAt();
    /**
     * <pre>
     * До даты изменения (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_changed_at = 7;</code>
     * @return The endChangedAt.
     */
    com.google.protobuf.Timestamp getEndChangedAt();
  }
  /**
   * <pre>
   * Фильтр по пуш-токенам
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.PushTokenFilter}
   */
  public  static final class PushTokenFilter extends
      com.google.protobuf.GeneratedMessageLite<
          PushTokenFilter, PushTokenFilter.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PushTokenFilter)
      PushTokenFilterOrBuilder {
    private PushTokenFilter() {
      types_ = emptyIntList();
      userAppIds_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
      userIds_ = emptyIntList();
    }
    public interface ValidationErrorOrBuilder extends
        // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PushTokenFilter.ValidationError)
        com.google.protobuf.MessageLiteOrBuilder {

      /**
       * <pre>
       * Идентификаторы устройств пользователя переданы некоректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid user_app_ids = 1;</code>
       * @return Whether the userAppIds field is set.
       */
      boolean hasUserAppIds();
      /**
       * <pre>
       * Идентификаторы устройств пользователя переданы некоректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid user_app_ids = 1;</code>
       * @return The userAppIds.
       */
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid getUserAppIds();

      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.ReasonCase getReasonCase();
    }
    /**
     * <pre>
     * Ошибки валидации фильтра по фильтру пуш-токенов.
     * Эти проверки выполняются до обращения в базу данных
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.PushTokenFilter.ValidationError}
     */
    public  static final class ValidationError extends
        com.google.protobuf.GeneratedMessageLite<
            ValidationError, ValidationError.Builder> implements
        // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PushTokenFilter.ValidationError)
        ValidationErrorOrBuilder {
      private ValidationError() {
      }
      public interface UserAppIdsInvalidOrBuilder extends
          // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid)
          com.google.protobuf.MessageLiteOrBuilder {
      }
      /**
       * <pre>
       * Причины:
       * - Cодержит значение не Guid
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid}
       */
      public  static final class UserAppIdsInvalid extends
          com.google.protobuf.GeneratedMessageLite<
              UserAppIdsInvalid, UserAppIdsInvalid.Builder> implements
          // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid)
          UserAppIdsInvalidOrBuilder {
        private UserAppIdsInvalid() {
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid parseFrom(
            java.nio.ByteBuffer data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid parseFrom(
            java.nio.ByteBuffer data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid parseFrom(
            com.google.protobuf.ByteString data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid parseFrom(
            com.google.protobuf.ByteString data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid parseFrom(byte[] data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid parseFrom(
            byte[] data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid parseFrom(java.io.InputStream input)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid parseFrom(
            java.io.InputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input, extensionRegistry);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid parseDelimitedFrom(java.io.InputStream input)
            throws java.io.IOException {
          return parseDelimitedFrom(DEFAULT_INSTANCE, input);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid parseDelimitedFrom(
            java.io.InputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid parseFrom(
            com.google.protobuf.CodedInputStream input)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid parseFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input, extensionRegistry);
        }

        public static Builder newBuilder() {
          return (Builder) DEFAULT_INSTANCE.createBuilder();
        }
        public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid prototype) {
          return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
        }

        /**
         * <pre>
         * Причины:
         * - Cодержит значение не Guid
         * </pre>
         *
         * Protobuf type {@code keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid}
         */
        public static final class Builder extends
            com.google.protobuf.GeneratedMessageLite.Builder<
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid, Builder> implements
            // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid)
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalidOrBuilder {
          // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid.newBuilder()
          private Builder() {
            super(DEFAULT_INSTANCE);
          }


          // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid)
        }
        @java.lang.Override
        @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
        protected final java.lang.Object dynamicMethod(
            com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
            java.lang.Object arg0, java.lang.Object arg1) {
          switch (method) {
            case NEW_MUTABLE_INSTANCE: {
              return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid();
            }
            case NEW_BUILDER: {
              return new Builder();
            }
            case BUILD_MESSAGE_INFO: {
                java.lang.Object[] objects = null;java.lang.String info =
                    "\u0000\u0000";
                return newMessageInfo(DEFAULT_INSTANCE, info, objects);
            }
            // fall through
            case GET_DEFAULT_INSTANCE: {
              return DEFAULT_INSTANCE;
            }
            case GET_PARSER: {
              com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid> parser = PARSER;
              if (parser == null) {
                synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid.class) {
                  parser = PARSER;
                  if (parser == null) {
                    parser =
                        new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid>(
                            DEFAULT_INSTANCE);
                    PARSER = parser;
                  }
                }
              }
              return parser;
          }
          case GET_MEMOIZED_IS_INITIALIZED: {
            return (byte) 1;
          }
          case SET_MEMOIZED_IS_INITIALIZED: {
            return null;
          }
          }
          throw new UnsupportedOperationException();
        }


        // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid)
        private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid DEFAULT_INSTANCE;
        static {
          UserAppIdsInvalid defaultInstance = new UserAppIdsInvalid();
          // New instances are implicitly immutable so no need to make
          // immutable.
          DEFAULT_INSTANCE = defaultInstance;
          com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
            UserAppIdsInvalid.class, defaultInstance);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid getDefaultInstance() {
          return DEFAULT_INSTANCE;
        }

        private static volatile com.google.protobuf.Parser<UserAppIdsInvalid> PARSER;

        public static com.google.protobuf.Parser<UserAppIdsInvalid> parser() {
          return DEFAULT_INSTANCE.getParserForType();
        }
      }

      private int reasonCase_ = 0;
      private java.lang.Object reason_;
      public enum ReasonCase {
        USER_APP_IDS(1),
        REASON_NOT_SET(0);
        private final int value;
        private ReasonCase(int value) {
          this.value = value;
        }
        /**
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static ReasonCase valueOf(int value) {
          return forNumber(value);
        }

        public static ReasonCase forNumber(int value) {
          switch (value) {
            case 1: return USER_APP_IDS;
            case 0: return REASON_NOT_SET;
            default: return null;
          }
        }
        public int getNumber() {
          return this.value;
        }
      };

      @java.lang.Override
      public ReasonCase
      getReasonCase() {
        return ReasonCase.forNumber(
            reasonCase_);
      }

      private void clearReason() {
        reasonCase_ = 0;
        reason_ = null;
      }

      public static final int USER_APP_IDS_FIELD_NUMBER = 1;
      /**
       * <pre>
       * Идентификаторы устройств пользователя переданы некоректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid user_app_ids = 1;</code>
       */
      @java.lang.Override
      public boolean hasUserAppIds() {
        return reasonCase_ == 1;
      }
      /**
       * <pre>
       * Идентификаторы устройств пользователя переданы некоректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid user_app_ids = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid getUserAppIds() {
        if (reasonCase_ == 1) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid.getDefaultInstance();
      }
      /**
       * <pre>
       * Идентификаторы устройств пользователя переданы некоректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid user_app_ids = 1;</code>
       */
      private void setUserAppIds(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Идентификаторы устройств пользователя переданы некоректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid user_app_ids = 1;</code>
       */
      private void mergeUserAppIds(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid value) {
        value.getClass();
  if (reasonCase_ == 1 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Идентификаторы устройств пользователя переданы некоректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid user_app_ids = 1;</code>
       */
      private void clearUserAppIds() {
        if (reasonCase_ == 1) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static Builder newBuilder() {
        return (Builder) DEFAULT_INSTANCE.createBuilder();
      }
      public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError prototype) {
        return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
      }

      /**
       * <pre>
       * Ошибки валидации фильтра по фильтру пуш-токенов.
       * Эти проверки выполняются до обращения в базу данных
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.PushTokenFilter.ValidationError}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageLite.Builder<
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError, Builder> implements
          // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PushTokenFilter.ValidationError)
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationErrorOrBuilder {
        // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.newBuilder()
        private Builder() {
          super(DEFAULT_INSTANCE);
        }

        @java.lang.Override
        public ReasonCase
            getReasonCase() {
          return instance.getReasonCase();
        }

        public Builder clearReason() {
          copyOnWrite();
          instance.clearReason();
          return this;
        }


        /**
         * <pre>
         * Идентификаторы устройств пользователя переданы некоректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid user_app_ids = 1;</code>
         */
        @java.lang.Override
        public boolean hasUserAppIds() {
          return instance.hasUserAppIds();
        }
        /**
         * <pre>
         * Идентификаторы устройств пользователя переданы некоректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid user_app_ids = 1;</code>
         */
        @java.lang.Override
        public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid getUserAppIds() {
          return instance.getUserAppIds();
        }
        /**
         * <pre>
         * Идентификаторы устройств пользователя переданы некоректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid user_app_ids = 1;</code>
         */
        public Builder setUserAppIds(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid value) {
          copyOnWrite();
          instance.setUserAppIds(value);
          return this;
        }
        /**
         * <pre>
         * Идентификаторы устройств пользователя переданы некоректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid user_app_ids = 1;</code>
         */
        public Builder setUserAppIds(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid.Builder builderForValue) {
          copyOnWrite();
          instance.setUserAppIds(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Идентификаторы устройств пользователя переданы некоректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid user_app_ids = 1;</code>
         */
        public Builder mergeUserAppIds(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid value) {
          copyOnWrite();
          instance.mergeUserAppIds(value);
          return this;
        }
        /**
         * <pre>
         * Идентификаторы устройств пользователя переданы некоректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError.UserAppIdsInvalid user_app_ids = 1;</code>
         */
        public Builder clearUserAppIds() {
          copyOnWrite();
          instance.clearUserAppIds();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PushTokenFilter.ValidationError)
      }
      @java.lang.Override
      @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
      protected final java.lang.Object dynamicMethod(
          com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
          java.lang.Object arg0, java.lang.Object arg1) {
        switch (method) {
          case NEW_MUTABLE_INSTANCE: {
            return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError();
          }
          case NEW_BUILDER: {
            return new Builder();
          }
          case BUILD_MESSAGE_INFO: {
              java.lang.Object[] objects = new java.lang.Object[] {
                "reason_",
                "reasonCase_",
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.UserAppIdsInvalid.class,
              };
              java.lang.String info =
                  "\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
              return newMessageInfo(DEFAULT_INSTANCE, info, objects);
          }
          // fall through
          case GET_DEFAULT_INSTANCE: {
            return DEFAULT_INSTANCE;
          }
          case GET_PARSER: {
            com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError> parser = PARSER;
            if (parser == null) {
              synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.class) {
                parser = PARSER;
                if (parser == null) {
                  parser =
                      new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError>(
                          DEFAULT_INSTANCE);
                  PARSER = parser;
                }
              }
            }
            return parser;
        }
        case GET_MEMOIZED_IS_INITIALIZED: {
          return (byte) 1;
        }
        case SET_MEMOIZED_IS_INITIALIZED: {
          return null;
        }
        }
        throw new UnsupportedOperationException();
      }


      // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PushTokenFilter.ValidationError)
      private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError DEFAULT_INSTANCE;
      static {
        ValidationError defaultInstance = new ValidationError();
        // New instances are implicitly immutable so no need to make
        // immutable.
        DEFAULT_INSTANCE = defaultInstance;
        com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
          ValidationError.class, defaultInstance);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static volatile com.google.protobuf.Parser<ValidationError> PARSER;

      public static com.google.protobuf.Parser<ValidationError> parser() {
        return DEFAULT_INSTANCE.getParserForType();
      }
    }

    public static final int TYPES_FIELD_NUMBER = 1;
    private com.google.protobuf.Internal.IntList types_;
    private static final com.google.protobuf.Internal.ListAdapter.Converter<
        java.lang.Integer, ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type> types_converter_ =
            new com.google.protobuf.Internal.ListAdapter.Converter<
                java.lang.Integer, ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type>() {
              @java.lang.Override
              public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type convert(java.lang.Integer from) {
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type result = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type.forNumber(from);
                return result == null ? ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type.UNRECOGNIZED : result;
              }
            };
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @return A list containing the types.
     */
    @java.lang.Override
    public java.util.List<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type> getTypesList() {
      return new com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type>(types_, types_converter_);
    }
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @return The count of types.
     */
    @java.lang.Override
    public int getTypesCount() {
      return types_.size();
    }
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @param index The index of the element to return.
     * @return The types at the given index.
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type getTypes(int index) {
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type result = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type.forNumber(types_.getInt(index));
      return result == null ? ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type.UNRECOGNIZED : result;
    }
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @return A list containing the enum numeric values on the wire for types.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
    getTypesValueList() {
      return types_;
    }
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @param index The index of the value to return.
     * @return The enum numeric value on the wire of types at the given index.
     */
    @java.lang.Override
    public int getTypesValue(int index) {
      return types_.getInt(index);
    }
    private int typesMemoizedSerializedSize;
    private void ensureTypesIsMutable() {
      com.google.protobuf.Internal.IntList tmp = types_;
      if (!tmp.isModifiable()) {
        types_ =
            com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
      }
    }
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @param index The index to set the value at.
     * @param value The types to set.
     */
    private void setTypes(
        int index, ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type value) {
      value.getClass();
  ensureTypesIsMutable();
      types_.setInt(index, value.getNumber());
    }
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @param value The types to add.
     */
    private void addTypes(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type value) {
      value.getClass();
  ensureTypesIsMutable();
      types_.addInt(value.getNumber());
    }
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @param values The types to add.
     */
    private void addAllTypes(
        java.lang.Iterable<? extends ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type> values) {
      ensureTypesIsMutable();
      for (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type value : values) {
        types_.addInt(value.getNumber());
      }
    }
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     */
    private void clearTypes() {
      types_ = emptyIntList();
    }
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @param value The enum numeric value on the wire for types to set.
     */
    private void setTypesValue(
        int index, int value) {
      ensureTypesIsMutable();
      types_.setInt(index, value);
    }
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @param value The enum numeric value on the wire for types to add.
     */
    private void addTypesValue(int value) {
      ensureTypesIsMutable();
      types_.addInt(value);
    }
    /**
     * <pre>
     * По типам пуш-токенов
     * </pre>
     *
     * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
     * @param values The enum numeric values on the wire for types to add.
     */
    private void addAllTypesValue(
        java.lang.Iterable<java.lang.Integer> values) {
      ensureTypesIsMutable();
      for (int value : values) {
        types_.addInt(value);
      }
    }

    public static final int USER_APP_IDS_FIELD_NUMBER = 2;
    private com.google.protobuf.Internal.ProtobufList<java.lang.String> userAppIds_;
    /**
     * <pre>
     * По идентификаторам устройств пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>repeated string user_app_ids = 2;</code>
     * @return A list containing the userAppIds.
     */
    @java.lang.Override
    public java.util.List<java.lang.String> getUserAppIdsList() {
      return userAppIds_;
    }
    /**
     * <pre>
     * По идентификаторам устройств пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>repeated string user_app_ids = 2;</code>
     * @return The count of userAppIds.
     */
    @java.lang.Override
    public int getUserAppIdsCount() {
      return userAppIds_.size();
    }
    /**
     * <pre>
     * По идентификаторам устройств пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>repeated string user_app_ids = 2;</code>
     * @param index The index of the element to return.
     * @return The userAppIds at the given index.
     */
    @java.lang.Override
    public java.lang.String getUserAppIds(int index) {
      return userAppIds_.get(index);
    }
    /**
     * <pre>
     * По идентификаторам устройств пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>repeated string user_app_ids = 2;</code>
     * @param index The index of the value to return.
     * @return The bytes of the userAppIds at the given index.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUserAppIdsBytes(int index) {
      return com.google.protobuf.ByteString.copyFromUtf8(
          userAppIds_.get(index));
    }
    private void ensureUserAppIdsIsMutable() {
      com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
          userAppIds_;  if (!tmp.isModifiable()) {
        userAppIds_ =
            com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
       }
    }
    /**
     * <pre>
     * По идентификаторам устройств пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>repeated string user_app_ids = 2;</code>
     * @param index The index to set the value at.
     * @param value The userAppIds to set.
     */
    private void setUserAppIds(
        int index, java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  ensureUserAppIdsIsMutable();
      userAppIds_.set(index, value);
    }
    /**
     * <pre>
     * По идентификаторам устройств пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>repeated string user_app_ids = 2;</code>
     * @param value The userAppIds to add.
     */
    private void addUserAppIds(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  ensureUserAppIdsIsMutable();
      userAppIds_.add(value);
    }
    /**
     * <pre>
     * По идентификаторам устройств пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>repeated string user_app_ids = 2;</code>
     * @param values The userAppIds to add.
     */
    private void addAllUserAppIds(
        java.lang.Iterable<java.lang.String> values) {
      ensureUserAppIdsIsMutable();
      com.google.protobuf.AbstractMessageLite.addAll(
          values, userAppIds_);
    }
    /**
     * <pre>
     * По идентификаторам устройств пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>repeated string user_app_ids = 2;</code>
     */
    private void clearUserAppIds() {
      userAppIds_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
    }
    /**
     * <pre>
     * По идентификаторам устройств пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>repeated string user_app_ids = 2;</code>
     * @param value The bytes of the userAppIds to add.
     */
    private void addUserAppIdsBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      ensureUserAppIdsIsMutable();
      userAppIds_.add(value.toStringUtf8());
    }

    public static final int USER_IDS_FIELD_NUMBER = 3;
    private com.google.protobuf.Internal.IntList userIds_;
    /**
     * <pre>
     * По идентификаторам пользователя
     * </pre>
     *
     * <code>repeated int32 user_ids = 3;</code>
     * @return A list containing the userIds.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getUserIdsList() {
      return userIds_;
    }
    /**
     * <pre>
     * По идентификаторам пользователя
     * </pre>
     *
     * <code>repeated int32 user_ids = 3;</code>
     * @return The count of userIds.
     */
    @java.lang.Override
    public int getUserIdsCount() {
      return userIds_.size();
    }
    /**
     * <pre>
     * По идентификаторам пользователя
     * </pre>
     *
     * <code>repeated int32 user_ids = 3;</code>
     * @param index The index of the element to return.
     * @return The userIds at the given index.
     */
    @java.lang.Override
    public int getUserIds(int index) {
      return userIds_.getInt(index);
    }
    private int userIdsMemoizedSerializedSize = -1;
    private void ensureUserIdsIsMutable() {
      com.google.protobuf.Internal.IntList tmp = userIds_;
      if (!tmp.isModifiable()) {
        userIds_ =
            com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
       }
    }
    /**
     * <pre>
     * По идентификаторам пользователя
     * </pre>
     *
     * <code>repeated int32 user_ids = 3;</code>
     * @param index The index to set the value at.
     * @param value The userIds to set.
     */
    private void setUserIds(
        int index, int value) {
      ensureUserIdsIsMutable();
      userIds_.setInt(index, value);
    }
    /**
     * <pre>
     * По идентификаторам пользователя
     * </pre>
     *
     * <code>repeated int32 user_ids = 3;</code>
     * @param value The userIds to add.
     */
    private void addUserIds(int value) {
      ensureUserIdsIsMutable();
      userIds_.addInt(value);
    }
    /**
     * <pre>
     * По идентификаторам пользователя
     * </pre>
     *
     * <code>repeated int32 user_ids = 3;</code>
     * @param values The userIds to add.
     */
    private void addAllUserIds(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureUserIdsIsMutable();
      com.google.protobuf.AbstractMessageLite.addAll(
          values, userIds_);
    }
    /**
     * <pre>
     * По идентификаторам пользователя
     * </pre>
     *
     * <code>repeated int32 user_ids = 3;</code>
     */
    private void clearUserIds() {
      userIds_ = emptyIntList();
    }

    public static final int BEGIN_CREATED_AT_FIELD_NUMBER = 4;
    private com.google.protobuf.Timestamp beginCreatedAt_;
    /**
     * <pre>
     * От даты создания включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_created_at = 4;</code>
     */
    @java.lang.Override
    public boolean hasBeginCreatedAt() {
      return beginCreatedAt_ != null;
    }
    /**
     * <pre>
     * От даты создания включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_created_at = 4;</code>
     */
    @java.lang.Override
    public com.google.protobuf.Timestamp getBeginCreatedAt() {
      return beginCreatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : beginCreatedAt_;
    }
    /**
     * <pre>
     * От даты создания включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_created_at = 4;</code>
     */
    private void setBeginCreatedAt(com.google.protobuf.Timestamp value) {
      value.getClass();
  beginCreatedAt_ = value;

      }
    /**
     * <pre>
     * От даты создания включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_created_at = 4;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeBeginCreatedAt(com.google.protobuf.Timestamp value) {
      value.getClass();
  if (beginCreatedAt_ != null &&
          beginCreatedAt_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
        beginCreatedAt_ =
          com.google.protobuf.Timestamp.newBuilder(beginCreatedAt_).mergeFrom(value).buildPartial();
      } else {
        beginCreatedAt_ = value;
      }

    }
    /**
     * <pre>
     * От даты создания включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_created_at = 4;</code>
     */
    private void clearBeginCreatedAt() {  beginCreatedAt_ = null;

    }

    public static final int END_CREATED_AT_FIELD_NUMBER = 5;
    private com.google.protobuf.Timestamp endCreatedAt_;
    /**
     * <pre>
     * До даты создания (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_created_at = 5;</code>
     */
    @java.lang.Override
    public boolean hasEndCreatedAt() {
      return endCreatedAt_ != null;
    }
    /**
     * <pre>
     * До даты создания (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_created_at = 5;</code>
     */
    @java.lang.Override
    public com.google.protobuf.Timestamp getEndCreatedAt() {
      return endCreatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endCreatedAt_;
    }
    /**
     * <pre>
     * До даты создания (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_created_at = 5;</code>
     */
    private void setEndCreatedAt(com.google.protobuf.Timestamp value) {
      value.getClass();
  endCreatedAt_ = value;

      }
    /**
     * <pre>
     * До даты создания (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_created_at = 5;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeEndCreatedAt(com.google.protobuf.Timestamp value) {
      value.getClass();
  if (endCreatedAt_ != null &&
          endCreatedAt_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
        endCreatedAt_ =
          com.google.protobuf.Timestamp.newBuilder(endCreatedAt_).mergeFrom(value).buildPartial();
      } else {
        endCreatedAt_ = value;
      }

    }
    /**
     * <pre>
     * До даты создания (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_created_at = 5;</code>
     */
    private void clearEndCreatedAt() {  endCreatedAt_ = null;

    }

    public static final int BEGIN_CHANGED_AT_FIELD_NUMBER = 6;
    private com.google.protobuf.Timestamp beginChangedAt_;
    /**
     * <pre>
     * От даты изменения включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_changed_at = 6;</code>
     */
    @java.lang.Override
    public boolean hasBeginChangedAt() {
      return beginChangedAt_ != null;
    }
    /**
     * <pre>
     * От даты изменения включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_changed_at = 6;</code>
     */
    @java.lang.Override
    public com.google.protobuf.Timestamp getBeginChangedAt() {
      return beginChangedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : beginChangedAt_;
    }
    /**
     * <pre>
     * От даты изменения включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_changed_at = 6;</code>
     */
    private void setBeginChangedAt(com.google.protobuf.Timestamp value) {
      value.getClass();
  beginChangedAt_ = value;

      }
    /**
     * <pre>
     * От даты изменения включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_changed_at = 6;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeBeginChangedAt(com.google.protobuf.Timestamp value) {
      value.getClass();
  if (beginChangedAt_ != null &&
          beginChangedAt_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
        beginChangedAt_ =
          com.google.protobuf.Timestamp.newBuilder(beginChangedAt_).mergeFrom(value).buildPartial();
      } else {
        beginChangedAt_ = value;
      }

    }
    /**
     * <pre>
     * От даты изменения включительно (&gt;=)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp begin_changed_at = 6;</code>
     */
    private void clearBeginChangedAt() {  beginChangedAt_ = null;

    }

    public static final int END_CHANGED_AT_FIELD_NUMBER = 7;
    private com.google.protobuf.Timestamp endChangedAt_;
    /**
     * <pre>
     * До даты изменения (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_changed_at = 7;</code>
     */
    @java.lang.Override
    public boolean hasEndChangedAt() {
      return endChangedAt_ != null;
    }
    /**
     * <pre>
     * До даты изменения (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_changed_at = 7;</code>
     */
    @java.lang.Override
    public com.google.protobuf.Timestamp getEndChangedAt() {
      return endChangedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endChangedAt_;
    }
    /**
     * <pre>
     * До даты изменения (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_changed_at = 7;</code>
     */
    private void setEndChangedAt(com.google.protobuf.Timestamp value) {
      value.getClass();
  endChangedAt_ = value;

      }
    /**
     * <pre>
     * До даты изменения (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_changed_at = 7;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeEndChangedAt(com.google.protobuf.Timestamp value) {
      value.getClass();
  if (endChangedAt_ != null &&
          endChangedAt_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
        endChangedAt_ =
          com.google.protobuf.Timestamp.newBuilder(endChangedAt_).mergeFrom(value).buildPartial();
      } else {
        endChangedAt_ = value;
      }

    }
    /**
     * <pre>
     * До даты изменения (&lt;)
     * </pre>
     *
     * <code>.google.protobuf.Timestamp end_changed_at = 7;</code>
     */
    private void clearEndChangedAt() {  endChangedAt_ = null;

    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Фильтр по пуш-токенам
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.PushTokenFilter}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PushTokenFilter)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilterOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * По типам пуш-токенов
       * </pre>
       *
       * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
       * @return A list containing the types.
       */
      @java.lang.Override
      public java.util.List<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type> getTypesList() {
        return instance.getTypesList();
      }
      /**
       * <pre>
       * По типам пуш-токенов
       * </pre>
       *
       * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
       * @return The count of types.
       */
      @java.lang.Override
      public int getTypesCount() {
        return instance.getTypesCount();
      }
      /**
       * <pre>
       * По типам пуш-токенов
       * </pre>
       *
       * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
       * @param index The index of the element to return.
       * @return The types at the given index.
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type getTypes(int index) {
        return instance.getTypes(index);
      }
      /**
       * <pre>
       * По типам пуш-токенов
       * </pre>
       *
       * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
       * @param index The index to set the value at.
       * @param value The types to set.
       * @return This builder for chaining.
       */
      public Builder setTypes(
          int index, ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type value) {
        copyOnWrite();
        instance.setTypes(index, value);
        return this;
      }
      /**
       * <pre>
       * По типам пуш-токенов
       * </pre>
       *
       * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
       * @param value The types to add.
       * @return This builder for chaining.
       */
      public Builder addTypes(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type value) {
        copyOnWrite();
        instance.addTypes(value);
        return this;
      }
      /**
       * <pre>
       * По типам пуш-токенов
       * </pre>
       *
       * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
       * @param values The types to add.
       * @return This builder for chaining.
       */
      public Builder addAllTypes(
          java.lang.Iterable<? extends ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Type> values) {
        copyOnWrite();
        instance.addAllTypes(values);  return this;
      }
      /**
       * <pre>
       * По типам пуш-токенов
       * </pre>
       *
       * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearTypes() {
        copyOnWrite();
        instance.clearTypes();
        return this;
      }
      /**
       * <pre>
       * По типам пуш-токенов
       * </pre>
       *
       * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
       * @return A list containing the enum numeric values on the wire for types.
       */
      @java.lang.Override
      public java.util.List<java.lang.Integer>
      getTypesValueList() {
        return java.util.Collections.unmodifiableList(
            instance.getTypesValueList());
      }
      /**
       * <pre>
       * По типам пуш-токенов
       * </pre>
       *
       * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
       * @param index The index of the value to return.
       * @return The enum numeric value on the wire of types at the given index.
       */
      @java.lang.Override
      public int getTypesValue(int index) {
        return instance.getTypesValue(index);
      }
      /**
       * <pre>
       * По типам пуш-токенов
       * </pre>
       *
       * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
       * @param index The index to set the value at.
       * @param value The enum numeric value on the wire for types to set.
       * @return This builder for chaining.
       */
      public Builder setTypesValue(
          int index, int value) {
        copyOnWrite();
        instance.setTypesValue(index, value);
        return this;
      }
      /**
       * <pre>
       * По типам пуш-токенов
       * </pre>
       *
       * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
       * @param value The enum numeric value on the wire for types to add.
       * @return This builder for chaining.
       */
      public Builder addTypesValue(int value) {
        copyOnWrite();
        instance.addTypesValue(value);
        return this;
      }
      /**
       * <pre>
       * По типам пуш-токенов
       * </pre>
       *
       * <code>repeated .keyapis.notification.v1.PushToken.Type types = 1;</code>
       * @param values The enum numeric values on the wire for types to add.
       * @return This builder for chaining.
       */
      public Builder addAllTypesValue(
          java.lang.Iterable<java.lang.Integer> values) {
        copyOnWrite();
        instance.addAllTypesValue(values);
        return this;
      }

      /**
       * <pre>
       * По идентификаторам устройств пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>repeated string user_app_ids = 2;</code>
       * @return A list containing the userAppIds.
       */
      @java.lang.Override
      public java.util.List<java.lang.String>
          getUserAppIdsList() {
        return java.util.Collections.unmodifiableList(
            instance.getUserAppIdsList());
      }
      /**
       * <pre>
       * По идентификаторам устройств пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>repeated string user_app_ids = 2;</code>
       * @return The count of userAppIds.
       */
      @java.lang.Override
      public int getUserAppIdsCount() {
        return instance.getUserAppIdsCount();
      }
      /**
       * <pre>
       * По идентификаторам устройств пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>repeated string user_app_ids = 2;</code>
       * @param index The index of the element to return.
       * @return The userAppIds at the given index.
       */
      @java.lang.Override
      public java.lang.String getUserAppIds(int index) {
        return instance.getUserAppIds(index);
      }
      /**
       * <pre>
       * По идентификаторам устройств пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>repeated string user_app_ids = 2;</code>
       * @param index The index of the value to return.
       * @return The bytes of the userAppIds at the given index.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getUserAppIdsBytes(int index) {
        return instance.getUserAppIdsBytes(index);
      }
      /**
       * <pre>
       * По идентификаторам устройств пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>repeated string user_app_ids = 2;</code>
       * @param index The index to set the value at.
       * @param value The userAppIds to set.
       * @return This builder for chaining.
       */
      public Builder setUserAppIds(
          int index, java.lang.String value) {
        copyOnWrite();
        instance.setUserAppIds(index, value);
        return this;
      }
      /**
       * <pre>
       * По идентификаторам устройств пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>repeated string user_app_ids = 2;</code>
       * @param value The userAppIds to add.
       * @return This builder for chaining.
       */
      public Builder addUserAppIds(
          java.lang.String value) {
        copyOnWrite();
        instance.addUserAppIds(value);
        return this;
      }
      /**
       * <pre>
       * По идентификаторам устройств пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>repeated string user_app_ids = 2;</code>
       * @param values The userAppIds to add.
       * @return This builder for chaining.
       */
      public Builder addAllUserAppIds(
          java.lang.Iterable<java.lang.String> values) {
        copyOnWrite();
        instance.addAllUserAppIds(values);
        return this;
      }
      /**
       * <pre>
       * По идентификаторам устройств пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>repeated string user_app_ids = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearUserAppIds() {
        copyOnWrite();
        instance.clearUserAppIds();
        return this;
      }
      /**
       * <pre>
       * По идентификаторам устройств пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>repeated string user_app_ids = 2;</code>
       * @param value The bytes of the userAppIds to add.
       * @return This builder for chaining.
       */
      public Builder addUserAppIdsBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.addUserAppIdsBytes(value);
        return this;
      }

      /**
       * <pre>
       * По идентификаторам пользователя
       * </pre>
       *
       * <code>repeated int32 user_ids = 3;</code>
       * @return A list containing the userIds.
       */
      @java.lang.Override
      public java.util.List<java.lang.Integer>
          getUserIdsList() {
        return java.util.Collections.unmodifiableList(
            instance.getUserIdsList());
      }
      /**
       * <pre>
       * По идентификаторам пользователя
       * </pre>
       *
       * <code>repeated int32 user_ids = 3;</code>
       * @return The count of userIds.
       */
      @java.lang.Override
      public int getUserIdsCount() {
        return instance.getUserIdsCount();
      }
      /**
       * <pre>
       * По идентификаторам пользователя
       * </pre>
       *
       * <code>repeated int32 user_ids = 3;</code>
       * @param index The index of the element to return.
       * @return The userIds at the given index.
       */
      @java.lang.Override
      public int getUserIds(int index) {
        return instance.getUserIds(index);
      }
      /**
       * <pre>
       * По идентификаторам пользователя
       * </pre>
       *
       * <code>repeated int32 user_ids = 3;</code>
       * @param value The userIds to set.
       * @return This builder for chaining.
       */
      public Builder setUserIds(
          int index, int value) {
        copyOnWrite();
        instance.setUserIds(index, value);
        return this;
      }
      /**
       * <pre>
       * По идентификаторам пользователя
       * </pre>
       *
       * <code>repeated int32 user_ids = 3;</code>
       * @param value The userIds to add.
       * @return This builder for chaining.
       */
      public Builder addUserIds(int value) {
        copyOnWrite();
        instance.addUserIds(value);
        return this;
      }
      /**
       * <pre>
       * По идентификаторам пользователя
       * </pre>
       *
       * <code>repeated int32 user_ids = 3;</code>
       * @param values The userIds to add.
       * @return This builder for chaining.
       */
      public Builder addAllUserIds(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        copyOnWrite();
        instance.addAllUserIds(values);
        return this;
      }
      /**
       * <pre>
       * По идентификаторам пользователя
       * </pre>
       *
       * <code>repeated int32 user_ids = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearUserIds() {
        copyOnWrite();
        instance.clearUserIds();
        return this;
      }

      /**
       * <pre>
       * От даты создания включительно (&gt;=)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp begin_created_at = 4;</code>
       */
      @java.lang.Override
      public boolean hasBeginCreatedAt() {
        return instance.hasBeginCreatedAt();
      }
      /**
       * <pre>
       * От даты создания включительно (&gt;=)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp begin_created_at = 4;</code>
       */
      @java.lang.Override
      public com.google.protobuf.Timestamp getBeginCreatedAt() {
        return instance.getBeginCreatedAt();
      }
      /**
       * <pre>
       * От даты создания включительно (&gt;=)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp begin_created_at = 4;</code>
       */
      public Builder setBeginCreatedAt(com.google.protobuf.Timestamp value) {
        copyOnWrite();
        instance.setBeginCreatedAt(value);
        return this;
        }
      /**
       * <pre>
       * От даты создания включительно (&gt;=)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp begin_created_at = 4;</code>
       */
      public Builder setBeginCreatedAt(
          com.google.protobuf.Timestamp.Builder builderForValue) {
        copyOnWrite();
        instance.setBeginCreatedAt(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * От даты создания включительно (&gt;=)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp begin_created_at = 4;</code>
       */
      public Builder mergeBeginCreatedAt(com.google.protobuf.Timestamp value) {
        copyOnWrite();
        instance.mergeBeginCreatedAt(value);
        return this;
      }
      /**
       * <pre>
       * От даты создания включительно (&gt;=)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp begin_created_at = 4;</code>
       */
      public Builder clearBeginCreatedAt() {  copyOnWrite();
        instance.clearBeginCreatedAt();
        return this;
      }

      /**
       * <pre>
       * До даты создания (&lt;)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp end_created_at = 5;</code>
       */
      @java.lang.Override
      public boolean hasEndCreatedAt() {
        return instance.hasEndCreatedAt();
      }
      /**
       * <pre>
       * До даты создания (&lt;)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp end_created_at = 5;</code>
       */
      @java.lang.Override
      public com.google.protobuf.Timestamp getEndCreatedAt() {
        return instance.getEndCreatedAt();
      }
      /**
       * <pre>
       * До даты создания (&lt;)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp end_created_at = 5;</code>
       */
      public Builder setEndCreatedAt(com.google.protobuf.Timestamp value) {
        copyOnWrite();
        instance.setEndCreatedAt(value);
        return this;
        }
      /**
       * <pre>
       * До даты создания (&lt;)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp end_created_at = 5;</code>
       */
      public Builder setEndCreatedAt(
          com.google.protobuf.Timestamp.Builder builderForValue) {
        copyOnWrite();
        instance.setEndCreatedAt(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * До даты создания (&lt;)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp end_created_at = 5;</code>
       */
      public Builder mergeEndCreatedAt(com.google.protobuf.Timestamp value) {
        copyOnWrite();
        instance.mergeEndCreatedAt(value);
        return this;
      }
      /**
       * <pre>
       * До даты создания (&lt;)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp end_created_at = 5;</code>
       */
      public Builder clearEndCreatedAt() {  copyOnWrite();
        instance.clearEndCreatedAt();
        return this;
      }

      /**
       * <pre>
       * От даты изменения включительно (&gt;=)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp begin_changed_at = 6;</code>
       */
      @java.lang.Override
      public boolean hasBeginChangedAt() {
        return instance.hasBeginChangedAt();
      }
      /**
       * <pre>
       * От даты изменения включительно (&gt;=)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp begin_changed_at = 6;</code>
       */
      @java.lang.Override
      public com.google.protobuf.Timestamp getBeginChangedAt() {
        return instance.getBeginChangedAt();
      }
      /**
       * <pre>
       * От даты изменения включительно (&gt;=)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp begin_changed_at = 6;</code>
       */
      public Builder setBeginChangedAt(com.google.protobuf.Timestamp value) {
        copyOnWrite();
        instance.setBeginChangedAt(value);
        return this;
        }
      /**
       * <pre>
       * От даты изменения включительно (&gt;=)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp begin_changed_at = 6;</code>
       */
      public Builder setBeginChangedAt(
          com.google.protobuf.Timestamp.Builder builderForValue) {
        copyOnWrite();
        instance.setBeginChangedAt(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * От даты изменения включительно (&gt;=)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp begin_changed_at = 6;</code>
       */
      public Builder mergeBeginChangedAt(com.google.protobuf.Timestamp value) {
        copyOnWrite();
        instance.mergeBeginChangedAt(value);
        return this;
      }
      /**
       * <pre>
       * От даты изменения включительно (&gt;=)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp begin_changed_at = 6;</code>
       */
      public Builder clearBeginChangedAt() {  copyOnWrite();
        instance.clearBeginChangedAt();
        return this;
      }

      /**
       * <pre>
       * До даты изменения (&lt;)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp end_changed_at = 7;</code>
       */
      @java.lang.Override
      public boolean hasEndChangedAt() {
        return instance.hasEndChangedAt();
      }
      /**
       * <pre>
       * До даты изменения (&lt;)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp end_changed_at = 7;</code>
       */
      @java.lang.Override
      public com.google.protobuf.Timestamp getEndChangedAt() {
        return instance.getEndChangedAt();
      }
      /**
       * <pre>
       * До даты изменения (&lt;)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp end_changed_at = 7;</code>
       */
      public Builder setEndChangedAt(com.google.protobuf.Timestamp value) {
        copyOnWrite();
        instance.setEndChangedAt(value);
        return this;
        }
      /**
       * <pre>
       * До даты изменения (&lt;)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp end_changed_at = 7;</code>
       */
      public Builder setEndChangedAt(
          com.google.protobuf.Timestamp.Builder builderForValue) {
        copyOnWrite();
        instance.setEndChangedAt(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * До даты изменения (&lt;)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp end_changed_at = 7;</code>
       */
      public Builder mergeEndChangedAt(com.google.protobuf.Timestamp value) {
        copyOnWrite();
        instance.mergeEndChangedAt(value);
        return this;
      }
      /**
       * <pre>
       * До даты изменения (&lt;)
       * </pre>
       *
       * <code>.google.protobuf.Timestamp end_changed_at = 7;</code>
       */
      public Builder clearEndChangedAt() {  copyOnWrite();
        instance.clearEndChangedAt();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PushTokenFilter)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "types_",
              "userAppIds_",
              "userIds_",
              "beginCreatedAt_",
              "endCreatedAt_",
              "beginChangedAt_",
              "endChangedAt_",
            };
            java.lang.String info =
                "\u0000\u0007\u0000\u0000\u0001\u0007\u0007\u0000\u0003\u0000\u0001,\u0002\u021a\u0003" +
                "\'\u0004\t\u0005\t\u0006\t\u0007\t";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PushTokenFilter)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter DEFAULT_INSTANCE;
    static {
      PushTokenFilter defaultInstance = new PushTokenFilter();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        PushTokenFilter.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<PushTokenFilter> PARSER;

    public static com.google.protobuf.Parser<PushTokenFilter> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface PushTokenPagingOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PushTokenPaging)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Тип значения сортировки.
     * Если значение не передано, то будет взято значение по умолчанию.
     * # По умолчанию: ID
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.OrderByType order_by_type = 1;</code>
     * @return The enum numeric value on the wire for orderByType.
     */
    int getOrderByTypeValue();
    /**
     * <pre>
     * Тип значения сортировки.
     * Если значение не передано, то будет взято значение по умолчанию.
     * # По умолчанию: ID
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.OrderByType order_by_type = 1;</code>
     * @return The orderByType.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.OrderByType getOrderByType();

    /**
     * <pre>
     * Тип направления сортировки.
     * # По умолчанию: DESC
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.DirectionType direction_type = 2;</code>
     * @return The enum numeric value on the wire for directionType.
     */
    int getDirectionTypeValue();
    /**
     * <pre>
     * Тип направления сортировки.
     * # По умолчанию: DESC
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.DirectionType direction_type = 2;</code>
     * @return The directionType.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.DirectionType getDirectionType();

    /**
     * <pre>
     * Количество записей на страницу.
     * Если значение 0 (не передано), то будет взято значение по умолчанию.
     * # Диапазон: 0..100.
     * # По умолчанию: 20
     * </pre>
     *
     * <code>int32 limit = 3;</code>
     * @return The limit.
     */
    int getLimit();

    /**
     * <pre>
     * Сдвиг.
     * # Диапазон: 0..2147483647
     * </pre>
     *
     * <code>int32 offset = 4;</code>
     * @return The offset.
     */
    int getOffset();
  }
  /**
   * <pre>
   * Постраничный вывод
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.PushTokenPaging}
   */
  public  static final class PushTokenPaging extends
      com.google.protobuf.GeneratedMessageLite<
          PushTokenPaging, PushTokenPaging.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PushTokenPaging)
      PushTokenPagingOrBuilder {
    private PushTokenPaging() {
    }
    /**
     * <pre>
     * Справочник типов значений сортировки.
     * # Тип: byte
     * </pre>
     *
     * Protobuf enum {@code keyapis.notification.v1.PushTokenPaging.OrderByType}
     */
    public enum OrderByType
        implements com.google.protobuf.Internal.EnumLite {
      /**
       * <pre>
       * Значение не указано
       * </pre>
       *
       * <code>ORDER_BY_TYPE_UNKNOWN = 0;</code>
       */
      ORDER_BY_TYPE_UNKNOWN(0),
      /**
       * <pre>
       * По идентификатору
       * </pre>
       *
       * <code>ID = 1;</code>
       */
      ID(1),
      /**
       * <pre>
       * По времени создания
       * </pre>
       *
       * <code>CREATED_AT = 2;</code>
       */
      CREATED_AT(2),
      /**
       * <pre>
       * По времени изменения
       * </pre>
       *
       * <code>CHANGED_AT = 3;</code>
       */
      CHANGED_AT(3),
      UNRECOGNIZED(-1),
      ;

      /**
       * <pre>
       * Значение не указано
       * </pre>
       *
       * <code>ORDER_BY_TYPE_UNKNOWN = 0;</code>
       */
      public static final int ORDER_BY_TYPE_UNKNOWN_VALUE = 0;
      /**
       * <pre>
       * По идентификатору
       * </pre>
       *
       * <code>ID = 1;</code>
       */
      public static final int ID_VALUE = 1;
      /**
       * <pre>
       * По времени создания
       * </pre>
       *
       * <code>CREATED_AT = 2;</code>
       */
      public static final int CREATED_AT_VALUE = 2;
      /**
       * <pre>
       * По времени изменения
       * </pre>
       *
       * <code>CHANGED_AT = 3;</code>
       */
      public static final int CHANGED_AT_VALUE = 3;


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

      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static OrderByType valueOf(int value) {
        return forNumber(value);
      }

      public static OrderByType forNumber(int value) {
        switch (value) {
          case 0: return ORDER_BY_TYPE_UNKNOWN;
          case 1: return ID;
          case 2: return CREATED_AT;
          case 3: return CHANGED_AT;
          default: return null;
        }
      }

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

      public static com.google.protobuf.Internal.EnumVerifier 
          internalGetVerifier() {
        return OrderByTypeVerifier.INSTANCE;
      }

      private static final class OrderByTypeVerifier implements 
           com.google.protobuf.Internal.EnumVerifier { 
              static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new OrderByTypeVerifier();
              @java.lang.Override
              public boolean isInRange(int number) {
                return OrderByType.forNumber(number) != null;
              }
            };

      private final int value;

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

      // @@protoc_insertion_point(enum_scope:keyapis.notification.v1.PushTokenPaging.OrderByType)
    }

    /**
     * <pre>
     * Справочник типов направлений сортировки.
     * # Тип: byte
     * </pre>
     *
     * Protobuf enum {@code keyapis.notification.v1.PushTokenPaging.DirectionType}
     */
    public enum DirectionType
        implements com.google.protobuf.Internal.EnumLite {
      /**
       * <pre>
       * Значение не указано
       * </pre>
       *
       * <code>DIRECTION_TYPE_UNKNOWN = 0;</code>
       */
      DIRECTION_TYPE_UNKNOWN(0),
      /**
       * <pre>
       * От большего к меньшему
       * </pre>
       *
       * <code>DESC = 1;</code>
       */
      DESC(1),
      /**
       * <pre>
       * От меньшего к большему
       * </pre>
       *
       * <code>ASC = 2;</code>
       */
      ASC(2),
      UNRECOGNIZED(-1),
      ;

      /**
       * <pre>
       * Значение не указано
       * </pre>
       *
       * <code>DIRECTION_TYPE_UNKNOWN = 0;</code>
       */
      public static final int DIRECTION_TYPE_UNKNOWN_VALUE = 0;
      /**
       * <pre>
       * От большего к меньшему
       * </pre>
       *
       * <code>DESC = 1;</code>
       */
      public static final int DESC_VALUE = 1;
      /**
       * <pre>
       * От меньшего к большему
       * </pre>
       *
       * <code>ASC = 2;</code>
       */
      public static final int ASC_VALUE = 2;


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

      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static DirectionType valueOf(int value) {
        return forNumber(value);
      }

      public static DirectionType forNumber(int value) {
        switch (value) {
          case 0: return DIRECTION_TYPE_UNKNOWN;
          case 1: return DESC;
          case 2: return ASC;
          default: return null;
        }
      }

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

      public static com.google.protobuf.Internal.EnumVerifier 
          internalGetVerifier() {
        return DirectionTypeVerifier.INSTANCE;
      }

      private static final class DirectionTypeVerifier implements 
           com.google.protobuf.Internal.EnumVerifier { 
              static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new DirectionTypeVerifier();
              @java.lang.Override
              public boolean isInRange(int number) {
                return DirectionType.forNumber(number) != null;
              }
            };

      private final int value;

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

      // @@protoc_insertion_point(enum_scope:keyapis.notification.v1.PushTokenPaging.DirectionType)
    }

    public interface ValidationErrorOrBuilder extends
        // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PushTokenPaging.ValidationError)
        com.google.protobuf.MessageLiteOrBuilder {

      /**
       * <pre>
       * Количество передано некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid limit = 1;</code>
       * @return Whether the limit field is set.
       */
      boolean hasLimit();
      /**
       * <pre>
       * Количество передано некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid limit = 1;</code>
       * @return The limit.
       */
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid getLimit();

      /**
       * <pre>
       * Сдвиг передан некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid offset = 2;</code>
       * @return Whether the offset field is set.
       */
      boolean hasOffset();
      /**
       * <pre>
       * Сдвиг передан некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid offset = 2;</code>
       * @return The offset.
       */
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid getOffset();

      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.ReasonCase getReasonCase();
    }
    /**
     * <pre>
     * Ошибка валидации постраничной пагинации по пуш-токенам.
     * Эти проверки выполняются до обращения в базу данных
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.PushTokenPaging.ValidationError}
     */
    public  static final class ValidationError extends
        com.google.protobuf.GeneratedMessageLite<
            ValidationError, ValidationError.Builder> implements
        // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PushTokenPaging.ValidationError)
        ValidationErrorOrBuilder {
      private ValidationError() {
      }
      public interface LimitInvalidOrBuilder extends
          // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid)
          com.google.protobuf.MessageLiteOrBuilder {
      }
      /**
       * <pre>
       * Причины:
       * - Значение количества &lt; 0 или &gt; 100
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid}
       */
      public  static final class LimitInvalid extends
          com.google.protobuf.GeneratedMessageLite<
              LimitInvalid, LimitInvalid.Builder> implements
          // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid)
          LimitInvalidOrBuilder {
        private LimitInvalid() {
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid parseFrom(
            java.nio.ByteBuffer data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid parseFrom(
            java.nio.ByteBuffer data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid parseFrom(
            com.google.protobuf.ByteString data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid parseFrom(
            com.google.protobuf.ByteString data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid parseFrom(byte[] data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid parseFrom(
            byte[] data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid parseFrom(java.io.InputStream input)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid parseFrom(
            java.io.InputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input, extensionRegistry);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid parseDelimitedFrom(java.io.InputStream input)
            throws java.io.IOException {
          return parseDelimitedFrom(DEFAULT_INSTANCE, input);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid parseDelimitedFrom(
            java.io.InputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid parseFrom(
            com.google.protobuf.CodedInputStream input)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid parseFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input, extensionRegistry);
        }

        public static Builder newBuilder() {
          return (Builder) DEFAULT_INSTANCE.createBuilder();
        }
        public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid prototype) {
          return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
        }

        /**
         * <pre>
         * Причины:
         * - Значение количества &lt; 0 или &gt; 100
         * </pre>
         *
         * Protobuf type {@code keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid}
         */
        public static final class Builder extends
            com.google.protobuf.GeneratedMessageLite.Builder<
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid, Builder> implements
            // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid)
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalidOrBuilder {
          // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid.newBuilder()
          private Builder() {
            super(DEFAULT_INSTANCE);
          }


          // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid)
        }
        @java.lang.Override
        @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
        protected final java.lang.Object dynamicMethod(
            com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
            java.lang.Object arg0, java.lang.Object arg1) {
          switch (method) {
            case NEW_MUTABLE_INSTANCE: {
              return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid();
            }
            case NEW_BUILDER: {
              return new Builder();
            }
            case BUILD_MESSAGE_INFO: {
                java.lang.Object[] objects = null;java.lang.String info =
                    "\u0000\u0000";
                return newMessageInfo(DEFAULT_INSTANCE, info, objects);
            }
            // fall through
            case GET_DEFAULT_INSTANCE: {
              return DEFAULT_INSTANCE;
            }
            case GET_PARSER: {
              com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid> parser = PARSER;
              if (parser == null) {
                synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid.class) {
                  parser = PARSER;
                  if (parser == null) {
                    parser =
                        new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid>(
                            DEFAULT_INSTANCE);
                    PARSER = parser;
                  }
                }
              }
              return parser;
          }
          case GET_MEMOIZED_IS_INITIALIZED: {
            return (byte) 1;
          }
          case SET_MEMOIZED_IS_INITIALIZED: {
            return null;
          }
          }
          throw new UnsupportedOperationException();
        }


        // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid)
        private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid DEFAULT_INSTANCE;
        static {
          LimitInvalid defaultInstance = new LimitInvalid();
          // New instances are implicitly immutable so no need to make
          // immutable.
          DEFAULT_INSTANCE = defaultInstance;
          com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
            LimitInvalid.class, defaultInstance);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid getDefaultInstance() {
          return DEFAULT_INSTANCE;
        }

        private static volatile com.google.protobuf.Parser<LimitInvalid> PARSER;

        public static com.google.protobuf.Parser<LimitInvalid> parser() {
          return DEFAULT_INSTANCE.getParserForType();
        }
      }

      public interface OffsetInvalidOrBuilder extends
          // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid)
          com.google.protobuf.MessageLiteOrBuilder {
      }
      /**
       * <pre>
       * Причины:
       * - Значение сдвига &lt; 0
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid}
       */
      public  static final class OffsetInvalid extends
          com.google.protobuf.GeneratedMessageLite<
              OffsetInvalid, OffsetInvalid.Builder> implements
          // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid)
          OffsetInvalidOrBuilder {
        private OffsetInvalid() {
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid parseFrom(
            java.nio.ByteBuffer data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid parseFrom(
            java.nio.ByteBuffer data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid parseFrom(
            com.google.protobuf.ByteString data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid parseFrom(
            com.google.protobuf.ByteString data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid parseFrom(byte[] data)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid parseFrom(
            byte[] data,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, data, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid parseFrom(java.io.InputStream input)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid parseFrom(
            java.io.InputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input, extensionRegistry);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid parseDelimitedFrom(java.io.InputStream input)
            throws java.io.IOException {
          return parseDelimitedFrom(DEFAULT_INSTANCE, input);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid parseDelimitedFrom(
            java.io.InputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid parseFrom(
            com.google.protobuf.CodedInputStream input)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input);
        }
        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid parseFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          return com.google.protobuf.GeneratedMessageLite.parseFrom(
              DEFAULT_INSTANCE, input, extensionRegistry);
        }

        public static Builder newBuilder() {
          return (Builder) DEFAULT_INSTANCE.createBuilder();
        }
        public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid prototype) {
          return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
        }

        /**
         * <pre>
         * Причины:
         * - Значение сдвига &lt; 0
         * </pre>
         *
         * Protobuf type {@code keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid}
         */
        public static final class Builder extends
            com.google.protobuf.GeneratedMessageLite.Builder<
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid, Builder> implements
            // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid)
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalidOrBuilder {
          // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid.newBuilder()
          private Builder() {
            super(DEFAULT_INSTANCE);
          }


          // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid)
        }
        @java.lang.Override
        @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
        protected final java.lang.Object dynamicMethod(
            com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
            java.lang.Object arg0, java.lang.Object arg1) {
          switch (method) {
            case NEW_MUTABLE_INSTANCE: {
              return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid();
            }
            case NEW_BUILDER: {
              return new Builder();
            }
            case BUILD_MESSAGE_INFO: {
                java.lang.Object[] objects = null;java.lang.String info =
                    "\u0000\u0000";
                return newMessageInfo(DEFAULT_INSTANCE, info, objects);
            }
            // fall through
            case GET_DEFAULT_INSTANCE: {
              return DEFAULT_INSTANCE;
            }
            case GET_PARSER: {
              com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid> parser = PARSER;
              if (parser == null) {
                synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid.class) {
                  parser = PARSER;
                  if (parser == null) {
                    parser =
                        new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid>(
                            DEFAULT_INSTANCE);
                    PARSER = parser;
                  }
                }
              }
              return parser;
          }
          case GET_MEMOIZED_IS_INITIALIZED: {
            return (byte) 1;
          }
          case SET_MEMOIZED_IS_INITIALIZED: {
            return null;
          }
          }
          throw new UnsupportedOperationException();
        }


        // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid)
        private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid DEFAULT_INSTANCE;
        static {
          OffsetInvalid defaultInstance = new OffsetInvalid();
          // New instances are implicitly immutable so no need to make
          // immutable.
          DEFAULT_INSTANCE = defaultInstance;
          com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
            OffsetInvalid.class, defaultInstance);
        }

        public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid getDefaultInstance() {
          return DEFAULT_INSTANCE;
        }

        private static volatile com.google.protobuf.Parser<OffsetInvalid> PARSER;

        public static com.google.protobuf.Parser<OffsetInvalid> parser() {
          return DEFAULT_INSTANCE.getParserForType();
        }
      }

      private int reasonCase_ = 0;
      private java.lang.Object reason_;
      public enum ReasonCase {
        LIMIT(1),
        OFFSET(2),
        REASON_NOT_SET(0);
        private final int value;
        private ReasonCase(int value) {
          this.value = value;
        }
        /**
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static ReasonCase valueOf(int value) {
          return forNumber(value);
        }

        public static ReasonCase forNumber(int value) {
          switch (value) {
            case 1: return LIMIT;
            case 2: return OFFSET;
            case 0: return REASON_NOT_SET;
            default: return null;
          }
        }
        public int getNumber() {
          return this.value;
        }
      };

      @java.lang.Override
      public ReasonCase
      getReasonCase() {
        return ReasonCase.forNumber(
            reasonCase_);
      }

      private void clearReason() {
        reasonCase_ = 0;
        reason_ = null;
      }

      public static final int LIMIT_FIELD_NUMBER = 1;
      /**
       * <pre>
       * Количество передано некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid limit = 1;</code>
       */
      @java.lang.Override
      public boolean hasLimit() {
        return reasonCase_ == 1;
      }
      /**
       * <pre>
       * Количество передано некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid limit = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid getLimit() {
        if (reasonCase_ == 1) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid.getDefaultInstance();
      }
      /**
       * <pre>
       * Количество передано некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid limit = 1;</code>
       */
      private void setLimit(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Количество передано некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid limit = 1;</code>
       */
      private void mergeLimit(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid value) {
        value.getClass();
  if (reasonCase_ == 1 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Количество передано некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid limit = 1;</code>
       */
      private void clearLimit() {
        if (reasonCase_ == 1) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static final int OFFSET_FIELD_NUMBER = 2;
      /**
       * <pre>
       * Сдвиг передан некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid offset = 2;</code>
       */
      @java.lang.Override
      public boolean hasOffset() {
        return reasonCase_ == 2;
      }
      /**
       * <pre>
       * Сдвиг передан некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid offset = 2;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid getOffset() {
        if (reasonCase_ == 2) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid.getDefaultInstance();
      }
      /**
       * <pre>
       * Сдвиг передан некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid offset = 2;</code>
       */
      private void setOffset(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 2;
      }
      /**
       * <pre>
       * Сдвиг передан некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid offset = 2;</code>
       */
      private void mergeOffset(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid value) {
        value.getClass();
  if (reasonCase_ == 2 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 2;
      }
      /**
       * <pre>
       * Сдвиг передан некорректно
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid offset = 2;</code>
       */
      private void clearOffset() {
        if (reasonCase_ == 2) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static Builder newBuilder() {
        return (Builder) DEFAULT_INSTANCE.createBuilder();
      }
      public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError prototype) {
        return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
      }

      /**
       * <pre>
       * Ошибка валидации постраничной пагинации по пуш-токенам.
       * Эти проверки выполняются до обращения в базу данных
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.PushTokenPaging.ValidationError}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageLite.Builder<
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError, Builder> implements
          // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PushTokenPaging.ValidationError)
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationErrorOrBuilder {
        // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.newBuilder()
        private Builder() {
          super(DEFAULT_INSTANCE);
        }

        @java.lang.Override
        public ReasonCase
            getReasonCase() {
          return instance.getReasonCase();
        }

        public Builder clearReason() {
          copyOnWrite();
          instance.clearReason();
          return this;
        }


        /**
         * <pre>
         * Количество передано некорректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid limit = 1;</code>
         */
        @java.lang.Override
        public boolean hasLimit() {
          return instance.hasLimit();
        }
        /**
         * <pre>
         * Количество передано некорректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid limit = 1;</code>
         */
        @java.lang.Override
        public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid getLimit() {
          return instance.getLimit();
        }
        /**
         * <pre>
         * Количество передано некорректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid limit = 1;</code>
         */
        public Builder setLimit(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid value) {
          copyOnWrite();
          instance.setLimit(value);
          return this;
        }
        /**
         * <pre>
         * Количество передано некорректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid limit = 1;</code>
         */
        public Builder setLimit(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid.Builder builderForValue) {
          copyOnWrite();
          instance.setLimit(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Количество передано некорректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid limit = 1;</code>
         */
        public Builder mergeLimit(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid value) {
          copyOnWrite();
          instance.mergeLimit(value);
          return this;
        }
        /**
         * <pre>
         * Количество передано некорректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.LimitInvalid limit = 1;</code>
         */
        public Builder clearLimit() {
          copyOnWrite();
          instance.clearLimit();
          return this;
        }

        /**
         * <pre>
         * Сдвиг передан некорректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid offset = 2;</code>
         */
        @java.lang.Override
        public boolean hasOffset() {
          return instance.hasOffset();
        }
        /**
         * <pre>
         * Сдвиг передан некорректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid offset = 2;</code>
         */
        @java.lang.Override
        public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid getOffset() {
          return instance.getOffset();
        }
        /**
         * <pre>
         * Сдвиг передан некорректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid offset = 2;</code>
         */
        public Builder setOffset(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid value) {
          copyOnWrite();
          instance.setOffset(value);
          return this;
        }
        /**
         * <pre>
         * Сдвиг передан некорректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid offset = 2;</code>
         */
        public Builder setOffset(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid.Builder builderForValue) {
          copyOnWrite();
          instance.setOffset(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Сдвиг передан некорректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid offset = 2;</code>
         */
        public Builder mergeOffset(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid value) {
          copyOnWrite();
          instance.mergeOffset(value);
          return this;
        }
        /**
         * <pre>
         * Сдвиг передан некорректно
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError.OffsetInvalid offset = 2;</code>
         */
        public Builder clearOffset() {
          copyOnWrite();
          instance.clearOffset();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PushTokenPaging.ValidationError)
      }
      @java.lang.Override
      @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
      protected final java.lang.Object dynamicMethod(
          com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
          java.lang.Object arg0, java.lang.Object arg1) {
        switch (method) {
          case NEW_MUTABLE_INSTANCE: {
            return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError();
          }
          case NEW_BUILDER: {
            return new Builder();
          }
          case BUILD_MESSAGE_INFO: {
              java.lang.Object[] objects = new java.lang.Object[] {
                "reason_",
                "reasonCase_",
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.LimitInvalid.class,
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.OffsetInvalid.class,
              };
              java.lang.String info =
                  "\u0000\u0002\u0001\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001<\u0000\u0002<" +
                  "\u0000";
              return newMessageInfo(DEFAULT_INSTANCE, info, objects);
          }
          // fall through
          case GET_DEFAULT_INSTANCE: {
            return DEFAULT_INSTANCE;
          }
          case GET_PARSER: {
            com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError> parser = PARSER;
            if (parser == null) {
              synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.class) {
                parser = PARSER;
                if (parser == null) {
                  parser =
                      new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError>(
                          DEFAULT_INSTANCE);
                  PARSER = parser;
                }
              }
            }
            return parser;
        }
        case GET_MEMOIZED_IS_INITIALIZED: {
          return (byte) 1;
        }
        case SET_MEMOIZED_IS_INITIALIZED: {
          return null;
        }
        }
        throw new UnsupportedOperationException();
      }


      // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PushTokenPaging.ValidationError)
      private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError DEFAULT_INSTANCE;
      static {
        ValidationError defaultInstance = new ValidationError();
        // New instances are implicitly immutable so no need to make
        // immutable.
        DEFAULT_INSTANCE = defaultInstance;
        com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
          ValidationError.class, defaultInstance);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static volatile com.google.protobuf.Parser<ValidationError> PARSER;

      public static com.google.protobuf.Parser<ValidationError> parser() {
        return DEFAULT_INSTANCE.getParserForType();
      }
    }

    public static final int ORDER_BY_TYPE_FIELD_NUMBER = 1;
    private int orderByType_;
    /**
     * <pre>
     * Тип значения сортировки.
     * Если значение не передано, то будет взято значение по умолчанию.
     * # По умолчанию: ID
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.OrderByType order_by_type = 1;</code>
     * @return The enum numeric value on the wire for orderByType.
     */
    @java.lang.Override
    public int getOrderByTypeValue() {
      return orderByType_;
    }
    /**
     * <pre>
     * Тип значения сортировки.
     * Если значение не передано, то будет взято значение по умолчанию.
     * # По умолчанию: ID
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.OrderByType order_by_type = 1;</code>
     * @return The orderByType.
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.OrderByType getOrderByType() {
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.OrderByType result = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.OrderByType.forNumber(orderByType_);
      return result == null ? ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.OrderByType.UNRECOGNIZED : result;
    }
    /**
     * <pre>
     * Тип значения сортировки.
     * Если значение не передано, то будет взято значение по умолчанию.
     * # По умолчанию: ID
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.OrderByType order_by_type = 1;</code>
     * @param value The enum numeric value on the wire for orderByType to set.
     */
    private void setOrderByTypeValue(int value) {
        orderByType_ = value;
    }
    /**
     * <pre>
     * Тип значения сортировки.
     * Если значение не передано, то будет взято значение по умолчанию.
     * # По умолчанию: ID
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.OrderByType order_by_type = 1;</code>
     * @param value The orderByType to set.
     */
    private void setOrderByType(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.OrderByType value) {
      orderByType_ = value.getNumber();

    }
    /**
     * <pre>
     * Тип значения сортировки.
     * Если значение не передано, то будет взято значение по умолчанию.
     * # По умолчанию: ID
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.OrderByType order_by_type = 1;</code>
     */
    private void clearOrderByType() {

      orderByType_ = 0;
    }

    public static final int DIRECTION_TYPE_FIELD_NUMBER = 2;
    private int directionType_;
    /**
     * <pre>
     * Тип направления сортировки.
     * # По умолчанию: DESC
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.DirectionType direction_type = 2;</code>
     * @return The enum numeric value on the wire for directionType.
     */
    @java.lang.Override
    public int getDirectionTypeValue() {
      return directionType_;
    }
    /**
     * <pre>
     * Тип направления сортировки.
     * # По умолчанию: DESC
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.DirectionType direction_type = 2;</code>
     * @return The directionType.
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.DirectionType getDirectionType() {
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.DirectionType result = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.DirectionType.forNumber(directionType_);
      return result == null ? ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.DirectionType.UNRECOGNIZED : result;
    }
    /**
     * <pre>
     * Тип направления сортировки.
     * # По умолчанию: DESC
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.DirectionType direction_type = 2;</code>
     * @param value The enum numeric value on the wire for directionType to set.
     */
    private void setDirectionTypeValue(int value) {
        directionType_ = value;
    }
    /**
     * <pre>
     * Тип направления сортировки.
     * # По умолчанию: DESC
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.DirectionType direction_type = 2;</code>
     * @param value The directionType to set.
     */
    private void setDirectionType(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.DirectionType value) {
      directionType_ = value.getNumber();

    }
    /**
     * <pre>
     * Тип направления сортировки.
     * # По умолчанию: DESC
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging.DirectionType direction_type = 2;</code>
     */
    private void clearDirectionType() {

      directionType_ = 0;
    }

    public static final int LIMIT_FIELD_NUMBER = 3;
    private int limit_;
    /**
     * <pre>
     * Количество записей на страницу.
     * Если значение 0 (не передано), то будет взято значение по умолчанию.
     * # Диапазон: 0..100.
     * # По умолчанию: 20
     * </pre>
     *
     * <code>int32 limit = 3;</code>
     * @return The limit.
     */
    @java.lang.Override
    public int getLimit() {
      return limit_;
    }
    /**
     * <pre>
     * Количество записей на страницу.
     * Если значение 0 (не передано), то будет взято значение по умолчанию.
     * # Диапазон: 0..100.
     * # По умолчанию: 20
     * </pre>
     *
     * <code>int32 limit = 3;</code>
     * @param value The limit to set.
     */
    private void setLimit(int value) {
      
      limit_ = value;
    }
    /**
     * <pre>
     * Количество записей на страницу.
     * Если значение 0 (не передано), то будет взято значение по умолчанию.
     * # Диапазон: 0..100.
     * # По умолчанию: 20
     * </pre>
     *
     * <code>int32 limit = 3;</code>
     */
    private void clearLimit() {

      limit_ = 0;
    }

    public static final int OFFSET_FIELD_NUMBER = 4;
    private int offset_;
    /**
     * <pre>
     * Сдвиг.
     * # Диапазон: 0..2147483647
     * </pre>
     *
     * <code>int32 offset = 4;</code>
     * @return The offset.
     */
    @java.lang.Override
    public int getOffset() {
      return offset_;
    }
    /**
     * <pre>
     * Сдвиг.
     * # Диапазон: 0..2147483647
     * </pre>
     *
     * <code>int32 offset = 4;</code>
     * @param value The offset to set.
     */
    private void setOffset(int value) {
      
      offset_ = value;
    }
    /**
     * <pre>
     * Сдвиг.
     * # Диапазон: 0..2147483647
     * </pre>
     *
     * <code>int32 offset = 4;</code>
     */
    private void clearOffset() {

      offset_ = 0;
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Постраничный вывод
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.PushTokenPaging}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PushTokenPaging)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPagingOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * Тип значения сортировки.
       * Если значение не передано, то будет взято значение по умолчанию.
       * # По умолчанию: ID
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.OrderByType order_by_type = 1;</code>
       * @return The enum numeric value on the wire for orderByType.
       */
      @java.lang.Override
      public int getOrderByTypeValue() {
        return instance.getOrderByTypeValue();
      }
      /**
       * <pre>
       * Тип значения сортировки.
       * Если значение не передано, то будет взято значение по умолчанию.
       * # По умолчанию: ID
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.OrderByType order_by_type = 1;</code>
       * @param value The orderByType to set.
       * @return This builder for chaining.
       */
      public Builder setOrderByTypeValue(int value) {
        copyOnWrite();
        instance.setOrderByTypeValue(value);
        return this;
      }
      /**
       * <pre>
       * Тип значения сортировки.
       * Если значение не передано, то будет взято значение по умолчанию.
       * # По умолчанию: ID
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.OrderByType order_by_type = 1;</code>
       * @return The orderByType.
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.OrderByType getOrderByType() {
        return instance.getOrderByType();
      }
      /**
       * <pre>
       * Тип значения сортировки.
       * Если значение не передано, то будет взято значение по умолчанию.
       * # По умолчанию: ID
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.OrderByType order_by_type = 1;</code>
       * @param value The enum numeric value on the wire for orderByType to set.
       * @return This builder for chaining.
       */
      public Builder setOrderByType(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.OrderByType value) {
        copyOnWrite();
        instance.setOrderByType(value);
        return this;
      }
      /**
       * <pre>
       * Тип значения сортировки.
       * Если значение не передано, то будет взято значение по умолчанию.
       * # По умолчанию: ID
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.OrderByType order_by_type = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearOrderByType() {
        copyOnWrite();
        instance.clearOrderByType();
        return this;
      }

      /**
       * <pre>
       * Тип направления сортировки.
       * # По умолчанию: DESC
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.DirectionType direction_type = 2;</code>
       * @return The enum numeric value on the wire for directionType.
       */
      @java.lang.Override
      public int getDirectionTypeValue() {
        return instance.getDirectionTypeValue();
      }
      /**
       * <pre>
       * Тип направления сортировки.
       * # По умолчанию: DESC
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.DirectionType direction_type = 2;</code>
       * @param value The directionType to set.
       * @return This builder for chaining.
       */
      public Builder setDirectionTypeValue(int value) {
        copyOnWrite();
        instance.setDirectionTypeValue(value);
        return this;
      }
      /**
       * <pre>
       * Тип направления сортировки.
       * # По умолчанию: DESC
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.DirectionType direction_type = 2;</code>
       * @return The directionType.
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.DirectionType getDirectionType() {
        return instance.getDirectionType();
      }
      /**
       * <pre>
       * Тип направления сортировки.
       * # По умолчанию: DESC
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.DirectionType direction_type = 2;</code>
       * @param value The enum numeric value on the wire for directionType to set.
       * @return This builder for chaining.
       */
      public Builder setDirectionType(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.DirectionType value) {
        copyOnWrite();
        instance.setDirectionType(value);
        return this;
      }
      /**
       * <pre>
       * Тип направления сортировки.
       * # По умолчанию: DESC
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.DirectionType direction_type = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearDirectionType() {
        copyOnWrite();
        instance.clearDirectionType();
        return this;
      }

      /**
       * <pre>
       * Количество записей на страницу.
       * Если значение 0 (не передано), то будет взято значение по умолчанию.
       * # Диапазон: 0..100.
       * # По умолчанию: 20
       * </pre>
       *
       * <code>int32 limit = 3;</code>
       * @return The limit.
       */
      @java.lang.Override
      public int getLimit() {
        return instance.getLimit();
      }
      /**
       * <pre>
       * Количество записей на страницу.
       * Если значение 0 (не передано), то будет взято значение по умолчанию.
       * # Диапазон: 0..100.
       * # По умолчанию: 20
       * </pre>
       *
       * <code>int32 limit = 3;</code>
       * @param value The limit to set.
       * @return This builder for chaining.
       */
      public Builder setLimit(int value) {
        copyOnWrite();
        instance.setLimit(value);
        return this;
      }
      /**
       * <pre>
       * Количество записей на страницу.
       * Если значение 0 (не передано), то будет взято значение по умолчанию.
       * # Диапазон: 0..100.
       * # По умолчанию: 20
       * </pre>
       *
       * <code>int32 limit = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearLimit() {
        copyOnWrite();
        instance.clearLimit();
        return this;
      }

      /**
       * <pre>
       * Сдвиг.
       * # Диапазон: 0..2147483647
       * </pre>
       *
       * <code>int32 offset = 4;</code>
       * @return The offset.
       */
      @java.lang.Override
      public int getOffset() {
        return instance.getOffset();
      }
      /**
       * <pre>
       * Сдвиг.
       * # Диапазон: 0..2147483647
       * </pre>
       *
       * <code>int32 offset = 4;</code>
       * @param value The offset to set.
       * @return This builder for chaining.
       */
      public Builder setOffset(int value) {
        copyOnWrite();
        instance.setOffset(value);
        return this;
      }
      /**
       * <pre>
       * Сдвиг.
       * # Диапазон: 0..2147483647
       * </pre>
       *
       * <code>int32 offset = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearOffset() {
        copyOnWrite();
        instance.clearOffset();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PushTokenPaging)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "orderByType_",
              "directionType_",
              "limit_",
              "offset_",
            };
            java.lang.String info =
                "\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\f\u0002\f\u0003" +
                "\u0004\u0004\u0004";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PushTokenPaging)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging DEFAULT_INSTANCE;
    static {
      PushTokenPaging defaultInstance = new PushTokenPaging();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        PushTokenPaging.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<PushTokenPaging> PARSER;

    public static com.google.protobuf.Parser<PushTokenPaging> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface PostPushTokenRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PostPushTokenRequest)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return Whether the data field is set.
     */
    boolean hasData();
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The data.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken getData();
  }
  /**
   * <pre>
   * Запрос на создание/изменение пуш-токена
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.PostPushTokenRequest}
   */
  public  static final class PostPushTokenRequest extends
      com.google.protobuf.GeneratedMessageLite<
          PostPushTokenRequest, PostPushTokenRequest.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PostPushTokenRequest)
      PostPushTokenRequestOrBuilder {
    private PostPushTokenRequest() {
    }
    public static final int DATA_FIELD_NUMBER = 1;
    private ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken data_;
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    @java.lang.Override
    public boolean hasData() {
      return data_ != null;
    }
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken getData() {
      return data_ == null ? ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.getDefaultInstance() : data_;
    }
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private void setData(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken value) {
      value.getClass();
  data_ = value;

      }
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeData(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken value) {
      value.getClass();
  if (data_ != null &&
          data_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.getDefaultInstance()) {
        data_ =
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.newBuilder(data_).mergeFrom(value).buildPartial();
      } else {
        data_ = value;
      }

    }
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private void clearData() {  data_ = null;

    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Запрос на создание/изменение пуш-токена
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.PostPushTokenRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PostPushTokenRequest)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequestOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       */
      @java.lang.Override
      public boolean hasData() {
        return instance.hasData();
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken getData() {
        return instance.getData();
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       */
      public Builder setData(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken value) {
        copyOnWrite();
        instance.setData(value);
        return this;
        }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       */
      public Builder setData(
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Builder builderForValue) {
        copyOnWrite();
        instance.setData(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       */
      public Builder mergeData(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken value) {
        copyOnWrite();
        instance.mergeData(value);
        return this;
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       */
      public Builder clearData() {  copyOnWrite();
        instance.clearData();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PostPushTokenRequest)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "data_",
            };
            java.lang.String info =
                "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\t";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PostPushTokenRequest)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest DEFAULT_INSTANCE;
    static {
      PostPushTokenRequest defaultInstance = new PostPushTokenRequest();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        PostPushTokenRequest.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<PostPushTokenRequest> PARSER;

    public static com.google.protobuf.Parser<PostPushTokenRequest> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface PostPushTokenResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PostPushTokenResponse)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     * @return Whether the data field is set.
     */
    boolean hasData();
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     * @return The data.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken getData();

    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.PostPushTokenResponse.Error error = 2;</code>
     * @return Whether the error field is set.
     */
    boolean hasError();
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.PostPushTokenResponse.Error error = 2;</code>
     * @return The error.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error getError();

    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.TypeCase getTypeCase();
  }
  /**
   * <pre>
   * Ответ на запрос на создание/изменение пуш-токена
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.PostPushTokenResponse}
   */
  public  static final class PostPushTokenResponse extends
      com.google.protobuf.GeneratedMessageLite<
          PostPushTokenResponse, PostPushTokenResponse.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PostPushTokenResponse)
      PostPushTokenResponseOrBuilder {
    private PostPushTokenResponse() {
    }
    public interface ErrorOrBuilder extends
        // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.PostPushTokenResponse.Error)
        com.google.protobuf.MessageLiteOrBuilder {

      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError push_token_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       * @deprecated keyapis.notification.v1.PostPushTokenResponse.Error.push_token_validation is deprecated.
       *     See keyapis/notification/v1/keyapis_notification_push_token_v1.proto;l=274
       * @return Whether the pushTokenValidation field is set.
       */
      @java.lang.Deprecated boolean hasPushTokenValidation();
      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError push_token_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       * @deprecated keyapis.notification.v1.PostPushTokenResponse.Error.push_token_validation is deprecated.
       *     See keyapis/notification/v1/keyapis_notification_push_token_v1.proto;l=274
       * @return The pushTokenValidation.
       */
      @java.lang.Deprecated ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError getPushTokenValidation();

      /**
       * <pre>
       * Ошибка сохранения пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError push_token_saving = 2;</code>
       * @return Whether the pushTokenSaving field is set.
       */
      boolean hasPushTokenSaving();
      /**
       * <pre>
       * Ошибка сохранения пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError push_token_saving = 2;</code>
       * @return The pushTokenSaving.
       */
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError getPushTokenSaving();

      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       * @return Whether the validation field is set.
       */
      boolean hasValidation();
      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       * @return The validation.
       */
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation();

      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error.ReasonCase getReasonCase();
    }
    /**
     * <pre>
     * Ошибка запроса сохранения пуш-токена
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.PostPushTokenResponse.Error}
     */
    public  static final class Error extends
        com.google.protobuf.GeneratedMessageLite<
            Error, Error.Builder> implements
        // @@protoc_insertion_point(message_implements:keyapis.notification.v1.PostPushTokenResponse.Error)
        ErrorOrBuilder {
      private Error() {
      }
      private int reasonCase_ = 0;
      private java.lang.Object reason_;
      public enum ReasonCase {
        PUSH_TOKEN_VALIDATION(1),
        PUSH_TOKEN_SAVING(2),
        VALIDATION(3),
        REASON_NOT_SET(0);
        private final int value;
        private ReasonCase(int value) {
          this.value = value;
        }
        /**
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static ReasonCase valueOf(int value) {
          return forNumber(value);
        }

        public static ReasonCase forNumber(int value) {
          switch (value) {
            case 1: return PUSH_TOKEN_VALIDATION;
            case 2: return PUSH_TOKEN_SAVING;
            case 3: return VALIDATION;
            case 0: return REASON_NOT_SET;
            default: return null;
          }
        }
        public int getNumber() {
          return this.value;
        }
      };

      @java.lang.Override
      public ReasonCase
      getReasonCase() {
        return ReasonCase.forNumber(
            reasonCase_);
      }

      private void clearReason() {
        reasonCase_ = 0;
        reason_ = null;
      }

      public static final int PUSH_TOKEN_VALIDATION_FIELD_NUMBER = 1;
      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError push_token_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      @java.lang.Override
      @java.lang.Deprecated public boolean hasPushTokenValidation() {
        return reasonCase_ == 1;
      }
      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError push_token_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      @java.lang.Override
      @java.lang.Deprecated public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError getPushTokenValidation() {
        if (reasonCase_ == 1) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.getDefaultInstance();
      }
      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError push_token_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      private void setPushTokenValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError push_token_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      private void mergePushTokenValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError value) {
        value.getClass();
  if (reasonCase_ == 1 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.ValidationError push_token_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      private void clearPushTokenValidation() {
        if (reasonCase_ == 1) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static final int PUSH_TOKEN_SAVING_FIELD_NUMBER = 2;
      /**
       * <pre>
       * Ошибка сохранения пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError push_token_saving = 2;</code>
       */
      @java.lang.Override
      public boolean hasPushTokenSaving() {
        return reasonCase_ == 2;
      }
      /**
       * <pre>
       * Ошибка сохранения пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError push_token_saving = 2;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError getPushTokenSaving() {
        if (reasonCase_ == 2) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.getDefaultInstance();
      }
      /**
       * <pre>
       * Ошибка сохранения пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError push_token_saving = 2;</code>
       */
      private void setPushTokenSaving(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 2;
      }
      /**
       * <pre>
       * Ошибка сохранения пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError push_token_saving = 2;</code>
       */
      private void mergePushTokenSaving(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError value) {
        value.getClass();
  if (reasonCase_ == 2 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 2;
      }
      /**
       * <pre>
       * Ошибка сохранения пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken.SavingError push_token_saving = 2;</code>
       */
      private void clearPushTokenSaving() {
        if (reasonCase_ == 2) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static final int VALIDATION_FIELD_NUMBER = 3;
      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       */
      @java.lang.Override
      public boolean hasValidation() {
        return reasonCase_ == 3;
      }
      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation() {
        if (reasonCase_ == 3) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.getDefaultInstance();
      }
      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       */
      private void setValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 3;
      }
      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       */
      private void mergeValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
        value.getClass();
  if (reasonCase_ == 3 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 3;
      }
      /**
       * <pre>
       * Ошибка валидации пуш-токена
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       */
      private void clearValidation() {
        if (reasonCase_ == 3) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static Builder newBuilder() {
        return (Builder) DEFAULT_INSTANCE.createBuilder();
      }
      public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error prototype) {
        return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
      }

      /**
       * <pre>
       * Ошибка запроса сохранения пуш-токена
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.PostPushTokenResponse.Error}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageLite.Builder<
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error, Builder> implements
          // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PostPushTokenResponse.Error)
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.ErrorOrBuilder {
        // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error.newBuilder()
        private Builder() {
          super(DEFAULT_INSTANCE);
        }

        @java.lang.Override
        public ReasonCase
            getReasonCase() {
          return instance.getReasonCase();
        }

        public Builder clearReason() {
          copyOnWrite();
          instance.clearReason();
          return this;
        }


        /**
         * <pre>
         * Ошибка валидации пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.ValidationError push_token_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Override
        @java.lang.Deprecated public boolean hasPushTokenValidation() {
          return instance.hasPushTokenValidation();
        }
        /**
         * <pre>
         * Ошибка валидации пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.ValidationError push_token_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Override
        @java.lang.Deprecated public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError getPushTokenValidation() {
          return instance.getPushTokenValidation();
        }
        /**
         * <pre>
         * Ошибка валидации пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.ValidationError push_token_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder setPushTokenValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError value) {
          copyOnWrite();
          instance.setPushTokenValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.ValidationError push_token_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder setPushTokenValidation(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.Builder builderForValue) {
          copyOnWrite();
          instance.setPushTokenValidation(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.ValidationError push_token_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder mergePushTokenValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError value) {
          copyOnWrite();
          instance.mergePushTokenValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.ValidationError push_token_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder clearPushTokenValidation() {
          copyOnWrite();
          instance.clearPushTokenValidation();
          return this;
        }

        /**
         * <pre>
         * Ошибка сохранения пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError push_token_saving = 2;</code>
         */
        @java.lang.Override
        public boolean hasPushTokenSaving() {
          return instance.hasPushTokenSaving();
        }
        /**
         * <pre>
         * Ошибка сохранения пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError push_token_saving = 2;</code>
         */
        @java.lang.Override
        public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError getPushTokenSaving() {
          return instance.getPushTokenSaving();
        }
        /**
         * <pre>
         * Ошибка сохранения пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError push_token_saving = 2;</code>
         */
        public Builder setPushTokenSaving(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError value) {
          copyOnWrite();
          instance.setPushTokenSaving(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка сохранения пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError push_token_saving = 2;</code>
         */
        public Builder setPushTokenSaving(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.Builder builderForValue) {
          copyOnWrite();
          instance.setPushTokenSaving(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Ошибка сохранения пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError push_token_saving = 2;</code>
         */
        public Builder mergePushTokenSaving(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError value) {
          copyOnWrite();
          instance.mergePushTokenSaving(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка сохранения пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushToken.SavingError push_token_saving = 2;</code>
         */
        public Builder clearPushTokenSaving() {
          copyOnWrite();
          instance.clearPushTokenSaving();
          return this;
        }

        /**
         * <pre>
         * Ошибка валидации пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
         */
        @java.lang.Override
        public boolean hasValidation() {
          return instance.hasValidation();
        }
        /**
         * <pre>
         * Ошибка валидации пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
         */
        @java.lang.Override
        public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation() {
          return instance.getValidation();
        }
        /**
         * <pre>
         * Ошибка валидации пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
         */
        public Builder setValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
          copyOnWrite();
          instance.setValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
         */
        public Builder setValidation(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.Builder builderForValue) {
          copyOnWrite();
          instance.setValidation(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
         */
        public Builder mergeValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
          copyOnWrite();
          instance.mergeValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации пуш-токена
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
         */
        public Builder clearValidation() {
          copyOnWrite();
          instance.clearValidation();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PostPushTokenResponse.Error)
      }
      @java.lang.Override
      @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
      protected final java.lang.Object dynamicMethod(
          com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
          java.lang.Object arg0, java.lang.Object arg1) {
        switch (method) {
          case NEW_MUTABLE_INSTANCE: {
            return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error();
          }
          case NEW_BUILDER: {
            return new Builder();
          }
          case BUILD_MESSAGE_INFO: {
              java.lang.Object[] objects = new java.lang.Object[] {
                "reason_",
                "reasonCase_",
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.ValidationError.class,
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.SavingError.class,
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.class,
              };
              java.lang.String info =
                  "\u0000\u0003\u0001\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001<\u0000\u0002<" +
                  "\u0000\u0003<\u0000";
              return newMessageInfo(DEFAULT_INSTANCE, info, objects);
          }
          // fall through
          case GET_DEFAULT_INSTANCE: {
            return DEFAULT_INSTANCE;
          }
          case GET_PARSER: {
            com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error> parser = PARSER;
            if (parser == null) {
              synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error.class) {
                parser = PARSER;
                if (parser == null) {
                  parser =
                      new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error>(
                          DEFAULT_INSTANCE);
                  PARSER = parser;
                }
              }
            }
            return parser;
        }
        case GET_MEMOIZED_IS_INITIALIZED: {
          return (byte) 1;
        }
        case SET_MEMOIZED_IS_INITIALIZED: {
          return null;
        }
        }
        throw new UnsupportedOperationException();
      }


      // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PostPushTokenResponse.Error)
      private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error DEFAULT_INSTANCE;
      static {
        Error defaultInstance = new Error();
        // New instances are implicitly immutable so no need to make
        // immutable.
        DEFAULT_INSTANCE = defaultInstance;
        com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
          Error.class, defaultInstance);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static volatile com.google.protobuf.Parser<Error> PARSER;

      public static com.google.protobuf.Parser<Error> parser() {
        return DEFAULT_INSTANCE.getParserForType();
      }
    }

    private int typeCase_ = 0;
    private java.lang.Object type_;
    public enum TypeCase {
      DATA(1),
      ERROR(2),
      TYPE_NOT_SET(0);
      private final int value;
      private TypeCase(int value) {
        this.value = value;
      }
      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static TypeCase valueOf(int value) {
        return forNumber(value);
      }

      public static TypeCase forNumber(int value) {
        switch (value) {
          case 1: return DATA;
          case 2: return ERROR;
          case 0: return TYPE_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    @java.lang.Override
    public TypeCase
    getTypeCase() {
      return TypeCase.forNumber(
          typeCase_);
    }

    private void clearType() {
      typeCase_ = 0;
      type_ = null;
    }

    public static final int DATA_FIELD_NUMBER = 1;
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     */
    @java.lang.Override
    public boolean hasData() {
      return typeCase_ == 1;
    }
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken getData() {
      if (typeCase_ == 1) {
         return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken) type_;
      }
      return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.getDefaultInstance();
    }
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     */
    private void setData(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken value) {
      value.getClass();
  type_ = value;
      typeCase_ = 1;
    }
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     */
    private void mergeData(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken value) {
      value.getClass();
  if (typeCase_ == 1 &&
          type_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.getDefaultInstance()) {
        type_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken) type_)
            .mergeFrom(value).buildPartial();
      } else {
        type_ = value;
      }
      typeCase_ = 1;
    }
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     */
    private void clearData() {
      if (typeCase_ == 1) {
        typeCase_ = 0;
        type_ = null;
      }
    }

    public static final int ERROR_FIELD_NUMBER = 2;
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.PostPushTokenResponse.Error error = 2;</code>
     */
    @java.lang.Override
    public boolean hasError() {
      return typeCase_ == 2;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.PostPushTokenResponse.Error error = 2;</code>
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error getError() {
      if (typeCase_ == 2) {
         return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error) type_;
      }
      return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error.getDefaultInstance();
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.PostPushTokenResponse.Error error = 2;</code>
     */
    private void setError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error value) {
      value.getClass();
  type_ = value;
      typeCase_ = 2;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.PostPushTokenResponse.Error error = 2;</code>
     */
    private void mergeError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error value) {
      value.getClass();
  if (typeCase_ == 2 &&
          type_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error.getDefaultInstance()) {
        type_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error) type_)
            .mergeFrom(value).buildPartial();
      } else {
        type_ = value;
      }
      typeCase_ = 2;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.PostPushTokenResponse.Error error = 2;</code>
     */
    private void clearError() {
      if (typeCase_ == 2) {
        typeCase_ = 0;
        type_ = null;
      }
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Ответ на запрос на создание/изменение пуш-токена
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.PostPushTokenResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.PostPushTokenResponse)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponseOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }

      @java.lang.Override
      public TypeCase
          getTypeCase() {
        return instance.getTypeCase();
      }

      public Builder clearType() {
        copyOnWrite();
        instance.clearType();
        return this;
      }


      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1;</code>
       */
      @java.lang.Override
      public boolean hasData() {
        return instance.hasData();
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken getData() {
        return instance.getData();
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1;</code>
       */
      public Builder setData(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken value) {
        copyOnWrite();
        instance.setData(value);
        return this;
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1;</code>
       */
      public Builder setData(
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Builder builderForValue) {
        copyOnWrite();
        instance.setData(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1;</code>
       */
      public Builder mergeData(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken value) {
        copyOnWrite();
        instance.mergeData(value);
        return this;
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1;</code>
       */
      public Builder clearData() {
        copyOnWrite();
        instance.clearData();
        return this;
      }

      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.PostPushTokenResponse.Error error = 2;</code>
       */
      @java.lang.Override
      public boolean hasError() {
        return instance.hasError();
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.PostPushTokenResponse.Error error = 2;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error getError() {
        return instance.getError();
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.PostPushTokenResponse.Error error = 2;</code>
       */
      public Builder setError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error value) {
        copyOnWrite();
        instance.setError(value);
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.PostPushTokenResponse.Error error = 2;</code>
       */
      public Builder setError(
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error.Builder builderForValue) {
        copyOnWrite();
        instance.setError(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.PostPushTokenResponse.Error error = 2;</code>
       */
      public Builder mergeError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error value) {
        copyOnWrite();
        instance.mergeError(value);
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.PostPushTokenResponse.Error error = 2;</code>
       */
      public Builder clearError() {
        copyOnWrite();
        instance.clearError();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.PostPushTokenResponse)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "type_",
              "typeCase_",
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.class,
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.Error.class,
            };
            java.lang.String info =
                "\u0000\u0002\u0001\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001<\u0000\u0002<" +
                "\u0000";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.PostPushTokenResponse)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse DEFAULT_INSTANCE;
    static {
      PostPushTokenResponse defaultInstance = new PostPushTokenResponse();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        PostPushTokenResponse.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PostPushTokenResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<PostPushTokenResponse> PARSER;

    public static com.google.protobuf.Parser<PostPushTokenResponse> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface GetPushTokenListRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.GetPushTokenListRequest)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     * @return Whether the filter field is set.
     */
    boolean hasFilter();
    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     * @return The filter.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter getFilter();

    /**
     * <pre>
     * Стандартный постраничный вывод
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging paging = 2;</code>
     * @return Whether the paging field is set.
     */
    boolean hasPaging();
    /**
     * <pre>
     * Стандартный постраничный вывод
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging paging = 2;</code>
     * @return The paging.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging getPaging();

    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest.PaginationCase getPaginationCase();
  }
  /**
   * <pre>
   * Запрос на получение пуш-токенов пользователя
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.GetPushTokenListRequest}
   */
  public  static final class GetPushTokenListRequest extends
      com.google.protobuf.GeneratedMessageLite<
          GetPushTokenListRequest, GetPushTokenListRequest.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.GetPushTokenListRequest)
      GetPushTokenListRequestOrBuilder {
    private GetPushTokenListRequest() {
    }
    private int paginationCase_ = 0;
    private java.lang.Object pagination_;
    public enum PaginationCase {
      PAGING(2),
      PAGINATION_NOT_SET(0);
      private final int value;
      private PaginationCase(int value) {
        this.value = value;
      }
      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static PaginationCase valueOf(int value) {
        return forNumber(value);
      }

      public static PaginationCase forNumber(int value) {
        switch (value) {
          case 2: return PAGING;
          case 0: return PAGINATION_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    @java.lang.Override
    public PaginationCase
    getPaginationCase() {
      return PaginationCase.forNumber(
          paginationCase_);
    }

    private void clearPagination() {
      paginationCase_ = 0;
      pagination_ = null;
    }

    public static final int FILTER_FIELD_NUMBER = 1;
    private ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter filter_;
    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     */
    @java.lang.Override
    public boolean hasFilter() {
      return filter_ != null;
    }
    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter getFilter() {
      return filter_ == null ? ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.getDefaultInstance() : filter_;
    }
    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     */
    private void setFilter(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter value) {
      value.getClass();
  filter_ = value;

      }
    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeFilter(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter value) {
      value.getClass();
  if (filter_ != null &&
          filter_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.getDefaultInstance()) {
        filter_ =
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.newBuilder(filter_).mergeFrom(value).buildPartial();
      } else {
        filter_ = value;
      }

    }
    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     */
    private void clearFilter() {  filter_ = null;

    }

    public static final int PAGING_FIELD_NUMBER = 2;
    /**
     * <pre>
     * Стандартный постраничный вывод
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging paging = 2;</code>
     */
    @java.lang.Override
    public boolean hasPaging() {
      return paginationCase_ == 2;
    }
    /**
     * <pre>
     * Стандартный постраничный вывод
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging paging = 2;</code>
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging getPaging() {
      if (paginationCase_ == 2) {
         return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging) pagination_;
      }
      return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.getDefaultInstance();
    }
    /**
     * <pre>
     * Стандартный постраничный вывод
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging paging = 2;</code>
     */
    private void setPaging(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging value) {
      value.getClass();
  pagination_ = value;
      paginationCase_ = 2;
    }
    /**
     * <pre>
     * Стандартный постраничный вывод
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging paging = 2;</code>
     */
    private void mergePaging(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging value) {
      value.getClass();
  if (paginationCase_ == 2 &&
          pagination_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.getDefaultInstance()) {
        pagination_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging) pagination_)
            .mergeFrom(value).buildPartial();
      } else {
        pagination_ = value;
      }
      paginationCase_ = 2;
    }
    /**
     * <pre>
     * Стандартный постраничный вывод
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenPaging paging = 2;</code>
     */
    private void clearPaging() {
      if (paginationCase_ == 2) {
        paginationCase_ = 0;
        pagination_ = null;
      }
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Запрос на получение пуш-токенов пользователя
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.GetPushTokenListRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.GetPushTokenListRequest)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequestOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }

      @java.lang.Override
      public PaginationCase
          getPaginationCase() {
        return instance.getPaginationCase();
      }

      public Builder clearPagination() {
        copyOnWrite();
        instance.clearPagination();
        return this;
      }


      /**
       * <pre>
       * Фильтр
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
       */
      @java.lang.Override
      public boolean hasFilter() {
        return instance.hasFilter();
      }
      /**
       * <pre>
       * Фильтр
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter getFilter() {
        return instance.getFilter();
      }
      /**
       * <pre>
       * Фильтр
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
       */
      public Builder setFilter(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter value) {
        copyOnWrite();
        instance.setFilter(value);
        return this;
        }
      /**
       * <pre>
       * Фильтр
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
       */
      public Builder setFilter(
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.Builder builderForValue) {
        copyOnWrite();
        instance.setFilter(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Фильтр
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
       */
      public Builder mergeFilter(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter value) {
        copyOnWrite();
        instance.mergeFilter(value);
        return this;
      }
      /**
       * <pre>
       * Фильтр
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
       */
      public Builder clearFilter() {  copyOnWrite();
        instance.clearFilter();
        return this;
      }

      /**
       * <pre>
       * Стандартный постраничный вывод
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging paging = 2;</code>
       */
      @java.lang.Override
      public boolean hasPaging() {
        return instance.hasPaging();
      }
      /**
       * <pre>
       * Стандартный постраничный вывод
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging paging = 2;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging getPaging() {
        return instance.getPaging();
      }
      /**
       * <pre>
       * Стандартный постраничный вывод
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging paging = 2;</code>
       */
      public Builder setPaging(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging value) {
        copyOnWrite();
        instance.setPaging(value);
        return this;
      }
      /**
       * <pre>
       * Стандартный постраничный вывод
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging paging = 2;</code>
       */
      public Builder setPaging(
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.Builder builderForValue) {
        copyOnWrite();
        instance.setPaging(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Стандартный постраничный вывод
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging paging = 2;</code>
       */
      public Builder mergePaging(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging value) {
        copyOnWrite();
        instance.mergePaging(value);
        return this;
      }
      /**
       * <pre>
       * Стандартный постраничный вывод
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging paging = 2;</code>
       */
      public Builder clearPaging() {
        copyOnWrite();
        instance.clearPaging();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.GetPushTokenListRequest)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "pagination_",
              "paginationCase_",
              "filter_",
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.class,
            };
            java.lang.String info =
                "\u0000\u0002\u0001\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\t\u0002<\u0000" +
                "";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.GetPushTokenListRequest)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest DEFAULT_INSTANCE;
    static {
      GetPushTokenListRequest defaultInstance = new GetPushTokenListRequest();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        GetPushTokenListRequest.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<GetPushTokenListRequest> PARSER;

    public static com.google.protobuf.Parser<GetPushTokenListRequest> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface GetPushTokenCountRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.GetPushTokenCountRequest)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     * @return Whether the filter field is set.
     */
    boolean hasFilter();
    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     * @return The filter.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter getFilter();
  }
  /**
   * <pre>
   * Запрос получения количества пуш-токенов
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.GetPushTokenCountRequest}
   */
  public  static final class GetPushTokenCountRequest extends
      com.google.protobuf.GeneratedMessageLite<
          GetPushTokenCountRequest, GetPushTokenCountRequest.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.GetPushTokenCountRequest)
      GetPushTokenCountRequestOrBuilder {
    private GetPushTokenCountRequest() {
    }
    public static final int FILTER_FIELD_NUMBER = 1;
    private ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter filter_;
    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     */
    @java.lang.Override
    public boolean hasFilter() {
      return filter_ != null;
    }
    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter getFilter() {
      return filter_ == null ? ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.getDefaultInstance() : filter_;
    }
    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     */
    private void setFilter(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter value) {
      value.getClass();
  filter_ = value;

      }
    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeFilter(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter value) {
      value.getClass();
  if (filter_ != null &&
          filter_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.getDefaultInstance()) {
        filter_ =
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.newBuilder(filter_).mergeFrom(value).buildPartial();
      } else {
        filter_ = value;
      }

    }
    /**
     * <pre>
     * Фильтр
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
     */
    private void clearFilter() {  filter_ = null;

    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Запрос получения количества пуш-токенов
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.GetPushTokenCountRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.GetPushTokenCountRequest)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequestOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * Фильтр
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
       */
      @java.lang.Override
      public boolean hasFilter() {
        return instance.hasFilter();
      }
      /**
       * <pre>
       * Фильтр
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter getFilter() {
        return instance.getFilter();
      }
      /**
       * <pre>
       * Фильтр
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
       */
      public Builder setFilter(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter value) {
        copyOnWrite();
        instance.setFilter(value);
        return this;
        }
      /**
       * <pre>
       * Фильтр
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
       */
      public Builder setFilter(
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.Builder builderForValue) {
        copyOnWrite();
        instance.setFilter(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Фильтр
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
       */
      public Builder mergeFilter(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter value) {
        copyOnWrite();
        instance.mergeFilter(value);
        return this;
      }
      /**
       * <pre>
       * Фильтр
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter filter = 1;</code>
       */
      public Builder clearFilter() {  copyOnWrite();
        instance.clearFilter();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.GetPushTokenCountRequest)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "filter_",
            };
            java.lang.String info =
                "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\t";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.GetPushTokenCountRequest)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest DEFAULT_INSTANCE;
    static {
      GetPushTokenCountRequest defaultInstance = new GetPushTokenCountRequest();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        GetPushTokenCountRequest.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<GetPushTokenCountRequest> PARSER;

    public static com.google.protobuf.Parser<GetPushTokenCountRequest> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface GetPushTokenCountResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.GetPushTokenCountResponse)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Всего пуш-токенов
     * </pre>
     *
     * <code>int32 data = 1;</code>
     * @return Whether the data field is set.
     */
    boolean hasData();
    /**
     * <pre>
     * Всего пуш-токенов
     * </pre>
     *
     * <code>int32 data = 1;</code>
     * @return The data.
     */
    int getData();

    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenCountResponse.Error error = 2;</code>
     * @return Whether the error field is set.
     */
    boolean hasError();
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenCountResponse.Error error = 2;</code>
     * @return The error.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error getError();

    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.TypeCase getTypeCase();
  }
  /**
   * <pre>
   * Ответ на запрос получения количества пуш-токенов
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.GetPushTokenCountResponse}
   */
  public  static final class GetPushTokenCountResponse extends
      com.google.protobuf.GeneratedMessageLite<
          GetPushTokenCountResponse, GetPushTokenCountResponse.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.GetPushTokenCountResponse)
      GetPushTokenCountResponseOrBuilder {
    private GetPushTokenCountResponse() {
    }
    public interface ErrorOrBuilder extends
        // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.GetPushTokenCountResponse.Error)
        com.google.protobuf.MessageLiteOrBuilder {

      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       * @deprecated keyapis.notification.v1.GetPushTokenCountResponse.Error.push_token_filter_validation is deprecated.
       *     See keyapis/notification/v1/keyapis_notification_push_token_v1.proto;l=313
       * @return Whether the pushTokenFilterValidation field is set.
       */
      @java.lang.Deprecated boolean hasPushTokenFilterValidation();
      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       * @deprecated keyapis.notification.v1.GetPushTokenCountResponse.Error.push_token_filter_validation is deprecated.
       *     See keyapis/notification/v1/keyapis_notification_push_token_v1.proto;l=313
       * @return The pushTokenFilterValidation.
       */
      @java.lang.Deprecated ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError getPushTokenFilterValidation();

      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 2;</code>
       * @return Whether the validation field is set.
       */
      boolean hasValidation();
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 2;</code>
       * @return The validation.
       */
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation();

      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error.ReasonCase getReasonCase();
    }
    /**
     * <pre>
     * Ошибка запроса получения количества пуш-токенов
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.GetPushTokenCountResponse.Error}
     */
    public  static final class Error extends
        com.google.protobuf.GeneratedMessageLite<
            Error, Error.Builder> implements
        // @@protoc_insertion_point(message_implements:keyapis.notification.v1.GetPushTokenCountResponse.Error)
        ErrorOrBuilder {
      private Error() {
      }
      private int reasonCase_ = 0;
      private java.lang.Object reason_;
      public enum ReasonCase {
        PUSH_TOKEN_FILTER_VALIDATION(1),
        VALIDATION(2),
        REASON_NOT_SET(0);
        private final int value;
        private ReasonCase(int value) {
          this.value = value;
        }
        /**
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static ReasonCase valueOf(int value) {
          return forNumber(value);
        }

        public static ReasonCase forNumber(int value) {
          switch (value) {
            case 1: return PUSH_TOKEN_FILTER_VALIDATION;
            case 2: return VALIDATION;
            case 0: return REASON_NOT_SET;
            default: return null;
          }
        }
        public int getNumber() {
          return this.value;
        }
      };

      @java.lang.Override
      public ReasonCase
      getReasonCase() {
        return ReasonCase.forNumber(
            reasonCase_);
      }

      private void clearReason() {
        reasonCase_ = 0;
        reason_ = null;
      }

      public static final int PUSH_TOKEN_FILTER_VALIDATION_FIELD_NUMBER = 1;
      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      @java.lang.Override
      @java.lang.Deprecated public boolean hasPushTokenFilterValidation() {
        return reasonCase_ == 1;
      }
      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      @java.lang.Override
      @java.lang.Deprecated public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError getPushTokenFilterValidation() {
        if (reasonCase_ == 1) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.getDefaultInstance();
      }
      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      private void setPushTokenFilterValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      private void mergePushTokenFilterValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError value) {
        value.getClass();
  if (reasonCase_ == 1 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      private void clearPushTokenFilterValidation() {
        if (reasonCase_ == 1) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static final int VALIDATION_FIELD_NUMBER = 2;
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 2;</code>
       */
      @java.lang.Override
      public boolean hasValidation() {
        return reasonCase_ == 2;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 2;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation() {
        if (reasonCase_ == 2) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.getDefaultInstance();
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 2;</code>
       */
      private void setValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 2;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 2;</code>
       */
      private void mergeValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
        value.getClass();
  if (reasonCase_ == 2 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 2;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 2;</code>
       */
      private void clearValidation() {
        if (reasonCase_ == 2) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static Builder newBuilder() {
        return (Builder) DEFAULT_INSTANCE.createBuilder();
      }
      public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error prototype) {
        return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
      }

      /**
       * <pre>
       * Ошибка запроса получения количества пуш-токенов
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.GetPushTokenCountResponse.Error}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageLite.Builder<
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error, Builder> implements
          // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.GetPushTokenCountResponse.Error)
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.ErrorOrBuilder {
        // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error.newBuilder()
        private Builder() {
          super(DEFAULT_INSTANCE);
        }

        @java.lang.Override
        public ReasonCase
            getReasonCase() {
          return instance.getReasonCase();
        }

        public Builder clearReason() {
          copyOnWrite();
          instance.clearReason();
          return this;
        }


        /**
         * <pre>
         * Ошибка фильтрации
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Override
        @java.lang.Deprecated public boolean hasPushTokenFilterValidation() {
          return instance.hasPushTokenFilterValidation();
        }
        /**
         * <pre>
         * Ошибка фильтрации
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Override
        @java.lang.Deprecated public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError getPushTokenFilterValidation() {
          return instance.getPushTokenFilterValidation();
        }
        /**
         * <pre>
         * Ошибка фильтрации
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder setPushTokenFilterValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError value) {
          copyOnWrite();
          instance.setPushTokenFilterValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка фильтрации
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder setPushTokenFilterValidation(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.Builder builderForValue) {
          copyOnWrite();
          instance.setPushTokenFilterValidation(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Ошибка фильтрации
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder mergePushTokenFilterValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError value) {
          copyOnWrite();
          instance.mergePushTokenFilterValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка фильтрации
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder clearPushTokenFilterValidation() {
          copyOnWrite();
          instance.clearPushTokenFilterValidation();
          return this;
        }

        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 2;</code>
         */
        @java.lang.Override
        public boolean hasValidation() {
          return instance.hasValidation();
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 2;</code>
         */
        @java.lang.Override
        public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation() {
          return instance.getValidation();
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 2;</code>
         */
        public Builder setValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
          copyOnWrite();
          instance.setValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 2;</code>
         */
        public Builder setValidation(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.Builder builderForValue) {
          copyOnWrite();
          instance.setValidation(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 2;</code>
         */
        public Builder mergeValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
          copyOnWrite();
          instance.mergeValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 2;</code>
         */
        public Builder clearValidation() {
          copyOnWrite();
          instance.clearValidation();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.GetPushTokenCountResponse.Error)
      }
      @java.lang.Override
      @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
      protected final java.lang.Object dynamicMethod(
          com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
          java.lang.Object arg0, java.lang.Object arg1) {
        switch (method) {
          case NEW_MUTABLE_INSTANCE: {
            return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error();
          }
          case NEW_BUILDER: {
            return new Builder();
          }
          case BUILD_MESSAGE_INFO: {
              java.lang.Object[] objects = new java.lang.Object[] {
                "reason_",
                "reasonCase_",
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.class,
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.class,
              };
              java.lang.String info =
                  "\u0000\u0002\u0001\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001<\u0000\u0002<" +
                  "\u0000";
              return newMessageInfo(DEFAULT_INSTANCE, info, objects);
          }
          // fall through
          case GET_DEFAULT_INSTANCE: {
            return DEFAULT_INSTANCE;
          }
          case GET_PARSER: {
            com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error> parser = PARSER;
            if (parser == null) {
              synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error.class) {
                parser = PARSER;
                if (parser == null) {
                  parser =
                      new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error>(
                          DEFAULT_INSTANCE);
                  PARSER = parser;
                }
              }
            }
            return parser;
        }
        case GET_MEMOIZED_IS_INITIALIZED: {
          return (byte) 1;
        }
        case SET_MEMOIZED_IS_INITIALIZED: {
          return null;
        }
        }
        throw new UnsupportedOperationException();
      }


      // @@protoc_insertion_point(class_scope:keyapis.notification.v1.GetPushTokenCountResponse.Error)
      private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error DEFAULT_INSTANCE;
      static {
        Error defaultInstance = new Error();
        // New instances are implicitly immutable so no need to make
        // immutable.
        DEFAULT_INSTANCE = defaultInstance;
        com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
          Error.class, defaultInstance);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static volatile com.google.protobuf.Parser<Error> PARSER;

      public static com.google.protobuf.Parser<Error> parser() {
        return DEFAULT_INSTANCE.getParserForType();
      }
    }

    private int typeCase_ = 0;
    private java.lang.Object type_;
    public enum TypeCase {
      DATA(1),
      ERROR(2),
      TYPE_NOT_SET(0);
      private final int value;
      private TypeCase(int value) {
        this.value = value;
      }
      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static TypeCase valueOf(int value) {
        return forNumber(value);
      }

      public static TypeCase forNumber(int value) {
        switch (value) {
          case 1: return DATA;
          case 2: return ERROR;
          case 0: return TYPE_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    @java.lang.Override
    public TypeCase
    getTypeCase() {
      return TypeCase.forNumber(
          typeCase_);
    }

    private void clearType() {
      typeCase_ = 0;
      type_ = null;
    }

    public static final int DATA_FIELD_NUMBER = 1;
    /**
     * <pre>
     * Всего пуш-токенов
     * </pre>
     *
     * <code>int32 data = 1;</code>
     * @return Whether the data field is set.
     */
    @java.lang.Override
    public boolean hasData() {
      return typeCase_ == 1;
    }
    /**
     * <pre>
     * Всего пуш-токенов
     * </pre>
     *
     * <code>int32 data = 1;</code>
     * @return The data.
     */
    @java.lang.Override
    public int getData() {
      if (typeCase_ == 1) {
        return (java.lang.Integer) type_;
      }
      return 0;
    }
    /**
     * <pre>
     * Всего пуш-токенов
     * </pre>
     *
     * <code>int32 data = 1;</code>
     * @param value The data to set.
     */
    private void setData(int value) {
      typeCase_ = 1;
      type_ = value;
    }
    /**
     * <pre>
     * Всего пуш-токенов
     * </pre>
     *
     * <code>int32 data = 1;</code>
     */
    private void clearData() {
      if (typeCase_ == 1) {
        typeCase_ = 0;
        type_ = null;
      }
    }

    public static final int ERROR_FIELD_NUMBER = 2;
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenCountResponse.Error error = 2;</code>
     */
    @java.lang.Override
    public boolean hasError() {
      return typeCase_ == 2;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenCountResponse.Error error = 2;</code>
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error getError() {
      if (typeCase_ == 2) {
         return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error) type_;
      }
      return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error.getDefaultInstance();
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenCountResponse.Error error = 2;</code>
     */
    private void setError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error value) {
      value.getClass();
  type_ = value;
      typeCase_ = 2;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenCountResponse.Error error = 2;</code>
     */
    private void mergeError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error value) {
      value.getClass();
  if (typeCase_ == 2 &&
          type_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error.getDefaultInstance()) {
        type_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error) type_)
            .mergeFrom(value).buildPartial();
      } else {
        type_ = value;
      }
      typeCase_ = 2;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenCountResponse.Error error = 2;</code>
     */
    private void clearError() {
      if (typeCase_ == 2) {
        typeCase_ = 0;
        type_ = null;
      }
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Ответ на запрос получения количества пуш-токенов
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.GetPushTokenCountResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.GetPushTokenCountResponse)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponseOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }

      @java.lang.Override
      public TypeCase
          getTypeCase() {
        return instance.getTypeCase();
      }

      public Builder clearType() {
        copyOnWrite();
        instance.clearType();
        return this;
      }


      /**
       * <pre>
       * Всего пуш-токенов
       * </pre>
       *
       * <code>int32 data = 1;</code>
       * @return Whether the data field is set.
       */
      @java.lang.Override
      public boolean hasData() {
        return instance.hasData();
      }
      /**
       * <pre>
       * Всего пуш-токенов
       * </pre>
       *
       * <code>int32 data = 1;</code>
       * @return The data.
       */
      @java.lang.Override
      public int getData() {
        return instance.getData();
      }
      /**
       * <pre>
       * Всего пуш-токенов
       * </pre>
       *
       * <code>int32 data = 1;</code>
       * @param value The data to set.
       * @return This builder for chaining.
       */
      public Builder setData(int value) {
        copyOnWrite();
        instance.setData(value);
        return this;
      }
      /**
       * <pre>
       * Всего пуш-токенов
       * </pre>
       *
       * <code>int32 data = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearData() {
        copyOnWrite();
        instance.clearData();
        return this;
      }

      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.GetPushTokenCountResponse.Error error = 2;</code>
       */
      @java.lang.Override
      public boolean hasError() {
        return instance.hasError();
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.GetPushTokenCountResponse.Error error = 2;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error getError() {
        return instance.getError();
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.GetPushTokenCountResponse.Error error = 2;</code>
       */
      public Builder setError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error value) {
        copyOnWrite();
        instance.setError(value);
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.GetPushTokenCountResponse.Error error = 2;</code>
       */
      public Builder setError(
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error.Builder builderForValue) {
        copyOnWrite();
        instance.setError(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.GetPushTokenCountResponse.Error error = 2;</code>
       */
      public Builder mergeError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error value) {
        copyOnWrite();
        instance.mergeError(value);
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.GetPushTokenCountResponse.Error error = 2;</code>
       */
      public Builder clearError() {
        copyOnWrite();
        instance.clearError();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.GetPushTokenCountResponse)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "type_",
              "typeCase_",
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.Error.class,
            };
            java.lang.String info =
                "\u0000\u0002\u0001\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u00017\u0000\u0002<" +
                "\u0000";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.GetPushTokenCountResponse)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse DEFAULT_INSTANCE;
    static {
      GetPushTokenCountResponse defaultInstance = new GetPushTokenCountResponse();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        GetPushTokenCountResponse.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenCountResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<GetPushTokenCountResponse> PARSER;

    public static com.google.protobuf.Parser<GetPushTokenCountResponse> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface GetPushTokenListResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.GetPushTokenListResponse)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     * @return Whether the data field is set.
     */
    boolean hasData();
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     * @return The data.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken getData();

    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenListResponse.Error error = 2;</code>
     * @return Whether the error field is set.
     */
    boolean hasError();
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenListResponse.Error error = 2;</code>
     * @return The error.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error getError();

    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.TypeCase getTypeCase();
  }
  /**
   * <pre>
   * Ответ на получение списка пуш-токенов
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.GetPushTokenListResponse}
   */
  public  static final class GetPushTokenListResponse extends
      com.google.protobuf.GeneratedMessageLite<
          GetPushTokenListResponse, GetPushTokenListResponse.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.GetPushTokenListResponse)
      GetPushTokenListResponseOrBuilder {
    private GetPushTokenListResponse() {
    }
    public interface ErrorOrBuilder extends
        // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.GetPushTokenListResponse.Error)
        com.google.protobuf.MessageLiteOrBuilder {

      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       * @deprecated keyapis.notification.v1.GetPushTokenListResponse.Error.push_token_filter_validation is deprecated.
       *     See keyapis/notification/v1/keyapis_notification_push_token_v1.proto;l=334
       * @return Whether the pushTokenFilterValidation field is set.
       */
      @java.lang.Deprecated boolean hasPushTokenFilterValidation();
      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       * @deprecated keyapis.notification.v1.GetPushTokenListResponse.Error.push_token_filter_validation is deprecated.
       *     See keyapis/notification/v1/keyapis_notification_push_token_v1.proto;l=334
       * @return The pushTokenFilterValidation.
       */
      @java.lang.Deprecated ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError getPushTokenFilterValidation();

      /**
       * <pre>
       * Ошибка пагинации по страницам
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError push_token_paging_validation = 2 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       * @deprecated keyapis.notification.v1.GetPushTokenListResponse.Error.push_token_paging_validation is deprecated.
       *     See keyapis/notification/v1/keyapis_notification_push_token_v1.proto;l=336
       * @return Whether the pushTokenPagingValidation field is set.
       */
      @java.lang.Deprecated boolean hasPushTokenPagingValidation();
      /**
       * <pre>
       * Ошибка пагинации по страницам
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError push_token_paging_validation = 2 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       * @deprecated keyapis.notification.v1.GetPushTokenListResponse.Error.push_token_paging_validation is deprecated.
       *     See keyapis/notification/v1/keyapis_notification_push_token_v1.proto;l=336
       * @return The pushTokenPagingValidation.
       */
      @java.lang.Deprecated ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError getPushTokenPagingValidation();

      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       * @return Whether the validation field is set.
       */
      boolean hasValidation();
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       * @return The validation.
       */
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation();

      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error.ReasonCase getReasonCase();
    }
    /**
     * <pre>
     * Ошибка запроса получения списка пуш-токенов
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.GetPushTokenListResponse.Error}
     */
    public  static final class Error extends
        com.google.protobuf.GeneratedMessageLite<
            Error, Error.Builder> implements
        // @@protoc_insertion_point(message_implements:keyapis.notification.v1.GetPushTokenListResponse.Error)
        ErrorOrBuilder {
      private Error() {
      }
      private int reasonCase_ = 0;
      private java.lang.Object reason_;
      public enum ReasonCase {
        PUSH_TOKEN_FILTER_VALIDATION(1),
        PUSH_TOKEN_PAGING_VALIDATION(2),
        VALIDATION(3),
        REASON_NOT_SET(0);
        private final int value;
        private ReasonCase(int value) {
          this.value = value;
        }
        /**
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static ReasonCase valueOf(int value) {
          return forNumber(value);
        }

        public static ReasonCase forNumber(int value) {
          switch (value) {
            case 1: return PUSH_TOKEN_FILTER_VALIDATION;
            case 2: return PUSH_TOKEN_PAGING_VALIDATION;
            case 3: return VALIDATION;
            case 0: return REASON_NOT_SET;
            default: return null;
          }
        }
        public int getNumber() {
          return this.value;
        }
      };

      @java.lang.Override
      public ReasonCase
      getReasonCase() {
        return ReasonCase.forNumber(
            reasonCase_);
      }

      private void clearReason() {
        reasonCase_ = 0;
        reason_ = null;
      }

      public static final int PUSH_TOKEN_FILTER_VALIDATION_FIELD_NUMBER = 1;
      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      @java.lang.Override
      @java.lang.Deprecated public boolean hasPushTokenFilterValidation() {
        return reasonCase_ == 1;
      }
      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      @java.lang.Override
      @java.lang.Deprecated public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError getPushTokenFilterValidation() {
        if (reasonCase_ == 1) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.getDefaultInstance();
      }
      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      private void setPushTokenFilterValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      private void mergePushTokenFilterValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError value) {
        value.getClass();
  if (reasonCase_ == 1 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Ошибка фильтрации
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      private void clearPushTokenFilterValidation() {
        if (reasonCase_ == 1) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static final int PUSH_TOKEN_PAGING_VALIDATION_FIELD_NUMBER = 2;
      /**
       * <pre>
       * Ошибка пагинации по страницам
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError push_token_paging_validation = 2 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      @java.lang.Override
      @java.lang.Deprecated public boolean hasPushTokenPagingValidation() {
        return reasonCase_ == 2;
      }
      /**
       * <pre>
       * Ошибка пагинации по страницам
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError push_token_paging_validation = 2 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      @java.lang.Override
      @java.lang.Deprecated public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError getPushTokenPagingValidation() {
        if (reasonCase_ == 2) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.getDefaultInstance();
      }
      /**
       * <pre>
       * Ошибка пагинации по страницам
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError push_token_paging_validation = 2 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      private void setPushTokenPagingValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 2;
      }
      /**
       * <pre>
       * Ошибка пагинации по страницам
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError push_token_paging_validation = 2 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      private void mergePushTokenPagingValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError value) {
        value.getClass();
  if (reasonCase_ == 2 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 2;
      }
      /**
       * <pre>
       * Ошибка пагинации по страницам
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError push_token_paging_validation = 2 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
       */
      private void clearPushTokenPagingValidation() {
        if (reasonCase_ == 2) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static final int VALIDATION_FIELD_NUMBER = 3;
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       */
      @java.lang.Override
      public boolean hasValidation() {
        return reasonCase_ == 3;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation() {
        if (reasonCase_ == 3) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.getDefaultInstance();
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       */
      private void setValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 3;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       */
      private void mergeValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
        value.getClass();
  if (reasonCase_ == 3 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 3;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
       */
      private void clearValidation() {
        if (reasonCase_ == 3) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static Builder newBuilder() {
        return (Builder) DEFAULT_INSTANCE.createBuilder();
      }
      public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error prototype) {
        return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
      }

      /**
       * <pre>
       * Ошибка запроса получения списка пуш-токенов
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.GetPushTokenListResponse.Error}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageLite.Builder<
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error, Builder> implements
          // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.GetPushTokenListResponse.Error)
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.ErrorOrBuilder {
        // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error.newBuilder()
        private Builder() {
          super(DEFAULT_INSTANCE);
        }

        @java.lang.Override
        public ReasonCase
            getReasonCase() {
          return instance.getReasonCase();
        }

        public Builder clearReason() {
          copyOnWrite();
          instance.clearReason();
          return this;
        }


        /**
         * <pre>
         * Ошибка фильтрации
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Override
        @java.lang.Deprecated public boolean hasPushTokenFilterValidation() {
          return instance.hasPushTokenFilterValidation();
        }
        /**
         * <pre>
         * Ошибка фильтрации
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Override
        @java.lang.Deprecated public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError getPushTokenFilterValidation() {
          return instance.getPushTokenFilterValidation();
        }
        /**
         * <pre>
         * Ошибка фильтрации
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder setPushTokenFilterValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError value) {
          copyOnWrite();
          instance.setPushTokenFilterValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка фильтрации
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder setPushTokenFilterValidation(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.Builder builderForValue) {
          copyOnWrite();
          instance.setPushTokenFilterValidation(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Ошибка фильтрации
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder mergePushTokenFilterValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError value) {
          copyOnWrite();
          instance.mergePushTokenFilterValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка фильтрации
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenFilter.ValidationError push_token_filter_validation = 1 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder clearPushTokenFilterValidation() {
          copyOnWrite();
          instance.clearPushTokenFilterValidation();
          return this;
        }

        /**
         * <pre>
         * Ошибка пагинации по страницам
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError push_token_paging_validation = 2 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Override
        @java.lang.Deprecated public boolean hasPushTokenPagingValidation() {
          return instance.hasPushTokenPagingValidation();
        }
        /**
         * <pre>
         * Ошибка пагинации по страницам
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError push_token_paging_validation = 2 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Override
        @java.lang.Deprecated public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError getPushTokenPagingValidation() {
          return instance.getPushTokenPagingValidation();
        }
        /**
         * <pre>
         * Ошибка пагинации по страницам
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError push_token_paging_validation = 2 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder setPushTokenPagingValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError value) {
          copyOnWrite();
          instance.setPushTokenPagingValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка пагинации по страницам
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError push_token_paging_validation = 2 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder setPushTokenPagingValidation(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.Builder builderForValue) {
          copyOnWrite();
          instance.setPushTokenPagingValidation(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Ошибка пагинации по страницам
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError push_token_paging_validation = 2 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder mergePushTokenPagingValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError value) {
          copyOnWrite();
          instance.mergePushTokenPagingValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка пагинации по страницам
         * </pre>
         *
         * <code>.keyapis.notification.v1.PushTokenPaging.ValidationError push_token_paging_validation = 2 [deprecated = true, (.google.api.field_visibility) = { ... }</code>
         */
        @java.lang.Deprecated public Builder clearPushTokenPagingValidation() {
          copyOnWrite();
          instance.clearPushTokenPagingValidation();
          return this;
        }

        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
         */
        @java.lang.Override
        public boolean hasValidation() {
          return instance.hasValidation();
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
         */
        @java.lang.Override
        public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation() {
          return instance.getValidation();
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
         */
        public Builder setValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
          copyOnWrite();
          instance.setValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
         */
        public Builder setValidation(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.Builder builderForValue) {
          copyOnWrite();
          instance.setValidation(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
         */
        public Builder mergeValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
          copyOnWrite();
          instance.mergeValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 3;</code>
         */
        public Builder clearValidation() {
          copyOnWrite();
          instance.clearValidation();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.GetPushTokenListResponse.Error)
      }
      @java.lang.Override
      @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
      protected final java.lang.Object dynamicMethod(
          com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
          java.lang.Object arg0, java.lang.Object arg1) {
        switch (method) {
          case NEW_MUTABLE_INSTANCE: {
            return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error();
          }
          case NEW_BUILDER: {
            return new Builder();
          }
          case BUILD_MESSAGE_INFO: {
              java.lang.Object[] objects = new java.lang.Object[] {
                "reason_",
                "reasonCase_",
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenFilter.ValidationError.class,
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushTokenPaging.ValidationError.class,
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.class,
              };
              java.lang.String info =
                  "\u0000\u0003\u0001\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001<\u0000\u0002<" +
                  "\u0000\u0003<\u0000";
              return newMessageInfo(DEFAULT_INSTANCE, info, objects);
          }
          // fall through
          case GET_DEFAULT_INSTANCE: {
            return DEFAULT_INSTANCE;
          }
          case GET_PARSER: {
            com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error> parser = PARSER;
            if (parser == null) {
              synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error.class) {
                parser = PARSER;
                if (parser == null) {
                  parser =
                      new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error>(
                          DEFAULT_INSTANCE);
                  PARSER = parser;
                }
              }
            }
            return parser;
        }
        case GET_MEMOIZED_IS_INITIALIZED: {
          return (byte) 1;
        }
        case SET_MEMOIZED_IS_INITIALIZED: {
          return null;
        }
        }
        throw new UnsupportedOperationException();
      }


      // @@protoc_insertion_point(class_scope:keyapis.notification.v1.GetPushTokenListResponse.Error)
      private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error DEFAULT_INSTANCE;
      static {
        Error defaultInstance = new Error();
        // New instances are implicitly immutable so no need to make
        // immutable.
        DEFAULT_INSTANCE = defaultInstance;
        com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
          Error.class, defaultInstance);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static volatile com.google.protobuf.Parser<Error> PARSER;

      public static com.google.protobuf.Parser<Error> parser() {
        return DEFAULT_INSTANCE.getParserForType();
      }
    }

    private int typeCase_ = 0;
    private java.lang.Object type_;
    public enum TypeCase {
      DATA(1),
      ERROR(2),
      TYPE_NOT_SET(0);
      private final int value;
      private TypeCase(int value) {
        this.value = value;
      }
      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static TypeCase valueOf(int value) {
        return forNumber(value);
      }

      public static TypeCase forNumber(int value) {
        switch (value) {
          case 1: return DATA;
          case 2: return ERROR;
          case 0: return TYPE_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    @java.lang.Override
    public TypeCase
    getTypeCase() {
      return TypeCase.forNumber(
          typeCase_);
    }

    private void clearType() {
      typeCase_ = 0;
      type_ = null;
    }

    public static final int DATA_FIELD_NUMBER = 1;
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     */
    @java.lang.Override
    public boolean hasData() {
      return typeCase_ == 1;
    }
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken getData() {
      if (typeCase_ == 1) {
         return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken) type_;
      }
      return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.getDefaultInstance();
    }
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     */
    private void setData(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken value) {
      value.getClass();
  type_ = value;
      typeCase_ = 1;
    }
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     */
    private void mergeData(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken value) {
      value.getClass();
  if (typeCase_ == 1 &&
          type_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.getDefaultInstance()) {
        type_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken) type_)
            .mergeFrom(value).buildPartial();
      } else {
        type_ = value;
      }
      typeCase_ = 1;
    }
    /**
     * <pre>
     * Пуш-токен
     * </pre>
     *
     * <code>.keyapis.notification.v1.PushToken data = 1;</code>
     */
    private void clearData() {
      if (typeCase_ == 1) {
        typeCase_ = 0;
        type_ = null;
      }
    }

    public static final int ERROR_FIELD_NUMBER = 2;
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenListResponse.Error error = 2;</code>
     */
    @java.lang.Override
    public boolean hasError() {
      return typeCase_ == 2;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenListResponse.Error error = 2;</code>
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error getError() {
      if (typeCase_ == 2) {
         return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error) type_;
      }
      return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error.getDefaultInstance();
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenListResponse.Error error = 2;</code>
     */
    private void setError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error value) {
      value.getClass();
  type_ = value;
      typeCase_ = 2;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenListResponse.Error error = 2;</code>
     */
    private void mergeError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error value) {
      value.getClass();
  if (typeCase_ == 2 &&
          type_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error.getDefaultInstance()) {
        type_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error) type_)
            .mergeFrom(value).buildPartial();
      } else {
        type_ = value;
      }
      typeCase_ = 2;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.GetPushTokenListResponse.Error error = 2;</code>
     */
    private void clearError() {
      if (typeCase_ == 2) {
        typeCase_ = 0;
        type_ = null;
      }
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Ответ на получение списка пуш-токенов
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.GetPushTokenListResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.GetPushTokenListResponse)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponseOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }

      @java.lang.Override
      public TypeCase
          getTypeCase() {
        return instance.getTypeCase();
      }

      public Builder clearType() {
        copyOnWrite();
        instance.clearType();
        return this;
      }


      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1;</code>
       */
      @java.lang.Override
      public boolean hasData() {
        return instance.hasData();
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken getData() {
        return instance.getData();
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1;</code>
       */
      public Builder setData(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken value) {
        copyOnWrite();
        instance.setData(value);
        return this;
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1;</code>
       */
      public Builder setData(
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.Builder builderForValue) {
        copyOnWrite();
        instance.setData(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1;</code>
       */
      public Builder mergeData(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken value) {
        copyOnWrite();
        instance.mergeData(value);
        return this;
      }
      /**
       * <pre>
       * Пуш-токен
       * </pre>
       *
       * <code>.keyapis.notification.v1.PushToken data = 1;</code>
       */
      public Builder clearData() {
        copyOnWrite();
        instance.clearData();
        return this;
      }

      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.GetPushTokenListResponse.Error error = 2;</code>
       */
      @java.lang.Override
      public boolean hasError() {
        return instance.hasError();
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.GetPushTokenListResponse.Error error = 2;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error getError() {
        return instance.getError();
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.GetPushTokenListResponse.Error error = 2;</code>
       */
      public Builder setError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error value) {
        copyOnWrite();
        instance.setError(value);
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.GetPushTokenListResponse.Error error = 2;</code>
       */
      public Builder setError(
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error.Builder builderForValue) {
        copyOnWrite();
        instance.setError(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.GetPushTokenListResponse.Error error = 2;</code>
       */
      public Builder mergeError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error value) {
        copyOnWrite();
        instance.mergeError(value);
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.GetPushTokenListResponse.Error error = 2;</code>
       */
      public Builder clearError() {
        copyOnWrite();
        instance.clearError();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.GetPushTokenListResponse)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "type_",
              "typeCase_",
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.PushToken.class,
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.Error.class,
            };
            java.lang.String info =
                "\u0000\u0002\u0001\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001<\u0000\u0002<" +
                "\u0000";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.GetPushTokenListResponse)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse DEFAULT_INSTANCE;
    static {
      GetPushTokenListResponse defaultInstance = new GetPushTokenListResponse();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        GetPushTokenListResponse.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.GetPushTokenListResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<GetPushTokenListResponse> PARSER;

    public static com.google.protobuf.Parser<GetPushTokenListResponse> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface DeletePushTokenRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.DeletePushTokenRequest)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Идентификатор.
     * # Диапазон: 0..2147483647
     * </pre>
     *
     * <code>int32 id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The id.
     */
    int getId();
  }
  /**
   * <pre>
   * Запрос удаления пуш-токена
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.DeletePushTokenRequest}
   */
  public  static final class DeletePushTokenRequest extends
      com.google.protobuf.GeneratedMessageLite<
          DeletePushTokenRequest, DeletePushTokenRequest.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.DeletePushTokenRequest)
      DeletePushTokenRequestOrBuilder {
    private DeletePushTokenRequest() {
    }
    public static final int ID_FIELD_NUMBER = 1;
    private int id_;
    /**
     * <pre>
     * Идентификатор.
     * # Диапазон: 0..2147483647
     * </pre>
     *
     * <code>int32 id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The id.
     */
    @java.lang.Override
    public int getId() {
      return id_;
    }
    /**
     * <pre>
     * Идентификатор.
     * # Диапазон: 0..2147483647
     * </pre>
     *
     * <code>int32 id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The id to set.
     */
    private void setId(int value) {
      
      id_ = value;
    }
    /**
     * <pre>
     * Идентификатор.
     * # Диапазон: 0..2147483647
     * </pre>
     *
     * <code>int32 id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private void clearId() {

      id_ = 0;
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Запрос удаления пуш-токена
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.DeletePushTokenRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.DeletePushTokenRequest)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequestOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * Идентификатор.
       * # Диапазон: 0..2147483647
       * </pre>
       *
       * <code>int32 id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The id.
       */
      @java.lang.Override
      public int getId() {
        return instance.getId();
      }
      /**
       * <pre>
       * Идентификатор.
       * # Диапазон: 0..2147483647
       * </pre>
       *
       * <code>int32 id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The id to set.
       * @return This builder for chaining.
       */
      public Builder setId(int value) {
        copyOnWrite();
        instance.setId(value);
        return this;
      }
      /**
       * <pre>
       * Идентификатор.
       * # Диапазон: 0..2147483647
       * </pre>
       *
       * <code>int32 id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return This builder for chaining.
       */
      public Builder clearId() {
        copyOnWrite();
        instance.clearId();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.DeletePushTokenRequest)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "id_",
            };
            java.lang.String info =
                "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0004";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.DeletePushTokenRequest)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest DEFAULT_INSTANCE;
    static {
      DeletePushTokenRequest defaultInstance = new DeletePushTokenRequest();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        DeletePushTokenRequest.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<DeletePushTokenRequest> PARSER;

    public static com.google.protobuf.Parser<DeletePushTokenRequest> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface DeletePushTokenResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.DeletePushTokenResponse)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenResponse.Error error = 1;</code>
     * @return Whether the error field is set.
     */
    boolean hasError();
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenResponse.Error error = 1;</code>
     * @return The error.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error getError();

    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.TypeCase getTypeCase();
  }
  /**
   * <pre>
   * Ответ на запрос удаления пуш-токена
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.DeletePushTokenResponse}
   */
  public  static final class DeletePushTokenResponse extends
      com.google.protobuf.GeneratedMessageLite<
          DeletePushTokenResponse, DeletePushTokenResponse.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.DeletePushTokenResponse)
      DeletePushTokenResponseOrBuilder {
    private DeletePushTokenResponse() {
    }
    public interface ErrorOrBuilder extends
        // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.DeletePushTokenResponse.Error)
        com.google.protobuf.MessageLiteOrBuilder {

      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       * @return Whether the validation field is set.
       */
      boolean hasValidation();
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       * @return The validation.
       */
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation();

      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error.ReasonCase getReasonCase();
    }
    /**
     * <pre>
     * Ошибка удаления пуш-токена
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.DeletePushTokenResponse.Error}
     */
    public  static final class Error extends
        com.google.protobuf.GeneratedMessageLite<
            Error, Error.Builder> implements
        // @@protoc_insertion_point(message_implements:keyapis.notification.v1.DeletePushTokenResponse.Error)
        ErrorOrBuilder {
      private Error() {
      }
      private int reasonCase_ = 0;
      private java.lang.Object reason_;
      public enum ReasonCase {
        VALIDATION(1),
        REASON_NOT_SET(0);
        private final int value;
        private ReasonCase(int value) {
          this.value = value;
        }
        /**
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static ReasonCase valueOf(int value) {
          return forNumber(value);
        }

        public static ReasonCase forNumber(int value) {
          switch (value) {
            case 1: return VALIDATION;
            case 0: return REASON_NOT_SET;
            default: return null;
          }
        }
        public int getNumber() {
          return this.value;
        }
      };

      @java.lang.Override
      public ReasonCase
      getReasonCase() {
        return ReasonCase.forNumber(
            reasonCase_);
      }

      private void clearReason() {
        reasonCase_ = 0;
        reason_ = null;
      }

      public static final int VALIDATION_FIELD_NUMBER = 1;
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      @java.lang.Override
      public boolean hasValidation() {
        return reasonCase_ == 1;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation() {
        if (reasonCase_ == 1) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.getDefaultInstance();
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      private void setValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      private void mergeValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
        value.getClass();
  if (reasonCase_ == 1 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      private void clearValidation() {
        if (reasonCase_ == 1) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static Builder newBuilder() {
        return (Builder) DEFAULT_INSTANCE.createBuilder();
      }
      public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error prototype) {
        return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
      }

      /**
       * <pre>
       * Ошибка удаления пуш-токена
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.DeletePushTokenResponse.Error}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageLite.Builder<
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error, Builder> implements
          // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.DeletePushTokenResponse.Error)
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.ErrorOrBuilder {
        // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error.newBuilder()
        private Builder() {
          super(DEFAULT_INSTANCE);
        }

        @java.lang.Override
        public ReasonCase
            getReasonCase() {
          return instance.getReasonCase();
        }

        public Builder clearReason() {
          copyOnWrite();
          instance.clearReason();
          return this;
        }


        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        @java.lang.Override
        public boolean hasValidation() {
          return instance.hasValidation();
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        @java.lang.Override
        public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation() {
          return instance.getValidation();
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        public Builder setValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
          copyOnWrite();
          instance.setValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        public Builder setValidation(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.Builder builderForValue) {
          copyOnWrite();
          instance.setValidation(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        public Builder mergeValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
          copyOnWrite();
          instance.mergeValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        public Builder clearValidation() {
          copyOnWrite();
          instance.clearValidation();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.DeletePushTokenResponse.Error)
      }
      @java.lang.Override
      @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
      protected final java.lang.Object dynamicMethod(
          com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
          java.lang.Object arg0, java.lang.Object arg1) {
        switch (method) {
          case NEW_MUTABLE_INSTANCE: {
            return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error();
          }
          case NEW_BUILDER: {
            return new Builder();
          }
          case BUILD_MESSAGE_INFO: {
              java.lang.Object[] objects = new java.lang.Object[] {
                "reason_",
                "reasonCase_",
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.class,
              };
              java.lang.String info =
                  "\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
              return newMessageInfo(DEFAULT_INSTANCE, info, objects);
          }
          // fall through
          case GET_DEFAULT_INSTANCE: {
            return DEFAULT_INSTANCE;
          }
          case GET_PARSER: {
            com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error> parser = PARSER;
            if (parser == null) {
              synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error.class) {
                parser = PARSER;
                if (parser == null) {
                  parser =
                      new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error>(
                          DEFAULT_INSTANCE);
                  PARSER = parser;
                }
              }
            }
            return parser;
        }
        case GET_MEMOIZED_IS_INITIALIZED: {
          return (byte) 1;
        }
        case SET_MEMOIZED_IS_INITIALIZED: {
          return null;
        }
        }
        throw new UnsupportedOperationException();
      }


      // @@protoc_insertion_point(class_scope:keyapis.notification.v1.DeletePushTokenResponse.Error)
      private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error DEFAULT_INSTANCE;
      static {
        Error defaultInstance = new Error();
        // New instances are implicitly immutable so no need to make
        // immutable.
        DEFAULT_INSTANCE = defaultInstance;
        com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
          Error.class, defaultInstance);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static volatile com.google.protobuf.Parser<Error> PARSER;

      public static com.google.protobuf.Parser<Error> parser() {
        return DEFAULT_INSTANCE.getParserForType();
      }
    }

    private int typeCase_ = 0;
    private java.lang.Object type_;
    public enum TypeCase {
      ERROR(1),
      TYPE_NOT_SET(0);
      private final int value;
      private TypeCase(int value) {
        this.value = value;
      }
      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static TypeCase valueOf(int value) {
        return forNumber(value);
      }

      public static TypeCase forNumber(int value) {
        switch (value) {
          case 1: return ERROR;
          case 0: return TYPE_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    @java.lang.Override
    public TypeCase
    getTypeCase() {
      return TypeCase.forNumber(
          typeCase_);
    }

    private void clearType() {
      typeCase_ = 0;
      type_ = null;
    }

    public static final int ERROR_FIELD_NUMBER = 1;
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenResponse.Error error = 1;</code>
     */
    @java.lang.Override
    public boolean hasError() {
      return typeCase_ == 1;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenResponse.Error error = 1;</code>
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error getError() {
      if (typeCase_ == 1) {
         return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error) type_;
      }
      return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error.getDefaultInstance();
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenResponse.Error error = 1;</code>
     */
    private void setError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error value) {
      value.getClass();
  type_ = value;
      typeCase_ = 1;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenResponse.Error error = 1;</code>
     */
    private void mergeError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error value) {
      value.getClass();
  if (typeCase_ == 1 &&
          type_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error.getDefaultInstance()) {
        type_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error) type_)
            .mergeFrom(value).buildPartial();
      } else {
        type_ = value;
      }
      typeCase_ = 1;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenResponse.Error error = 1;</code>
     */
    private void clearError() {
      if (typeCase_ == 1) {
        typeCase_ = 0;
        type_ = null;
      }
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Ответ на запрос удаления пуш-токена
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.DeletePushTokenResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.DeletePushTokenResponse)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponseOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }

      @java.lang.Override
      public TypeCase
          getTypeCase() {
        return instance.getTypeCase();
      }

      public Builder clearType() {
        copyOnWrite();
        instance.clearType();
        return this;
      }


      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenResponse.Error error = 1;</code>
       */
      @java.lang.Override
      public boolean hasError() {
        return instance.hasError();
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenResponse.Error error = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error getError() {
        return instance.getError();
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenResponse.Error error = 1;</code>
       */
      public Builder setError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error value) {
        copyOnWrite();
        instance.setError(value);
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenResponse.Error error = 1;</code>
       */
      public Builder setError(
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error.Builder builderForValue) {
        copyOnWrite();
        instance.setError(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenResponse.Error error = 1;</code>
       */
      public Builder mergeError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error value) {
        copyOnWrite();
        instance.mergeError(value);
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenResponse.Error error = 1;</code>
       */
      public Builder clearError() {
        copyOnWrite();
        instance.clearError();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.DeletePushTokenResponse)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "type_",
              "typeCase_",
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.Error.class,
            };
            java.lang.String info =
                "\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.DeletePushTokenResponse)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse DEFAULT_INSTANCE;
    static {
      DeletePushTokenResponse defaultInstance = new DeletePushTokenResponse();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        DeletePushTokenResponse.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<DeletePushTokenResponse> PARSER;

    public static com.google.protobuf.Parser<DeletePushTokenResponse> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface DeletePushTokenUserIdRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.DeletePushTokenUserIdRequest)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Идентификатор пользователя.
     * # Диапазон: 1..2147483647
     * </pre>
     *
     * <code>int32 user_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The userId.
     */
    int getUserId();
  }
  /**
   * <pre>
   * Запрос удаления пуш-токенов по идентификатору пользователя
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.DeletePushTokenUserIdRequest}
   */
  public  static final class DeletePushTokenUserIdRequest extends
      com.google.protobuf.GeneratedMessageLite<
          DeletePushTokenUserIdRequest, DeletePushTokenUserIdRequest.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.DeletePushTokenUserIdRequest)
      DeletePushTokenUserIdRequestOrBuilder {
    private DeletePushTokenUserIdRequest() {
    }
    public static final int USER_ID_FIELD_NUMBER = 1;
    private int userId_;
    /**
     * <pre>
     * Идентификатор пользователя.
     * # Диапазон: 1..2147483647
     * </pre>
     *
     * <code>int32 user_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The userId.
     */
    @java.lang.Override
    public int getUserId() {
      return userId_;
    }
    /**
     * <pre>
     * Идентификатор пользователя.
     * # Диапазон: 1..2147483647
     * </pre>
     *
     * <code>int32 user_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The userId to set.
     */
    private void setUserId(int value) {
      
      userId_ = value;
    }
    /**
     * <pre>
     * Идентификатор пользователя.
     * # Диапазон: 1..2147483647
     * </pre>
     *
     * <code>int32 user_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private void clearUserId() {

      userId_ = 0;
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Запрос удаления пуш-токенов по идентификатору пользователя
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.DeletePushTokenUserIdRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.DeletePushTokenUserIdRequest)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequestOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * Идентификатор пользователя.
       * # Диапазон: 1..2147483647
       * </pre>
       *
       * <code>int32 user_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The userId.
       */
      @java.lang.Override
      public int getUserId() {
        return instance.getUserId();
      }
      /**
       * <pre>
       * Идентификатор пользователя.
       * # Диапазон: 1..2147483647
       * </pre>
       *
       * <code>int32 user_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The userId to set.
       * @return This builder for chaining.
       */
      public Builder setUserId(int value) {
        copyOnWrite();
        instance.setUserId(value);
        return this;
      }
      /**
       * <pre>
       * Идентификатор пользователя.
       * # Диапазон: 1..2147483647
       * </pre>
       *
       * <code>int32 user_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return This builder for chaining.
       */
      public Builder clearUserId() {
        copyOnWrite();
        instance.clearUserId();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.DeletePushTokenUserIdRequest)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "userId_",
            };
            java.lang.String info =
                "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0004";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.DeletePushTokenUserIdRequest)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest DEFAULT_INSTANCE;
    static {
      DeletePushTokenUserIdRequest defaultInstance = new DeletePushTokenUserIdRequest();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        DeletePushTokenUserIdRequest.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<DeletePushTokenUserIdRequest> PARSER;

    public static com.google.protobuf.Parser<DeletePushTokenUserIdRequest> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface DeletePushTokenUserIdResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.DeletePushTokenUserIdResponse)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserIdResponse.Error error = 1;</code>
     * @return Whether the error field is set.
     */
    boolean hasError();
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserIdResponse.Error error = 1;</code>
     * @return The error.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error getError();

    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.TypeCase getTypeCase();
  }
  /**
   * <pre>
   * Ответ на запрос удаления пуш-токенов по идентификатору пользователя
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.DeletePushTokenUserIdResponse}
   */
  public  static final class DeletePushTokenUserIdResponse extends
      com.google.protobuf.GeneratedMessageLite<
          DeletePushTokenUserIdResponse, DeletePushTokenUserIdResponse.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.DeletePushTokenUserIdResponse)
      DeletePushTokenUserIdResponseOrBuilder {
    private DeletePushTokenUserIdResponse() {
    }
    public interface ErrorOrBuilder extends
        // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.DeletePushTokenUserIdResponse.Error)
        com.google.protobuf.MessageLiteOrBuilder {

      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       * @return Whether the validation field is set.
       */
      boolean hasValidation();
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       * @return The validation.
       */
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation();

      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error.ReasonCase getReasonCase();
    }
    /**
     * <pre>
     * Ошибка удаления пуш-токенов
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.DeletePushTokenUserIdResponse.Error}
     */
    public  static final class Error extends
        com.google.protobuf.GeneratedMessageLite<
            Error, Error.Builder> implements
        // @@protoc_insertion_point(message_implements:keyapis.notification.v1.DeletePushTokenUserIdResponse.Error)
        ErrorOrBuilder {
      private Error() {
      }
      private int reasonCase_ = 0;
      private java.lang.Object reason_;
      public enum ReasonCase {
        VALIDATION(1),
        REASON_NOT_SET(0);
        private final int value;
        private ReasonCase(int value) {
          this.value = value;
        }
        /**
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static ReasonCase valueOf(int value) {
          return forNumber(value);
        }

        public static ReasonCase forNumber(int value) {
          switch (value) {
            case 1: return VALIDATION;
            case 0: return REASON_NOT_SET;
            default: return null;
          }
        }
        public int getNumber() {
          return this.value;
        }
      };

      @java.lang.Override
      public ReasonCase
      getReasonCase() {
        return ReasonCase.forNumber(
            reasonCase_);
      }

      private void clearReason() {
        reasonCase_ = 0;
        reason_ = null;
      }

      public static final int VALIDATION_FIELD_NUMBER = 1;
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      @java.lang.Override
      public boolean hasValidation() {
        return reasonCase_ == 1;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation() {
        if (reasonCase_ == 1) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.getDefaultInstance();
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      private void setValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      private void mergeValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
        value.getClass();
  if (reasonCase_ == 1 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      private void clearValidation() {
        if (reasonCase_ == 1) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static Builder newBuilder() {
        return (Builder) DEFAULT_INSTANCE.createBuilder();
      }
      public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error prototype) {
        return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
      }

      /**
       * <pre>
       * Ошибка удаления пуш-токенов
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.DeletePushTokenUserIdResponse.Error}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageLite.Builder<
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error, Builder> implements
          // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.DeletePushTokenUserIdResponse.Error)
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.ErrorOrBuilder {
        // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error.newBuilder()
        private Builder() {
          super(DEFAULT_INSTANCE);
        }

        @java.lang.Override
        public ReasonCase
            getReasonCase() {
          return instance.getReasonCase();
        }

        public Builder clearReason() {
          copyOnWrite();
          instance.clearReason();
          return this;
        }


        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        @java.lang.Override
        public boolean hasValidation() {
          return instance.hasValidation();
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        @java.lang.Override
        public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation() {
          return instance.getValidation();
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        public Builder setValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
          copyOnWrite();
          instance.setValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        public Builder setValidation(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.Builder builderForValue) {
          copyOnWrite();
          instance.setValidation(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        public Builder mergeValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
          copyOnWrite();
          instance.mergeValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        public Builder clearValidation() {
          copyOnWrite();
          instance.clearValidation();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.DeletePushTokenUserIdResponse.Error)
      }
      @java.lang.Override
      @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
      protected final java.lang.Object dynamicMethod(
          com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
          java.lang.Object arg0, java.lang.Object arg1) {
        switch (method) {
          case NEW_MUTABLE_INSTANCE: {
            return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error();
          }
          case NEW_BUILDER: {
            return new Builder();
          }
          case BUILD_MESSAGE_INFO: {
              java.lang.Object[] objects = new java.lang.Object[] {
                "reason_",
                "reasonCase_",
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.class,
              };
              java.lang.String info =
                  "\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
              return newMessageInfo(DEFAULT_INSTANCE, info, objects);
          }
          // fall through
          case GET_DEFAULT_INSTANCE: {
            return DEFAULT_INSTANCE;
          }
          case GET_PARSER: {
            com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error> parser = PARSER;
            if (parser == null) {
              synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error.class) {
                parser = PARSER;
                if (parser == null) {
                  parser =
                      new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error>(
                          DEFAULT_INSTANCE);
                  PARSER = parser;
                }
              }
            }
            return parser;
        }
        case GET_MEMOIZED_IS_INITIALIZED: {
          return (byte) 1;
        }
        case SET_MEMOIZED_IS_INITIALIZED: {
          return null;
        }
        }
        throw new UnsupportedOperationException();
      }


      // @@protoc_insertion_point(class_scope:keyapis.notification.v1.DeletePushTokenUserIdResponse.Error)
      private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error DEFAULT_INSTANCE;
      static {
        Error defaultInstance = new Error();
        // New instances are implicitly immutable so no need to make
        // immutable.
        DEFAULT_INSTANCE = defaultInstance;
        com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
          Error.class, defaultInstance);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static volatile com.google.protobuf.Parser<Error> PARSER;

      public static com.google.protobuf.Parser<Error> parser() {
        return DEFAULT_INSTANCE.getParserForType();
      }
    }

    private int typeCase_ = 0;
    private java.lang.Object type_;
    public enum TypeCase {
      ERROR(1),
      TYPE_NOT_SET(0);
      private final int value;
      private TypeCase(int value) {
        this.value = value;
      }
      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static TypeCase valueOf(int value) {
        return forNumber(value);
      }

      public static TypeCase forNumber(int value) {
        switch (value) {
          case 1: return ERROR;
          case 0: return TYPE_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    @java.lang.Override
    public TypeCase
    getTypeCase() {
      return TypeCase.forNumber(
          typeCase_);
    }

    private void clearType() {
      typeCase_ = 0;
      type_ = null;
    }

    public static final int ERROR_FIELD_NUMBER = 1;
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserIdResponse.Error error = 1;</code>
     */
    @java.lang.Override
    public boolean hasError() {
      return typeCase_ == 1;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserIdResponse.Error error = 1;</code>
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error getError() {
      if (typeCase_ == 1) {
         return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error) type_;
      }
      return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error.getDefaultInstance();
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserIdResponse.Error error = 1;</code>
     */
    private void setError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error value) {
      value.getClass();
  type_ = value;
      typeCase_ = 1;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserIdResponse.Error error = 1;</code>
     */
    private void mergeError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error value) {
      value.getClass();
  if (typeCase_ == 1 &&
          type_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error.getDefaultInstance()) {
        type_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error) type_)
            .mergeFrom(value).buildPartial();
      } else {
        type_ = value;
      }
      typeCase_ = 1;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserIdResponse.Error error = 1;</code>
     */
    private void clearError() {
      if (typeCase_ == 1) {
        typeCase_ = 0;
        type_ = null;
      }
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Ответ на запрос удаления пуш-токенов по идентификатору пользователя
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.DeletePushTokenUserIdResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.DeletePushTokenUserIdResponse)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponseOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }

      @java.lang.Override
      public TypeCase
          getTypeCase() {
        return instance.getTypeCase();
      }

      public Builder clearType() {
        copyOnWrite();
        instance.clearType();
        return this;
      }


      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenUserIdResponse.Error error = 1;</code>
       */
      @java.lang.Override
      public boolean hasError() {
        return instance.hasError();
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenUserIdResponse.Error error = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error getError() {
        return instance.getError();
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenUserIdResponse.Error error = 1;</code>
       */
      public Builder setError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error value) {
        copyOnWrite();
        instance.setError(value);
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenUserIdResponse.Error error = 1;</code>
       */
      public Builder setError(
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error.Builder builderForValue) {
        copyOnWrite();
        instance.setError(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenUserIdResponse.Error error = 1;</code>
       */
      public Builder mergeError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error value) {
        copyOnWrite();
        instance.mergeError(value);
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenUserIdResponse.Error error = 1;</code>
       */
      public Builder clearError() {
        copyOnWrite();
        instance.clearError();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.DeletePushTokenUserIdResponse)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "type_",
              "typeCase_",
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.Error.class,
            };
            java.lang.String info =
                "\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.DeletePushTokenUserIdResponse)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse DEFAULT_INSTANCE;
    static {
      DeletePushTokenUserIdResponse defaultInstance = new DeletePushTokenUserIdResponse();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        DeletePushTokenUserIdResponse.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserIdResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<DeletePushTokenUserIdResponse> PARSER;

    public static com.google.protobuf.Parser<DeletePushTokenUserIdResponse> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface DeletePushTokenUserAppIdRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.DeletePushTokenUserAppIdRequest)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The userAppId.
     */
    java.lang.String getUserAppId();
    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The bytes for userAppId.
     */
    com.google.protobuf.ByteString
        getUserAppIdBytes();
  }
  /**
   * <pre>
   * Запрос удаления пуш-токена по идентификатору устройства пользователя
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.DeletePushTokenUserAppIdRequest}
   */
  public  static final class DeletePushTokenUserAppIdRequest extends
      com.google.protobuf.GeneratedMessageLite<
          DeletePushTokenUserAppIdRequest, DeletePushTokenUserAppIdRequest.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.DeletePushTokenUserAppIdRequest)
      DeletePushTokenUserAppIdRequestOrBuilder {
    private DeletePushTokenUserAppIdRequest() {
      userAppId_ = "";
    }
    public static final int USER_APP_ID_FIELD_NUMBER = 1;
    private java.lang.String userAppId_;
    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The userAppId.
     */
    @java.lang.Override
    public java.lang.String getUserAppId() {
      return userAppId_;
    }
    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The bytes for userAppId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUserAppIdBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(userAppId_);
    }
    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The userAppId to set.
     */
    private void setUserAppId(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  
      userAppId_ = value;
    }
    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private void clearUserAppId() {

      userAppId_ = getDefaultInstance().getUserAppId();
    }
    /**
     * <pre>
     * Идентификатор устройства пользователя.
     * # Тип: Guid
     * </pre>
     *
     * <code>string user_app_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The bytes for userAppId to set.
     */
    private void setUserAppIdBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      userAppId_ = value.toStringUtf8();

    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Запрос удаления пуш-токена по идентификатору устройства пользователя
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.DeletePushTokenUserAppIdRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.DeletePushTokenUserAppIdRequest)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequestOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * Идентификатор устройства пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>string user_app_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The userAppId.
       */
      @java.lang.Override
      public java.lang.String getUserAppId() {
        return instance.getUserAppId();
      }
      /**
       * <pre>
       * Идентификатор устройства пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>string user_app_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The bytes for userAppId.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getUserAppIdBytes() {
        return instance.getUserAppIdBytes();
      }
      /**
       * <pre>
       * Идентификатор устройства пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>string user_app_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The userAppId to set.
       * @return This builder for chaining.
       */
      public Builder setUserAppId(
          java.lang.String value) {
        copyOnWrite();
        instance.setUserAppId(value);
        return this;
      }
      /**
       * <pre>
       * Идентификатор устройства пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>string user_app_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return This builder for chaining.
       */
      public Builder clearUserAppId() {
        copyOnWrite();
        instance.clearUserAppId();
        return this;
      }
      /**
       * <pre>
       * Идентификатор устройства пользователя.
       * # Тип: Guid
       * </pre>
       *
       * <code>string user_app_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The bytes for userAppId to set.
       * @return This builder for chaining.
       */
      public Builder setUserAppIdBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setUserAppIdBytes(value);
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.DeletePushTokenUserAppIdRequest)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "userAppId_",
            };
            java.lang.String info =
                "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0208";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.DeletePushTokenUserAppIdRequest)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest DEFAULT_INSTANCE;
    static {
      DeletePushTokenUserAppIdRequest defaultInstance = new DeletePushTokenUserAppIdRequest();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        DeletePushTokenUserAppIdRequest.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<DeletePushTokenUserAppIdRequest> PARSER;

    public static com.google.protobuf.Parser<DeletePushTokenUserAppIdRequest> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface DeletePushTokenUserAppIdResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.DeletePushTokenUserAppIdResponse)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error error = 1;</code>
     * @return Whether the error field is set.
     */
    boolean hasError();
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error error = 1;</code>
     * @return The error.
     */
    ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error getError();

    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.TypeCase getTypeCase();
  }
  /**
   * <pre>
   * Ответ на запрос удаления пуш-токена по идентификатору устройства пользователя
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.DeletePushTokenUserAppIdResponse}
   */
  public  static final class DeletePushTokenUserAppIdResponse extends
      com.google.protobuf.GeneratedMessageLite<
          DeletePushTokenUserAppIdResponse, DeletePushTokenUserAppIdResponse.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.DeletePushTokenUserAppIdResponse)
      DeletePushTokenUserAppIdResponseOrBuilder {
    private DeletePushTokenUserAppIdResponse() {
    }
    public interface ErrorOrBuilder extends
        // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error)
        com.google.protobuf.MessageLiteOrBuilder {

      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       * @return Whether the validation field is set.
       */
      boolean hasValidation();
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       * @return The validation.
       */
      ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation();

      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error.ReasonCase getReasonCase();
    }
    /**
     * <pre>
     * Ошибка удаления пуш-токена
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error}
     */
    public  static final class Error extends
        com.google.protobuf.GeneratedMessageLite<
            Error, Error.Builder> implements
        // @@protoc_insertion_point(message_implements:keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error)
        ErrorOrBuilder {
      private Error() {
      }
      private int reasonCase_ = 0;
      private java.lang.Object reason_;
      public enum ReasonCase {
        VALIDATION(1),
        REASON_NOT_SET(0);
        private final int value;
        private ReasonCase(int value) {
          this.value = value;
        }
        /**
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static ReasonCase valueOf(int value) {
          return forNumber(value);
        }

        public static ReasonCase forNumber(int value) {
          switch (value) {
            case 1: return VALIDATION;
            case 0: return REASON_NOT_SET;
            default: return null;
          }
        }
        public int getNumber() {
          return this.value;
        }
      };

      @java.lang.Override
      public ReasonCase
      getReasonCase() {
        return ReasonCase.forNumber(
            reasonCase_);
      }

      private void clearReason() {
        reasonCase_ = 0;
        reason_ = null;
      }

      public static final int VALIDATION_FIELD_NUMBER = 1;
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      @java.lang.Override
      public boolean hasValidation() {
        return reasonCase_ == 1;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation() {
        if (reasonCase_ == 1) {
           return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError) reason_;
        }
        return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.getDefaultInstance();
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      private void setValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
        value.getClass();
  reason_ = value;
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      private void mergeValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
        value.getClass();
  if (reasonCase_ == 1 &&
            reason_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.getDefaultInstance()) {
          reason_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError) reason_)
              .mergeFrom(value).buildPartial();
        } else {
          reason_ = value;
        }
        reasonCase_ = 1;
      }
      /**
       * <pre>
       * Ошибка валидации
       * </pre>
       *
       * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
       */
      private void clearValidation() {
        if (reasonCase_ == 1) {
          reasonCase_ = 0;
          reason_ = null;
        }
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error parseFrom(
          com.google.protobuf.ByteString data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, data, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error parseFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error parseDelimitedFrom(
          java.io.InputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input);
      }
      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageLite.parseFrom(
            DEFAULT_INSTANCE, input, extensionRegistry);
      }

      public static Builder newBuilder() {
        return (Builder) DEFAULT_INSTANCE.createBuilder();
      }
      public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error prototype) {
        return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
      }

      /**
       * <pre>
       * Ошибка удаления пуш-токена
       * </pre>
       *
       * Protobuf type {@code keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageLite.Builder<
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error, Builder> implements
          // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error)
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.ErrorOrBuilder {
        // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error.newBuilder()
        private Builder() {
          super(DEFAULT_INSTANCE);
        }

        @java.lang.Override
        public ReasonCase
            getReasonCase() {
          return instance.getReasonCase();
        }

        public Builder clearReason() {
          copyOnWrite();
          instance.clearReason();
          return this;
        }


        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        @java.lang.Override
        public boolean hasValidation() {
          return instance.hasValidation();
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        @java.lang.Override
        public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getValidation() {
          return instance.getValidation();
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        public Builder setValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
          copyOnWrite();
          instance.setValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        public Builder setValidation(
            ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.Builder builderForValue) {
          copyOnWrite();
          instance.setValidation(builderForValue.build());
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        public Builder mergeValidation(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError value) {
          copyOnWrite();
          instance.mergeValidation(value);
          return this;
        }
        /**
         * <pre>
         * Ошибка валидации
         * </pre>
         *
         * <code>.keyapis.notification.v1.ValidationError validation = 1;</code>
         */
        public Builder clearValidation() {
          copyOnWrite();
          instance.clearValidation();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error)
      }
      @java.lang.Override
      @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
      protected final java.lang.Object dynamicMethod(
          com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
          java.lang.Object arg0, java.lang.Object arg1) {
        switch (method) {
          case NEW_MUTABLE_INSTANCE: {
            return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error();
          }
          case NEW_BUILDER: {
            return new Builder();
          }
          case BUILD_MESSAGE_INFO: {
              java.lang.Object[] objects = new java.lang.Object[] {
                "reason_",
                "reasonCase_",
                ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.class,
              };
              java.lang.String info =
                  "\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
              return newMessageInfo(DEFAULT_INSTANCE, info, objects);
          }
          // fall through
          case GET_DEFAULT_INSTANCE: {
            return DEFAULT_INSTANCE;
          }
          case GET_PARSER: {
            com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error> parser = PARSER;
            if (parser == null) {
              synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error.class) {
                parser = PARSER;
                if (parser == null) {
                  parser =
                      new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error>(
                          DEFAULT_INSTANCE);
                  PARSER = parser;
                }
              }
            }
            return parser;
        }
        case GET_MEMOIZED_IS_INITIALIZED: {
          return (byte) 1;
        }
        case SET_MEMOIZED_IS_INITIALIZED: {
          return null;
        }
        }
        throw new UnsupportedOperationException();
      }


      // @@protoc_insertion_point(class_scope:keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error)
      private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error DEFAULT_INSTANCE;
      static {
        Error defaultInstance = new Error();
        // New instances are implicitly immutable so no need to make
        // immutable.
        DEFAULT_INSTANCE = defaultInstance;
        com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
          Error.class, defaultInstance);
      }

      public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static volatile com.google.protobuf.Parser<Error> PARSER;

      public static com.google.protobuf.Parser<Error> parser() {
        return DEFAULT_INSTANCE.getParserForType();
      }
    }

    private int typeCase_ = 0;
    private java.lang.Object type_;
    public enum TypeCase {
      ERROR(1),
      TYPE_NOT_SET(0);
      private final int value;
      private TypeCase(int value) {
        this.value = value;
      }
      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static TypeCase valueOf(int value) {
        return forNumber(value);
      }

      public static TypeCase forNumber(int value) {
        switch (value) {
          case 1: return ERROR;
          case 0: return TYPE_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    @java.lang.Override
    public TypeCase
    getTypeCase() {
      return TypeCase.forNumber(
          typeCase_);
    }

    private void clearType() {
      typeCase_ = 0;
      type_ = null;
    }

    public static final int ERROR_FIELD_NUMBER = 1;
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error error = 1;</code>
     */
    @java.lang.Override
    public boolean hasError() {
      return typeCase_ == 1;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error error = 1;</code>
     */
    @java.lang.Override
    public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error getError() {
      if (typeCase_ == 1) {
         return (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error) type_;
      }
      return ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error.getDefaultInstance();
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error error = 1;</code>
     */
    private void setError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error value) {
      value.getClass();
  type_ = value;
      typeCase_ = 1;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error error = 1;</code>
     */
    private void mergeError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error value) {
      value.getClass();
  if (typeCase_ == 1 &&
          type_ != ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error.getDefaultInstance()) {
        type_ = ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error.newBuilder((ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error) type_)
            .mergeFrom(value).buildPartial();
      } else {
        type_ = value;
      }
      typeCase_ = 1;
    }
    /**
     * <pre>
     * Ошибка
     * </pre>
     *
     * <code>.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error error = 1;</code>
     */
    private void clearError() {
      if (typeCase_ == 1) {
        typeCase_ = 0;
        type_ = null;
      }
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Ответ на запрос удаления пуш-токена по идентификатору устройства пользователя
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.DeletePushTokenUserAppIdResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.DeletePushTokenUserAppIdResponse)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponseOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }

      @java.lang.Override
      public TypeCase
          getTypeCase() {
        return instance.getTypeCase();
      }

      public Builder clearType() {
        copyOnWrite();
        instance.clearType();
        return this;
      }


      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error error = 1;</code>
       */
      @java.lang.Override
      public boolean hasError() {
        return instance.hasError();
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error error = 1;</code>
       */
      @java.lang.Override
      public ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error getError() {
        return instance.getError();
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error error = 1;</code>
       */
      public Builder setError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error value) {
        copyOnWrite();
        instance.setError(value);
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error error = 1;</code>
       */
      public Builder setError(
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error.Builder builderForValue) {
        copyOnWrite();
        instance.setError(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error error = 1;</code>
       */
      public Builder mergeError(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error value) {
        copyOnWrite();
        instance.mergeError(value);
        return this;
      }
      /**
       * <pre>
       * Ошибка
       * </pre>
       *
       * <code>.keyapis.notification.v1.DeletePushTokenUserAppIdResponse.Error error = 1;</code>
       */
      public Builder clearError() {
        copyOnWrite();
        instance.clearError();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.DeletePushTokenUserAppIdResponse)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "type_",
              "typeCase_",
              ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.Error.class,
            };
            java.lang.String info =
                "\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.DeletePushTokenUserAppIdResponse)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse DEFAULT_INSTANCE;
    static {
      DeletePushTokenUserAppIdResponse defaultInstance = new DeletePushTokenUserAppIdResponse();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        DeletePushTokenUserAppIdResponse.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.DeletePushTokenUserAppIdResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<DeletePushTokenUserAppIdResponse> PARSER;

    public static com.google.protobuf.Parser<DeletePushTokenUserAppIdResponse> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface ValidationErrorOrBuilder extends
      // @@protoc_insertion_point(interface_extends:keyapis.notification.v1.ValidationError)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * Путь к полю в формате наименования прото
     * </pre>
     *
     * <code>string path = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The path.
     */
    java.lang.String getPath();
    /**
     * <pre>
     * Путь к полю в формате наименования прото
     * </pre>
     *
     * <code>string path = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The bytes for path.
     */
    com.google.protobuf.ByteString
        getPathBytes();

    /**
     * <pre>
     * Валидационное сообщение
     * </pre>
     *
     * <code>string message = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The message.
     */
    java.lang.String getMessage();
    /**
     * <pre>
     * Валидационное сообщение
     * </pre>
     *
     * <code>string message = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The bytes for message.
     */
    com.google.protobuf.ByteString
        getMessageBytes();
  }
  /**
   * <pre>
   * Ошибки валидации.
   * Эти проверки выполняются до обращения в базу данных
   * </pre>
   *
   * Protobuf type {@code keyapis.notification.v1.ValidationError}
   */
  public  static final class ValidationError extends
      com.google.protobuf.GeneratedMessageLite<
          ValidationError, ValidationError.Builder> implements
      // @@protoc_insertion_point(message_implements:keyapis.notification.v1.ValidationError)
      ValidationErrorOrBuilder {
    private ValidationError() {
      path_ = "";
      message_ = "";
    }
    public static final int PATH_FIELD_NUMBER = 1;
    private java.lang.String path_;
    /**
     * <pre>
     * Путь к полю в формате наименования прото
     * </pre>
     *
     * <code>string path = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The path.
     */
    @java.lang.Override
    public java.lang.String getPath() {
      return path_;
    }
    /**
     * <pre>
     * Путь к полю в формате наименования прото
     * </pre>
     *
     * <code>string path = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The bytes for path.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getPathBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(path_);
    }
    /**
     * <pre>
     * Путь к полю в формате наименования прото
     * </pre>
     *
     * <code>string path = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The path to set.
     */
    private void setPath(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  
      path_ = value;
    }
    /**
     * <pre>
     * Путь к полю в формате наименования прото
     * </pre>
     *
     * <code>string path = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private void clearPath() {

      path_ = getDefaultInstance().getPath();
    }
    /**
     * <pre>
     * Путь к полю в формате наименования прото
     * </pre>
     *
     * <code>string path = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The bytes for path to set.
     */
    private void setPathBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      path_ = value.toStringUtf8();

    }

    public static final int MESSAGE_FIELD_NUMBER = 2;
    private java.lang.String message_;
    /**
     * <pre>
     * Валидационное сообщение
     * </pre>
     *
     * <code>string message = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The message.
     */
    @java.lang.Override
    public java.lang.String getMessage() {
      return message_;
    }
    /**
     * <pre>
     * Валидационное сообщение
     * </pre>
     *
     * <code>string message = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return The bytes for message.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getMessageBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(message_);
    }
    /**
     * <pre>
     * Валидационное сообщение
     * </pre>
     *
     * <code>string message = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The message to set.
     */
    private void setMessage(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  
      message_ = value;
    }
    /**
     * <pre>
     * Валидационное сообщение
     * </pre>
     *
     * <code>string message = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private void clearMessage() {

      message_ = getDefaultInstance().getMessage();
    }
    /**
     * <pre>
     * Валидационное сообщение
     * </pre>
     *
     * <code>string message = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param value The bytes for message to set.
     */
    private void setMessageBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      message_ = value.toStringUtf8();

    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Ошибки валидации.
     * Эти проверки выполняются до обращения в базу данных
     * </pre>
     *
     * Protobuf type {@code keyapis.notification.v1.ValidationError}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError, Builder> implements
        // @@protoc_insertion_point(builder_implements:keyapis.notification.v1.ValidationError)
        ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationErrorOrBuilder {
      // Construct using ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * Путь к полю в формате наименования прото
       * </pre>
       *
       * <code>string path = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The path.
       */
      @java.lang.Override
      public java.lang.String getPath() {
        return instance.getPath();
      }
      /**
       * <pre>
       * Путь к полю в формате наименования прото
       * </pre>
       *
       * <code>string path = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The bytes for path.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getPathBytes() {
        return instance.getPathBytes();
      }
      /**
       * <pre>
       * Путь к полю в формате наименования прото
       * </pre>
       *
       * <code>string path = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The path to set.
       * @return This builder for chaining.
       */
      public Builder setPath(
          java.lang.String value) {
        copyOnWrite();
        instance.setPath(value);
        return this;
      }
      /**
       * <pre>
       * Путь к полю в формате наименования прото
       * </pre>
       *
       * <code>string path = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return This builder for chaining.
       */
      public Builder clearPath() {
        copyOnWrite();
        instance.clearPath();
        return this;
      }
      /**
       * <pre>
       * Путь к полю в формате наименования прото
       * </pre>
       *
       * <code>string path = 1 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The bytes for path to set.
       * @return This builder for chaining.
       */
      public Builder setPathBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setPathBytes(value);
        return this;
      }

      /**
       * <pre>
       * Валидационное сообщение
       * </pre>
       *
       * <code>string message = 2 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The message.
       */
      @java.lang.Override
      public java.lang.String getMessage() {
        return instance.getMessage();
      }
      /**
       * <pre>
       * Валидационное сообщение
       * </pre>
       *
       * <code>string message = 2 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return The bytes for message.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getMessageBytes() {
        return instance.getMessageBytes();
      }
      /**
       * <pre>
       * Валидационное сообщение
       * </pre>
       *
       * <code>string message = 2 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The message to set.
       * @return This builder for chaining.
       */
      public Builder setMessage(
          java.lang.String value) {
        copyOnWrite();
        instance.setMessage(value);
        return this;
      }
      /**
       * <pre>
       * Валидационное сообщение
       * </pre>
       *
       * <code>string message = 2 [(.google.api.field_behavior) = REQUIRED];</code>
       * @return This builder for chaining.
       */
      public Builder clearMessage() {
        copyOnWrite();
        instance.clearMessage();
        return this;
      }
      /**
       * <pre>
       * Валидационное сообщение
       * </pre>
       *
       * <code>string message = 2 [(.google.api.field_behavior) = REQUIRED];</code>
       * @param value The bytes for message to set.
       * @return This builder for chaining.
       */
      public Builder setMessageBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setMessageBytes(value);
        return this;
      }

      // @@protoc_insertion_point(builder_scope:keyapis.notification.v1.ValidationError)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "path_",
              "message_",
            };
            java.lang.String info =
                "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
                "";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError> parser = PARSER;
          if (parser == null) {
            synchronized (ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:keyapis.notification.v1.ValidationError)
    private static final ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError DEFAULT_INSTANCE;
    static {
      ValidationError defaultInstance = new ValidationError();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        ValidationError.class, defaultInstance);
    }

    public static ru.keyapis.notification.v1.KeyapisNotificationV1Proto.ValidationError getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<ValidationError> PARSER;

    public static com.google.protobuf.Parser<ValidationError> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }


  static {
  }

  // @@protoc_insertion_point(outer_class_scope)
}
