public final class SegmentFilterClause
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 |
|---|
SegmentFilterClause() |
| Modifier and Type | Method and Description |
|---|---|
SegmentFilterClause |
clone() |
SegmentDimensionFilter |
getDimensionFilter()
Dimension Filter for the segment definition.
|
SegmentMetricFilter |
getMetricFilter()
Metric Filter for the segment definition.
|
java.lang.Boolean |
getNot()
Matches the complement (`!`) of the filter.
|
SegmentFilterClause |
set(java.lang.String fieldName,
java.lang.Object value) |
SegmentFilterClause |
setDimensionFilter(SegmentDimensionFilter dimensionFilter)
Dimension Filter for the segment definition.
|
SegmentFilterClause |
setMetricFilter(SegmentMetricFilter metricFilter)
Metric Filter for the segment definition.
|
SegmentFilterClause |
setNot(java.lang.Boolean not)
Matches the complement (`!`) of the filter.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic SegmentDimensionFilter getDimensionFilter()
null for nonepublic SegmentFilterClause setDimensionFilter(SegmentDimensionFilter dimensionFilter)
dimensionFilter - dimensionFilter or null for nonepublic SegmentMetricFilter getMetricFilter()
null for nonepublic SegmentFilterClause setMetricFilter(SegmentMetricFilter metricFilter)
metricFilter - metricFilter or null for nonepublic java.lang.Boolean getNot()
null for nonepublic SegmentFilterClause setNot(java.lang.Boolean not)
not - not or null for nonepublic SegmentFilterClause set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic SegmentFilterClause clone()
clone in class com.google.api.client.json.GenericJson