public final class ServingContext 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 Ad Exchange Buyer API II. 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 |
|---|
ServingContext() |
| Modifier and Type | Method and Description |
|---|---|
ServingContext |
clone() |
String |
getAll()
Matches all contexts.
|
AppContext |
getAppType()
Matches impressions for a particular app type.
|
AuctionContext |
getAuctionType()
Matches impressions for a particular auction type.
|
LocationContext |
getLocation()
Matches impressions coming from users *or* publishers in a specific location.
|
PlatformContext |
getPlatform()
Matches impressions coming from a particular platform.
|
SecurityContext |
getSecurityType()
Matches impressions for a particular security type.
|
ServingContext |
set(String fieldName,
Object value) |
ServingContext |
setAll(String all)
Matches all contexts.
|
ServingContext |
setAppType(AppContext appType)
Matches impressions for a particular app type.
|
ServingContext |
setAuctionType(AuctionContext auctionType)
Matches impressions for a particular auction type.
|
ServingContext |
setLocation(LocationContext location)
Matches impressions coming from users *or* publishers in a specific location.
|
ServingContext |
setPlatform(PlatformContext platform)
Matches impressions coming from a particular platform.
|
ServingContext |
setSecurityType(SecurityContext securityType)
Matches impressions for a particular security type.
|
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 getAll()
null for nonepublic ServingContext setAll(String all)
all - all or null for nonepublic AppContext getAppType()
null for nonepublic ServingContext setAppType(AppContext appType)
appType - appType or null for nonepublic AuctionContext getAuctionType()
null for nonepublic ServingContext setAuctionType(AuctionContext auctionType)
auctionType - auctionType or null for nonepublic LocationContext getLocation()
null for nonepublic ServingContext setLocation(LocationContext location)
location - location or null for nonepublic PlatformContext getPlatform()
null for nonepublic ServingContext setPlatform(PlatformContext platform)
platform - platform or null for nonepublic SecurityContext getSecurityType()
null for nonepublic ServingContext setSecurityType(SecurityContext securityType)
securityType - securityType or null for nonepublic ServingContext set(String fieldName, Object value)
set in class GenericJsonpublic ServingContext clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.