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

POGOProtos.Enums.EncounterTypeOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Enums;

public final class EncounterTypeOuterClass {
  private EncounterTypeOuterClass() {}
  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.EncounterType}
   */
  public enum EncounterType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * SPAWN_POINT = 0;
     */
    SPAWN_POINT(0),
    /**
     * INCENSE = 1;
     */
    INCENSE(1),
    /**
     * DISK = 2;
     */
    DISK(2),
    /**
     * POST_RAID = 3;
     */
    POST_RAID(3),
    /**
     * STORY_QUEST = 4;
     */
    STORY_QUEST(4),
    /**
     * QUEST_STAMP_CARD = 5;
     */
    QUEST_STAMP_CARD(5),
    /**
     * CHALLENGE_QUEST = 6;
     */
    CHALLENGE_QUEST(6),
    /**
     * PHOTOBOMB = 7;
     */
    PHOTOBOMB(7),
    UNRECOGNIZED(-1),
    ;

    /**
     * SPAWN_POINT = 0;
     */
    public static final int SPAWN_POINT_VALUE = 0;
    /**
     * INCENSE = 1;
     */
    public static final int INCENSE_VALUE = 1;
    /**
     * DISK = 2;
     */
    public static final int DISK_VALUE = 2;
    /**
     * POST_RAID = 3;
     */
    public static final int POST_RAID_VALUE = 3;
    /**
     * STORY_QUEST = 4;
     */
    public static final int STORY_QUEST_VALUE = 4;
    /**
     * QUEST_STAMP_CARD = 5;
     */
    public static final int QUEST_STAMP_CARD_VALUE = 5;
    /**
     * CHALLENGE_QUEST = 6;
     */
    public static final int CHALLENGE_QUEST_VALUE = 6;
    /**
     * PHOTOBOMB = 7;
     */
    public static final int PHOTOBOMB_VALUE = 7;


    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 EncounterType valueOf(int value) {
      return forNumber(value);
    }

    public static EncounterType forNumber(int value) {
      switch (value) {
        case 0: return SPAWN_POINT;
        case 1: return INCENSE;
        case 2: return DISK;
        case 3: return POST_RAID;
        case 4: return STORY_QUEST;
        case 5: return QUEST_STAMP_CARD;
        case 6: return CHALLENGE_QUEST;
        case 7: return PHOTOBOMB;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        EncounterType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public EncounterType findValueByNumber(int number) {
              return EncounterType.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.EncounterTypeOuterClass.getDescriptor().getEnumTypes().get(0);
    }

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

    public static EncounterType 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 EncounterType(int value) {
      this.value = value;
    }

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


  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/EncounterType.proto\022\020" +
      "POGOProtos.Enums*\221\001\n\rEncounterType\022\017\n\013SP" +
      "AWN_POINT\020\000\022\013\n\007INCENSE\020\001\022\010\n\004DISK\020\002\022\r\n\tPO" +
      "ST_RAID\020\003\022\017\n\013STORY_QUEST\020\004\022\024\n\020QUEST_STAM" +
      "P_CARD\020\005\022\023\n\017CHALLENGE_QUEST\020\006\022\r\n\tPHOTOBO" +
      "MB\020\007b\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