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

main.java.com.streamlayer.inplay.common.SelectionResultStatus 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/inplay/common/inplay.common.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.inplay.common;

/**
 * Protobuf enum {@code streamlayer.inplay.common.SelectionResultStatus}
 */
public enum SelectionResultStatus
    implements com.google.protobuf.Internal.EnumLite {
  /**
   * SELECTION_RESULT_STATUS_NONE = 0;
   */
  SELECTION_RESULT_STATUS_NONE(0),
  /**
   * SELECTION_RESULT_STATUS_WINNER = 1;
   */
  SELECTION_RESULT_STATUS_WINNER(1),
  /**
   * SELECTION_RESULT_STATUS_PUSHED = 2;
   */
  SELECTION_RESULT_STATUS_PUSHED(2),
  /**
   * SELECTION_RESULT_STATUS_LOSER = 3;
   */
  SELECTION_RESULT_STATUS_LOSER(3),
  /**
   * SELECTION_RESULT_STATUS_PLACED = 4;
   */
  SELECTION_RESULT_STATUS_PLACED(4),
  /**
   * SELECTION_RESULT_STATUS_PARTIAL = 5;
   */
  SELECTION_RESULT_STATUS_PARTIAL(5),
  UNRECOGNIZED(-1),
  ;

  /**
   * SELECTION_RESULT_STATUS_NONE = 0;
   */
  public static final int SELECTION_RESULT_STATUS_NONE_VALUE = 0;
  /**
   * SELECTION_RESULT_STATUS_WINNER = 1;
   */
  public static final int SELECTION_RESULT_STATUS_WINNER_VALUE = 1;
  /**
   * SELECTION_RESULT_STATUS_PUSHED = 2;
   */
  public static final int SELECTION_RESULT_STATUS_PUSHED_VALUE = 2;
  /**
   * SELECTION_RESULT_STATUS_LOSER = 3;
   */
  public static final int SELECTION_RESULT_STATUS_LOSER_VALUE = 3;
  /**
   * SELECTION_RESULT_STATUS_PLACED = 4;
   */
  public static final int SELECTION_RESULT_STATUS_PLACED_VALUE = 4;
  /**
   * SELECTION_RESULT_STATUS_PARTIAL = 5;
   */
  public static final int SELECTION_RESULT_STATUS_PARTIAL_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 SelectionResultStatus valueOf(int value) {
    return forNumber(value);
  }

  public static SelectionResultStatus forNumber(int value) {
    switch (value) {
      case 0: return SELECTION_RESULT_STATUS_NONE;
      case 1: return SELECTION_RESULT_STATUS_WINNER;
      case 2: return SELECTION_RESULT_STATUS_PUSHED;
      case 3: return SELECTION_RESULT_STATUS_LOSER;
      case 4: return SELECTION_RESULT_STATUS_PLACED;
      case 5: return SELECTION_RESULT_STATUS_PARTIAL;
      default: return null;
    }
  }

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

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

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

  private final int value;

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

  // @@protoc_insertion_point(enum_scope:streamlayer.inplay.common.SelectionResultStatus)
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy