public final class SegmentMetricFilter extends 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 Analytics Reporting API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SegmentMetricFilter() |
| Modifier and Type | Method and Description |
|---|---|
SegmentMetricFilter |
clone() |
String |
getComparisonValue()
The value to compare against.
|
String |
getMaxComparisonValue()
Max comparison value is only used for `BETWEEN` operator.
|
String |
getMetricName()
The metric that will be filtered on.
|
String |
getOperator()
Specifies is the operation to perform to compare the metric.
|
String |
getScope()
Scope for a metric defines the level at which that metric is defined.
|
SegmentMetricFilter |
set(String fieldName,
Object value) |
SegmentMetricFilter |
setComparisonValue(String comparisonValue)
The value to compare against.
|
SegmentMetricFilter |
setMaxComparisonValue(String maxComparisonValue)
Max comparison value is only used for `BETWEEN` operator.
|
SegmentMetricFilter |
setMetricName(String metricName)
The metric that will be filtered on.
|
SegmentMetricFilter |
setOperator(String operator)
Specifies is the operation to perform to compare the metric.
|
SegmentMetricFilter |
setScope(String scope)
Scope for a metric defines the level at which that metric is defined.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getComparisonValue()
null for nonepublic SegmentMetricFilter setComparisonValue(String comparisonValue)
comparisonValue - comparisonValue or null for nonepublic String getMaxComparisonValue()
null for nonepublic SegmentMetricFilter setMaxComparisonValue(String maxComparisonValue)
maxComparisonValue - maxComparisonValue or null for nonepublic String getMetricName()
null for nonepublic SegmentMetricFilter setMetricName(String metricName)
metricName - metricName or null for nonepublic String getOperator()
null for nonepublic SegmentMetricFilter setOperator(String operator)
operator - operator or null for nonepublic String getScope()
null for nonepublic SegmentMetricFilter setScope(String scope)
scope - scope or null for nonepublic SegmentMetricFilter set(String fieldName, Object value)
set in class GenericJsonpublic SegmentMetricFilter clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.