public final class AudienceSegment
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 Campaign Manager 360 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
AudienceSegment()  | 
| Modifier and Type | Method and Description | 
|---|---|
AudienceSegment | 
clone()  | 
Integer | 
getAllocation()
Weight allocated to this segment. 
 | 
Long | 
getId()
ID of this audience segment. 
 | 
String | 
getName()
Name of this audience segment. 
 | 
AudienceSegment | 
set(String fieldName,
   Object value)  | 
AudienceSegment | 
setAllocation(Integer allocation)
Weight allocated to this segment. 
 | 
AudienceSegment | 
setId(Long id)
ID of this audience segment. 
 | 
AudienceSegment | 
setName(String name)
Name of this audience segment. 
 | 
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 Integer getAllocation()
null for nonepublic AudienceSegment setAllocation(Integer allocation)
allocation - allocation or null for nonepublic Long getId()
null for nonepublic AudienceSegment setId(Long id)
id - id or null for nonepublic String getName()
null for nonepublic AudienceSegment setName(String name)
name - name or null for nonepublic AudienceSegment set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AudienceSegment clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.