public final class MetricCompatibility extends GeneratedMessageV3 implements MetricCompatibilityOrBuilder
The compatibility for a single metric.
Protobuf type google.analytics.data.v1beta.MetricCompatibility
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
COMPATIBILITY_FIELD_NUMBER
public static final int COMPATIBILITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int METRIC_METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MetricCompatibility getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MetricCompatibility.Builder newBuilder()
newBuilder(MetricCompatibility prototype)
public static MetricCompatibility.Builder newBuilder(MetricCompatibility prototype)
public static MetricCompatibility parseDelimitedFrom(InputStream input)
public static MetricCompatibility parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MetricCompatibility parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MetricCompatibility parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MetricCompatibility parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MetricCompatibility parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MetricCompatibility parseFrom(CodedInputStream input)
public static MetricCompatibility parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MetricCompatibility parseFrom(InputStream input)
public static MetricCompatibility parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MetricCompatibility parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MetricCompatibility parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MetricCompatibility> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCompatibility()
public Compatibility getCompatibility()
The compatibility of this metric. If the compatibility is COMPATIBLE,
this metric can be successfully added to the report.
optional .google.analytics.data.v1beta.Compatibility compatibility = 2;
getCompatibilityValue()
public int getCompatibilityValue()
The compatibility of this metric. If the compatibility is COMPATIBLE,
this metric can be successfully added to the report.
optional .google.analytics.data.v1beta.Compatibility compatibility = 2;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for compatibility.
|
getDefaultInstanceForType()
public MetricCompatibility getDefaultInstanceForType()
public MetricMetadata getMetricMetadata()
The metric metadata contains the API name for this compatibility
information. The metric metadata also contains other helpful information
like the UI name and description.
optional .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1;
public MetricMetadataOrBuilder getMetricMetadataOrBuilder()
The metric metadata contains the API name for this compatibility
information. The metric metadata also contains other helpful information
like the UI name and description.
optional .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1;
getParserForType()
public Parser<MetricCompatibility> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasCompatibility()
public boolean hasCompatibility()
The compatibility of this metric. If the compatibility is COMPATIBLE,
this metric can be successfully added to the report.
optional .google.analytics.data.v1beta.Compatibility compatibility = 2;
Returns |
Type |
Description |
boolean |
Whether the compatibility field is set.
|
public boolean hasMetricMetadata()
The metric metadata contains the API name for this compatibility
information. The metric metadata also contains other helpful information
like the UI name and description.
optional .google.analytics.data.v1beta.MetricMetadata metric_metadata = 1;
Returns |
Type |
Description |
boolean |
Whether the metricMetadata field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MetricCompatibility.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MetricCompatibility.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MetricCompatibility.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides