// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: kpi_sample_types.proto

package kpi_sample_types;

public final class KpiSampleTypes {
  private KpiSampleTypes() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code kpi_sample_types.KpiSampleType}
   */
  public enum KpiSampleType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>KPISAMPLETYPE_UNKNOWN = 0;</code>
     */
    KPISAMPLETYPE_UNKNOWN(0),
    /**
     * <code>KPISAMPLETYPE_PACKETS_TRANSMITTED = 101;</code>
     */
    KPISAMPLETYPE_PACKETS_TRANSMITTED(101),
    /**
     * <code>KPISAMPLETYPE_PACKETS_RECEIVED = 102;</code>
     */
    KPISAMPLETYPE_PACKETS_RECEIVED(102),
    /**
     * <code>KPISAMPLETYPE_BYTES_TRANSMITTED = 201;</code>
     */
    KPISAMPLETYPE_BYTES_TRANSMITTED(201),
    /**
     * <code>KPISAMPLETYPE_BYTES_RECEIVED = 202;</code>
     */
    KPISAMPLETYPE_BYTES_RECEIVED(202),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>KPISAMPLETYPE_UNKNOWN = 0;</code>
     */
    public static final int KPISAMPLETYPE_UNKNOWN_VALUE = 0;
    /**
     * <code>KPISAMPLETYPE_PACKETS_TRANSMITTED = 101;</code>
     */
    public static final int KPISAMPLETYPE_PACKETS_TRANSMITTED_VALUE = 101;
    /**
     * <code>KPISAMPLETYPE_PACKETS_RECEIVED = 102;</code>
     */
    public static final int KPISAMPLETYPE_PACKETS_RECEIVED_VALUE = 102;
    /**
     * <code>KPISAMPLETYPE_BYTES_TRANSMITTED = 201;</code>
     */
    public static final int KPISAMPLETYPE_BYTES_TRANSMITTED_VALUE = 201;
    /**
     * <code>KPISAMPLETYPE_BYTES_RECEIVED = 202;</code>
     */
    public static final int KPISAMPLETYPE_BYTES_RECEIVED_VALUE = 202;


    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 KpiSampleType 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 KpiSampleType forNumber(int value) {
      switch (value) {
        case 0: return KPISAMPLETYPE_UNKNOWN;
        case 101: return KPISAMPLETYPE_PACKETS_TRANSMITTED;
        case 102: return KPISAMPLETYPE_PACKETS_RECEIVED;
        case 201: return KPISAMPLETYPE_BYTES_TRANSMITTED;
        case 202: return KPISAMPLETYPE_BYTES_RECEIVED;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<KpiSampleType>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        KpiSampleType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<KpiSampleType>() {
            public KpiSampleType findValueByNumber(int number) {
              return KpiSampleType.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 kpi_sample_types.KpiSampleTypes.getDescriptor().getEnumTypes().get(0);
    }

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

    public static KpiSampleType 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 KpiSampleType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:kpi_sample_types.KpiSampleType)
  }


  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\026kpi_sample_types.proto\022\020kpi_sample_typ" +
      "es*\276\001\n\rKpiSampleType\022\031\n\025KPISAMPLETYPE_UN" +
      "KNOWN\020\000\022%\n!KPISAMPLETYPE_PACKETS_TRANSMI" +
      "TTED\020e\022\"\n\036KPISAMPLETYPE_PACKETS_RECEIVED" +
      "\020f\022$\n\037KPISAMPLETYPE_BYTES_TRANSMITTED\020\311\001" +
      "\022!\n\034KPISAMPLETYPE_BYTES_RECEIVED\020\312\001b\006pro" +
      "to3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
