public enum Compatibility extends Enum<Compatibility> implements com.google.protobuf.ProtocolMessageEnum
The compatibility types for a single dimension or metric.Protobuf enum
google.analytics.data.v1beta.Compatibility| Enum Constant and Description |
|---|
COMPATIBILITY_UNSPECIFIED
Unspecified compatibility.
|
COMPATIBLE
The dimension or metric is compatible.
|
INCOMPATIBLE
The dimension or metric is incompatible.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPATIBILITY_UNSPECIFIED_VALUE
Unspecified compatibility.
|
static int |
COMPATIBLE_VALUE
The dimension or metric is compatible.
|
static int |
INCOMPATIBLE_VALUE
The dimension or metric is incompatible.
|
| Modifier and Type | Method and Description |
|---|---|
static Compatibility |
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<Compatibility> |
internalGetValueMap() |
static Compatibility |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Compatibility |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Compatibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Compatibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Compatibility COMPATIBILITY_UNSPECIFIED
Unspecified compatibility.
COMPATIBILITY_UNSPECIFIED = 0;public static final Compatibility COMPATIBLE
The dimension or metric is compatible. This dimension or metric can be successfully added to a report.
COMPATIBLE = 1;public static final Compatibility INCOMPATIBLE
The dimension or metric is incompatible. This dimension or metric cannot be successfully added to a report.
INCOMPATIBLE = 2;public static final Compatibility UNRECOGNIZED
public static final int COMPATIBILITY_UNSPECIFIED_VALUE
Unspecified compatibility.
COMPATIBILITY_UNSPECIFIED = 0;public static final int COMPATIBLE_VALUE
The dimension or metric is compatible. This dimension or metric can be successfully added to a report.
COMPATIBLE = 1;public static final int INCOMPATIBLE_VALUE
The dimension or metric is incompatible. This dimension or metric cannot be successfully added to a report.
INCOMPATIBLE = 2;public static Compatibility[] values()
for (Compatibility c : Compatibility.values()) System.out.println(c);
public static Compatibility 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Compatibility valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Compatibility forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Compatibility> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Compatibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.