public class JobDesc extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<JobDesc>
| Modifier and Type | Class and Description |
|---|---|
static class |
JobDesc.Builder |
| Modifier and Type | Field and Description |
|---|---|
ErrorCode |
code |
static int |
CODE |
int |
job_id |
static int |
JOB_ID |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<String> |
paras |
static int |
PARAS |
int |
space_id |
static int |
SPACE_ID |
long |
start_time |
static int |
START_TIME |
JobStatus |
status |
static int |
STATUS |
long |
stop_time |
static int |
STOP_TIME |
JobType |
type |
static int |
TYPE |
| Constructor and Description |
|---|
JobDesc() |
JobDesc(int space_id,
int job_id,
JobType type,
List<String> paras,
JobStatus status,
long start_time,
long stop_time,
ErrorCode code) |
JobDesc(JobDesc other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static JobDesc.Builder |
builder() |
int |
compareTo(JobDesc other) |
JobDesc |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
ErrorCode |
getCode() |
Object |
getFieldValue(int fieldID) |
int |
getJob_id() |
List<String> |
getParas() |
int |
getSpace_id() |
long |
getStart_time() |
JobStatus |
getStatus() |
long |
getStop_time() |
JobType |
getType() |
int |
hashCode() |
boolean |
isSetCode() |
boolean |
isSetJob_id() |
boolean |
isSetParas() |
boolean |
isSetSpace_id() |
boolean |
isSetStart_time() |
boolean |
isSetStatus() |
boolean |
isSetStop_time() |
boolean |
isSetType() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
JobDesc |
setCode(ErrorCode code) |
void |
setCodeIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
JobDesc |
setJob_id(int job_id) |
void |
setJob_idIsSet(boolean __value) |
JobDesc |
setParas(List<String> paras) |
void |
setParasIsSet(boolean __value) |
JobDesc |
setSpace_id(int space_id) |
void |
setSpace_idIsSet(boolean __value) |
JobDesc |
setStart_time(long start_time) |
void |
setStart_timeIsSet(boolean __value) |
JobDesc |
setStatus(JobStatus status) |
void |
setStatusIsSet(boolean __value) |
JobDesc |
setStop_time(long stop_time) |
void |
setStop_timeIsSet(boolean __value) |
JobDesc |
setType(JobType type) |
void |
setTypeIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetCode() |
void |
unsetJob_id() |
void |
unsetParas() |
void |
unsetSpace_id() |
void |
unsetStart_time() |
void |
unsetStatus() |
void |
unsetStop_time() |
void |
unsetType() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int space_id
public int job_id
public long start_time
public long stop_time
public static final int SPACE_ID
public static final int JOB_ID
public static final int TYPE
public static final int PARAS
public static final int STATUS
public static final int START_TIME
public static final int STOP_TIME
public static final int CODE
public JobDesc()
public JobDesc(int space_id,
int job_id,
JobType type,
List<String> paras,
JobStatus status,
long start_time,
long stop_time,
ErrorCode code)
public JobDesc(JobDesc other)
public static JobDesc.Builder builder()
public JobDesc 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 JobDesc setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public int getJob_id()
public JobDesc setJob_id(int job_id)
public void unsetJob_id()
public boolean isSetJob_id()
public void setJob_idIsSet(boolean __value)
public void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean __value)
public void unsetParas()
public boolean isSetParas()
public void setParasIsSet(boolean __value)
public void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean __value)
public long getStart_time()
public JobDesc setStart_time(long start_time)
public void unsetStart_time()
public boolean isSetStart_time()
public void setStart_timeIsSet(boolean __value)
public long getStop_time()
public JobDesc setStop_time(long stop_time)
public void unsetStop_time()
public boolean isSetStop_time()
public void setStop_timeIsSet(boolean __value)
public void unsetCode()
public boolean isSetCode()
public void setCodeIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(JobDesc other)
compareTo in interface Comparable<JobDesc>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 © 2023. All rights reserved.