Class SegmentFilterScoping (0.44.0)

public final class SegmentFilterScoping extends GeneratedMessageV3 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 Fields

AT_ANY_POINT_IN_TIME_FIELD_NUMBER

public static final int AT_ANY_POINT_IN_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SegmentFilterScoping getDefaultInstance()
Returns
TypeDescription
SegmentFilterScoping

getDescriptor()

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

newBuilder()

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

newBuilder(SegmentFilterScoping prototype)

public static SegmentFilterScoping.Builder newBuilder(SegmentFilterScoping prototype)
Parameter
NameDescription
prototypeSegmentFilterScoping
Returns
TypeDescription
SegmentFilterScoping.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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