Class RunFunnelReportRequest.Builder (0.30.0)

public static final class RunFunnelReportRequest.Builder extends GeneratedMessageV3.Builder<RunFunnelReportRequest.Builder> implements RunFunnelReportRequestOrBuilder

The request for a funnel report.

Protobuf type google.analytics.data.v1alpha.RunFunnelReportRequest

Static Methods

getDescriptor()

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

Methods

addAllDateRanges(Iterable<? extends DateRange> values)

public RunFunnelReportRequest.Builder addAllDateRanges(Iterable<? extends DateRange> values)

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.data.v1alpha.DateRange>
Returns
TypeDescription
RunFunnelReportRequest.Builder

addAllSegments(Iterable<? extends Segment> values)

public RunFunnelReportRequest.Builder addAllSegments(Iterable<? extends Segment> values)

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.data.v1alpha.Segment>
Returns
TypeDescription
RunFunnelReportRequest.Builder

addDateRanges(DateRange value)

public RunFunnelReportRequest.Builder addDateRanges(DateRange value)

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Parameter
NameDescription
valueDateRange
Returns
TypeDescription
RunFunnelReportRequest.Builder

addDateRanges(DateRange.Builder builderForValue)

public RunFunnelReportRequest.Builder addDateRanges(DateRange.Builder builderForValue)

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Parameter
NameDescription
builderForValueDateRange.Builder
Returns
TypeDescription
RunFunnelReportRequest.Builder

addDateRanges(int index, DateRange value)

public RunFunnelReportRequest.Builder addDateRanges(int index, DateRange value)

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Parameters
NameDescription
indexint
valueDateRange
Returns
TypeDescription
RunFunnelReportRequest.Builder

addDateRanges(int index, DateRange.Builder builderForValue)

public RunFunnelReportRequest.Builder addDateRanges(int index, DateRange.Builder builderForValue)

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Parameters
NameDescription
indexint
builderForValueDateRange.Builder
Returns
TypeDescription
RunFunnelReportRequest.Builder

addDateRangesBuilder()

public DateRange.Builder addDateRangesBuilder()

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Returns
TypeDescription
DateRange.Builder

addDateRangesBuilder(int index)

public DateRange.Builder addDateRangesBuilder(int index)

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
DateRange.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSegments(Segment value)

public RunFunnelReportRequest.Builder addSegments(Segment value)

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Parameter
NameDescription
valueSegment
Returns
TypeDescription
RunFunnelReportRequest.Builder

addSegments(Segment.Builder builderForValue)

public RunFunnelReportRequest.Builder addSegments(Segment.Builder builderForValue)

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Parameter
NameDescription
builderForValueSegment.Builder
Returns
TypeDescription
RunFunnelReportRequest.Builder

addSegments(int index, Segment value)

public RunFunnelReportRequest.Builder addSegments(int index, Segment value)

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Parameters
NameDescription
indexint
valueSegment
Returns
TypeDescription
RunFunnelReportRequest.Builder

addSegments(int index, Segment.Builder builderForValue)

public RunFunnelReportRequest.Builder addSegments(int index, Segment.Builder builderForValue)

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Parameters
NameDescription
indexint
builderForValueSegment.Builder
Returns
TypeDescription
RunFunnelReportRequest.Builder

addSegmentsBuilder()

public Segment.Builder addSegmentsBuilder()

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Returns
TypeDescription
Segment.Builder

addSegmentsBuilder(int index)

public Segment.Builder addSegmentsBuilder(int index)

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Segment.Builder

build()

public RunFunnelReportRequest build()
Returns
TypeDescription
RunFunnelReportRequest

buildPartial()

public RunFunnelReportRequest buildPartial()
Returns
TypeDescription
RunFunnelReportRequest

clear()

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

clearDateRanges()

public RunFunnelReportRequest.Builder clearDateRanges()

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Returns
TypeDescription
RunFunnelReportRequest.Builder

clearDimensionFilter()

public RunFunnelReportRequest.Builder clearDimensionFilter()

Dimension filters allow you to ask for only specific dimension values in the report. To learn more, see Creating a Report: Dimension Filters for examples. Metrics cannot be used in this filter.

.google.analytics.data.v1alpha.FilterExpression dimension_filter = 10;

Returns
TypeDescription
RunFunnelReportRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFunnel()

public RunFunnelReportRequest.Builder clearFunnel()

The configuration of this request's funnel. This funnel configuration is required.

.google.analytics.data.v1alpha.Funnel funnel = 3;

Returns
TypeDescription
RunFunnelReportRequest.Builder

clearFunnelBreakdown()

public RunFunnelReportRequest.Builder clearFunnelBreakdown()

If specified, this breakdown adds a dimension to the funnel table sub report response. This breakdown dimension expands each funnel step to the unique values of the breakdown dimension. For example, a breakdown by the deviceCategory dimension will create rows for mobile, tablet, desktop, and the total.

.google.analytics.data.v1alpha.FunnelBreakdown funnel_breakdown = 4;

Returns
TypeDescription
RunFunnelReportRequest.Builder

clearFunnelNextAction()

public RunFunnelReportRequest.Builder clearFunnelNextAction()

If specified, next action adds a dimension to the funnel visualization sub report response. This next action dimension expands each funnel step to the unique values of the next action. For example a next action of the eventName dimension will create rows for several events (i.e. session_start & click) and the total.

Next action only supports eventName and most Page / Screen dimensions like pageTitle and pagePath.

.google.analytics.data.v1alpha.FunnelNextAction funnel_next_action = 5;

Returns
TypeDescription
RunFunnelReportRequest.Builder

clearFunnelVisualizationType()

public RunFunnelReportRequest.Builder clearFunnelVisualizationType()

The funnel visualization type controls the dimensions present in the funnel visualization sub report response. If not specified, STANDARD_FUNNEL is used.

.google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType funnel_visualization_type = 6;

Returns
TypeDescription
RunFunnelReportRequest.Builder

This builder for chaining.

clearLimit()

public RunFunnelReportRequest.Builder clearLimit()

The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 100,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.

int64 limit = 9;

Returns
TypeDescription
RunFunnelReportRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProperty()

public RunFunnelReportRequest.Builder clearProperty()

A Google Analytics GA4 property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see where to find your Property ID. Within a batch request, this property should either be unspecified or consistent with the batch-level property.

Example: properties/1234

string property = 1;

Returns
TypeDescription
RunFunnelReportRequest.Builder

This builder for chaining.

clearReturnPropertyQuota()

public RunFunnelReportRequest.Builder clearReturnPropertyQuota()

Toggles whether to return the current state of this Analytics Property's quota. Quota is returned in PropertyQuota.

bool return_property_quota = 12;

Returns
TypeDescription
RunFunnelReportRequest.Builder

This builder for chaining.

clearSegments()

public RunFunnelReportRequest.Builder clearSegments()

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Returns
TypeDescription
RunFunnelReportRequest.Builder

clone()

public RunFunnelReportRequest.Builder clone()
Returns
TypeDescription
RunFunnelReportRequest.Builder
Overrides

getDateRanges(int index)

public DateRange getDateRanges(int index)

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
DateRange

getDateRangesBuilder(int index)

public DateRange.Builder getDateRangesBuilder(int index)

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
DateRange.Builder

getDateRangesBuilderList()

public List<DateRange.Builder> getDateRangesBuilderList()

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Returns
TypeDescription
List<Builder>

getDateRangesCount()

public int getDateRangesCount()

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Returns
TypeDescription
int

getDateRangesList()

public List<DateRange> getDateRangesList()

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Returns
TypeDescription
List<DateRange>

getDateRangesOrBuilder(int index)

public DateRangeOrBuilder getDateRangesOrBuilder(int index)

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
DateRangeOrBuilder

getDateRangesOrBuilderList()

public List<? extends DateRangeOrBuilder> getDateRangesOrBuilderList()

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Returns
TypeDescription
List<? extends com.google.analytics.data.v1alpha.DateRangeOrBuilder>

getDefaultInstanceForType()

public RunFunnelReportRequest getDefaultInstanceForType()
Returns
TypeDescription
RunFunnelReportRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDimensionFilter()

public FilterExpression getDimensionFilter()

Dimension filters allow you to ask for only specific dimension values in the report. To learn more, see Creating a Report: Dimension Filters for examples. Metrics cannot be used in this filter.

.google.analytics.data.v1alpha.FilterExpression dimension_filter = 10;

Returns
TypeDescription
FilterExpression

The dimensionFilter.

getDimensionFilterBuilder()

public FilterExpression.Builder getDimensionFilterBuilder()

Dimension filters allow you to ask for only specific dimension values in the report. To learn more, see Creating a Report: Dimension Filters for examples. Metrics cannot be used in this filter.

.google.analytics.data.v1alpha.FilterExpression dimension_filter = 10;

Returns
TypeDescription
FilterExpression.Builder

getDimensionFilterOrBuilder()

public FilterExpressionOrBuilder getDimensionFilterOrBuilder()

Dimension filters allow you to ask for only specific dimension values in the report. To learn more, see Creating a Report: Dimension Filters for examples. Metrics cannot be used in this filter.

.google.analytics.data.v1alpha.FilterExpression dimension_filter = 10;

Returns
TypeDescription
FilterExpressionOrBuilder

getFunnel()

public Funnel getFunnel()

The configuration of this request's funnel. This funnel configuration is required.

.google.analytics.data.v1alpha.Funnel funnel = 3;

Returns
TypeDescription
Funnel

The funnel.

getFunnelBreakdown()

public FunnelBreakdown getFunnelBreakdown()

If specified, this breakdown adds a dimension to the funnel table sub report response. This breakdown dimension expands each funnel step to the unique values of the breakdown dimension. For example, a breakdown by the deviceCategory dimension will create rows for mobile, tablet, desktop, and the total.

.google.analytics.data.v1alpha.FunnelBreakdown funnel_breakdown = 4;

Returns
TypeDescription
FunnelBreakdown

The funnelBreakdown.

getFunnelBreakdownBuilder()

public FunnelBreakdown.Builder getFunnelBreakdownBuilder()

If specified, this breakdown adds a dimension to the funnel table sub report response. This breakdown dimension expands each funnel step to the unique values of the breakdown dimension. For example, a breakdown by the deviceCategory dimension will create rows for mobile, tablet, desktop, and the total.

.google.analytics.data.v1alpha.FunnelBreakdown funnel_breakdown = 4;

Returns
TypeDescription
FunnelBreakdown.Builder

getFunnelBreakdownOrBuilder()

public FunnelBreakdownOrBuilder getFunnelBreakdownOrBuilder()

If specified, this breakdown adds a dimension to the funnel table sub report response. This breakdown dimension expands each funnel step to the unique values of the breakdown dimension. For example, a breakdown by the deviceCategory dimension will create rows for mobile, tablet, desktop, and the total.

.google.analytics.data.v1alpha.FunnelBreakdown funnel_breakdown = 4;

Returns
TypeDescription
FunnelBreakdownOrBuilder

getFunnelBuilder()

public Funnel.Builder getFunnelBuilder()

The configuration of this request's funnel. This funnel configuration is required.

.google.analytics.data.v1alpha.Funnel funnel = 3;

Returns
TypeDescription
Funnel.Builder

getFunnelNextAction()

public FunnelNextAction getFunnelNextAction()

If specified, next action adds a dimension to the funnel visualization sub report response. This next action dimension expands each funnel step to the unique values of the next action. For example a next action of the eventName dimension will create rows for several events (i.e. session_start & click) and the total.

Next action only supports eventName and most Page / Screen dimensions like pageTitle and pagePath.

.google.analytics.data.v1alpha.FunnelNextAction funnel_next_action = 5;

Returns
TypeDescription
FunnelNextAction

The funnelNextAction.

getFunnelNextActionBuilder()

public FunnelNextAction.Builder getFunnelNextActionBuilder()

If specified, next action adds a dimension to the funnel visualization sub report response. This next action dimension expands each funnel step to the unique values of the next action. For example a next action of the eventName dimension will create rows for several events (i.e. session_start & click) and the total.

Next action only supports eventName and most Page / Screen dimensions like pageTitle and pagePath.

.google.analytics.data.v1alpha.FunnelNextAction funnel_next_action = 5;

Returns
TypeDescription
FunnelNextAction.Builder

getFunnelNextActionOrBuilder()

public FunnelNextActionOrBuilder getFunnelNextActionOrBuilder()

If specified, next action adds a dimension to the funnel visualization sub report response. This next action dimension expands each funnel step to the unique values of the next action. For example a next action of the eventName dimension will create rows for several events (i.e. session_start & click) and the total.

Next action only supports eventName and most Page / Screen dimensions like pageTitle and pagePath.

.google.analytics.data.v1alpha.FunnelNextAction funnel_next_action = 5;

Returns
TypeDescription
FunnelNextActionOrBuilder

getFunnelOrBuilder()

public FunnelOrBuilder getFunnelOrBuilder()

The configuration of this request's funnel. This funnel configuration is required.

.google.analytics.data.v1alpha.Funnel funnel = 3;

Returns
TypeDescription
FunnelOrBuilder

getFunnelVisualizationType()

public RunFunnelReportRequest.FunnelVisualizationType getFunnelVisualizationType()

The funnel visualization type controls the dimensions present in the funnel visualization sub report response. If not specified, STANDARD_FUNNEL is used.

.google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType funnel_visualization_type = 6;

Returns
TypeDescription
RunFunnelReportRequest.FunnelVisualizationType

The funnelVisualizationType.

getFunnelVisualizationTypeValue()

public int getFunnelVisualizationTypeValue()

The funnel visualization type controls the dimensions present in the funnel visualization sub report response. If not specified, STANDARD_FUNNEL is used.

.google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType funnel_visualization_type = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for funnelVisualizationType.

getLimit()

public long getLimit()

The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 100,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.

int64 limit = 9;

Returns
TypeDescription
long

The limit.

getProperty()

public String getProperty()

A Google Analytics GA4 property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see where to find your Property ID. Within a batch request, this property should either be unspecified or consistent with the batch-level property.

Example: properties/1234

string property = 1;

Returns
TypeDescription
String

The property.

getPropertyBytes()

public ByteString getPropertyBytes()

A Google Analytics GA4 property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see where to find your Property ID. Within a batch request, this property should either be unspecified or consistent with the batch-level property.

Example: properties/1234

string property = 1;

Returns
TypeDescription
ByteString

The bytes for property.

getReturnPropertyQuota()

public boolean getReturnPropertyQuota()

Toggles whether to return the current state of this Analytics Property's quota. Quota is returned in PropertyQuota.

bool return_property_quota = 12;

Returns
TypeDescription
boolean

The returnPropertyQuota.

getSegments(int index)

public Segment getSegments(int index)

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Segment

getSegmentsBuilder(int index)

public Segment.Builder getSegmentsBuilder(int index)

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
Segment.Builder

getSegmentsBuilderList()

public List<Segment.Builder> getSegmentsBuilderList()

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Returns
TypeDescription
List<Builder>

getSegmentsCount()

public int getSegmentsCount()

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Returns
TypeDescription
int

getSegmentsList()

public List<Segment> getSegmentsList()

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Returns
TypeDescription
List<Segment>

getSegmentsOrBuilder(int index)

public SegmentOrBuilder getSegmentsOrBuilder(int index)

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
SegmentOrBuilder

getSegmentsOrBuilderList()

public List<? extends SegmentOrBuilder> getSegmentsOrBuilderList()

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Returns
TypeDescription
List<? extends com.google.analytics.data.v1alpha.SegmentOrBuilder>

hasDimensionFilter()

public boolean hasDimensionFilter()

Dimension filters allow you to ask for only specific dimension values in the report. To learn more, see Creating a Report: Dimension Filters for examples. Metrics cannot be used in this filter.

.google.analytics.data.v1alpha.FilterExpression dimension_filter = 10;

Returns
TypeDescription
boolean

Whether the dimensionFilter field is set.

hasFunnel()

public boolean hasFunnel()

The configuration of this request's funnel. This funnel configuration is required.

.google.analytics.data.v1alpha.Funnel funnel = 3;

Returns
TypeDescription
boolean

Whether the funnel field is set.

hasFunnelBreakdown()

public boolean hasFunnelBreakdown()

If specified, this breakdown adds a dimension to the funnel table sub report response. This breakdown dimension expands each funnel step to the unique values of the breakdown dimension. For example, a breakdown by the deviceCategory dimension will create rows for mobile, tablet, desktop, and the total.

.google.analytics.data.v1alpha.FunnelBreakdown funnel_breakdown = 4;

Returns
TypeDescription
boolean

Whether the funnelBreakdown field is set.

hasFunnelNextAction()

public boolean hasFunnelNextAction()

If specified, next action adds a dimension to the funnel visualization sub report response. This next action dimension expands each funnel step to the unique values of the next action. For example a next action of the eventName dimension will create rows for several events (i.e. session_start & click) and the total.

Next action only supports eventName and most Page / Screen dimensions like pageTitle and pagePath.

.google.analytics.data.v1alpha.FunnelNextAction funnel_next_action = 5;

Returns
TypeDescription
boolean

Whether the funnelNextAction 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 RunFunnelReportRequest.Builder mergeDimensionFilter(FilterExpression value)

Dimension filters allow you to ask for only specific dimension values in the report. To learn more, see Creating a Report: Dimension Filters for examples. Metrics cannot be used in this filter.

.google.analytics.data.v1alpha.FilterExpression dimension_filter = 10;

Parameter
NameDescription
valueFilterExpression
Returns
TypeDescription
RunFunnelReportRequest.Builder

mergeFrom(RunFunnelReportRequest other)

public RunFunnelReportRequest.Builder mergeFrom(RunFunnelReportRequest other)
Parameter
NameDescription
otherRunFunnelReportRequest
Returns
TypeDescription
RunFunnelReportRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFunnel(Funnel value)

public RunFunnelReportRequest.Builder mergeFunnel(Funnel value)

The configuration of this request's funnel. This funnel configuration is required.

.google.analytics.data.v1alpha.Funnel funnel = 3;

Parameter
NameDescription
valueFunnel
Returns
TypeDescription
RunFunnelReportRequest.Builder

mergeFunnelBreakdown(FunnelBreakdown value)

public RunFunnelReportRequest.Builder mergeFunnelBreakdown(FunnelBreakdown value)

If specified, this breakdown adds a dimension to the funnel table sub report response. This breakdown dimension expands each funnel step to the unique values of the breakdown dimension. For example, a breakdown by the deviceCategory dimension will create rows for mobile, tablet, desktop, and the total.

.google.analytics.data.v1alpha.FunnelBreakdown funnel_breakdown = 4;

Parameter
NameDescription
valueFunnelBreakdown
Returns
TypeDescription
RunFunnelReportRequest.Builder

mergeFunnelNextAction(FunnelNextAction value)

public RunFunnelReportRequest.Builder mergeFunnelNextAction(FunnelNextAction value)

If specified, next action adds a dimension to the funnel visualization sub report response. This next action dimension expands each funnel step to the unique values of the next action. For example a next action of the eventName dimension will create rows for several events (i.e. session_start & click) and the total.

Next action only supports eventName and most Page / Screen dimensions like pageTitle and pagePath.

.google.analytics.data.v1alpha.FunnelNextAction funnel_next_action = 5;

Parameter
NameDescription
valueFunnelNextAction
Returns
TypeDescription
RunFunnelReportRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDateRanges(int index)

public RunFunnelReportRequest.Builder removeDateRanges(int index)

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RunFunnelReportRequest.Builder

removeSegments(int index)

public RunFunnelReportRequest.Builder removeSegments(int index)

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
RunFunnelReportRequest.Builder

setDateRanges(int index, DateRange value)

public RunFunnelReportRequest.Builder setDateRanges(int index, DateRange value)

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Parameters
NameDescription
indexint
valueDateRange
Returns
TypeDescription
RunFunnelReportRequest.Builder

setDateRanges(int index, DateRange.Builder builderForValue)

public RunFunnelReportRequest.Builder setDateRanges(int index, DateRange.Builder builderForValue)

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.

repeated .google.analytics.data.v1alpha.DateRange date_ranges = 2;

Parameters
NameDescription
indexint
builderForValueDateRange.Builder
Returns
TypeDescription
RunFunnelReportRequest.Builder

setDimensionFilter(FilterExpression value)

public RunFunnelReportRequest.Builder setDimensionFilter(FilterExpression value)

Dimension filters allow you to ask for only specific dimension values in the report. To learn more, see Creating a Report: Dimension Filters for examples. Metrics cannot be used in this filter.

.google.analytics.data.v1alpha.FilterExpression dimension_filter = 10;

Parameter
NameDescription
valueFilterExpression
Returns
TypeDescription
RunFunnelReportRequest.Builder

setDimensionFilter(FilterExpression.Builder builderForValue)

public RunFunnelReportRequest.Builder setDimensionFilter(FilterExpression.Builder builderForValue)

Dimension filters allow you to ask for only specific dimension values in the report. To learn more, see Creating a Report: Dimension Filters for examples. Metrics cannot be used in this filter.

.google.analytics.data.v1alpha.FilterExpression dimension_filter = 10;

Parameter
NameDescription
builderForValueFilterExpression.Builder
Returns
TypeDescription
RunFunnelReportRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFunnel(Funnel value)

public RunFunnelReportRequest.Builder setFunnel(Funnel value)

The configuration of this request's funnel. This funnel configuration is required.

.google.analytics.data.v1alpha.Funnel funnel = 3;

Parameter
NameDescription
valueFunnel
Returns
TypeDescription
RunFunnelReportRequest.Builder

setFunnel(Funnel.Builder builderForValue)

public RunFunnelReportRequest.Builder setFunnel(Funnel.Builder builderForValue)

The configuration of this request's funnel. This funnel configuration is required.

.google.analytics.data.v1alpha.Funnel funnel = 3;

Parameter
NameDescription
builderForValueFunnel.Builder
Returns
TypeDescription
RunFunnelReportRequest.Builder

setFunnelBreakdown(FunnelBreakdown value)

public RunFunnelReportRequest.Builder setFunnelBreakdown(FunnelBreakdown value)

If specified, this breakdown adds a dimension to the funnel table sub report response. This breakdown dimension expands each funnel step to the unique values of the breakdown dimension. For example, a breakdown by the deviceCategory dimension will create rows for mobile, tablet, desktop, and the total.

.google.analytics.data.v1alpha.FunnelBreakdown funnel_breakdown = 4;

Parameter
NameDescription
valueFunnelBreakdown
Returns
TypeDescription
RunFunnelReportRequest.Builder

setFunnelBreakdown(FunnelBreakdown.Builder builderForValue)

public RunFunnelReportRequest.Builder setFunnelBreakdown(FunnelBreakdown.Builder builderForValue)

If specified, this breakdown adds a dimension to the funnel table sub report response. This breakdown dimension expands each funnel step to the unique values of the breakdown dimension. For example, a breakdown by the deviceCategory dimension will create rows for mobile, tablet, desktop, and the total.

.google.analytics.data.v1alpha.FunnelBreakdown funnel_breakdown = 4;

Parameter
NameDescription
builderForValueFunnelBreakdown.Builder
Returns
TypeDescription
RunFunnelReportRequest.Builder

setFunnelNextAction(FunnelNextAction value)

public RunFunnelReportRequest.Builder setFunnelNextAction(FunnelNextAction value)

If specified, next action adds a dimension to the funnel visualization sub report response. This next action dimension expands each funnel step to the unique values of the next action. For example a next action of the eventName dimension will create rows for several events (i.e. session_start & click) and the total.

Next action only supports eventName and most Page / Screen dimensions like pageTitle and pagePath.

.google.analytics.data.v1alpha.FunnelNextAction funnel_next_action = 5;

Parameter
NameDescription
valueFunnelNextAction
Returns
TypeDescription
RunFunnelReportRequest.Builder

setFunnelNextAction(FunnelNextAction.Builder builderForValue)

public RunFunnelReportRequest.Builder setFunnelNextAction(FunnelNextAction.Builder builderForValue)

If specified, next action adds a dimension to the funnel visualization sub report response. This next action dimension expands each funnel step to the unique values of the next action. For example a next action of the eventName dimension will create rows for several events (i.e. session_start & click) and the total.

Next action only supports eventName and most Page / Screen dimensions like pageTitle and pagePath.

.google.analytics.data.v1alpha.FunnelNextAction funnel_next_action = 5;

Parameter
NameDescription
builderForValueFunnelNextAction.Builder
Returns
TypeDescription
RunFunnelReportRequest.Builder

setFunnelVisualizationType(RunFunnelReportRequest.FunnelVisualizationType value)

public RunFunnelReportRequest.Builder setFunnelVisualizationType(RunFunnelReportRequest.FunnelVisualizationType value)

The funnel visualization type controls the dimensions present in the funnel visualization sub report response. If not specified, STANDARD_FUNNEL is used.

.google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType funnel_visualization_type = 6;

Parameter
NameDescription
valueRunFunnelReportRequest.FunnelVisualizationType

The funnelVisualizationType to set.

Returns
TypeDescription
RunFunnelReportRequest.Builder

This builder for chaining.

setFunnelVisualizationTypeValue(int value)

public RunFunnelReportRequest.Builder setFunnelVisualizationTypeValue(int value)

The funnel visualization type controls the dimensions present in the funnel visualization sub report response. If not specified, STANDARD_FUNNEL is used.

.google.analytics.data.v1alpha.RunFunnelReportRequest.FunnelVisualizationType funnel_visualization_type = 6;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
RunFunnelReportRequest.Builder

This builder for chaining.

setLimit(long value)

public RunFunnelReportRequest.Builder setLimit(long value)

The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 100,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.

int64 limit = 9;

Parameter
NameDescription
valuelong

The limit to set.

Returns
TypeDescription
RunFunnelReportRequest.Builder

This builder for chaining.

setProperty(String value)

public RunFunnelReportRequest.Builder setProperty(String value)

A Google Analytics GA4 property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see where to find your Property ID. Within a batch request, this property should either be unspecified or consistent with the batch-level property.

Example: properties/1234

string property = 1;

Parameter
NameDescription
valueString

The property to set.

Returns
TypeDescription
RunFunnelReportRequest.Builder

This builder for chaining.

setPropertyBytes(ByteString value)

public RunFunnelReportRequest.Builder setPropertyBytes(ByteString value)

A Google Analytics GA4 property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see where to find your Property ID. Within a batch request, this property should either be unspecified or consistent with the batch-level property.

Example: properties/1234

string property = 1;

Parameter
NameDescription
valueByteString

The bytes for property to set.

Returns
TypeDescription
RunFunnelReportRequest.Builder

This builder for chaining.

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

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

setReturnPropertyQuota(boolean value)

public RunFunnelReportRequest.Builder setReturnPropertyQuota(boolean value)

Toggles whether to return the current state of this Analytics Property's quota. Quota is returned in PropertyQuota.

bool return_property_quota = 12;

Parameter
NameDescription
valueboolean

The returnPropertyQuota to set.

Returns
TypeDescription
RunFunnelReportRequest.Builder

This builder for chaining.

setSegments(int index, Segment value)

public RunFunnelReportRequest.Builder setSegments(int index, Segment value)

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Parameters
NameDescription
indexint
valueSegment
Returns
TypeDescription
RunFunnelReportRequest.Builder

setSegments(int index, Segment.Builder builderForValue)

public RunFunnelReportRequest.Builder setSegments(int index, Segment.Builder builderForValue)

The configurations of segments. Segments are subsets of a property's data. In a funnel report with segments, the funnel is evaluated in each segment.

Each segment specified in this request produces a separate row in the response; in the response, each segment identified by its name.

The segments parameter is optional. Requests are limited to 4 segments.

repeated .google.analytics.data.v1alpha.Segment segments = 7;

Parameters
NameDescription
indexint
builderForValueSegment.Builder
Returns
TypeDescription
RunFunnelReportRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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