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

POGOProtos.Enums.CameraTypeOuterClass Maven / Gradle / Ivy

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

package POGOProtos.Enums;

public final class CameraTypeOuterClass {
  private CameraTypeOuterClass() {}
  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.CameraType}
   */
  public enum CameraType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * DEFAULT_CAMERA = 0;
     */
    DEFAULT_CAMERA(0),
    /**
     * SHOULDER = 1;
     */
    SHOULDER(1),
    /**
     * ENEMY_POKEMON_FOCUS = 2;
     */
    ENEMY_POKEMON_FOCUS(2),
    /**
     * MY_POKEMON_FOCUS = 3;
     */
    MY_POKEMON_FOCUS(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * DEFAULT_CAMERA = 0;
     */
    public static final int DEFAULT_CAMERA_VALUE = 0;
    /**
     * SHOULDER = 1;
     */
    public static final int SHOULDER_VALUE = 1;
    /**
     * ENEMY_POKEMON_FOCUS = 2;
     */
    public static final int ENEMY_POKEMON_FOCUS_VALUE = 2;
    /**
     * MY_POKEMON_FOCUS = 3;
     */
    public static final int MY_POKEMON_FOCUS_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 CameraType valueOf(int value) {
      return forNumber(value);
    }

    public static CameraType forNumber(int value) {
      switch (value) {
        case 0: return DEFAULT_CAMERA;
        case 1: return SHOULDER;
        case 2: return ENEMY_POKEMON_FOCUS;
        case 3: return MY_POKEMON_FOCUS;
        default: return null;
      }
    }

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

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

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

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


  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/CameraType.proto\022\020POG" +
      "OProtos.Enums*]\n\nCameraType\022\022\n\016DEFAULT_C" +
      "AMERA\020\000\022\014\n\010SHOULDER\020\001\022\027\n\023ENEMY_POKEMON_F" +
      "OCUS\020\002\022\024\n\020MY_POKEMON_FOCUS\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