Class SegmentFilterScoping.Builder (0.41.0)

public static final class SegmentFilterScoping.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SegmentFilterScoping build()
Returns
TypeDescription
SegmentFilterScoping

buildPartial()

public SegmentFilterScoping buildPartial()
Returns
TypeDescription
SegmentFilterScoping

clear()

public SegmentFilterScoping.Builder clear()
Returns
TypeDescription
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
TypeDescription
SegmentFilterScoping.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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
TypeDescription
boolean

The atAnyPointInTime.

getDefaultInstanceForType()

public SegmentFilterScoping getDefaultInstanceForType()
Returns
TypeDescription
SegmentFilterScoping

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the atAnyPointInTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SegmentFilterScoping other)

public SegmentFilterScoping.Builder mergeFrom(SegmentFilterScoping other)
Parameter
NameDescription
otherSegmentFilterScoping
Returns
TypeDescription
SegmentFilterScoping.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SegmentFilterScoping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The atAnyPointInTime to set.

Returns
TypeDescription
SegmentFilterScoping.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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