Interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder (0.44.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
TypeDescription
String

The metricName.

getMetricNameBytes()

public abstract ByteString getMetricNameBytes()

The name of the restricted metric.

optional string metric_name = 1;

Returns
TypeDescription
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.v1beta.RestrictedMetricType restricted_metric_types = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
RestrictedMetricType

The restrictedMetricTypes at the given index.

getRestrictedMetricTypesCount()

public abstract int getRestrictedMetricTypesCount()

The reason for this metric's restriction.

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

Returns
TypeDescription
int

The count of restrictedMetricTypes.

getRestrictedMetricTypesList()

public abstract List<RestrictedMetricType> getRestrictedMetricTypesList()

The reason for this metric's restriction.

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

Returns
TypeDescription
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.v1beta.RestrictedMetricType restricted_metric_types = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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.v1beta.RestrictedMetricType restricted_metric_types = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the metricName field is set.