Class CheckCompatibilityRequest (0.64.0)

public final class CheckCompatibilityRequest extends GeneratedMessageV3 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

Static Fields

COMPATIBILITY_FILTER_FIELD_NUMBER

public static final int COMPATIBILITY_FILTER_FIELD_NUMBER
Field Value
Type Description
int

DIMENSIONS_FIELD_NUMBER

public static final int DIMENSIONS_FIELD_NUMBER
Field Value
Type Description
int

DIMENSION_FILTER_FIELD_NUMBER

public static final int DIMENSION_FILTER_FIELD_NUMBER
Field Value
Type Description
int

METRICS_FIELD_NUMBER

public static final int METRICS_FIELD_NUMBER
Field Value
Type Description
int

METRIC_FILTER_FIELD_NUMBER

public static final int METRIC_FILTER_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CheckCompatibilityRequest getDefaultInstance()
Returns
Type Description
CheckCompatibilityRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CheckCompatibilityRequest.Builder newBuilder()
Returns
Type Description
CheckCompatibilityRequest.Builder

newBuilder(CheckCompatibilityRequest prototype)

public static CheckCompatibilityRequest.Builder newBuilder(CheckCompatibilityRequest prototype)
Parameter
Name Description
prototype CheckCompatibilityRequest
Returns
Type Description
CheckCompatibilityRequest.Builder

parseDelimitedFrom(InputStream input)

public static CheckCompatibilityRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CheckCompatibilityRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckCompatibilityRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckCompatibilityRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CheckCompatibilityRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CheckCompatibilityRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CheckCompatibilityRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckCompatibilityRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CheckCompatibilityRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CheckCompatibilityRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CheckCompatibilityRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckCompatibilityRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CheckCompatibilityRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CheckCompatibilityRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckCompatibilityRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckCompatibilityRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CheckCompatibilityRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CheckCompatibilityRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CheckCompatibilityRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckCompatibilityRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CheckCompatibilityRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CheckCompatibilityRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CheckCompatibilityRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckCompatibilityRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CheckCompatibilityRequest> parser()
Returns
Type Description
Parser<CheckCompatibilityRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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;

Returns
Type Description
Compatibility

The compatibilityFilter.

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;

Returns
Type Description
int

The enum numeric value on the wire for compatibilityFilter.

getDefaultInstanceForType()

public CheckCompatibilityRequest getDefaultInstanceForType()
Returns
Type Description
CheckCompatibilityRequest

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;

Returns
Type Description
FilterExpression

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;

Returns
Type Description
FilterExpressionOrBuilder

getDimensions(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Dimension

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;

Returns
Type Description
int

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;

Returns
Type Description
List<Dimension>

getDimensionsOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
DimensionOrBuilder

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;

Returns
Type Description
List<? extends com.google.analytics.data.v1beta.DimensionOrBuilder>

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;

Returns
Type Description
FilterExpression

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;

Returns
Type Description
FilterExpressionOrBuilder

getMetrics(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Metric

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;

Returns
Type Description
int

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;

Returns
Type Description
List<Metric>

getMetricsOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
MetricOrBuilder

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;

Returns
Type Description
List<? extends com.google.analytics.data.v1beta.MetricOrBuilder>

getParserForType()

public Parser<CheckCompatibilityRequest> getParserForType()
Returns
Type Description
Parser<CheckCompatibilityRequest>
Overrides

getProperty()

public String getProperty()

A Google Analytics GA4 property identifier whose events are tracked. To learn more, see where to find your Property ID. property should be the same value as in your runReport request.

Example: properties/1234

string property = 1;

Returns
Type Description
String

The property.

getPropertyBytes()

public ByteString getPropertyBytes()

A Google Analytics GA4 property identifier whose events are tracked. To learn more, see where to find your Property ID. property should be the same value as in your runReport request.

Example: properties/1234

string property = 1;

Returns
Type Description
ByteString

The bytes for property.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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;

Returns
Type Description
boolean

Whether the dimensionFilter field is set.

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;

Returns
Type Description
boolean

Whether the metricFilter field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CheckCompatibilityRequest.Builder newBuilderForType()
Returns
Type Description
CheckCompatibilityRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CheckCompatibilityRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CheckCompatibilityRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CheckCompatibilityRequest.Builder toBuilder()
Returns
Type Description
CheckCompatibilityRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException