@Generated(value="Autogenerated by Thrift Compiler (0.11.0)",
date="2021-05-05")
public class DirectoryGetRequest
extends java.lang.Object
implements org.apache.thrift.TBase<DirectoryGetRequest,DirectoryGetRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<DirectoryGetRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
DirectoryGetRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<DirectoryGetRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
DirectoryGetRequest() |
DirectoryGetRequest(DirectoryGetRequest other)
Performs a deep copy on other.
|
DirectoryGetRequest(long classId,
long labelsId) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(DirectoryGetRequest other) |
DirectoryGetRequest |
deepCopy() |
boolean |
equals(DirectoryGetRequest that) |
boolean |
equals(java.lang.Object that) |
DirectoryGetRequest._Fields |
fieldForId(int fieldId) |
long |
getClassId()
Class Id for which to retrieve the Metadata
|
java.lang.Object |
getFieldValue(DirectoryGetRequest._Fields field) |
long |
getLabelsId()
Labels Id for which to retrieve the Metadata
|
int |
hashCode() |
boolean |
isSet(DirectoryGetRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetClassId()
Returns true if field classId is set (has been assigned a value) and false otherwise
|
boolean |
isSetLabelsId()
Returns true if field labelsId is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
DirectoryGetRequest |
setClassId(long classId)
Class Id for which to retrieve the Metadata
|
void |
setClassIdIsSet(boolean value) |
void |
setFieldValue(DirectoryGetRequest._Fields field,
java.lang.Object value) |
DirectoryGetRequest |
setLabelsId(long labelsId)
Labels Id for which to retrieve the Metadata
|
void |
setLabelsIdIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetClassId() |
void |
unsetLabelsId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<DirectoryGetRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public DirectoryGetRequest()
public DirectoryGetRequest(long classId,
long labelsId)
public DirectoryGetRequest(DirectoryGetRequest other)
public DirectoryGetRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<DirectoryGetRequest,DirectoryGetRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<DirectoryGetRequest,DirectoryGetRequest._Fields>public long getClassId()
public DirectoryGetRequest setClassId(long classId)
public void unsetClassId()
public boolean isSetClassId()
public void setClassIdIsSet(boolean value)
public long getLabelsId()
public DirectoryGetRequest setLabelsId(long labelsId)
public void unsetLabelsId()
public boolean isSetLabelsId()
public void setLabelsIdIsSet(boolean value)
public void setFieldValue(DirectoryGetRequest._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<DirectoryGetRequest,DirectoryGetRequest._Fields>public java.lang.Object getFieldValue(DirectoryGetRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<DirectoryGetRequest,DirectoryGetRequest._Fields>public boolean isSet(DirectoryGetRequest._Fields field)
isSet in interface org.apache.thrift.TBase<DirectoryGetRequest,DirectoryGetRequest._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(DirectoryGetRequest that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(DirectoryGetRequest other)
compareTo in interface java.lang.Comparable<DirectoryGetRequest>public DirectoryGetRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<DirectoryGetRequest,DirectoryGetRequest._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException