Package com.google.analytics.data.v1beta
Interface MetricCompatibilityOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetricCompatibility,MetricCompatibility.Builder
@Generated
public interface MetricCompatibilityOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe compatibility of this metric.intThe compatibility of this metric.The metric metadata contains the API name for this compatibility information.The metric metadata contains the API name for this compatibility information.booleanThe compatibility of this metric.booleanThe metric metadata contains the API name for this compatibility information.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasMetricMetadata
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:
- Whether the metricMetadata field is set.
-
getMetricMetadata
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;- Returns:
- The metricMetadata.
-
getMetricMetadataOrBuilder
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; -
hasCompatibility
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:
- Whether the compatibility field is set.
-
getCompatibilityValue
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:
- The enum numeric value on the wire for compatibility.
-
getCompatibility
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;- Returns:
- The compatibility.
-