@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class SegmentThrift extends Object implements TBase<SegmentThrift,SegmentThrift._Fields>, Serializable, Cloneable, Comparable<SegmentThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
SegmentThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
String |
id
ID of a data provider’s segment applicable to the user.
|
static Map<SegmentThrift._Fields,FieldMetaData> |
metaDataMap |
String |
name
Name of a data provider’s segment applicable to the user.
|
String |
value
String representing the value of the segment.
|
| Constructor and Description |
|---|
SegmentThrift() |
SegmentThrift(SegmentThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(SegmentThrift other) |
SegmentThrift |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SegmentThrift that) |
SegmentThrift._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(SegmentThrift._Fields field) |
String |
getId()
ID of a data provider’s segment applicable to the user.
|
String |
getName()
Name of a data provider’s segment applicable to the user.
|
String |
getValue()
String representing the value of the segment.
|
int |
hashCode() |
boolean |
isSet(SegmentThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise
|
boolean |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
isSetValue()
Returns true if field value is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
void |
setFieldValue(SegmentThrift._Fields field,
Object value) |
SegmentThrift |
setId(String id)
ID of a data provider’s segment applicable to the user.
|
void |
setIdIsSet(boolean value) |
SegmentThrift |
setName(String name)
Name of a data provider’s segment applicable to the user.
|
void |
setNameIsSet(boolean value) |
SegmentThrift |
setValue(String value)
String representing the value of the segment.
|
void |
setValueIsSet(boolean value) |
String |
toString() |
void |
unsetId() |
void |
unsetName() |
void |
unsetValue() |
void |
validate() |
void |
write(TProtocol oprot) |
public String id
public String name
public String value
public static final Map<SegmentThrift._Fields,FieldMetaData> metaDataMap
public SegmentThrift()
public SegmentThrift(SegmentThrift other)
public SegmentThrift deepCopy()
deepCopy in interface TBase<SegmentThrift,SegmentThrift._Fields>public void clear()
clear in interface TBase<SegmentThrift,SegmentThrift._Fields>public String getId()
public SegmentThrift setId(String id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public String getName()
public SegmentThrift setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public String getValue()
public SegmentThrift setValue(String value)
public void unsetValue()
public boolean isSetValue()
public void setValueIsSet(boolean value)
public void setFieldValue(SegmentThrift._Fields field, Object value)
setFieldValue in interface TBase<SegmentThrift,SegmentThrift._Fields>public Object getFieldValue(SegmentThrift._Fields field)
getFieldValue in interface TBase<SegmentThrift,SegmentThrift._Fields>public boolean isSet(SegmentThrift._Fields field)
isSet in interface TBase<SegmentThrift,SegmentThrift._Fields>public boolean equals(SegmentThrift that)
public int compareTo(SegmentThrift other)
compareTo in interface Comparable<SegmentThrift>public SegmentThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<SegmentThrift,SegmentThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<SegmentThrift,SegmentThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<SegmentThrift,SegmentThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.