public class SuggestStatus
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the resource id (rid
) and the time it took to process
the request (timems
).
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
rid
The encrypted resource ID for the request.
|
private java.lang.Long |
timems
How long it took to process the request, in milliseconds.
|
Constructor and Description |
---|
SuggestStatus() |
Modifier and Type | Method and Description |
---|---|
SuggestStatus |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRid()
The encrypted resource ID for the request.
|
java.lang.Long |
getTimems()
How long it took to process the request, in milliseconds.
|
int |
hashCode() |
void |
setRid(java.lang.String rid)
The encrypted resource ID for the request.
|
void |
setTimems(java.lang.Long timems)
How long it took to process the request, in milliseconds.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SuggestStatus |
withRid(java.lang.String rid)
The encrypted resource ID for the request.
|
SuggestStatus |
withTimems(java.lang.Long timems)
How long it took to process the request, in milliseconds.
|
private java.lang.Long timems
How long it took to process the request, in milliseconds.
private java.lang.String rid
The encrypted resource ID for the request.
public void setTimems(java.lang.Long timems)
How long it took to process the request, in milliseconds.
timems
- How long it took to process the request, in milliseconds.public java.lang.Long getTimems()
How long it took to process the request, in milliseconds.
public SuggestStatus withTimems(java.lang.Long timems)
How long it took to process the request, in milliseconds.
timems
- How long it took to process the request, in milliseconds.public void setRid(java.lang.String rid)
The encrypted resource ID for the request.
rid
- The encrypted resource ID for the request.public java.lang.String getRid()
The encrypted resource ID for the request.
public SuggestStatus withRid(java.lang.String rid)
The encrypted resource ID for the request.
rid
- The encrypted resource ID for the request.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SuggestStatus clone()
clone
in class java.lang.Object