public enum TimedCountAlignment extends java.lang.Enum<TimedCountAlignment> implements ProtocolMessageEnum
Specifies how the time periods of error group counts are aligned.Protobuf enum
google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment
Enum Constant and Description |
---|
ALIGNMENT_EQUAL_AT_END
The time periods shall be consecutive, have width equal to the
requested duration, and be aligned at the end of the requested time
period.
|
ALIGNMENT_EQUAL_ROUNDED
The time periods shall be consecutive, have width equal to the
requested duration, and be aligned at the `alignment_time` provided in
the request.
|
ERROR_COUNT_ALIGNMENT_UNSPECIFIED
No alignment specified.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ALIGNMENT_EQUAL_AT_END_VALUE
The time periods shall be consecutive, have width equal to the
requested duration, and be aligned at the end of the requested time
period.
|
static int |
ALIGNMENT_EQUAL_ROUNDED_VALUE
The time periods shall be consecutive, have width equal to the
requested duration, and be aligned at the `alignment_time` provided in
the request.
|
static int |
ERROR_COUNT_ALIGNMENT_UNSPECIFIED_VALUE
No alignment specified.
|
Modifier and Type | Method and Description |
---|---|
static TimedCountAlignment |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<TimedCountAlignment> |
internalGetValueMap() |
static TimedCountAlignment |
valueOf(Descriptors.EnumValueDescriptor desc) |
static TimedCountAlignment |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TimedCountAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimedCountAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimedCountAlignment ERROR_COUNT_ALIGNMENT_UNSPECIFIED
No alignment specified.
ERROR_COUNT_ALIGNMENT_UNSPECIFIED = 0;
public static final TimedCountAlignment ALIGNMENT_EQUAL_ROUNDED
The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the `alignment_time` provided in the request. The `alignment_time` does not have to be inside the query period but even if it is outside, only time periods are returned which overlap with the query period. A rounded alignment will typically result in a different size of the first or the last time period.
ALIGNMENT_EQUAL_ROUNDED = 1;
public static final TimedCountAlignment ALIGNMENT_EQUAL_AT_END
The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the end of the requested time period. This can result in a different size of the first time period.
ALIGNMENT_EQUAL_AT_END = 2;
public static final TimedCountAlignment UNRECOGNIZED
public static final int ERROR_COUNT_ALIGNMENT_UNSPECIFIED_VALUE
No alignment specified.
ERROR_COUNT_ALIGNMENT_UNSPECIFIED = 0;
public static final int ALIGNMENT_EQUAL_ROUNDED_VALUE
The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the `alignment_time` provided in the request. The `alignment_time` does not have to be inside the query period but even if it is outside, only time periods are returned which overlap with the query period. A rounded alignment will typically result in a different size of the first or the last time period.
ALIGNMENT_EQUAL_ROUNDED = 1;
public static final int ALIGNMENT_EQUAL_AT_END_VALUE
The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the end of the requested time period. This can result in a different size of the first time period.
ALIGNMENT_EQUAL_AT_END = 2;
public static TimedCountAlignment[] values()
for (TimedCountAlignment c : TimedCountAlignment.values()) System.out.println(c);
public static TimedCountAlignment 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 TimedCountAlignment valueOf(int value)
forNumber(int)
instead.public static TimedCountAlignment forNumber(int value)
public static Internal.EnumLiteMap<TimedCountAlignment> 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 TimedCountAlignment valueOf(Descriptors.EnumValueDescriptor desc)