public final class TopicTrends
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 Content API for Shopping. 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TopicTrends() |
Modifier and Type | Method and Description |
---|---|
TopicTrends |
clone() |
String |
getCustomerCountryCode()
Country trends are calculated for.
|
Date |
getDate()
Date the trend score was retrieved.
|
Double |
getLast120DaysSearchInterest()
Search interest in the last 120 days, with the same normalization as search_interest.
|
Double |
getLast30DaysSearchInterest()
Search interest in the last 30 days, with the same normalization as search_interest.
|
Double |
getLast7DaysSearchInterest()
Search interest in the last 7 days, with the same normalization as search_interest.
|
Double |
getLast90DaysSearchInterest()
Search interest in the last 90 days, with the same normalization as search_interest.
|
Double |
getNext7DaysSearchInterest()
Estimated search interest in the next 7 days, with the same normalization as search_interest.
|
Double |
getSearchInterest()
Daily search interest, normalized to the time and country to make comparisons easier, with 100
representing peak popularity (from 0 to 100) for the requested time period and location.
|
String |
getTopic()
Google-provided topic trends are calculated for.
|
TopicTrends |
set(String fieldName,
Object value) |
TopicTrends |
setCustomerCountryCode(String customerCountryCode)
Country trends are calculated for.
|
TopicTrends |
setDate(Date date)
Date the trend score was retrieved.
|
TopicTrends |
setLast120DaysSearchInterest(Double last120DaysSearchInterest)
Search interest in the last 120 days, with the same normalization as search_interest.
|
TopicTrends |
setLast30DaysSearchInterest(Double last30DaysSearchInterest)
Search interest in the last 30 days, with the same normalization as search_interest.
|
TopicTrends |
setLast7DaysSearchInterest(Double last7DaysSearchInterest)
Search interest in the last 7 days, with the same normalization as search_interest.
|
TopicTrends |
setLast90DaysSearchInterest(Double last90DaysSearchInterest)
Search interest in the last 90 days, with the same normalization as search_interest.
|
TopicTrends |
setNext7DaysSearchInterest(Double next7DaysSearchInterest)
Estimated search interest in the next 7 days, with the same normalization as search_interest.
|
TopicTrends |
setSearchInterest(Double searchInterest)
Daily search interest, normalized to the time and country to make comparisons easier, with 100
representing peak popularity (from 0 to 100) for the requested time period and location.
|
TopicTrends |
setTopic(String topic)
Google-provided topic trends are calculated for.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCustomerCountryCode()
null
for nonepublic TopicTrends setCustomerCountryCode(String customerCountryCode)
customerCountryCode
- customerCountryCode or null
for nonepublic Date getDate()
null
for nonepublic TopicTrends setDate(Date date)
date
- date or null
for nonepublic Double getLast120DaysSearchInterest()
null
for nonepublic TopicTrends setLast120DaysSearchInterest(Double last120DaysSearchInterest)
last120DaysSearchInterest
- last120DaysSearchInterest or null
for nonepublic Double getLast30DaysSearchInterest()
null
for nonepublic TopicTrends setLast30DaysSearchInterest(Double last30DaysSearchInterest)
last30DaysSearchInterest
- last30DaysSearchInterest or null
for nonepublic Double getLast7DaysSearchInterest()
null
for nonepublic TopicTrends setLast7DaysSearchInterest(Double last7DaysSearchInterest)
last7DaysSearchInterest
- last7DaysSearchInterest or null
for nonepublic Double getLast90DaysSearchInterest()
null
for nonepublic TopicTrends setLast90DaysSearchInterest(Double last90DaysSearchInterest)
last90DaysSearchInterest
- last90DaysSearchInterest or null
for nonepublic Double getNext7DaysSearchInterest()
null
for nonepublic TopicTrends setNext7DaysSearchInterest(Double next7DaysSearchInterest)
next7DaysSearchInterest
- next7DaysSearchInterest or null
for nonepublic Double getSearchInterest()
null
for nonepublic TopicTrends setSearchInterest(Double searchInterest)
searchInterest
- searchInterest or null
for nonepublic String getTopic()
null
for nonepublic TopicTrends setTopic(String topic)
topic
- topic or null
for nonepublic TopicTrends set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public TopicTrends clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.