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

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

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

/**
 * Protobuf enum {@code streamlayer.interactive.QuestionPosition}
 */
public enum QuestionPosition
    implements com.google.protobuf.Internal.EnumLite {
  /**
   * QUESTION_POSITION_UNSET = 0;
   */
  QUESTION_POSITION_UNSET(0),
  /**
   * QUESTION_POSITION_DEFAULT = 1;
   */
  QUESTION_POSITION_DEFAULT(1),
  /**
   * QUESTION_POSITION_FIXED_BOTTOM = 2;
   */
  QUESTION_POSITION_FIXED_BOTTOM(2),
  UNRECOGNIZED(-1),
  ;

  /**
   * QUESTION_POSITION_UNSET = 0;
   */
  public static final int QUESTION_POSITION_UNSET_VALUE = 0;
  /**
   * QUESTION_POSITION_DEFAULT = 1;
   */
  public static final int QUESTION_POSITION_DEFAULT_VALUE = 1;
  /**
   * QUESTION_POSITION_FIXED_BOTTOM = 2;
   */
  public static final int QUESTION_POSITION_FIXED_BOTTOM_VALUE = 2;


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

  public static QuestionPosition forNumber(int value) {
    switch (value) {
      case 0: return QUESTION_POSITION_UNSET;
      case 1: return QUESTION_POSITION_DEFAULT;
      case 2: return QUESTION_POSITION_FIXED_BOTTOM;
      default: return null;
    }
  }

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

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

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

  private final int value;

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

  // @@protoc_insertion_point(enum_scope:streamlayer.interactive.QuestionPosition)
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy