public class ChainAddEdgesRequest extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
ChainAddEdgesRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
long |
edge_version |
static int |
EDGE_VERSION |
boolean |
if_not_exists |
static int |
IF_NOT_EXISTS |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
Map<Integer,List<NewEdge>> |
parts |
static int |
PARTS |
List<byte[]> |
prop_names |
static int |
PROP_NAMES |
int |
space_id |
static int |
SPACE_ID |
long |
term |
static int |
TERM |
| Constructor and Description |
|---|
ChainAddEdgesRequest() |
ChainAddEdgesRequest(ChainAddEdgesRequest other)
Performs a deep copy on other.
|
ChainAddEdgesRequest(int space_id,
Map<Integer,List<NewEdge>> parts,
List<byte[]> prop_names,
boolean if_not_exists,
long term) |
ChainAddEdgesRequest(int space_id,
Map<Integer,List<NewEdge>> parts,
List<byte[]> prop_names,
boolean if_not_exists,
long term,
long edge_version) |
| Modifier and Type | Method and Description |
|---|---|
static ChainAddEdgesRequest.Builder |
builder() |
ChainAddEdgesRequest |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
long |
getEdge_version() |
Object |
getFieldValue(int fieldID) |
Map<Integer,List<NewEdge>> |
getParts() |
List<byte[]> |
getProp_names() |
int |
getSpace_id() |
long |
getTerm() |
int |
hashCode() |
boolean |
isIf_not_exists() |
boolean |
isSetEdge_version() |
boolean |
isSetIf_not_exists() |
boolean |
isSetParts() |
boolean |
isSetProp_names() |
boolean |
isSetSpace_id() |
boolean |
isSetTerm() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
ChainAddEdgesRequest |
setEdge_version(long edge_version) |
void |
setEdge_versionIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
ChainAddEdgesRequest |
setIf_not_exists(boolean if_not_exists) |
void |
setIf_not_existsIsSet(boolean __value) |
ChainAddEdgesRequest |
setParts(Map<Integer,List<NewEdge>> parts) |
void |
setPartsIsSet(boolean __value) |
ChainAddEdgesRequest |
setProp_names(List<byte[]> prop_names) |
void |
setProp_namesIsSet(boolean __value) |
ChainAddEdgesRequest |
setSpace_id(int space_id) |
void |
setSpace_idIsSet(boolean __value) |
ChainAddEdgesRequest |
setTerm(long term) |
void |
setTermIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetEdge_version() |
void |
unsetIf_not_exists() |
void |
unsetParts() |
void |
unsetProp_names() |
void |
unsetSpace_id() |
void |
unsetTerm() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int space_id
public List<byte[]> prop_names
public boolean if_not_exists
public long term
public long edge_version
public static final int SPACE_ID
public static final int PARTS
public static final int PROP_NAMES
public static final int IF_NOT_EXISTS
public static final int TERM
public static final int EDGE_VERSION
public ChainAddEdgesRequest()
public ChainAddEdgesRequest(int space_id,
Map<Integer,List<NewEdge>> parts,
List<byte[]> prop_names,
boolean if_not_exists,
long term)
public ChainAddEdgesRequest(int space_id,
Map<Integer,List<NewEdge>> parts,
List<byte[]> prop_names,
boolean if_not_exists,
long term,
long edge_version)
public ChainAddEdgesRequest(ChainAddEdgesRequest other)
public static ChainAddEdgesRequest.Builder builder()
public ChainAddEdgesRequest deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic int getSpace_id()
public ChainAddEdgesRequest setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public ChainAddEdgesRequest setParts(Map<Integer,List<NewEdge>> parts)
public void unsetParts()
public boolean isSetParts()
public void setPartsIsSet(boolean __value)
public List<byte[]> getProp_names()
public ChainAddEdgesRequest setProp_names(List<byte[]> prop_names)
public void unsetProp_names()
public boolean isSetProp_names()
public void setProp_namesIsSet(boolean __value)
public boolean isIf_not_exists()
public ChainAddEdgesRequest setIf_not_exists(boolean if_not_exists)
public void unsetIf_not_exists()
public boolean isSetIf_not_exists()
public void setIf_not_existsIsSet(boolean __value)
public long getTerm()
public ChainAddEdgesRequest setTerm(long term)
public void unsetTerm()
public boolean isSetTerm()
public void setTermIsSet(boolean __value)
public long getEdge_version()
public ChainAddEdgesRequest setEdge_version(long edge_version)
public void unsetEdge_version()
public boolean isSetEdge_version()
public void setEdge_versionIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
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 © 2022. All rights reserved.