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

main.java.com.streamlayer.analytics.studio.v2.AggPeriod 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/v2/studio/dashboard.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.analytics.studio.v2;

/**
 * Protobuf enum {@code streamlayer.analytics.v2.studio.AggPeriod}
 */
public enum AggPeriod
    implements com.google.protobuf.Internal.EnumLite {
  /**
   * AP_UNSET = 0;
   */
  AP_UNSET(0),
  /**
   * 
   * Aggregation period 1 minute
   * 
* * AP_1MIN = 1; */ AP_1MIN(1), /** *
   * Reserved for future use:
   * AP_5MINS = 2;
   * AP_10MINS = 3;
   * AP_15MINS = 4;
   * AP_30MINS = 5;
   * 
* * AP_1HOUR = 10; */ AP_1HOUR(10), /** *
   * Reserved:
   * AP_12HOURS = 11;
   * 
* * AP_1DAY = 20; */ AP_1DAY(20), /** *
   * Reserved:
   * AP_7DAYS = 21;
   * 
* * AP_1MONTH = 30; */ AP_1MONTH(30), UNRECOGNIZED(-1), ; /** * AP_UNSET = 0; */ public static final int AP_UNSET_VALUE = 0; /** *
   * Aggregation period 1 minute
   * 
* * AP_1MIN = 1; */ public static final int AP_1MIN_VALUE = 1; /** *
   * Reserved for future use:
   * AP_5MINS = 2;
   * AP_10MINS = 3;
   * AP_15MINS = 4;
   * AP_30MINS = 5;
   * 
* * AP_1HOUR = 10; */ public static final int AP_1HOUR_VALUE = 10; /** *
   * Reserved:
   * AP_12HOURS = 11;
   * 
* * AP_1DAY = 20; */ public static final int AP_1DAY_VALUE = 20; /** *
   * Reserved:
   * AP_7DAYS = 21;
   * 
* * AP_1MONTH = 30; */ public static final int AP_1MONTH_VALUE = 30; @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 AggPeriod valueOf(int value) { return forNumber(value); } public static AggPeriod forNumber(int value) { switch (value) { case 0: return AP_UNSET; case 1: return AP_1MIN; case 10: return AP_1HOUR; case 20: return AP_1DAY; case 30: return AP_1MONTH; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< AggPeriod> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { @java.lang.Override public AggPeriod findValueByNumber(int number) { return AggPeriod.forNumber(number); } }; public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier() { return AggPeriodVerifier.INSTANCE; } private static final class AggPeriodVerifier implements com.google.protobuf.Internal.EnumVerifier { static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new AggPeriodVerifier(); @java.lang.Override public boolean isInRange(int number) { return AggPeriod.forNumber(number) != null; } }; private final int value; private AggPeriod(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:streamlayer.analytics.v2.studio.AggPeriod) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy