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

main.java.com.streamlayer.interactive.feed.PickHistoryStatus 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/interactive/feed/interactive.feed.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.interactive.feed;

/**
 * Protobuf enum {@code streamlayer.interactive.feed.PickHistoryStatus}
 */
public enum PickHistoryStatus
    implements com.google.protobuf.Internal.EnumLite {
  /**
   * PICK_HISTORY_STATUS_UNSET = 0;
   */
  PICK_HISTORY_STATUS_UNSET(0),
  /**
   * PICK_HISTORY_STATUS_WON = 1;
   */
  PICK_HISTORY_STATUS_WON(1),
  /**
   * PICK_HISTORY_STATUS_LOST = 2;
   */
  PICK_HISTORY_STATUS_LOST(2),
  /**
   * PICK_HISTORY_STATUS_DNP = 3;
   */
  PICK_HISTORY_STATUS_DNP(3),
  UNRECOGNIZED(-1),
  ;

  /**
   * PICK_HISTORY_STATUS_UNSET = 0;
   */
  public static final int PICK_HISTORY_STATUS_UNSET_VALUE = 0;
  /**
   * PICK_HISTORY_STATUS_WON = 1;
   */
  public static final int PICK_HISTORY_STATUS_WON_VALUE = 1;
  /**
   * PICK_HISTORY_STATUS_LOST = 2;
   */
  public static final int PICK_HISTORY_STATUS_LOST_VALUE = 2;
  /**
   * PICK_HISTORY_STATUS_DNP = 3;
   */
  public static final int PICK_HISTORY_STATUS_DNP_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 PickHistoryStatus valueOf(int value) {
    return forNumber(value);
  }

  public static PickHistoryStatus forNumber(int value) {
    switch (value) {
      case 0: return PICK_HISTORY_STATUS_UNSET;
      case 1: return PICK_HISTORY_STATUS_WON;
      case 2: return PICK_HISTORY_STATUS_LOST;
      case 3: return PICK_HISTORY_STATUS_DNP;
      default: return null;
    }
  }

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

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

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

  private final int value;

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

  // @@protoc_insertion_point(enum_scope:streamlayer.interactive.feed.PickHistoryStatus)
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy