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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SegmentFilterScoping.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SegmentFilterScoping build()
Returns
buildPartial()
public SegmentFilterScoping buildPartial()
Returns
clear()
public SegmentFilterScoping.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public SegmentFilterScoping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SegmentFilterScoping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SegmentFilterScoping.Builder clone()
Returns
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
Type | Description |
boolean | The atAnyPointInTime.
|
getDefaultInstanceForType()
public SegmentFilterScoping getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SegmentFilterScoping other)
public SegmentFilterScoping.Builder mergeFrom(SegmentFilterScoping other)
Parameter
Returns
public SegmentFilterScoping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SegmentFilterScoping.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SegmentFilterScoping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public SegmentFilterScoping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SegmentFilterScoping.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SegmentFilterScoping.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides