public static enum QueryTimeRange.Period extends java.lang.Enum<QueryTimeRange.Period> implements ProtocolMessageEnum
The supported time ranges.Protobuf enum
google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period
Enum Constant and Description |
---|
PERIOD_1_DAY
Retrieve data for the last day.
|
PERIOD_1_HOUR
Retrieve data for the last hour.
|
PERIOD_1_WEEK
Retrieve data for the last week.
|
PERIOD_30_DAYS
Retrieve data for the last 30 days.
|
PERIOD_6_HOURS
Retrieve data for the last 6 hours.
|
PERIOD_UNSPECIFIED
Do not use.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
PERIOD_1_DAY_VALUE
Retrieve data for the last day.
|
static int |
PERIOD_1_HOUR_VALUE
Retrieve data for the last hour.
|
static int |
PERIOD_1_WEEK_VALUE
Retrieve data for the last week.
|
static int |
PERIOD_30_DAYS_VALUE
Retrieve data for the last 30 days.
|
static int |
PERIOD_6_HOURS_VALUE
Retrieve data for the last 6 hours.
|
static int |
PERIOD_UNSPECIFIED_VALUE
Do not use.
|
Modifier and Type | Method and Description |
---|---|
static QueryTimeRange.Period |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<QueryTimeRange.Period> |
internalGetValueMap() |
static QueryTimeRange.Period |
valueOf(Descriptors.EnumValueDescriptor desc) |
static QueryTimeRange.Period |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static QueryTimeRange.Period |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QueryTimeRange.Period[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryTimeRange.Period PERIOD_UNSPECIFIED
Do not use.
PERIOD_UNSPECIFIED = 0;
public static final QueryTimeRange.Period PERIOD_1_HOUR
Retrieve data for the last hour. Recommended minimum timed count duration: 1 min.
PERIOD_1_HOUR = 1;
public static final QueryTimeRange.Period PERIOD_6_HOURS
Retrieve data for the last 6 hours. Recommended minimum timed count duration: 10 min.
PERIOD_6_HOURS = 2;
public static final QueryTimeRange.Period PERIOD_1_DAY
Retrieve data for the last day. Recommended minimum timed count duration: 1 hour.
PERIOD_1_DAY = 3;
public static final QueryTimeRange.Period PERIOD_1_WEEK
Retrieve data for the last week. Recommended minimum timed count duration: 6 hours.
PERIOD_1_WEEK = 4;
public static final QueryTimeRange.Period PERIOD_30_DAYS
Retrieve data for the last 30 days. Recommended minimum timed count duration: 1 day.
PERIOD_30_DAYS = 5;
public static final QueryTimeRange.Period UNRECOGNIZED
public static final int PERIOD_UNSPECIFIED_VALUE
Do not use.
PERIOD_UNSPECIFIED = 0;
public static final int PERIOD_1_HOUR_VALUE
Retrieve data for the last hour. Recommended minimum timed count duration: 1 min.
PERIOD_1_HOUR = 1;
public static final int PERIOD_6_HOURS_VALUE
Retrieve data for the last 6 hours. Recommended minimum timed count duration: 10 min.
PERIOD_6_HOURS = 2;
public static final int PERIOD_1_DAY_VALUE
Retrieve data for the last day. Recommended minimum timed count duration: 1 hour.
PERIOD_1_DAY = 3;
public static final int PERIOD_1_WEEK_VALUE
Retrieve data for the last week. Recommended minimum timed count duration: 6 hours.
PERIOD_1_WEEK = 4;
public static final int PERIOD_30_DAYS_VALUE
Retrieve data for the last 30 days. Recommended minimum timed count duration: 1 day.
PERIOD_30_DAYS = 5;
public static QueryTimeRange.Period[] values()
for (QueryTimeRange.Period c : QueryTimeRange.Period.values()) System.out.println(c);
public static QueryTimeRange.Period valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static QueryTimeRange.Period valueOf(int value)
forNumber(int)
instead.public static QueryTimeRange.Period forNumber(int value)
public static Internal.EnumLiteMap<QueryTimeRange.Period> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static QueryTimeRange.Period valueOf(Descriptors.EnumValueDescriptor desc)