Class SegmentFilterScoping.Builder (0.94.0)

public static final class SegmentFilterScoping.Builder extends GeneratedMessage.Builder<SegmentFilterScoping.Builder> implements SegmentFilterScopingOrBuilder

Scopings specify how the dimensions & metrics of multiple events should be considered when evaluating a segment filter.

Protobuf type google.analytics.data.v1alpha.SegmentFilterScoping

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SegmentFilterScoping build()
Returns
Type Description
SegmentFilterScoping

buildPartial()

public SegmentFilterScoping buildPartial()
Returns
Type Description
SegmentFilterScoping

clear()

public SegmentFilterScoping.Builder clear()
Returns
Type Description
SegmentFilterScoping.Builder
Overrides

clearAtAnyPointInTime()

public SegmentFilterScoping.Builder clearAtAnyPointInTime()

If atAnyPointInTime is true, this filter evaluates to true for all events if it evaluates to true for any event in the date range of the request.

This atAnyPointInTime parameter does not extend the date range of events in the report. If atAnyPointInTime is true, only events within the report's date range are considered when evaluating this filter.

This atAnyPointInTime is only able to be specified if the criteria scoping is ACROSS_ALL_SESSIONS and is not able to be specified in sequences.

If the criteria scoping is ACROSS_ALL_SESSIONS, atAnyPointInTime = false is used if unspecified.

optional bool at_any_point_in_time = 1;

Returns
Type Description
SegmentFilterScoping.Builder

This builder for chaining.

getAtAnyPointInTime()

public boolean getAtAnyPointInTime()

If atAnyPointInTime is true, this filter evaluates to true for all events if it evaluates to true for any event in the date range of the request.

This atAnyPointInTime parameter does not extend the date range of events in the report. If atAnyPointInTime is true, only events within the report's date range are considered when evaluating this filter.

This atAnyPointInTime is only able to be specified if the criteria scoping is ACROSS_ALL_SESSIONS and is not able to be specified in sequences.

If the criteria scoping is ACROSS_ALL_SESSIONS, atAnyPointInTime = false is used if unspecified.

optional bool at_any_point_in_time = 1;

Returns
Type Description
boolean

The atAnyPointInTime.

getDefaultInstanceForType()

public SegmentFilterScoping getDefaultInstanceForType()
Returns
Type Description
SegmentFilterScoping

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasAtAnyPointInTime()

public boolean hasAtAnyPointInTime()

If atAnyPointInTime is true, this filter evaluates to true for all events if it evaluates to true for any event in the date range of the request.

This atAnyPointInTime parameter does not extend the date range of events in the report. If atAnyPointInTime is true, only events within the report's date range are considered when evaluating this filter.

This atAnyPointInTime is only able to be specified if the criteria scoping is ACROSS_ALL_SESSIONS and is not able to be specified in sequences.

If the criteria scoping is ACROSS_ALL_SESSIONS, atAnyPointInTime = false is used if unspecified.

optional bool at_any_point_in_time = 1;

Returns
Type Description
boolean

Whether the atAnyPointInTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SegmentFilterScoping other)

public SegmentFilterScoping.Builder mergeFrom(SegmentFilterScoping other)
Parameter
Name Description
other SegmentFilterScoping
Returns
Type Description
SegmentFilterScoping.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SegmentFilterScoping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SegmentFilterScoping.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SegmentFilterScoping.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SegmentFilterScoping.Builder
Overrides

setAtAnyPointInTime(boolean value)

public SegmentFilterScoping.Builder setAtAnyPointInTime(boolean value)

If atAnyPointInTime is true, this filter evaluates to true for all events if it evaluates to true for any event in the date range of the request.

This atAnyPointInTime parameter does not extend the date range of events in the report. If atAnyPointInTime is true, only events within the report's date range are considered when evaluating this filter.

This atAnyPointInTime is only able to be specified if the criteria scoping is ACROSS_ALL_SESSIONS and is not able to be specified in sequences.

If the criteria scoping is ACROSS_ALL_SESSIONS, atAnyPointInTime = false is used if unspecified.

optional bool at_any_point_in_time = 1;

Parameter
Name Description
value boolean

The atAnyPointInTime to set.

Returns
Type Description
SegmentFilterScoping.Builder

This builder for chaining.