Class ResponseMetaData.SchemaRestrictionResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>
com.google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.Builder
All Implemented Interfaces:
ResponseMetaData.SchemaRestrictionResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ResponseMetaData.SchemaRestrictionResponse

public static final class ResponseMetaData.SchemaRestrictionResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder> implements ResponseMetaData.SchemaRestrictionResponseOrBuilder
 The schema restrictions actively enforced in creating this report. To learn
 more, see [Access and data-restriction
 management](https://support.google.com/analytics/answer/10851388).
 
Protobuf type google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>
    • getDefaultInstanceForType

      public ResponseMetaData.SchemaRestrictionResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>
    • mergeFrom

      public ResponseMetaData.SchemaRestrictionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResponseMetaData.SchemaRestrictionResponse.Builder>
      Throws:
      IOException
    • getActiveMetricRestrictionsList

       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
      Specified by:
      getActiveMetricRestrictionsList in interface ResponseMetaData.SchemaRestrictionResponseOrBuilder
    • getActiveMetricRestrictionsCount

      public int getActiveMetricRestrictionsCount()
       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
      Specified by:
      getActiveMetricRestrictionsCount in interface ResponseMetaData.SchemaRestrictionResponseOrBuilder
    • getActiveMetricRestrictions

      public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction getActiveMetricRestrictions(int index)
       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
      Specified by:
      getActiveMetricRestrictions in interface ResponseMetaData.SchemaRestrictionResponseOrBuilder
    • setActiveMetricRestrictions

       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
    • setActiveMetricRestrictions

       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
    • addActiveMetricRestrictions

       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
    • addActiveMetricRestrictions

       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
    • addActiveMetricRestrictions

       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
    • addActiveMetricRestrictions

       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
    • addAllActiveMetricRestrictions

       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
    • clearActiveMetricRestrictions

      public ResponseMetaData.SchemaRestrictionResponse.Builder clearActiveMetricRestrictions()
       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
    • removeActiveMetricRestrictions

      public ResponseMetaData.SchemaRestrictionResponse.Builder removeActiveMetricRestrictions(int index)
       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
    • getActiveMetricRestrictionsBuilder

      public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder getActiveMetricRestrictionsBuilder(int index)
       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
    • getActiveMetricRestrictionsOrBuilder

      public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder getActiveMetricRestrictionsOrBuilder(int index)
       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
      Specified by:
      getActiveMetricRestrictionsOrBuilder in interface ResponseMetaData.SchemaRestrictionResponseOrBuilder
    • getActiveMetricRestrictionsOrBuilderList

      public List<? extends ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestrictionOrBuilder> getActiveMetricRestrictionsOrBuilderList()
       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
      Specified by:
      getActiveMetricRestrictionsOrBuilderList in interface ResponseMetaData.SchemaRestrictionResponseOrBuilder
    • addActiveMetricRestrictionsBuilder

       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
    • addActiveMetricRestrictionsBuilder

      public ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder addActiveMetricRestrictionsBuilder(int index)
       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;
    • getActiveMetricRestrictionsBuilderList

      public List<ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction.Builder> getActiveMetricRestrictionsBuilderList()
       All restrictions actively enforced in creating the report. For example,
       `purchaseRevenue` always has the restriction type `REVENUE_DATA`.
       However, this active response restriction is only populated if the user's
       custom role disallows access to `REVENUE_DATA`.
       
      repeated .google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse.ActiveMetricRestriction active_metric_restrictions = 1;