public class FileRequestDeadline
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FileRequestDeadline.Builder
Builder for
FileRequestDeadline . |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
allowLateUploads |
protected java.util.Date |
deadline |
Constructor and Description |
---|
FileRequestDeadline()
File request deadline
|
FileRequestDeadline(java.util.Date deadline,
java.lang.String allowLateUploads)
File request deadline
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAllowLateUploads()
If set, allow uploads after the deadline has passed.
|
java.util.Date |
getDeadline()
The deadline for this file request.
|
int |
hashCode() |
static FileRequestDeadline.Builder |
newBuilder()
Returns a new builder for creating an instance of this class.
|
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.util.Date deadline
protected final java.lang.String allowLateUploads
public FileRequestDeadline(java.util.Date deadline, java.lang.String allowLateUploads)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
deadline
- The deadline for this file request. Might be missing due
to historical data gap.allowLateUploads
- If set, allow uploads after the deadline has
passed. Might be missing due to historical data gap.public FileRequestDeadline()
The default values for unset fields will be used.
public java.util.Date getDeadline()
null
if not present.public java.lang.String getAllowLateUploads()
null
if not present.public static FileRequestDeadline.Builder newBuilder()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.