Class RunFunnelReportRequest (0.35.0)

public final class RunFunnelReportRequest extends GeneratedMessageV3 implements RunFunnelReportRequestOrBuilder

The request for a funnel report.

Protobuf type google.analytics.data.v1alpha.RunFunnelReportRequest

Static Fields

DATE_RANGES_FIELD_NUMBER

public static final int DATE_RANGES_FIELD_NUMBER
Field Value
TypeDescription
int

DIMENSION_FILTER_FIELD_NUMBER

public static final int DIMENSION_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

FUNNEL_BREAKDOWN_FIELD_NUMBER

public static final int FUNNEL_BREAKDOWN_FIELD_NUMBER
Field Value
TypeDescription
int

FUNNEL_FIELD_NUMBER

public static final int FUNNEL_FIELD_NUMBER
Field Value
TypeDescription
int

FUNNEL_NEXT_ACTION_FIELD_NUMBER

public static final int FUNNEL_NEXT_ACTION_FIELD_NUMBER
Field Value
TypeDescription
int

FUNNEL_VISUALIZATION_TYPE_FIELD_NUMBER

public static final int FUNNEL_VISUALIZATION_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

LIMIT_FIELD_NUMBER

public static final int LIMIT_FIELD_NUMBER
Field Value
TypeDescription
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

RETURN_PROPERTY_QUOTA_FIELD_NUMBER

public static final int RETURN_PROPERTY_QUOTA_FIELD_NUMBER
Field Value
TypeDescription
int

SEGMENTS_FIELD_NUMBER

public static final int SEGMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RunFunnelReportRequest getDefaultInstance()
Returns
TypeDescription
RunFunnelReportRequest

getDescriptor()

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

newBuilder()

public static RunFunnelReportRequest.Builder newBuilder()
Returns
TypeDescription
RunFunnelReportRequest.Builder

newBuilder(RunFunnelReportRequest prototype)

public static RunFunnelReportRequest.Builder newBuilder(RunFunnelReportRequest prototype)
Parameter
NameDescription
prototypeRunFunnelReportRequest
Returns
TypeDescription
RunFunnelReportRequest.Builder

parseDelimitedFrom(InputStream input)

public static RunFunnelReportRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunFunnelReportRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunFunnelReportRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunFunnelReportRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RunFunnelReportRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RunFunnelReportRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RunFunnelReportRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunFunnelReportRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RunFunnelReportRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RunFunnelReportRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RunFunnelReportRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunFunnelReportRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RunFunnelReportRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RunFunnelReportRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RunFunnelReportRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunFunnelReportRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RunFunnelReportRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunFunnelReportRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunFunnelReportRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunFunnelReportRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RunFunnelReportRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RunFunnelReportRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RunFunnelReportRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunFunnelReportRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RunFunnelReportRequest> parser()
Returns
TypeDescription
Parser<RunFunnelReportRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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

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.

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.

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

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 (for example 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.

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 (for example 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 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.

int64 limit = 9;

Returns
TypeDescription
long

The limit.

getParserForType()

public Parser<RunFunnelReportRequest> getParserForType()
Returns
TypeDescription
Parser<RunFunnelReportRequest>
Overrides

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 (for example 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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RunFunnelReportRequest.Builder newBuilderForType()
Returns
TypeDescription
RunFunnelReportRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RunFunnelReportRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RunFunnelReportRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RunFunnelReportRequest.Builder toBuilder()
Returns
TypeDescription
RunFunnelReportRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException