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

POGOProtos.Enums.BuddySizeOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Enums;

public final class BuddySizeOuterClass {
  private BuddySizeOuterClass() {}
  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.BuddySize}
   */
  public enum BuddySize
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * BUDDY_MEDIUM = 0;
     */
    BUDDY_MEDIUM(0),
    /**
     * BUDDY_SHOULDER = 1;
     */
    BUDDY_SHOULDER(1),
    /**
     * BUDDY_BIG = 2;
     */
    BUDDY_BIG(2),
    /**
     * BUDDY_FLYING = 3;
     */
    BUDDY_FLYING(3),
    /**
     * BUDDY_BABY = 4;
     */
    BUDDY_BABY(4),
    UNRECOGNIZED(-1),
    ;

    /**
     * BUDDY_MEDIUM = 0;
     */
    public static final int BUDDY_MEDIUM_VALUE = 0;
    /**
     * BUDDY_SHOULDER = 1;
     */
    public static final int BUDDY_SHOULDER_VALUE = 1;
    /**
     * BUDDY_BIG = 2;
     */
    public static final int BUDDY_BIG_VALUE = 2;
    /**
     * BUDDY_FLYING = 3;
     */
    public static final int BUDDY_FLYING_VALUE = 3;
    /**
     * BUDDY_BABY = 4;
     */
    public static final int BUDDY_BABY_VALUE = 4;


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

    public static BuddySize forNumber(int value) {
      switch (value) {
        case 0: return BUDDY_MEDIUM;
        case 1: return BUDDY_SHOULDER;
        case 2: return BUDDY_BIG;
        case 3: return BUDDY_FLYING;
        case 4: return BUDDY_BABY;
        default: return null;
      }
    }

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

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

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

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


  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/BuddySize.proto\022\020POGO" +
      "Protos.Enums*b\n\tBuddySize\022\020\n\014BUDDY_MEDIU" +
      "M\020\000\022\022\n\016BUDDY_SHOULDER\020\001\022\r\n\tBUDDY_BIG\020\002\022\020" +
      "\n\014BUDDY_FLYING\020\003\022\016\n\nBUDDY_BABY\020\004b\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