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 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

      RestrictedMetricType getRestrictedMetricTypes(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 element to return.
      Returns:
      The restrictedMetricTypes at the given index.
    • getRestrictedMetricTypesValueList

      List<Integer> 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.