public final class GoalData 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 |
|---|
GoalData() |
| Modifier and Type | Method and Description |
|---|---|
GoalData |
clone() |
String |
getGoalCompletionLocation()
URL of the page where this goal was completed.
|
Long |
getGoalCompletions()
Total number of goal completions in this activity.
|
Integer |
getGoalIndex()
This identifies the goal as configured for the profile.
|
String |
getGoalName()
Name of the goal.
|
String |
getGoalPreviousStep1()
URL of the page one step prior to the goal completion.
|
String |
getGoalPreviousStep2()
URL of the page two steps prior to the goal completion.
|
String |
getGoalPreviousStep3()
URL of the page three steps prior to the goal completion.
|
Double |
getGoalValue()
Value in this goal.
|
GoalData |
set(String fieldName,
Object value) |
GoalData |
setGoalCompletionLocation(String goalCompletionLocation)
URL of the page where this goal was completed.
|
GoalData |
setGoalCompletions(Long goalCompletions)
Total number of goal completions in this activity.
|
GoalData |
setGoalIndex(Integer goalIndex)
This identifies the goal as configured for the profile.
|
GoalData |
setGoalName(String goalName)
Name of the goal.
|
GoalData |
setGoalPreviousStep1(String goalPreviousStep1)
URL of the page one step prior to the goal completion.
|
GoalData |
setGoalPreviousStep2(String goalPreviousStep2)
URL of the page two steps prior to the goal completion.
|
GoalData |
setGoalPreviousStep3(String goalPreviousStep3)
URL of the page three steps prior to the goal completion.
|
GoalData |
setGoalValue(Double goalValue)
Value in this goal.
|
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 getGoalCompletionLocation()
null for nonepublic GoalData setGoalCompletionLocation(String goalCompletionLocation)
goalCompletionLocation - goalCompletionLocation or null for nonepublic Long getGoalCompletions()
null for nonepublic GoalData setGoalCompletions(Long goalCompletions)
goalCompletions - goalCompletions or null for nonepublic Integer getGoalIndex()
null for nonepublic GoalData setGoalIndex(Integer goalIndex)
goalIndex - goalIndex or null for nonepublic String getGoalName()
null for nonepublic GoalData setGoalName(String goalName)
goalName - goalName or null for nonepublic String getGoalPreviousStep1()
null for nonepublic GoalData setGoalPreviousStep1(String goalPreviousStep1)
goalPreviousStep1 - goalPreviousStep1 or null for nonepublic String getGoalPreviousStep2()
null for nonepublic GoalData setGoalPreviousStep2(String goalPreviousStep2)
goalPreviousStep2 - goalPreviousStep2 or null for nonepublic String getGoalPreviousStep3()
null for nonepublic GoalData setGoalPreviousStep3(String goalPreviousStep3)
goalPreviousStep3 - goalPreviousStep3 or null for nonepublic Double getGoalValue()
null for nonepublic GoalData setGoalValue(Double goalValue)
goalValue - goalValue or null for nonepublic GoalData set(String fieldName, Object value)
set in class GenericJsonpublic GoalData clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.