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

main.java.com.streamlayer.sports.hockey.HockeyPlayerPosition Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: streamlayer/sports/hockey/hockey.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.sports.hockey;

/**
 * Protobuf enum {@code streamlayer.sports.hockey.HockeyPlayerPosition}
 */
public enum HockeyPlayerPosition
    implements com.google.protobuf.Internal.EnumLite {
  /**
   * HOCKEY_PLAYER_POSITION_UNSET = 0;
   */
  HOCKEY_PLAYER_POSITION_UNSET(0),
  /**
   * HOCKEY_PLAYER_POSITION_CENTER = 1;
   */
  HOCKEY_PLAYER_POSITION_CENTER(1),
  /**
   * HOCKEY_PLAYER_POSITION_LEFT_WIND = 2;
   */
  HOCKEY_PLAYER_POSITION_LEFT_WIND(2),
  /**
   * HOCKEY_PLAYER_POSITION_RIGHT_WING = 3;
   */
  HOCKEY_PLAYER_POSITION_RIGHT_WING(3),
  /**
   * HOCKEY_PLAYER_POSITION_DEFENSE = 4;
   */
  HOCKEY_PLAYER_POSITION_DEFENSE(4),
  /**
   * HOCKEY_PLAYER_POSITION_GOALTENDER = 5;
   */
  HOCKEY_PLAYER_POSITION_GOALTENDER(5),
  UNRECOGNIZED(-1),
  ;

  /**
   * HOCKEY_PLAYER_POSITION_UNSET = 0;
   */
  public static final int HOCKEY_PLAYER_POSITION_UNSET_VALUE = 0;
  /**
   * HOCKEY_PLAYER_POSITION_CENTER = 1;
   */
  public static final int HOCKEY_PLAYER_POSITION_CENTER_VALUE = 1;
  /**
   * HOCKEY_PLAYER_POSITION_LEFT_WIND = 2;
   */
  public static final int HOCKEY_PLAYER_POSITION_LEFT_WIND_VALUE = 2;
  /**
   * HOCKEY_PLAYER_POSITION_RIGHT_WING = 3;
   */
  public static final int HOCKEY_PLAYER_POSITION_RIGHT_WING_VALUE = 3;
  /**
   * HOCKEY_PLAYER_POSITION_DEFENSE = 4;
   */
  public static final int HOCKEY_PLAYER_POSITION_DEFENSE_VALUE = 4;
  /**
   * HOCKEY_PLAYER_POSITION_GOALTENDER = 5;
   */
  public static final int HOCKEY_PLAYER_POSITION_GOALTENDER_VALUE = 5;


  @java.lang.Override
  public final int getNumber() {
    if (this == UNRECOGNIZED) {
      throw new java.lang.IllegalArgumentException(
          "Can't get the number of an unknown enum value.");
    }
    return value;
  }

  /**
   * @param value The number of the enum to look for.
   * @return The enum associated with the given number.
   * @deprecated Use {@link #forNumber(int)} instead.
   */
  @java.lang.Deprecated
  public static HockeyPlayerPosition valueOf(int value) {
    return forNumber(value);
  }

  public static HockeyPlayerPosition forNumber(int value) {
    switch (value) {
      case 0: return HOCKEY_PLAYER_POSITION_UNSET;
      case 1: return HOCKEY_PLAYER_POSITION_CENTER;
      case 2: return HOCKEY_PLAYER_POSITION_LEFT_WIND;
      case 3: return HOCKEY_PLAYER_POSITION_RIGHT_WING;
      case 4: return HOCKEY_PLAYER_POSITION_DEFENSE;
      case 5: return HOCKEY_PLAYER_POSITION_GOALTENDER;
      default: return null;
    }
  }

  public static com.google.protobuf.Internal.EnumLiteMap
      internalGetValueMap() {
    return internalValueMap;
  }
  private static final com.google.protobuf.Internal.EnumLiteMap<
      HockeyPlayerPosition> internalValueMap =
        new com.google.protobuf.Internal.EnumLiteMap() {
          @java.lang.Override
          public HockeyPlayerPosition findValueByNumber(int number) {
            return HockeyPlayerPosition.forNumber(number);
          }
        };

  public static com.google.protobuf.Internal.EnumVerifier 
      internalGetVerifier() {
    return HockeyPlayerPositionVerifier.INSTANCE;
  }

  private static final class HockeyPlayerPositionVerifier implements 
       com.google.protobuf.Internal.EnumVerifier { 
          static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new HockeyPlayerPositionVerifier();
          @java.lang.Override
          public boolean isInRange(int number) {
            return HockeyPlayerPosition.forNumber(number) != null;
          }
        };

  private final int value;

  private HockeyPlayerPosition(int value) {
    this.value = value;
  }

  // @@protoc_insertion_point(enum_scope:streamlayer.sports.hockey.HockeyPlayerPosition)
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy