public class PrivilegeEdge extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<PrivilegeEdge>
| Modifier and Type | Class and Description |
|---|---|
static class |
PrivilegeEdge.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
edge_name |
static int |
EDGE_NAME |
int |
edge_type |
static int |
EDGE_TYPE |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
PrivilegeEdge() |
PrivilegeEdge(int edge_type,
byte[] edge_name) |
PrivilegeEdge(PrivilegeEdge other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static PrivilegeEdge.Builder |
builder() |
int |
compareTo(PrivilegeEdge other) |
PrivilegeEdge |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getEdge_name() |
int |
getEdge_type() |
Object |
getFieldValue(int fieldID) |
int |
hashCode() |
boolean |
isSetEdge_name() |
boolean |
isSetEdge_type() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
PrivilegeEdge |
setEdge_name(byte[] edge_name) |
void |
setEdge_nameIsSet(boolean __value) |
PrivilegeEdge |
setEdge_type(int edge_type) |
void |
setEdge_typeIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetEdge_name() |
void |
unsetEdge_type() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int edge_type
public byte[] edge_name
public static final int EDGE_TYPE
public static final int EDGE_NAME
public PrivilegeEdge()
public PrivilegeEdge(int edge_type,
byte[] edge_name)
public PrivilegeEdge(PrivilegeEdge other)
public static PrivilegeEdge.Builder builder()
public PrivilegeEdge deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic int getEdge_type()
public PrivilegeEdge setEdge_type(int edge_type)
public void unsetEdge_type()
public boolean isSetEdge_type()
public void setEdge_typeIsSet(boolean __value)
public byte[] getEdge_name()
public PrivilegeEdge setEdge_name(byte[] edge_name)
public void unsetEdge_name()
public boolean isSetEdge_name()
public void setEdge_nameIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(PrivilegeEdge other)
compareTo in interface Comparable<PrivilegeEdge>public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2024. All rights reserved.