Package com.google.analytics.data.v1beta
Class CheckCompatibilityRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CheckCompatibilityRequest.Builder>
com.google.analytics.data.v1beta.CheckCompatibilityRequest.Builder
- All Implemented Interfaces:
CheckCompatibilityRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CheckCompatibilityRequest
public static final class CheckCompatibilityRequest.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllDimensions(Iterable<? extends Dimension> values) The dimensions in this report.addAllMetrics(Iterable<? extends Metric> values) The metrics in this report.addDimensions(int index, Dimension value) The dimensions in this report.addDimensions(int index, Dimension.Builder builderForValue) The dimensions in this report.addDimensions(Dimension value) The dimensions in this report.addDimensions(Dimension.Builder builderForValue) The dimensions in this report.The dimensions in this report.addDimensionsBuilder(int index) The dimensions in this report.addMetrics(int index, Metric value) The metrics in this report.addMetrics(int index, Metric.Builder builderForValue) The metrics in this report.addMetrics(Metric value) The metrics in this report.addMetrics(Metric.Builder builderForValue) The metrics in this report.The metrics in this report.addMetricsBuilder(int index) The metrics in this report.build()clear()Filters the dimensions and metrics in the response to just this compatibility.The filter clause of dimensions.The dimensions in this report.The filter clause of metrics.The metrics in this report.A Google Analytics property identifier whose events are tracked.Filters the dimensions and metrics in the response to just this compatibility.intFilters the dimensions and metrics in the response to just this compatibility.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe filter clause of dimensions.The filter clause of dimensions.The filter clause of dimensions.getDimensions(int index) The dimensions in this report.getDimensionsBuilder(int index) The dimensions in this report.The dimensions in this report.intThe dimensions in this report.The dimensions in this report.getDimensionsOrBuilder(int index) The dimensions in this report.List<? extends DimensionOrBuilder>The dimensions in this report.The filter clause of metrics.The filter clause of metrics.The filter clause of metrics.getMetrics(int index) The metrics in this report.getMetricsBuilder(int index) The metrics in this report.The metrics in this report.intThe metrics in this report.The metrics in this report.getMetricsOrBuilder(int index) The metrics in this report.List<? extends MetricOrBuilder>The metrics in this report.A Google Analytics property identifier whose events are tracked.com.google.protobuf.ByteStringA Google Analytics property identifier whose events are tracked.booleanThe filter clause of dimensions.booleanThe filter clause of metrics.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe filter clause of dimensions.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The filter clause of metrics.removeDimensions(int index) The dimensions in this report.removeMetrics(int index) The metrics in this report.Filters the dimensions and metrics in the response to just this compatibility.setCompatibilityFilterValue(int value) Filters the dimensions and metrics in the response to just this compatibility.The filter clause of dimensions.setDimensionFilter(FilterExpression.Builder builderForValue) The filter clause of dimensions.setDimensions(int index, Dimension value) The dimensions in this report.setDimensions(int index, Dimension.Builder builderForValue) The dimensions in this report.setMetricFilter(FilterExpression value) The filter clause of metrics.setMetricFilter(FilterExpression.Builder builderForValue) The filter clause of metrics.setMetrics(int index, Metric value) The metrics in this report.setMetrics(int index, Metric.Builder builderForValue) The metrics in this report.setProperty(String value) A Google Analytics property identifier whose events are tracked.setPropertyBytes(com.google.protobuf.ByteString value) A Google Analytics property identifier whose events are tracked.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CheckCompatibilityRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CheckCompatibilityRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CheckCompatibilityRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CheckCompatibilityRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CheckCompatibilityRequest.Builder>
-
mergeFrom
public CheckCompatibilityRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CheckCompatibilityRequest.Builder>- Throws:
IOException
-
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:
getPropertyin interfaceCheckCompatibilityRequestOrBuilder- 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:
getPropertyBytesin interfaceCheckCompatibilityRequestOrBuilder- Returns:
- The bytes for property.
-
setProperty
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;- Parameters:
value- The property to set.- Returns:
- This builder for chaining.
-
clearProperty
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;- Returns:
- This builder for chaining.
-
setPropertyBytes
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;- Parameters:
value- The bytes for property to set.- Returns:
- This builder for chaining.
-
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:
getDimensionsListin interfaceCheckCompatibilityRequestOrBuilder
-
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:
getDimensionsCountin interfaceCheckCompatibilityRequestOrBuilder
-
getDimensions
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:
getDimensionsin interfaceCheckCompatibilityRequestOrBuilder
-
setDimensions
The dimensions in this report. `dimensions` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Dimension dimensions = 2; -
setDimensions
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; -
addDimensions
The dimensions in this report. `dimensions` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Dimension dimensions = 2; -
addDimensions
The dimensions in this report. `dimensions` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Dimension dimensions = 2; -
addDimensions
The dimensions in this report. `dimensions` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Dimension dimensions = 2; -
addDimensions
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; -
addAllDimensions
The dimensions in this report. `dimensions` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Dimension dimensions = 2; -
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; -
removeDimensions
The dimensions in this report. `dimensions` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Dimension dimensions = 2; -
getDimensionsBuilder
The dimensions in this report. `dimensions` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Dimension dimensions = 2; -
getDimensionsOrBuilder
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:
getDimensionsOrBuilderin interfaceCheckCompatibilityRequestOrBuilder
-
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:
getDimensionsOrBuilderListin interfaceCheckCompatibilityRequestOrBuilder
-
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; -
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; -
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; -
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:
getMetricsListin interfaceCheckCompatibilityRequestOrBuilder
-
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:
getMetricsCountin interfaceCheckCompatibilityRequestOrBuilder
-
getMetrics
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:
getMetricsin interfaceCheckCompatibilityRequestOrBuilder
-
setMetrics
The metrics in this report. `metrics` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
setMetrics
The metrics in this report. `metrics` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
addMetrics
The metrics in this report. `metrics` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
addMetrics
The metrics in this report. `metrics` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
addMetrics
The metrics in this report. `metrics` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
addMetrics
The metrics in this report. `metrics` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
addAllMetrics
The metrics in this report. `metrics` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
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; -
removeMetrics
The metrics in this report. `metrics` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
getMetricsBuilder
The metrics in this report. `metrics` should be the same value as in your `runReport` request.
repeated .google.analytics.data.v1beta.Metric metrics = 3; -
getMetricsOrBuilder
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:
getMetricsOrBuilderin interfaceCheckCompatibilityRequestOrBuilder
-
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:
getMetricsOrBuilderListin interfaceCheckCompatibilityRequestOrBuilder
-
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; -
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; -
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; -
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:
hasDimensionFilterin interfaceCheckCompatibilityRequestOrBuilder- Returns:
- Whether the dimensionFilter field is set.
-
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:
getDimensionFilterin interfaceCheckCompatibilityRequestOrBuilder- Returns:
- The dimensionFilter.
-
setDimensionFilter
The filter clause of dimensions. `dimensionFilter` should be the same value as in your `runReport` request.
.google.analytics.data.v1beta.FilterExpression dimension_filter = 4; -
setDimensionFilter
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; -
mergeDimensionFilter
The filter clause of dimensions. `dimensionFilter` should be the same value as in your `runReport` request.
.google.analytics.data.v1beta.FilterExpression dimension_filter = 4; -
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; -
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; -
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:
getDimensionFilterOrBuilderin interfaceCheckCompatibilityRequestOrBuilder
-
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:
hasMetricFilterin interfaceCheckCompatibilityRequestOrBuilder- Returns:
- Whether the metricFilter field is set.
-
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:
getMetricFilterin interfaceCheckCompatibilityRequestOrBuilder- Returns:
- The metricFilter.
-
setMetricFilter
The filter clause of metrics. `metricFilter` should be the same value as in your `runReport` request
.google.analytics.data.v1beta.FilterExpression metric_filter = 5; -
setMetricFilter
The filter clause of metrics. `metricFilter` should be the same value as in your `runReport` request
.google.analytics.data.v1beta.FilterExpression metric_filter = 5; -
mergeMetricFilter
The filter clause of metrics. `metricFilter` should be the same value as in your `runReport` request
.google.analytics.data.v1beta.FilterExpression metric_filter = 5; -
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; -
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; -
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:
getMetricFilterOrBuilderin interfaceCheckCompatibilityRequestOrBuilder
-
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:
getCompatibilityFilterValuein interfaceCheckCompatibilityRequestOrBuilder- Returns:
- The enum numeric value on the wire for compatibilityFilter.
-
setCompatibilityFilterValue
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;- Parameters:
value- The enum numeric value on the wire for compatibilityFilter to set.- Returns:
- This builder for chaining.
-
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:
getCompatibilityFilterin interfaceCheckCompatibilityRequestOrBuilder- Returns:
- The compatibilityFilter.
-
setCompatibilityFilter
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;- Parameters:
value- The compatibilityFilter to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-