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

com.craxiom.messaging.wifi.Standard Maven / Gradle / Ivy

There is a newer version: 1.6.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: com/craxiom/messaging/wifi/standard/standard.proto
// Protobuf Java Version: 4.27.3

package com.craxiom.messaging.wifi;

/**
 * Protobuf enum {@code com.craxiom.messaging.wifi.standard.Standard}
 */
public enum Standard
    implements com.google.protobuf.ProtocolMessageEnum {
  /**
   * UNKNOWN = 0;
   */
  UNKNOWN(0),
  /**
   * IEEE80211 = 1;
   */
  IEEE80211(1),
  /**
   * IEEE80211A = 2;
   */
  IEEE80211A(2),
  /**
   * IEEE80211B = 3;
   */
  IEEE80211B(3),
  /**
   * IEEE80211G = 4;
   */
  IEEE80211G(4),
  /**
   * IEEE80211BG = 5;
   */
  IEEE80211BG(5),
  /**
   * IEEE80211N = 6;
   */
  IEEE80211N(6),
  /**
   * IEEE80211AC = 7;
   */
  IEEE80211AC(7),
  /**
   * IEEE80211AX = 8;
   */
  IEEE80211AX(8),
  /**
   * IEEE80211BE = 9;
   */
  IEEE80211BE(9),
  UNRECOGNIZED(-1),
  ;

  static {
    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
      com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
      /* major= */ 4,
      /* minor= */ 27,
      /* patch= */ 3,
      /* suffix= */ "",
      Standard.class.getName());
  }
  /**
   * UNKNOWN = 0;
   */
  public static final int UNKNOWN_VALUE = 0;
  /**
   * IEEE80211 = 1;
   */
  public static final int IEEE80211_VALUE = 1;
  /**
   * IEEE80211A = 2;
   */
  public static final int IEEE80211A_VALUE = 2;
  /**
   * IEEE80211B = 3;
   */
  public static final int IEEE80211B_VALUE = 3;
  /**
   * IEEE80211G = 4;
   */
  public static final int IEEE80211G_VALUE = 4;
  /**
   * IEEE80211BG = 5;
   */
  public static final int IEEE80211BG_VALUE = 5;
  /**
   * IEEE80211N = 6;
   */
  public static final int IEEE80211N_VALUE = 6;
  /**
   * IEEE80211AC = 7;
   */
  public static final int IEEE80211AC_VALUE = 7;
  /**
   * IEEE80211AX = 8;
   */
  public static final int IEEE80211AX_VALUE = 8;
  /**
   * IEEE80211BE = 9;
   */
  public static final int IEEE80211BE_VALUE = 9;


  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 numeric wire value of the corresponding enum entry.
   * @return The enum associated with the given numeric wire value.
   * @deprecated Use {@link #forNumber(int)} instead.
   */
  @java.lang.Deprecated
  public static Standard valueOf(int value) {
    return forNumber(value);
  }

  /**
   * @param value The numeric wire value of the corresponding enum entry.
   * @return The enum associated with the given numeric wire value.
   */
  public static Standard forNumber(int value) {
    switch (value) {
      case 0: return UNKNOWN;
      case 1: return IEEE80211;
      case 2: return IEEE80211A;
      case 3: return IEEE80211B;
      case 4: return IEEE80211G;
      case 5: return IEEE80211BG;
      case 6: return IEEE80211N;
      case 7: return IEEE80211AC;
      case 8: return IEEE80211AX;
      case 9: return IEEE80211BE;
      default: return null;
    }
  }

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

  public final com.google.protobuf.Descriptors.EnumValueDescriptor
      getValueDescriptor() {
    if (this == UNRECOGNIZED) {
      throw new java.lang.IllegalStateException(
          "Can't get the descriptor of an unrecognized enum value.");
    }
    return getDescriptor().getValues().get(ordinal());
  }
  public final com.google.protobuf.Descriptors.EnumDescriptor
      getDescriptorForType() {
    return getDescriptor();
  }
  public static final com.google.protobuf.Descriptors.EnumDescriptor
      getDescriptor() {
    return com.craxiom.messaging.wifi.StandardOuterClass.getDescriptor().getEnumTypes().get(0);
  }

  private static final Standard[] VALUES = values();

  public static Standard valueOf(
      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
    if (desc.getType() != getDescriptor()) {
      throw new java.lang.IllegalArgumentException(
        "EnumValueDescriptor is not for this type.");
    }
    if (desc.getIndex() == -1) {
      return UNRECOGNIZED;
    }
    return VALUES[desc.getIndex()];
  }

  private final int value;

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

  // @@protoc_insertion_point(enum_scope:com.craxiom.messaging.wifi.standard.Standard)
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy