public static interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getMetricName()
public abstract String getMetricName()The name of the restricted metric.
optional string metric_name = 1;
| Type | Description |
| String | The metricName. |
getMetricNameBytes()
public abstract ByteString getMetricNameBytes()The name of the restricted metric.
optional string metric_name = 1;
| 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.v1beta.RestrictedMetricType restricted_metric_types = 2;
| Name | Description |
| index | intThe index of the element to return. |
| 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.v1beta.RestrictedMetricType restricted_metric_types = 2;
| Type | Description |
| 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;
| 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.v1beta.RestrictedMetricType restricted_metric_types = 2;
| Name | Description |
| index | intThe index of the value to return. |
| 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.v1beta.RestrictedMetricType restricted_metric_types = 2;
| 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;
| Type | Description |
| boolean | Whether the metricName field is set. |