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

POGOProtos.Enums.CostumeOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Enums;

public final class CostumeOuterClass {
  private CostumeOuterClass() {}
  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.Costume}
   */
  public enum Costume
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * COSTUME_UNSET = 0;
     */
    COSTUME_UNSET(0),
    /**
     * HOLIDAY_2016 = 1;
     */
    HOLIDAY_2016(1),
    /**
     * ANNIVERSARY = 2;
     */
    ANNIVERSARY(2),
    /**
     * ONE_YEAR_ANNIVERSARY = 3;
     */
    ONE_YEAR_ANNIVERSARY(3),
    /**
     * HALLOWEEN_2017 = 4;
     */
    HALLOWEEN_2017(4),
    /**
     * SUMMER_2018 = 5;
     */
    SUMMER_2018(5),
    /**
     * FALL_2018 = 6;
     */
    FALL_2018(6),
    /**
     * NOVEMBER_2018 = 7;
     */
    NOVEMBER_2018(7),
    /**
     * WINTER_2018 = 8;
     */
    WINTER_2018(8),
    /**
     * FEB_2019 = 9;
     */
    FEB_2019(9),
    UNRECOGNIZED(-1),
    ;

    /**
     * COSTUME_UNSET = 0;
     */
    public static final int COSTUME_UNSET_VALUE = 0;
    /**
     * HOLIDAY_2016 = 1;
     */
    public static final int HOLIDAY_2016_VALUE = 1;
    /**
     * ANNIVERSARY = 2;
     */
    public static final int ANNIVERSARY_VALUE = 2;
    /**
     * ONE_YEAR_ANNIVERSARY = 3;
     */
    public static final int ONE_YEAR_ANNIVERSARY_VALUE = 3;
    /**
     * HALLOWEEN_2017 = 4;
     */
    public static final int HALLOWEEN_2017_VALUE = 4;
    /**
     * SUMMER_2018 = 5;
     */
    public static final int SUMMER_2018_VALUE = 5;
    /**
     * FALL_2018 = 6;
     */
    public static final int FALL_2018_VALUE = 6;
    /**
     * NOVEMBER_2018 = 7;
     */
    public static final int NOVEMBER_2018_VALUE = 7;
    /**
     * WINTER_2018 = 8;
     */
    public static final int WINTER_2018_VALUE = 8;
    /**
     * FEB_2019 = 9;
     */
    public static final int FEB_2019_VALUE = 9;


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

    public static Costume forNumber(int value) {
      switch (value) {
        case 0: return COSTUME_UNSET;
        case 1: return HOLIDAY_2016;
        case 2: return ANNIVERSARY;
        case 3: return ONE_YEAR_ANNIVERSARY;
        case 4: return HALLOWEEN_2017;
        case 5: return SUMMER_2018;
        case 6: return FALL_2018;
        case 7: return NOVEMBER_2018;
        case 8: return WINTER_2018;
        case 9: return FEB_2019;
        default: return null;
      }
    }

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

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

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

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


  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\036POGOProtos/Enums/Costume.proto\022\020POGOPr" +
      "otos.Enums*\277\001\n\007Costume\022\021\n\rCOSTUME_UNSET\020" +
      "\000\022\020\n\014HOLIDAY_2016\020\001\022\017\n\013ANNIVERSARY\020\002\022\030\n\024" +
      "ONE_YEAR_ANNIVERSARY\020\003\022\022\n\016HALLOWEEN_2017" +
      "\020\004\022\017\n\013SUMMER_2018\020\005\022\r\n\tFALL_2018\020\006\022\021\n\rNO" +
      "VEMBER_2018\020\007\022\017\n\013WINTER_2018\020\010\022\014\n\010FEB_20" +
      "19\020\tb\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