Interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction,ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder
- Enclosing class:
- ResponseMetaData.SchemaRestrictionResponse
public static interface ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the restricted metric.com.google.protobuf.ByteStringThe name of the restricted metric.getRestrictedMetricTypes(int index) The reason for this metric's restriction.intThe reason for this metric's restriction.The reason for this metric's restriction.intgetRestrictedMetricTypesValue(int index) The reason for this metric's restriction.The reason for this metric's restriction.booleanThe name of the restricted metric.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
-
hasMetricName
boolean hasMetricName()The name of the restricted metric.
optional string metric_name = 1;- Returns:
- Whether the metricName field is set.
-
getMetricName
String getMetricName()The name of the restricted metric.
optional string metric_name = 1;- Returns:
- The metricName.
-
getMetricNameBytes
com.google.protobuf.ByteString getMetricNameBytes()The name of the restricted metric.
optional string metric_name = 1;- Returns:
- The bytes for metricName.
-
getRestrictedMetricTypesList
List<RestrictedMetricType> getRestrictedMetricTypesList()The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;- Returns:
- A list containing the restrictedMetricTypes.
-
getRestrictedMetricTypesCount
int getRestrictedMetricTypesCount()The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;- Returns:
- The count of restrictedMetricTypes.
-
getRestrictedMetricTypes
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;- Parameters:
index- The index of the element to return.- Returns:
- The restrictedMetricTypes at the given index.
-
getRestrictedMetricTypesValueList
The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;- Returns:
- A list containing the enum numeric values on the wire for restrictedMetricTypes.
-
getRestrictedMetricTypesValue
int getRestrictedMetricTypesValue(int index) The reason for this metric's restriction.
repeated .google.analytics.data.v1alpha.RestrictedMetricType restricted_metric_types = 2;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of restrictedMetricTypes at the given index.
-