Interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder (0.60.0)

public static interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetricName()

public abstract String getMetricName()

The name of the restricted metric.

optional string metric_name = 1;

Returns
Type Description
String

The metricName.

getMetricNameBytes()

public abstract ByteString getMetricNameBytes()

The name of the restricted metric.

optional string metric_name = 1;

Returns
Type Description
ByteString

The bytes for metricName.

getRestrictedMetricTypes(int index)

public abstract RestrictedMetricType getRestrictedMetricTypes(int index)

The reason for this metric's restriction.

repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
RestrictedMetricType

The restrictedMetricTypes at the given index.

getRestrictedMetricTypesCount()

public abstract int getRestrictedMetricTypesCount()

The reason for this metric's restriction.

repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;

Returns
Type Description
int

The count of restrictedMetricTypes.

getRestrictedMetricTypesList()

public abstract List<RestrictedMetricType> getRestrictedMetricTypesList()

The reason for this metric's restriction.

repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;

Returns
Type Description
List<RestrictedMetricType>

A list containing the restrictedMetricTypes.

getRestrictedMetricTypesValue(int index)

public abstract int getRestrictedMetricTypesValue(int index)

The reason for this metric's restriction.

repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of restrictedMetricTypes at the given index.

getRestrictedMetricTypesValueList()

public abstract List<Integer> getRestrictedMetricTypesValueList()

The reason for this metric's restriction.

repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for restrictedMetricTypes.

hasMetricName()

public abstract boolean hasMetricName()

The name of the restricted metric.

optional string metric_name = 1;

Returns
Type Description
boolean

Whether the metricName field is set.