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 |
|---|---|
AdminCmd |
cmd |
static int |
CMD |
int |
id |
static int |
ID |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<String> |
paras |
static int |
PARAS |
long |
start_time |
static int |
START_TIME |
JobStatus |
status |
static int |
STATUS |
long |
stop_time |
static int |
STOP_TIME |
| Constructor and Description |
|---|
JobDesc() |
JobDesc(int id,
AdminCmd cmd,
List<String> paras,
JobStatus status,
long start_time,
long stop_time) |
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) |
AdminCmd |
getCmd() |
Object |
getFieldValue(int fieldID) |
int |
getId() |
List<String> |
getParas() |
long |
getStart_time() |
JobStatus |
getStatus() |
long |
getStop_time() |
int |
hashCode() |
boolean |
isSetCmd() |
boolean |
isSetId() |
boolean |
isSetParas() |
boolean |
isSetStart_time() |
boolean |
isSetStatus() |
boolean |
isSetStop_time() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
JobDesc |
setCmd(AdminCmd cmd) |
void |
setCmdIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
JobDesc |
setId(int id) |
void |
setIdIsSet(boolean __value) |
JobDesc |
setParas(List<String> paras) |
void |
setParasIsSet(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) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetCmd() |
void |
unsetId() |
void |
unsetParas() |
void |
unsetStart_time() |
void |
unsetStatus() |
void |
unsetStop_time() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int id
public long start_time
public long stop_time
public static final int ID
public static final int CMD
public static final int PARAS
public static final int STATUS
public static final int START_TIME
public static final int STOP_TIME
public JobDesc()
public JobDesc(int id,
AdminCmd cmd,
List<String> paras,
JobStatus status,
long start_time,
long stop_time)
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 getId()
public JobDesc setId(int id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean __value)
public void unsetCmd()
public boolean isSetCmd()
public void setCmdIsSet(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 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 © 2022. All rights reserved.