Class ReportTask.ReportDefinition
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.data.v1alpha.ReportTask.ReportDefinition
- All Implemented Interfaces:
ReportTask.ReportDefinitionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ReportTask
public static final class ReportTask.ReportDefinition
extends com.google.protobuf.GeneratedMessage
implements ReportTask.ReportDefinitionOrBuilder
The definition of how a report should be run.Protobuf type
google.analytics.data.v1alpha.ReportTask.ReportDefinition- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe definition of how a report should be run.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.Optional.com.google.protobuf.ByteStringOptional.getDateRanges(int index) Optional.intOptional.Optional.getDateRangesOrBuilder(int index) Optional.List<? extends DateRangeOrBuilder>Optional.static ReportTask.ReportDefinitionstatic final com.google.protobuf.Descriptors.DescriptorOptional.Optional.getDimensions(int index) Optional.intOptional.Optional.getDimensionsOrBuilder(int index) Optional.List<? extends DimensionOrBuilder>Optional.booleanOptional.longgetLimit()Optional.getMetricAggregations(int index) Optional.intOptional.Optional.intgetMetricAggregationsValue(int index) Optional.Optional.Optional.Optional.getMetrics(int index) Optional.intOptional.Optional.getMetricsOrBuilder(int index) Optional.List<? extends MetricOrBuilder>Optional.longOptional.getOrderBys(int index) Optional.intOptional.Optional.getOrderBysOrBuilder(int index) Optional.List<? extends OrderByOrBuilder>Optional.com.google.protobuf.Parser<ReportTask.ReportDefinition>Optional.intOptional.intbooleanOptional.booleanOptional.inthashCode()booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ReportTask.ReportDefinition prototype) protected ReportTask.ReportDefinition.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ReportTask.ReportDefinitionparseDelimitedFrom(InputStream input) static ReportTask.ReportDefinitionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReportTask.ReportDefinitionparseFrom(byte[] data) static ReportTask.ReportDefinitionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReportTask.ReportDefinitionparseFrom(com.google.protobuf.ByteString data) static ReportTask.ReportDefinitionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReportTask.ReportDefinitionparseFrom(com.google.protobuf.CodedInputStream input) static ReportTask.ReportDefinitionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReportTask.ReportDefinitionparseFrom(InputStream input) static ReportTask.ReportDefinitionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReportTask.ReportDefinitionparseFrom(ByteBuffer data) static ReportTask.ReportDefinitionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ReportTask.ReportDefinition>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DIMENSIONS_FIELD_NUMBER
public static final int DIMENSIONS_FIELD_NUMBER- See Also:
-
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER- See Also:
-
DATE_RANGES_FIELD_NUMBER
public static final int DATE_RANGES_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:
-
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER- See Also:
-
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER- See Also:
-
METRIC_AGGREGATIONS_FIELD_NUMBER
public static final int METRIC_AGGREGATIONS_FIELD_NUMBER- See Also:
-
ORDER_BYS_FIELD_NUMBER
public static final int ORDER_BYS_FIELD_NUMBER- See Also:
-
CURRENCY_CODE_FIELD_NUMBER
public static final int CURRENCY_CODE_FIELD_NUMBER- See Also:
-
COHORT_SPEC_FIELD_NUMBER
public static final int COHORT_SPEC_FIELD_NUMBER- See Also:
-
KEEP_EMPTY_ROWS_FIELD_NUMBER
public static final int KEEP_EMPTY_ROWS_FIELD_NUMBER- See Also:
-
SAMPLING_LEVEL_FIELD_NUMBER
public static final int SAMPLING_LEVEL_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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDimensionsList
Optional. The dimensions requested and displayed.
repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDimensionsListin interfaceReportTask.ReportDefinitionOrBuilder
-
getDimensionsOrBuilderList
Optional. The dimensions requested and displayed.
repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDimensionsOrBuilderListin interfaceReportTask.ReportDefinitionOrBuilder
-
getDimensionsCount
public int getDimensionsCount()Optional. The dimensions requested and displayed.
repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDimensionsCountin interfaceReportTask.ReportDefinitionOrBuilder
-
getDimensions
Optional. The dimensions requested and displayed.
repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDimensionsin interfaceReportTask.ReportDefinitionOrBuilder
-
getDimensionsOrBuilder
Optional. The dimensions requested and displayed.
repeated .google.analytics.data.v1alpha.Dimension dimensions = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDimensionsOrBuilderin interfaceReportTask.ReportDefinitionOrBuilder
-
getMetricsList
Optional. The metrics requested and displayed.
repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricsListin interfaceReportTask.ReportDefinitionOrBuilder
-
getMetricsOrBuilderList
Optional. The metrics requested and displayed.
repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricsOrBuilderListin interfaceReportTask.ReportDefinitionOrBuilder
-
getMetricsCount
public int getMetricsCount()Optional. The metrics requested and displayed.
repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricsCountin interfaceReportTask.ReportDefinitionOrBuilder
-
getMetrics
Optional. The metrics requested and displayed.
repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricsin interfaceReportTask.ReportDefinitionOrBuilder
-
getMetricsOrBuilder
Optional. The metrics requested and displayed.
repeated .google.analytics.data.v1alpha.Metric metrics = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricsOrBuilderin interfaceReportTask.ReportDefinitionOrBuilder
-
getDateRangesList
Optional. Date ranges of data to read. If multiple date ranges are requested, each response row will contain a zero based date range index. If two date ranges overlap, the event data for the overlapping days is included in the response rows for both date ranges. In a cohort request, this `dateRanges` must be unspecified.
repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDateRangesListin interfaceReportTask.ReportDefinitionOrBuilder
-
getDateRangesOrBuilderList
Optional. Date ranges of data to read. If multiple date ranges are requested, each response row will contain a zero based date range index. If two date ranges overlap, the event data for the overlapping days is included in the response rows for both date ranges. In a cohort request, this `dateRanges` must be unspecified.
repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDateRangesOrBuilderListin interfaceReportTask.ReportDefinitionOrBuilder
-
getDateRangesCount
public int getDateRangesCount()Optional. Date ranges of data to read. If multiple date ranges are requested, each response row will contain a zero based date range index. If two date ranges overlap, the event data for the overlapping days is included in the response rows for both date ranges. In a cohort request, this `dateRanges` must be unspecified.
repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDateRangesCountin interfaceReportTask.ReportDefinitionOrBuilder
-
getDateRanges
Optional. Date ranges of data to read. If multiple date ranges are requested, each response row will contain a zero based date range index. If two date ranges overlap, the event data for the overlapping days is included in the response rows for both date ranges. In a cohort request, this `dateRanges` must be unspecified.
repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDateRangesin interfaceReportTask.ReportDefinitionOrBuilder
-
getDateRangesOrBuilder
Optional. Date ranges of data to read. If multiple date ranges are requested, each response row will contain a zero based date range index. If two date ranges overlap, the event data for the overlapping days is included in the response rows for both date ranges. In a cohort request, this `dateRanges` must be unspecified.
repeated .google.analytics.data.v1alpha.DateRange date_ranges = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDateRangesOrBuilderin interfaceReportTask.ReportDefinitionOrBuilder
-
hasDimensionFilter
public boolean hasDimensionFilter()Optional. Dimension filters let you ask for only specific dimension values in the report. To learn more, see [Fundamentals of Dimension Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) for examples. Metrics cannot be used in this filter.
.google.analytics.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDimensionFilterin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- Whether the dimensionFilter field is set.
-
getDimensionFilter
Optional. Dimension filters let you ask for only specific dimension values in the report. To learn more, see [Fundamentals of Dimension Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) for examples. Metrics cannot be used in this filter.
.google.analytics.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDimensionFilterin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- The dimensionFilter.
-
getDimensionFilterOrBuilder
Optional. Dimension filters let you ask for only specific dimension values in the report. To learn more, see [Fundamentals of Dimension Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) for examples. Metrics cannot be used in this filter.
.google.analytics.data.v1alpha.FilterExpression dimension_filter = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDimensionFilterOrBuilderin interfaceReportTask.ReportDefinitionOrBuilder
-
hasMetricFilter
public boolean hasMetricFilter()Optional. The filter clause of metrics. Applied after aggregating the report's rows, similar to SQL having-clause. Dimensions cannot be used in this filter.
.google.analytics.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasMetricFilterin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- Whether the metricFilter field is set.
-
getMetricFilter
Optional. The filter clause of metrics. Applied after aggregating the report's rows, similar to SQL having-clause. Dimensions cannot be used in this filter.
.google.analytics.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricFilterin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- The metricFilter.
-
getMetricFilterOrBuilder
Optional. The filter clause of metrics. Applied after aggregating the report's rows, similar to SQL having-clause. Dimensions cannot be used in this filter.
.google.analytics.data.v1alpha.FilterExpression metric_filter = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricFilterOrBuilderin interfaceReportTask.ReportDefinitionOrBuilder
-
getOffset
public long getOffset()Optional. The row count of the start row from Google Analytics Storage. The first row is counted as row 0. When creating a report task, the `offset` and `limit` parameters define the subset of data rows from Google Analytics storage to be included in the generated report. For example, if there are a total of 300,000 rows in Google Analytics storage, the initial report task may have the first 10,000 rows with a limit of 10,000 and an offset of 0. Subsequently, another report task could cover the next 10,000 rows with a limit of 10,000 and an offset of 10,000.
int64 offset = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOffsetin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- The offset.
-
getLimit
public long getLimit()Optional. The number of rows to return in the Report. If unspecified, 10,000 rows are returned. The API returns a maximum of 250,000 rows per request, no matter how many you ask for. `limit` must be positive. The API can also return fewer rows than the requested `limit`, if there aren't as many dimension values as the `limit`. For instance, there are fewer than 300 possible values for the dimension `country`, so when reporting on only `country`, you can't get more than 300 rows, even if you set `limit` to a higher value.
int64 limit = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLimitin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- The limit.
-
getMetricAggregationsList
Optional. Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to "RESERVED_(MetricAggregation)".
repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricAggregationsListin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- A list containing the metricAggregations.
-
getMetricAggregationsCount
public int getMetricAggregationsCount()Optional. Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to "RESERVED_(MetricAggregation)".
repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricAggregationsCountin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- The count of metricAggregations.
-
getMetricAggregations
Optional. Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to "RESERVED_(MetricAggregation)".
repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricAggregationsin interfaceReportTask.ReportDefinitionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The metricAggregations at the given index.
-
getMetricAggregationsValueList
Optional. Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to "RESERVED_(MetricAggregation)".
repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricAggregationsValueListin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- A list containing the enum numeric values on the wire for metricAggregations.
-
getMetricAggregationsValue
public int getMetricAggregationsValue(int index) Optional. Aggregation of metrics. Aggregated metric values will be shown in rows where the dimension_values are set to "RESERVED_(MetricAggregation)".
repeated .google.analytics.data.v1alpha.MetricAggregation metric_aggregations = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetricAggregationsValuein interfaceReportTask.ReportDefinitionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of metricAggregations at the given index.
-
getOrderBysList
Optional. Specifies how rows are ordered in the response.
repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOrderBysListin interfaceReportTask.ReportDefinitionOrBuilder
-
getOrderBysOrBuilderList
Optional. Specifies how rows are ordered in the response.
repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOrderBysOrBuilderListin interfaceReportTask.ReportDefinitionOrBuilder
-
getOrderBysCount
public int getOrderBysCount()Optional. Specifies how rows are ordered in the response.
repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOrderBysCountin interfaceReportTask.ReportDefinitionOrBuilder
-
getOrderBys
Optional. Specifies how rows are ordered in the response.
repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOrderBysin interfaceReportTask.ReportDefinitionOrBuilder
-
getOrderBysOrBuilder
Optional. Specifies how rows are ordered in the response.
repeated .google.analytics.data.v1alpha.OrderBy order_bys = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOrderBysOrBuilderin interfaceReportTask.ReportDefinitionOrBuilder
-
getCurrencyCode
Optional. A currency code in ISO4217 format, such as "AED", "USD", "JPY". If the field is empty, the report uses the property's default currency.
string currency_code = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCurrencyCodein interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.ByteString getCurrencyCodeBytes()Optional. A currency code in ISO4217 format, such as "AED", "USD", "JPY". If the field is empty, the report uses the property's default currency.
string currency_code = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCurrencyCodeBytesin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- The bytes for currencyCode.
-
hasCohortSpec
public boolean hasCohortSpec()Optional. Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present.
.google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCohortSpecin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- Whether the cohortSpec field is set.
-
getCohortSpec
Optional. Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present.
.google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCohortSpecin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- The cohortSpec.
-
getCohortSpecOrBuilder
Optional. Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present.
.google.analytics.data.v1alpha.CohortSpec cohort_spec = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCohortSpecOrBuilderin interfaceReportTask.ReportDefinitionOrBuilder
-
getKeepEmptyRows
public boolean getKeepEmptyRows()Optional. If false or unspecified, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter. Regardless of this `keep_empty_rows` setting, only data recorded by the Google Analytics property can be displayed in a report. For example if a property never logs a `purchase` event, then a query for the `eventName` dimension and `eventCount` metric will not have a row containing eventName: "purchase" and eventCount: 0.
bool keep_empty_rows = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKeepEmptyRowsin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- The keepEmptyRows.
-
hasSamplingLevel
public boolean hasSamplingLevel()Optional. The report's sampling level.
optional .google.analytics.data.v1alpha.SamplingLevel sampling_level = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSamplingLevelin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- Whether the samplingLevel field is set.
-
getSamplingLevelValue
public int getSamplingLevelValue()Optional. The report's sampling level.
optional .google.analytics.data.v1alpha.SamplingLevel sampling_level = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSamplingLevelValuein interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- The enum numeric value on the wire for samplingLevel.
-
getSamplingLevel
Optional. The report's sampling level.
optional .google.analytics.data.v1alpha.SamplingLevel sampling_level = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSamplingLevelin interfaceReportTask.ReportDefinitionOrBuilder- Returns:
- The samplingLevel.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReportTask.ReportDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportTask.ReportDefinition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportTask.ReportDefinition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportTask.ReportDefinition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportTask.ReportDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportTask.ReportDefinition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ReportTask.ReportDefinition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ReportTask.ReportDefinition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ReportTask.ReportDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ReportTask.ReportDefinition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReportTask.ReportDefinition.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-