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

POGOProtos.Enums.CombatRewardStatusOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Enums;

public final class CombatRewardStatusOuterClass {
  private CombatRewardStatusOuterClass() {}
  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.CombatRewardStatus}
   */
  public enum CombatRewardStatus
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * UNSET_REWARD_STATUS = 0;
     */
    UNSET_REWARD_STATUS(0),
    /**
     * REWARDS_GRANTED = 1;
     */
    REWARDS_GRANTED(1),
    /**
     * MAX_REWARDS_RECEIVED = 2;
     */
    MAX_REWARDS_RECEIVED(2),
    /**
     * PLAYER_BAG_FULL = 3;
     */
    PLAYER_BAG_FULL(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * UNSET_REWARD_STATUS = 0;
     */
    public static final int UNSET_REWARD_STATUS_VALUE = 0;
    /**
     * REWARDS_GRANTED = 1;
     */
    public static final int REWARDS_GRANTED_VALUE = 1;
    /**
     * MAX_REWARDS_RECEIVED = 2;
     */
    public static final int MAX_REWARDS_RECEIVED_VALUE = 2;
    /**
     * PLAYER_BAG_FULL = 3;
     */
    public static final int PLAYER_BAG_FULL_VALUE = 3;


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

    public static CombatRewardStatus forNumber(int value) {
      switch (value) {
        case 0: return UNSET_REWARD_STATUS;
        case 1: return REWARDS_GRANTED;
        case 2: return MAX_REWARDS_RECEIVED;
        case 3: return PLAYER_BAG_FULL;
        default: return null;
      }
    }

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

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

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

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


  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/CombatRewardStatus.pr" +
      "oto\022\020POGOProtos.Enums*q\n\022CombatRewardSta" +
      "tus\022\027\n\023UNSET_REWARD_STATUS\020\000\022\023\n\017REWARDS_" +
      "GRANTED\020\001\022\030\n\024MAX_REWARDS_RECEIVED\020\002\022\023\n\017P" +
      "LAYER_BAG_FULL\020\003b\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