public class AdminJobReq extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<AdminJobReq>
| Modifier and Type | Class and Description |
|---|---|
static class |
AdminJobReq.Builder |
| Modifier and Type | Field and Description |
|---|---|
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
JobOp |
op |
static int |
OP |
List<byte[]> |
paras |
static int |
PARAS |
int |
space_id |
static int |
SPACE_ID |
JobType |
type |
static int |
TYPE |
| Constructor and Description |
|---|
AdminJobReq() |
AdminJobReq(AdminJobReq other)
Performs a deep copy on other.
|
AdminJobReq(int space_id,
JobOp op,
JobType type,
List<byte[]> paras) |
| Modifier and Type | Method and Description |
|---|---|
static AdminJobReq.Builder |
builder() |
int |
compareTo(AdminJobReq other) |
AdminJobReq |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
Object |
getFieldValue(int fieldID) |
JobOp |
getOp() |
List<byte[]> |
getParas() |
int |
getSpace_id() |
JobType |
getType() |
int |
hashCode() |
boolean |
isSetOp() |
boolean |
isSetParas() |
boolean |
isSetSpace_id() |
boolean |
isSetType() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
void |
setFieldValue(int fieldID,
Object __value) |
AdminJobReq |
setOp(JobOp op) |
void |
setOpIsSet(boolean __value) |
AdminJobReq |
setParas(List<byte[]> paras) |
void |
setParasIsSet(boolean __value) |
AdminJobReq |
setSpace_id(int space_id) |
void |
setSpace_idIsSet(boolean __value) |
AdminJobReq |
setType(JobType type) |
void |
setTypeIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetOp() |
void |
unsetParas() |
void |
unsetSpace_id() |
void |
unsetType() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int space_id
public List<byte[]> paras
public static final int SPACE_ID
public static final int OP
public static final int TYPE
public static final int PARAS
public AdminJobReq()
public AdminJobReq(AdminJobReq other)
public static AdminJobReq.Builder builder()
public AdminJobReq 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 AdminJobReq setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public AdminJobReq setOp(JobOp op)
JobOppublic void unsetOp()
public boolean isSetOp()
public void setOpIsSet(boolean __value)
public AdminJobReq setType(JobType type)
JobTypepublic void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean __value)
public List<byte[]> getParas()
public AdminJobReq setParas(List<byte[]> paras)
public void unsetParas()
public boolean isSetParas()
public void setParasIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(AdminJobReq other)
compareTo in interface Comparable<AdminJobReq>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.