public class ClientDependencyInfo extends Object implements org.apache.thrift.TBase<ClientDependencyInfo,ClientDependencyInfo._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ClientDependencyInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
List<Integer> |
children |
List<ByteBuffer> |
data |
int |
id |
static Map<ClientDependencyInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<Integer> |
parents |
Constructor and Description |
---|
ClientDependencyInfo() |
ClientDependencyInfo(ClientDependencyInfo other)
Performs a deep copy on other.
|
ClientDependencyInfo(int id,
List<Integer> parents,
List<Integer> children,
List<ByteBuffer> data) |
Modifier and Type | Method and Description |
---|---|
void |
addToChildren(int elem) |
void |
addToData(ByteBuffer elem) |
void |
addToParents(int elem) |
void |
clear() |
int |
compareTo(ClientDependencyInfo other) |
ClientDependencyInfo |
deepCopy() |
boolean |
equals(ClientDependencyInfo that) |
boolean |
equals(Object that) |
ClientDependencyInfo._Fields |
fieldForId(int fieldId) |
List<Integer> |
getChildren() |
Iterator<Integer> |
getChildrenIterator() |
int |
getChildrenSize() |
List<ByteBuffer> |
getData() |
Iterator<ByteBuffer> |
getDataIterator() |
int |
getDataSize() |
Object |
getFieldValue(ClientDependencyInfo._Fields field) |
int |
getId() |
List<Integer> |
getParents() |
Iterator<Integer> |
getParentsIterator() |
int |
getParentsSize() |
int |
hashCode() |
boolean |
isSet(ClientDependencyInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetChildren()
Returns true if field children is set (has been assigned a value) and false otherwise
|
boolean |
isSetData()
Returns true if field data 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 |
isSetParents()
Returns true if field parents is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
ClientDependencyInfo |
setChildren(List<Integer> children) |
void |
setChildrenIsSet(boolean value) |
ClientDependencyInfo |
setData(List<ByteBuffer> data) |
void |
setDataIsSet(boolean value) |
void |
setFieldValue(ClientDependencyInfo._Fields field,
Object value) |
ClientDependencyInfo |
setId(int id) |
void |
setIdIsSet(boolean value) |
ClientDependencyInfo |
setParents(List<Integer> parents) |
void |
setParentsIsSet(boolean value) |
String |
toString() |
void |
unsetChildren() |
void |
unsetData() |
void |
unsetId() |
void |
unsetParents() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int id
public List<ByteBuffer> data
public static final Map<ClientDependencyInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ClientDependencyInfo()
public ClientDependencyInfo(int id, List<Integer> parents, List<Integer> children, List<ByteBuffer> data)
public ClientDependencyInfo(ClientDependencyInfo other)
public ClientDependencyInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ClientDependencyInfo,ClientDependencyInfo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ClientDependencyInfo,ClientDependencyInfo._Fields>
public int getId()
public ClientDependencyInfo setId(int id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public int getParentsSize()
public void addToParents(int elem)
public ClientDependencyInfo setParents(List<Integer> parents)
public void unsetParents()
public boolean isSetParents()
public void setParentsIsSet(boolean value)
public int getChildrenSize()
public void addToChildren(int elem)
public ClientDependencyInfo setChildren(List<Integer> children)
public void unsetChildren()
public boolean isSetChildren()
public void setChildrenIsSet(boolean value)
public int getDataSize()
public Iterator<ByteBuffer> getDataIterator()
public void addToData(ByteBuffer elem)
public List<ByteBuffer> getData()
public ClientDependencyInfo setData(List<ByteBuffer> data)
public void unsetData()
public boolean isSetData()
public void setDataIsSet(boolean value)
public void setFieldValue(ClientDependencyInfo._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ClientDependencyInfo,ClientDependencyInfo._Fields>
public Object getFieldValue(ClientDependencyInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ClientDependencyInfo,ClientDependencyInfo._Fields>
public boolean isSet(ClientDependencyInfo._Fields field)
isSet
in interface org.apache.thrift.TBase<ClientDependencyInfo,ClientDependencyInfo._Fields>
public boolean equals(ClientDependencyInfo that)
public int compareTo(ClientDependencyInfo other)
compareTo
in interface Comparable<ClientDependencyInfo>
public ClientDependencyInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ClientDependencyInfo,ClientDependencyInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ClientDependencyInfo,ClientDependencyInfo._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ClientDependencyInfo,ClientDependencyInfo._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2014. All rights reserved.