public static enum TailLogEntriesResponse.SuppressionInfo.Reason extends Enum<TailLogEntriesResponse.SuppressionInfo.Reason> implements com.google.protobuf.ProtocolMessageEnum
An indicator of why entries were omitted.Protobuf enum
google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason
Enum Constant and Description |
---|
NOT_CONSUMED
Indicates suppression occurred due to the client not consuming
responses quickly enough.
|
RATE_LIMIT
Indicates suppression occurred due to relevant entries being
received in excess of rate limits.
|
REASON_UNSPECIFIED
Unexpected default.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
NOT_CONSUMED_VALUE
Indicates suppression occurred due to the client not consuming
responses quickly enough.
|
static int |
RATE_LIMIT_VALUE
Indicates suppression occurred due to relevant entries being
received in excess of rate limits.
|
static int |
REASON_UNSPECIFIED_VALUE
Unexpected default.
|
Modifier and Type | Method and Description |
---|---|
static TailLogEntriesResponse.SuppressionInfo.Reason |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<TailLogEntriesResponse.SuppressionInfo.Reason> |
internalGetValueMap() |
static TailLogEntriesResponse.SuppressionInfo.Reason |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TailLogEntriesResponse.SuppressionInfo.Reason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TailLogEntriesResponse.SuppressionInfo.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TailLogEntriesResponse.SuppressionInfo.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TailLogEntriesResponse.SuppressionInfo.Reason REASON_UNSPECIFIED
Unexpected default.
REASON_UNSPECIFIED = 0;
public static final TailLogEntriesResponse.SuppressionInfo.Reason RATE_LIMIT
Indicates suppression occurred due to relevant entries being received in excess of rate limits. For quotas and limits, see [Logging API quotas and limits](https://cloud.google.com/logging/quotas#api-limits).
RATE_LIMIT = 1;
public static final TailLogEntriesResponse.SuppressionInfo.Reason NOT_CONSUMED
Indicates suppression occurred due to the client not consuming responses quickly enough.
NOT_CONSUMED = 2;
public static final TailLogEntriesResponse.SuppressionInfo.Reason UNRECOGNIZED
public static final int REASON_UNSPECIFIED_VALUE
Unexpected default.
REASON_UNSPECIFIED = 0;
public static final int RATE_LIMIT_VALUE
Indicates suppression occurred due to relevant entries being received in excess of rate limits. For quotas and limits, see [Logging API quotas and limits](https://cloud.google.com/logging/quotas#api-limits).
RATE_LIMIT = 1;
public static final int NOT_CONSUMED_VALUE
Indicates suppression occurred due to the client not consuming responses quickly enough.
NOT_CONSUMED = 2;
public static TailLogEntriesResponse.SuppressionInfo.Reason[] values()
for (TailLogEntriesResponse.SuppressionInfo.Reason c : TailLogEntriesResponse.SuppressionInfo.Reason.values()) System.out.println(c);
public static TailLogEntriesResponse.SuppressionInfo.Reason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static TailLogEntriesResponse.SuppressionInfo.Reason valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static TailLogEntriesResponse.SuppressionInfo.Reason forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TailLogEntriesResponse.SuppressionInfo.Reason> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static TailLogEntriesResponse.SuppressionInfo.Reason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.