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

main.java.com.streamlayer.sports.baseball.BaseballBase 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/baseball/baseball.proto

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

/**
 * Protobuf enum {@code streamlayer.sports.baseball.BaseballBase}
 */
public enum BaseballBase
    implements com.google.protobuf.Internal.EnumLite {
  /**
   * BASEBALL_BASE_UNSET = 0;
   */
  BASEBALL_BASE_UNSET(0),
  /**
   * BASEBALL_BASE_FIRST = 1;
   */
  BASEBALL_BASE_FIRST(1),
  /**
   * BASEBALL_BASE_SECOND = 2;
   */
  BASEBALL_BASE_SECOND(2),
  /**
   * BASEBALL_BASE_THIRD = 3;
   */
  BASEBALL_BASE_THIRD(3),
  UNRECOGNIZED(-1),
  ;

  /**
   * BASEBALL_BASE_UNSET = 0;
   */
  public static final int BASEBALL_BASE_UNSET_VALUE = 0;
  /**
   * BASEBALL_BASE_FIRST = 1;
   */
  public static final int BASEBALL_BASE_FIRST_VALUE = 1;
  /**
   * BASEBALL_BASE_SECOND = 2;
   */
  public static final int BASEBALL_BASE_SECOND_VALUE = 2;
  /**
   * BASEBALL_BASE_THIRD = 3;
   */
  public static final int BASEBALL_BASE_THIRD_VALUE = 3;


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

  public static BaseballBase forNumber(int value) {
    switch (value) {
      case 0: return BASEBALL_BASE_UNSET;
      case 1: return BASEBALL_BASE_FIRST;
      case 2: return BASEBALL_BASE_SECOND;
      case 3: return BASEBALL_BASE_THIRD;
      default: return null;
    }
  }

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

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

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

  private final int value;

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

  // @@protoc_insertion_point(enum_scope:streamlayer.sports.baseball.BaseballBase)
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy