Class CheckCompatibilityRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.data.v1beta.CheckCompatibilityRequest
All Implemented Interfaces:
CheckCompatibilityRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class CheckCompatibilityRequest extends com.google.protobuf.GeneratedMessage implements CheckCompatibilityRequestOrBuilder
 The request for compatibility information for a report's dimensions and
 metrics. Check compatibility provides a preview of the compatibility of a
 report; fields shared with the `runReport` request should be the same values
 as in your `runReport` request.
 
Protobuf type google.analytics.data.v1beta.CheckCompatibilityRequest
See Also:
  • Field Details

    • PROPERTY_FIELD_NUMBER

      public static final int PROPERTY_FIELD_NUMBER
      See Also:
    • DIMENSIONS_FIELD_NUMBER

      public static final int DIMENSIONS_FIELD_NUMBER
      See Also:
    • METRICS_FIELD_NUMBER

      public static final int METRICS_FIELD_NUMBER
      See Also:
    • DIMENSION_FILTER_FIELD_NUMBER

      public static final int DIMENSION_FILTER_FIELD_NUMBER
      See Also:
    • METRIC_FILTER_FIELD_NUMBER

      public static final int METRIC_FILTER_FIELD_NUMBER
      See Also:
    • COMPATIBILITY_FILTER_FIELD_NUMBER

      public static final int COMPATIBILITY_FILTER_FIELD_NUMBER
      See Also:
  • 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
    • getProperty

      public String getProperty()
       A Google Analytics property identifier whose events are tracked. To
       learn more, see [where to find your Property
       ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
       `property` should be the same value as in your `runReport` request.
      
       Example: properties/1234
       
      string property = 1;
      Specified by:
      getProperty in interface CheckCompatibilityRequestOrBuilder
      Returns:
      The property.
    • getPropertyBytes

      public com.google.protobuf.ByteString getPropertyBytes()
       A Google Analytics property identifier whose events are tracked. To
       learn more, see [where to find your Property
       ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
       `property` should be the same value as in your `runReport` request.
      
       Example: properties/1234
       
      string property = 1;
      Specified by:
      getPropertyBytes in interface CheckCompatibilityRequestOrBuilder
      Returns:
      The bytes for property.
    • getDimensionsList

      public List<Dimension> getDimensionsList()
       The dimensions in this report. `dimensions` should be the same value as in
       your `runReport` request.
       
      repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      Specified by:
      getDimensionsList in interface CheckCompatibilityRequestOrBuilder
    • getDimensionsOrBuilderList

      public List<? extends DimensionOrBuilder> getDimensionsOrBuilderList()
       The dimensions in this report. `dimensions` should be the same value as in
       your `runReport` request.
       
      repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      Specified by:
      getDimensionsOrBuilderList in interface CheckCompatibilityRequestOrBuilder
    • getDimensionsCount

      public int getDimensionsCount()
       The dimensions in this report. `dimensions` should be the same value as in
       your `runReport` request.
       
      repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      Specified by:
      getDimensionsCount in interface CheckCompatibilityRequestOrBuilder
    • getDimensions

      public Dimension getDimensions(int index)
       The dimensions in this report. `dimensions` should be the same value as in
       your `runReport` request.
       
      repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      Specified by:
      getDimensions in interface CheckCompatibilityRequestOrBuilder
    • getDimensionsOrBuilder

      public DimensionOrBuilder getDimensionsOrBuilder(int index)
       The dimensions in this report. `dimensions` should be the same value as in
       your `runReport` request.
       
      repeated .google.analytics.data.v1beta.Dimension dimensions = 2;
      Specified by:
      getDimensionsOrBuilder in interface CheckCompatibilityRequestOrBuilder
    • getMetricsList

      public List<Metric> getMetricsList()
       The metrics in this report. `metrics` should be the same value as in your
       `runReport` request.
       
      repeated .google.analytics.data.v1beta.Metric metrics = 3;
      Specified by:
      getMetricsList in interface CheckCompatibilityRequestOrBuilder
    • getMetricsOrBuilderList

      public List<? extends MetricOrBuilder> getMetricsOrBuilderList()
       The metrics in this report. `metrics` should be the same value as in your
       `runReport` request.
       
      repeated .google.analytics.data.v1beta.Metric metrics = 3;
      Specified by:
      getMetricsOrBuilderList in interface CheckCompatibilityRequestOrBuilder
    • getMetricsCount

      public int getMetricsCount()
       The metrics in this report. `metrics` should be the same value as in your
       `runReport` request.
       
      repeated .google.analytics.data.v1beta.Metric metrics = 3;
      Specified by:
      getMetricsCount in interface CheckCompatibilityRequestOrBuilder
    • getMetrics

      public Metric getMetrics(int index)
       The metrics in this report. `metrics` should be the same value as in your
       `runReport` request.
       
      repeated .google.analytics.data.v1beta.Metric metrics = 3;
      Specified by:
      getMetrics in interface CheckCompatibilityRequestOrBuilder
    • getMetricsOrBuilder

      public MetricOrBuilder getMetricsOrBuilder(int index)
       The metrics in this report. `metrics` should be the same value as in your
       `runReport` request.
       
      repeated .google.analytics.data.v1beta.Metric metrics = 3;
      Specified by:
      getMetricsOrBuilder in interface CheckCompatibilityRequestOrBuilder
    • hasDimensionFilter

      public boolean hasDimensionFilter()
       The filter clause of dimensions. `dimensionFilter` should be the same value
       as in your `runReport` request.
       
      .google.analytics.data.v1beta.FilterExpression dimension_filter = 4;
      Specified by:
      hasDimensionFilter in interface CheckCompatibilityRequestOrBuilder
      Returns:
      Whether the dimensionFilter field is set.
    • getDimensionFilter

      public FilterExpression getDimensionFilter()
       The filter clause of dimensions. `dimensionFilter` should be the same value
       as in your `runReport` request.
       
      .google.analytics.data.v1beta.FilterExpression dimension_filter = 4;
      Specified by:
      getDimensionFilter in interface CheckCompatibilityRequestOrBuilder
      Returns:
      The dimensionFilter.
    • getDimensionFilterOrBuilder

      public FilterExpressionOrBuilder getDimensionFilterOrBuilder()
       The filter clause of dimensions. `dimensionFilter` should be the same value
       as in your `runReport` request.
       
      .google.analytics.data.v1beta.FilterExpression dimension_filter = 4;
      Specified by:
      getDimensionFilterOrBuilder in interface CheckCompatibilityRequestOrBuilder
    • hasMetricFilter

      public boolean hasMetricFilter()
       The filter clause of metrics. `metricFilter` should be the same value as in
       your `runReport` request
       
      .google.analytics.data.v1beta.FilterExpression metric_filter = 5;
      Specified by:
      hasMetricFilter in interface CheckCompatibilityRequestOrBuilder
      Returns:
      Whether the metricFilter field is set.
    • getMetricFilter

      public FilterExpression getMetricFilter()
       The filter clause of metrics. `metricFilter` should be the same value as in
       your `runReport` request
       
      .google.analytics.data.v1beta.FilterExpression metric_filter = 5;
      Specified by:
      getMetricFilter in interface CheckCompatibilityRequestOrBuilder
      Returns:
      The metricFilter.
    • getMetricFilterOrBuilder

      public FilterExpressionOrBuilder getMetricFilterOrBuilder()
       The filter clause of metrics. `metricFilter` should be the same value as in
       your `runReport` request
       
      .google.analytics.data.v1beta.FilterExpression metric_filter = 5;
      Specified by:
      getMetricFilterOrBuilder in interface CheckCompatibilityRequestOrBuilder
    • getCompatibilityFilterValue

      public int getCompatibilityFilterValue()
       Filters the dimensions and metrics in the response to just this
       compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
       to only return compatible dimensions & metrics.
       
      .google.analytics.data.v1beta.Compatibility compatibility_filter = 6;
      Specified by:
      getCompatibilityFilterValue in interface CheckCompatibilityRequestOrBuilder
      Returns:
      The enum numeric value on the wire for compatibilityFilter.
    • getCompatibilityFilter

      public Compatibility getCompatibilityFilter()
       Filters the dimensions and metrics in the response to just this
       compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”`
       to only return compatible dimensions & metrics.
       
      .google.analytics.data.v1beta.Compatibility compatibility_filter = 6;
      Specified by:
      getCompatibilityFilter in interface CheckCompatibilityRequestOrBuilder
      Returns:
      The compatibilityFilter.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CheckCompatibilityRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CheckCompatibilityRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CheckCompatibilityRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CheckCompatibilityRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CheckCompatibilityRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CheckCompatibilityRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CheckCompatibilityRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CheckCompatibilityRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CheckCompatibilityRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CheckCompatibilityRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CheckCompatibilityRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CheckCompatibilityRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public CheckCompatibilityRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static CheckCompatibilityRequest.Builder newBuilder()
    • newBuilder

      public static CheckCompatibilityRequest.Builder newBuilder(CheckCompatibilityRequest prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CheckCompatibilityRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CheckCompatibilityRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CheckCompatibilityRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<CheckCompatibilityRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public CheckCompatibilityRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder