public final class SegmentFilter
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Analytics Reporting API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
SegmentFilter() |
| Modifier and Type | Method and Description |
|---|---|
SegmentFilter |
clone() |
java.lang.Boolean |
getNot()
If true, match the complement of simple or sequence segment.
|
SequenceSegment |
getSequenceSegment()
Sequence conditions consist of one or more steps, where each step is defined by one or more
dimension/metric conditions.
|
SimpleSegment |
getSimpleSegment()
A Simple segment conditions consist of one or more dimension/metric conditions that can be
combined
|
SegmentFilter |
set(java.lang.String fieldName,
java.lang.Object value) |
SegmentFilter |
setNot(java.lang.Boolean not)
If true, match the complement of simple or sequence segment.
|
SegmentFilter |
setSequenceSegment(SequenceSegment sequenceSegment)
Sequence conditions consist of one or more steps, where each step is defined by one or more
dimension/metric conditions.
|
SegmentFilter |
setSimpleSegment(SimpleSegment simpleSegment)
A Simple segment conditions consist of one or more dimension/metric conditions that can be
combined
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getNot()
null for nonepublic SegmentFilter setNot(java.lang.Boolean not)
not - not or null for nonepublic SequenceSegment getSequenceSegment()
null for nonepublic SegmentFilter setSequenceSegment(SequenceSegment sequenceSegment)
sequenceSegment - sequenceSegment or null for nonepublic SimpleSegment getSimpleSegment()
null for nonepublic SegmentFilter setSimpleSegment(SimpleSegment simpleSegment)
simpleSegment - simpleSegment or null for nonepublic SegmentFilter set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic SegmentFilter clone()
clone in class com.google.api.client.json.GenericJson