Interface MetricCompatibilityOrBuilder (0.24.0)

public interface MetricCompatibilityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCompatibility()

public abstract 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
TypeDescription
Compatibility

The compatibility.

getCompatibilityValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for compatibility.

getMetricMetadata()

public abstract 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
TypeDescription
MetricMetadata

The metricMetadata.

getMetricMetadataOrBuilder()

public abstract 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;

Returns
TypeDescription
MetricMetadataOrBuilder

hasCompatibility()

public abstract 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
TypeDescription
boolean

Whether the compatibility field is set.

hasMetricMetadata()

public abstract 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
TypeDescription
boolean

Whether the metricMetadata field is set.