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

main.java.com.streamlayer.analytics.common.v1.PollOpenedFrom 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/analytics/v1/common/analytics.common.proto

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

/**
 * Protobuf enum {@code streamlayer.analytics.v1.common.PollOpenedFrom}
 */
public enum PollOpenedFrom
    implements com.google.protobuf.Internal.EnumLite {
  /**
   * POLL_OPENED_FROM_UNSET = 0;
   */
  POLL_OPENED_FROM_UNSET(0),
  /**
   * POLL_OPENED_FROM_IN_APP = 1;
   */
  POLL_OPENED_FROM_IN_APP(1),
  /**
   * POLL_OPENED_FROM_HISTORY = 2 [deprecated = true];
   */
  @java.lang.Deprecated
  POLL_OPENED_FROM_HISTORY(2),
  /**
   * POLL_OPENED_FROM_PICK_HISTORY = 3;
   */
  POLL_OPENED_FROM_PICK_HISTORY(3),
  /**
   * POLL_OPENED_FROM_INSIGHT_HISTORY = 4;
   */
  POLL_OPENED_FROM_INSIGHT_HISTORY(4),
  /**
   * POLL_OPENED_FROM_TWEETS_HISTORY = 5;
   */
  POLL_OPENED_FROM_TWEETS_HISTORY(5),
  /**
   * POLL_OPENED_FROM_PROMOTION_HISTORY = 6;
   */
  POLL_OPENED_FROM_PROMOTION_HISTORY(6),
  UNRECOGNIZED(-1),
  ;

  /**
   * POLL_OPENED_FROM_UNSET = 0;
   */
  public static final int POLL_OPENED_FROM_UNSET_VALUE = 0;
  /**
   * POLL_OPENED_FROM_IN_APP = 1;
   */
  public static final int POLL_OPENED_FROM_IN_APP_VALUE = 1;
  /**
   * POLL_OPENED_FROM_HISTORY = 2 [deprecated = true];
   */
  @java.lang.Deprecated public static final int POLL_OPENED_FROM_HISTORY_VALUE = 2;
  /**
   * POLL_OPENED_FROM_PICK_HISTORY = 3;
   */
  public static final int POLL_OPENED_FROM_PICK_HISTORY_VALUE = 3;
  /**
   * POLL_OPENED_FROM_INSIGHT_HISTORY = 4;
   */
  public static final int POLL_OPENED_FROM_INSIGHT_HISTORY_VALUE = 4;
  /**
   * POLL_OPENED_FROM_TWEETS_HISTORY = 5;
   */
  public static final int POLL_OPENED_FROM_TWEETS_HISTORY_VALUE = 5;
  /**
   * POLL_OPENED_FROM_PROMOTION_HISTORY = 6;
   */
  public static final int POLL_OPENED_FROM_PROMOTION_HISTORY_VALUE = 6;


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

  public static PollOpenedFrom forNumber(int value) {
    switch (value) {
      case 0: return POLL_OPENED_FROM_UNSET;
      case 1: return POLL_OPENED_FROM_IN_APP;
      case 2: return POLL_OPENED_FROM_HISTORY;
      case 3: return POLL_OPENED_FROM_PICK_HISTORY;
      case 4: return POLL_OPENED_FROM_INSIGHT_HISTORY;
      case 5: return POLL_OPENED_FROM_TWEETS_HISTORY;
      case 6: return POLL_OPENED_FROM_PROMOTION_HISTORY;
      default: return null;
    }
  }

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

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

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

  private final int value;

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

  // @@protoc_insertion_point(enum_scope:streamlayer.analytics.v1.common.PollOpenedFrom)
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy