public class ChainUpdateEdgeRequest extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
ChainUpdateEdgeRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
long |
edge_version |
static int |
EDGE_VERSION |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<Integer> |
parts |
static int |
PARTS |
int |
space_id |
static int |
SPACE_ID |
long |
term |
static int |
TERM |
UpdateEdgeRequest |
update_edge_request |
static int |
UPDATE_EDGE_REQUEST |
| Constructor and Description |
|---|
ChainUpdateEdgeRequest() |
ChainUpdateEdgeRequest(ChainUpdateEdgeRequest other)
Performs a deep copy on other.
|
ChainUpdateEdgeRequest(List<Integer> parts) |
ChainUpdateEdgeRequest(UpdateEdgeRequest update_edge_request,
long term,
int space_id,
List<Integer> parts) |
ChainUpdateEdgeRequest(UpdateEdgeRequest update_edge_request,
long term,
long edge_version,
int space_id,
List<Integer> parts) |
| Modifier and Type | Method and Description |
|---|---|
static ChainUpdateEdgeRequest.Builder |
builder() |
ChainUpdateEdgeRequest |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
long |
getEdge_version() |
Object |
getFieldValue(int fieldID) |
List<Integer> |
getParts() |
int |
getSpace_id() |
long |
getTerm() |
UpdateEdgeRequest |
getUpdate_edge_request() |
int |
hashCode() |
boolean |
isSetEdge_version() |
boolean |
isSetParts() |
boolean |
isSetSpace_id() |
boolean |
isSetTerm() |
boolean |
isSetUpdate_edge_request() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
ChainUpdateEdgeRequest |
setEdge_version(long edge_version) |
void |
setEdge_versionIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
ChainUpdateEdgeRequest |
setParts(List<Integer> parts) |
void |
setPartsIsSet(boolean __value) |
ChainUpdateEdgeRequest |
setSpace_id(int space_id) |
void |
setSpace_idIsSet(boolean __value) |
ChainUpdateEdgeRequest |
setTerm(long term) |
void |
setTermIsSet(boolean __value) |
ChainUpdateEdgeRequest |
setUpdate_edge_request(UpdateEdgeRequest update_edge_request) |
void |
setUpdate_edge_requestIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetEdge_version() |
void |
unsetParts() |
void |
unsetSpace_id() |
void |
unsetTerm() |
void |
unsetUpdate_edge_request() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public UpdateEdgeRequest update_edge_request
public long term
public long edge_version
public int space_id
public static final int UPDATE_EDGE_REQUEST
public static final int TERM
public static final int EDGE_VERSION
public static final int SPACE_ID
public static final int PARTS
public ChainUpdateEdgeRequest()
public ChainUpdateEdgeRequest(UpdateEdgeRequest update_edge_request, long term, int space_id, List<Integer> parts)
public ChainUpdateEdgeRequest(UpdateEdgeRequest update_edge_request, long term, long edge_version, int space_id, List<Integer> parts)
public ChainUpdateEdgeRequest(ChainUpdateEdgeRequest other)
public static ChainUpdateEdgeRequest.Builder builder()
public ChainUpdateEdgeRequest deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic UpdateEdgeRequest getUpdate_edge_request()
public ChainUpdateEdgeRequest setUpdate_edge_request(UpdateEdgeRequest update_edge_request)
public void unsetUpdate_edge_request()
public boolean isSetUpdate_edge_request()
public void setUpdate_edge_requestIsSet(boolean __value)
public long getTerm()
public ChainUpdateEdgeRequest setTerm(long term)
public void unsetTerm()
public boolean isSetTerm()
public void setTermIsSet(boolean __value)
public long getEdge_version()
public ChainUpdateEdgeRequest setEdge_version(long edge_version)
public void unsetEdge_version()
public boolean isSetEdge_version()
public void setEdge_versionIsSet(boolean __value)
public int getSpace_id()
public ChainUpdateEdgeRequest setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public ChainUpdateEdgeRequest setParts(List<Integer> parts)
public void unsetParts()
public boolean isSetParts()
public void setPartsIsSet(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.