All Downloads are FREE. Search and download functionalities are using the official Maven repository.

POGOProtos.Enums.PokemonGoPlusIdsOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: POGOProtos/Enums/PokemonGoPlusIds.proto

package POGOProtos.Enums;

public final class PokemonGoPlusIdsOuterClass {
  private PokemonGoPlusIdsOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code POGOProtos.Enums.PokemonGoPlusIds}
   */
  public enum PokemonGoPlusIds
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * UNDEFINED_POKEMON_GO_PLUS_EVENT = 0;
     */
    UNDEFINED_POKEMON_GO_PLUS_EVENT(0),
    /**
     * CANNOT_CONNECT_TO_PGP = 1;
     */
    CANNOT_CONNECT_TO_PGP(1),
    /**
     * REGISTERING_PGP_FAILED = 2;
     */
    REGISTERING_PGP_FAILED(2),
    /**
     * REGISTERING_RETRY = 3;
     */
    REGISTERING_RETRY(3),
    /**
     * CONNECTION_SUCCESS = 4;
     */
    CONNECTION_SUCCESS(4),
    /**
     * PGP_DISCONNECTED_BY_USER = 5;
     */
    PGP_DISCONNECTED_BY_USER(5),
    /**
     * PGP_DISCONNECTED_BY_TIMEOUT = 6;
     */
    PGP_DISCONNECTED_BY_TIMEOUT(6),
    /**
     * PGP_DISCONNECTED_BY_ERROR = 7;
     */
    PGP_DISCONNECTED_BY_ERROR(7),
    /**
     * PGP_LOW_BATTERY = 8;
     */
    PGP_LOW_BATTERY(8),
    /**
     * BLUETOOTH_SENT_ERROR = 9;
     */
    BLUETOOTH_SENT_ERROR(9),
    /**
     * PGP_SEEN_BY_DEVICE = 10;
     */
    PGP_SEEN_BY_DEVICE(10),
    /**
     * POKEMON_CAUGHT = 11;
     */
    POKEMON_CAUGHT(11),
    /**
     * POKEMON_NOT_CAUGHT = 12;
     */
    POKEMON_NOT_CAUGHT(12),
    /**
     * POKEMON_NOT_CAUGHT_DUE_ERROR = 13;
     */
    POKEMON_NOT_CAUGHT_DUE_ERROR(13),
    /**
     * POKESTOP_SPUN = 14;
     */
    POKESTOP_SPUN(14),
    /**
     * POKESTOP_NOT_SPUN_DUE_ERROR = 15;
     */
    POKESTOP_NOT_SPUN_DUE_ERROR(15),
    UNRECOGNIZED(-1),
    ;

    /**
     * UNDEFINED_POKEMON_GO_PLUS_EVENT = 0;
     */
    public static final int UNDEFINED_POKEMON_GO_PLUS_EVENT_VALUE = 0;
    /**
     * CANNOT_CONNECT_TO_PGP = 1;
     */
    public static final int CANNOT_CONNECT_TO_PGP_VALUE = 1;
    /**
     * REGISTERING_PGP_FAILED = 2;
     */
    public static final int REGISTERING_PGP_FAILED_VALUE = 2;
    /**
     * REGISTERING_RETRY = 3;
     */
    public static final int REGISTERING_RETRY_VALUE = 3;
    /**
     * CONNECTION_SUCCESS = 4;
     */
    public static final int CONNECTION_SUCCESS_VALUE = 4;
    /**
     * PGP_DISCONNECTED_BY_USER = 5;
     */
    public static final int PGP_DISCONNECTED_BY_USER_VALUE = 5;
    /**
     * PGP_DISCONNECTED_BY_TIMEOUT = 6;
     */
    public static final int PGP_DISCONNECTED_BY_TIMEOUT_VALUE = 6;
    /**
     * PGP_DISCONNECTED_BY_ERROR = 7;
     */
    public static final int PGP_DISCONNECTED_BY_ERROR_VALUE = 7;
    /**
     * PGP_LOW_BATTERY = 8;
     */
    public static final int PGP_LOW_BATTERY_VALUE = 8;
    /**
     * BLUETOOTH_SENT_ERROR = 9;
     */
    public static final int BLUETOOTH_SENT_ERROR_VALUE = 9;
    /**
     * PGP_SEEN_BY_DEVICE = 10;
     */
    public static final int PGP_SEEN_BY_DEVICE_VALUE = 10;
    /**
     * POKEMON_CAUGHT = 11;
     */
    public static final int POKEMON_CAUGHT_VALUE = 11;
    /**
     * POKEMON_NOT_CAUGHT = 12;
     */
    public static final int POKEMON_NOT_CAUGHT_VALUE = 12;
    /**
     * POKEMON_NOT_CAUGHT_DUE_ERROR = 13;
     */
    public static final int POKEMON_NOT_CAUGHT_DUE_ERROR_VALUE = 13;
    /**
     * POKESTOP_SPUN = 14;
     */
    public static final int POKESTOP_SPUN_VALUE = 14;
    /**
     * POKESTOP_NOT_SPUN_DUE_ERROR = 15;
     */
    public static final int POKESTOP_NOT_SPUN_DUE_ERROR_VALUE = 15;


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

    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static PokemonGoPlusIds valueOf(int value) {
      return forNumber(value);
    }

    public static PokemonGoPlusIds forNumber(int value) {
      switch (value) {
        case 0: return UNDEFINED_POKEMON_GO_PLUS_EVENT;
        case 1: return CANNOT_CONNECT_TO_PGP;
        case 2: return REGISTERING_PGP_FAILED;
        case 3: return REGISTERING_RETRY;
        case 4: return CONNECTION_SUCCESS;
        case 5: return PGP_DISCONNECTED_BY_USER;
        case 6: return PGP_DISCONNECTED_BY_TIMEOUT;
        case 7: return PGP_DISCONNECTED_BY_ERROR;
        case 8: return PGP_LOW_BATTERY;
        case 9: return BLUETOOTH_SENT_ERROR;
        case 10: return PGP_SEEN_BY_DEVICE;
        case 11: return POKEMON_CAUGHT;
        case 12: return POKEMON_NOT_CAUGHT;
        case 13: return POKEMON_NOT_CAUGHT_DUE_ERROR;
        case 14: return POKESTOP_SPUN;
        case 15: return POKESTOP_NOT_SPUN_DUE_ERROR;
        default: return null;
      }
    }

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

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return POGOProtos.Enums.PokemonGoPlusIdsOuterClass.getDescriptor().getEnumTypes().get(0);
    }

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

    public static PokemonGoPlusIds valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:POGOProtos.Enums.PokemonGoPlusIds)
  }

  /**
   * Protobuf enum {@code POGOProtos.Enums.DeviceKind}
   */
  public enum DeviceKind
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * POKEMON_GO_PLUS_KIND = 0;
     */
    POKEMON_GO_PLUS_KIND(0),
    /**
     * POKE_BALL_PLUS = 1;
     */
    POKE_BALL_PLUS(1),
    UNRECOGNIZED(-1),
    ;

    /**
     * POKEMON_GO_PLUS_KIND = 0;
     */
    public static final int POKEMON_GO_PLUS_KIND_VALUE = 0;
    /**
     * POKE_BALL_PLUS = 1;
     */
    public static final int POKE_BALL_PLUS_VALUE = 1;


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

    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static DeviceKind valueOf(int value) {
      return forNumber(value);
    }

    public static DeviceKind forNumber(int value) {
      switch (value) {
        case 0: return POKEMON_GO_PLUS_KIND;
        case 1: return POKE_BALL_PLUS;
        default: return null;
      }
    }

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

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return POGOProtos.Enums.PokemonGoPlusIdsOuterClass.getDescriptor().getEnumTypes().get(1);
    }

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

    public static DeviceKind valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:POGOProtos.Enums.DeviceKind)
  }


  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\'POGOProtos/Enums/PokemonGoPlusIds.prot" +
      "o\022\020POGOProtos.Enums*\304\003\n\020PokemonGoPlusIds" +
      "\022#\n\037UNDEFINED_POKEMON_GO_PLUS_EVENT\020\000\022\031\n" +
      "\025CANNOT_CONNECT_TO_PGP\020\001\022\032\n\026REGISTERING_" +
      "PGP_FAILED\020\002\022\025\n\021REGISTERING_RETRY\020\003\022\026\n\022C" +
      "ONNECTION_SUCCESS\020\004\022\034\n\030PGP_DISCONNECTED_" +
      "BY_USER\020\005\022\037\n\033PGP_DISCONNECTED_BY_TIMEOUT" +
      "\020\006\022\035\n\031PGP_DISCONNECTED_BY_ERROR\020\007\022\023\n\017PGP" +
      "_LOW_BATTERY\020\010\022\030\n\024BLUETOOTH_SENT_ERROR\020\t" +
      "\022\026\n\022PGP_SEEN_BY_DEVICE\020\n\022\022\n\016POKEMON_CAUG" +
      "HT\020\013\022\026\n\022POKEMON_NOT_CAUGHT\020\014\022 \n\034POKEMON_" +
      "NOT_CAUGHT_DUE_ERROR\020\r\022\021\n\rPOKESTOP_SPUN\020" +
      "\016\022\037\n\033POKESTOP_NOT_SPUN_DUE_ERROR\020\017*:\n\nDe" +
      "viceKind\022\030\n\024POKEMON_GO_PLUS_KIND\020\000\022\022\n\016PO" +
      "KE_BALL_PLUS\020\001b\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy