Class CheckCompatibilityRequest.Builder (0.32.0)

public static final class CheckCompatibilityRequest.Builder extends GeneratedMessageV3.Builder<CheckCompatibilityRequest.Builder> 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 Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDimensions(Iterable<? extends Dimension> values)

public CheckCompatibilityRequest.Builder addAllDimensions(Iterable<? extends Dimension> values)

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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.Dimension>
Returns
TypeDescription
CheckCompatibilityRequest.Builder

addAllMetrics(Iterable<? extends Metric> values)

public CheckCompatibilityRequest.Builder addAllMetrics(Iterable<? extends Metric> values)

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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1beta.Metric>
Returns
TypeDescription
CheckCompatibilityRequest.Builder

addDimensions(Dimension value)

public CheckCompatibilityRequest.Builder addDimensions(Dimension value)

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
NameDescription
valueDimension
Returns
TypeDescription
CheckCompatibilityRequest.Builder

addDimensions(Dimension.Builder builderForValue)

public CheckCompatibilityRequest.Builder addDimensions(Dimension.Builder builderForValue)

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
NameDescription
builderForValueDimension.Builder
Returns
TypeDescription
CheckCompatibilityRequest.Builder

addDimensions(int index, Dimension value)

public CheckCompatibilityRequest.Builder addDimensions(int index, Dimension value)

The dimensions in this report. dimensions should be the same value as in your runReport request.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameters
NameDescription
indexint
valueDimension
Returns
TypeDescription
CheckCompatibilityRequest.Builder

addDimensions(int index, Dimension.Builder builderForValue)

public CheckCompatibilityRequest.Builder addDimensions(int index, Dimension.Builder builderForValue)

The dimensions in this report. dimensions should be the same value as in your runReport request.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameters
NameDescription
indexint
builderForValueDimension.Builder
Returns
TypeDescription
CheckCompatibilityRequest.Builder

addDimensionsBuilder()

public Dimension.Builder addDimensionsBuilder()

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
TypeDescription
Dimension.Builder

addDimensionsBuilder(int index)

public Dimension.Builder addDimensionsBuilder(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
NameDescription
indexint
Returns
TypeDescription
Dimension.Builder

addMetrics(Metric value)

public CheckCompatibilityRequest.Builder addMetrics(Metric value)

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
NameDescription
valueMetric
Returns
TypeDescription
CheckCompatibilityRequest.Builder

addMetrics(Metric.Builder builderForValue)

public CheckCompatibilityRequest.Builder addMetrics(Metric.Builder builderForValue)

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
NameDescription
builderForValueMetric.Builder
Returns
TypeDescription
CheckCompatibilityRequest.Builder

addMetrics(int index, Metric value)

public CheckCompatibilityRequest.Builder addMetrics(int index, Metric value)

The metrics in this report. metrics should be the same value as in your runReport request.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameters
NameDescription
indexint
valueMetric
Returns
TypeDescription
CheckCompatibilityRequest.Builder

addMetrics(int index, Metric.Builder builderForValue)

public CheckCompatibilityRequest.Builder addMetrics(int index, Metric.Builder builderForValue)

The metrics in this report. metrics should be the same value as in your runReport request.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameters
NameDescription
indexint
builderForValueMetric.Builder
Returns
TypeDescription
CheckCompatibilityRequest.Builder

addMetricsBuilder()

public Metric.Builder addMetricsBuilder()

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
TypeDescription
Metric.Builder

addMetricsBuilder(int index)

public Metric.Builder addMetricsBuilder(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
NameDescription
indexint
Returns
TypeDescription
Metric.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CheckCompatibilityRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CheckCompatibilityRequest.Builder
Overrides

build()

public CheckCompatibilityRequest build()
Returns
TypeDescription
CheckCompatibilityRequest

buildPartial()

public CheckCompatibilityRequest buildPartial()
Returns
TypeDescription
CheckCompatibilityRequest

clear()

public CheckCompatibilityRequest.Builder clear()
Returns
TypeDescription
CheckCompatibilityRequest.Builder
Overrides

clearCompatibilityFilter()

public CheckCompatibilityRequest.Builder clearCompatibilityFilter()

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
TypeDescription
CheckCompatibilityRequest.Builder

This builder for chaining.

clearDimensionFilter()

public CheckCompatibilityRequest.Builder clearDimensionFilter()

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
TypeDescription
CheckCompatibilityRequest.Builder

clearDimensions()

public CheckCompatibilityRequest.Builder clearDimensions()

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
TypeDescription
CheckCompatibilityRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CheckCompatibilityRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CheckCompatibilityRequest.Builder
Overrides

clearMetricFilter()

public CheckCompatibilityRequest.Builder clearMetricFilter()

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
TypeDescription
CheckCompatibilityRequest.Builder

clearMetrics()

public CheckCompatibilityRequest.Builder clearMetrics()

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
TypeDescription
CheckCompatibilityRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckCompatibilityRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CheckCompatibilityRequest.Builder
Overrides

clearProperty()

public CheckCompatibilityRequest.Builder clearProperty()

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

Set the Property ID to 0 for compatibility checking on dimensions and metrics common to all properties. In this special mode, this method will not return custom dimensions and metrics.

string property = 1;

Returns
TypeDescription
CheckCompatibilityRequest.Builder

This builder for chaining.

clone()

public CheckCompatibilityRequest.Builder clone()
Returns
TypeDescription
CheckCompatibilityRequest.Builder
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for compatibilityFilter.

getDefaultInstanceForType()

public CheckCompatibilityRequest getDefaultInstanceForType()
Returns
TypeDescription
CheckCompatibilityRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

The dimensionFilter.

getDimensionFilterBuilder()

public FilterExpression.Builder getDimensionFilterBuilder()

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
TypeDescription
FilterExpression.Builder

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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Dimension

getDimensionsBuilder(int index)

public Dimension.Builder getDimensionsBuilder(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
NameDescription
indexint
Returns
TypeDescription
Dimension.Builder

getDimensionsBuilderList()

public List<Dimension.Builder> getDimensionsBuilderList()

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
TypeDescription
List<Builder>

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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FilterExpression

The metricFilter.

getMetricFilterBuilder()

public FilterExpression.Builder getMetricFilterBuilder()

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
TypeDescription
FilterExpression.Builder

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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Metric

getMetricsBuilder(int index)

public Metric.Builder getMetricsBuilder(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
NameDescription
indexint
Returns
TypeDescription
Metric.Builder

getMetricsBuilderList()

public List<Metric.Builder> getMetricsBuilderList()

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
TypeDescription
List<Builder>

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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.data.v1beta.MetricOrBuilder>

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

Set the Property ID to 0 for compatibility checking on dimensions and metrics common to all properties. In this special mode, this method will not return custom dimensions and metrics.

string property = 1;

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

Set the Property ID to 0 for compatibility checking on dimensions and metrics common to all properties. In this special mode, this method will not return custom dimensions and metrics.

string property = 1;

Returns
TypeDescription
ByteString

The bytes for property.

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

Whether the metricFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDimensionFilter(FilterExpression value)

public CheckCompatibilityRequest.Builder mergeDimensionFilter(FilterExpression value)

The filter clause of dimensions. dimensionFilter should be the same value as in your runReport request.

.google.analytics.data.v1beta.FilterExpression dimension_filter = 4;

Parameter
NameDescription
valueFilterExpression
Returns
TypeDescription
CheckCompatibilityRequest.Builder

mergeFrom(CheckCompatibilityRequest other)

public CheckCompatibilityRequest.Builder mergeFrom(CheckCompatibilityRequest other)
Parameter
NameDescription
otherCheckCompatibilityRequest
Returns
TypeDescription
CheckCompatibilityRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CheckCompatibilityRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckCompatibilityRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CheckCompatibilityRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CheckCompatibilityRequest.Builder
Overrides

mergeMetricFilter(FilterExpression value)

public CheckCompatibilityRequest.Builder mergeMetricFilter(FilterExpression value)

The filter clause of metrics. metricFilter should be the same value as in your runReport request

.google.analytics.data.v1beta.FilterExpression metric_filter = 5;

Parameter
NameDescription
valueFilterExpression
Returns
TypeDescription
CheckCompatibilityRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CheckCompatibilityRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CheckCompatibilityRequest.Builder
Overrides

removeDimensions(int index)

public CheckCompatibilityRequest.Builder removeDimensions(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
NameDescription
indexint
Returns
TypeDescription
CheckCompatibilityRequest.Builder

removeMetrics(int index)

public CheckCompatibilityRequest.Builder removeMetrics(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
NameDescription
indexint
Returns
TypeDescription
CheckCompatibilityRequest.Builder

setCompatibilityFilter(Compatibility value)

public CheckCompatibilityRequest.Builder setCompatibilityFilter(Compatibility value)

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;

Parameter
NameDescription
valueCompatibility

The compatibilityFilter to set.

Returns
TypeDescription
CheckCompatibilityRequest.Builder

This builder for chaining.

setCompatibilityFilterValue(int value)

public CheckCompatibilityRequest.Builder setCompatibilityFilterValue(int value)

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;

Parameter
NameDescription
valueint

The enum numeric value on the wire for compatibilityFilter to set.

Returns
TypeDescription
CheckCompatibilityRequest.Builder

This builder for chaining.

setDimensionFilter(FilterExpression value)

public CheckCompatibilityRequest.Builder setDimensionFilter(FilterExpression value)

The filter clause of dimensions. dimensionFilter should be the same value as in your runReport request.

.google.analytics.data.v1beta.FilterExpression dimension_filter = 4;

Parameter
NameDescription
valueFilterExpression
Returns
TypeDescription
CheckCompatibilityRequest.Builder

setDimensionFilter(FilterExpression.Builder builderForValue)

public CheckCompatibilityRequest.Builder setDimensionFilter(FilterExpression.Builder builderForValue)

The filter clause of dimensions. dimensionFilter should be the same value as in your runReport request.

.google.analytics.data.v1beta.FilterExpression dimension_filter = 4;

Parameter
NameDescription
builderForValueFilterExpression.Builder
Returns
TypeDescription
CheckCompatibilityRequest.Builder

setDimensions(int index, Dimension value)

public CheckCompatibilityRequest.Builder setDimensions(int index, Dimension value)

The dimensions in this report. dimensions should be the same value as in your runReport request.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameters
NameDescription
indexint
valueDimension
Returns
TypeDescription
CheckCompatibilityRequest.Builder

setDimensions(int index, Dimension.Builder builderForValue)

public CheckCompatibilityRequest.Builder setDimensions(int index, Dimension.Builder builderForValue)

The dimensions in this report. dimensions should be the same value as in your runReport request.

repeated .google.analytics.data.v1beta.Dimension dimensions = 2;

Parameters
NameDescription
indexint
builderForValueDimension.Builder
Returns
TypeDescription
CheckCompatibilityRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CheckCompatibilityRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CheckCompatibilityRequest.Builder
Overrides

setMetricFilter(FilterExpression value)

public CheckCompatibilityRequest.Builder setMetricFilter(FilterExpression value)

The filter clause of metrics. metricFilter should be the same value as in your runReport request

.google.analytics.data.v1beta.FilterExpression metric_filter = 5;

Parameter
NameDescription
valueFilterExpression
Returns
TypeDescription
CheckCompatibilityRequest.Builder

setMetricFilter(FilterExpression.Builder builderForValue)

public CheckCompatibilityRequest.Builder setMetricFilter(FilterExpression.Builder builderForValue)

The filter clause of metrics. metricFilter should be the same value as in your runReport request

.google.analytics.data.v1beta.FilterExpression metric_filter = 5;

Parameter
NameDescription
builderForValueFilterExpression.Builder
Returns
TypeDescription
CheckCompatibilityRequest.Builder

setMetrics(int index, Metric value)

public CheckCompatibilityRequest.Builder setMetrics(int index, Metric value)

The metrics in this report. metrics should be the same value as in your runReport request.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameters
NameDescription
indexint
valueMetric
Returns
TypeDescription
CheckCompatibilityRequest.Builder

setMetrics(int index, Metric.Builder builderForValue)

public CheckCompatibilityRequest.Builder setMetrics(int index, Metric.Builder builderForValue)

The metrics in this report. metrics should be the same value as in your runReport request.

repeated .google.analytics.data.v1beta.Metric metrics = 3;

Parameters
NameDescription
indexint
builderForValueMetric.Builder
Returns
TypeDescription
CheckCompatibilityRequest.Builder

setProperty(String value)

public CheckCompatibilityRequest.Builder setProperty(String value)

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

Set the Property ID to 0 for compatibility checking on dimensions and metrics common to all properties. In this special mode, this method will not return custom dimensions and metrics.

string property = 1;

Parameter
NameDescription
valueString

The property to set.

Returns
TypeDescription
CheckCompatibilityRequest.Builder

This builder for chaining.

setPropertyBytes(ByteString value)

public CheckCompatibilityRequest.Builder setPropertyBytes(ByteString value)

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

Set the Property ID to 0 for compatibility checking on dimensions and metrics common to all properties. In this special mode, this method will not return custom dimensions and metrics.

string property = 1;

Parameter
NameDescription
valueByteString

The bytes for property to set.

Returns
TypeDescription
CheckCompatibilityRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CheckCompatibilityRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CheckCompatibilityRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CheckCompatibilityRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CheckCompatibilityRequest.Builder
Overrides