public final class SegmentMetricFilter
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 |
|---|
SegmentMetricFilter() |
| Modifier and Type | Method and Description |
|---|---|
SegmentMetricFilter |
clone() |
java.lang.String |
getComparisonValue()
The value to compare against.
|
java.lang.String |
getMaxComparisonValue()
Max comparison value is only used for `BETWEEN` operator.
|
java.lang.String |
getMetricName()
The metric that will be filtered on.
|
java.lang.String |
getOperator()
Specifies is the operation to perform to compare the metric.
|
java.lang.String |
getScope()
Scope for a metric defines the level at which that metric is defined.
|
SegmentMetricFilter |
set(java.lang.String fieldName,
java.lang.Object value) |
SegmentMetricFilter |
setComparisonValue(java.lang.String comparisonValue)
The value to compare against.
|
SegmentMetricFilter |
setMaxComparisonValue(java.lang.String maxComparisonValue)
Max comparison value is only used for `BETWEEN` operator.
|
SegmentMetricFilter |
setMetricName(java.lang.String metricName)
The metric that will be filtered on.
|
SegmentMetricFilter |
setOperator(java.lang.String operator)
Specifies is the operation to perform to compare the metric.
|
SegmentMetricFilter |
setScope(java.lang.String scope)
Scope for a metric defines the level at which that metric is defined.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getComparisonValue()
null for nonepublic SegmentMetricFilter setComparisonValue(java.lang.String comparisonValue)
comparisonValue - comparisonValue or null for nonepublic java.lang.String getMaxComparisonValue()
null for nonepublic SegmentMetricFilter setMaxComparisonValue(java.lang.String maxComparisonValue)
maxComparisonValue - maxComparisonValue or null for nonepublic java.lang.String getMetricName()
null for nonepublic SegmentMetricFilter setMetricName(java.lang.String metricName)
metricName - metricName or null for nonepublic java.lang.String getOperator()
null for nonepublic SegmentMetricFilter setOperator(java.lang.String operator)
operator - operator or null for nonepublic java.lang.String getScope()
null for nonepublic SegmentMetricFilter setScope(java.lang.String scope)
scope - scope or null for nonepublic SegmentMetricFilter set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic SegmentMetricFilter clone()
clone in class com.google.api.client.json.GenericJson