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
DIMENSIONS_FIELD_NUMBER
public static final int DIMENSIONS_FIELD_NUMBER
Field Value
DIMENSION_FILTER_FIELD_NUMBER
public static final int DIMENSION_FILTER_FIELD_NUMBER
Field Value
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
Field Value
METRIC_FILTER_FIELD_NUMBER
public static final int METRIC_FILTER_FIELD_NUMBER
Field Value
PROPERTY_FIELD_NUMBER
public static final int PROPERTY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CheckCompatibilityRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CheckCompatibilityRequest.Builder newBuilder()
Returns
newBuilder(CheckCompatibilityRequest prototype)
public static CheckCompatibilityRequest.Builder newBuilder(CheckCompatibilityRequest prototype)
Parameter
Returns
public static CheckCompatibilityRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CheckCompatibilityRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CheckCompatibilityRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CheckCompatibilityRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CheckCompatibilityRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CheckCompatibilityRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CheckCompatibilityRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CheckCompatibilityRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CheckCompatibilityRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CheckCompatibilityRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CheckCompatibilityRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CheckCompatibilityRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CheckCompatibilityRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCompatibilityFilter()
public Compatibility getCompatibilityFilter()
Filters the dimensions and metrics in the response to just this
compatibility. Commonly used as \u201dcompatibilityFilter\u201d: \u201cCOMPATIBLE\u201d
to only return compatible dimensions & metrics.
.google.analytics.data.v1beta.Compatibility compatibility_filter = 6;
Returns
getCompatibilityFilterValue()
public int getCompatibilityFilterValue()
Filters the dimensions and metrics in the response to just this
compatibility. Commonly used as \u201dcompatibilityFilter\u201d: \u201cCOMPATIBLE\u201d
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
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
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
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
Returns
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
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
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
Returns
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
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
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
Returns
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
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
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
Returns
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
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
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
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CheckCompatibilityRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CheckCompatibilityRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CheckCompatibilityRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions