public class UploadSessionFinishArg
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected CommitInfo |
commit |
protected UploadSessionCursor |
cursor |
| Constructor and Description |
|---|
UploadSessionFinishArg(UploadSessionCursor cursor,
CommitInfo commit) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
CommitInfo |
getCommit()
Contains the path and other optional modifiers for the commit.
|
UploadSessionCursor |
getCursor()
Contains the upload session ID and the offset.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final UploadSessionCursor cursor
protected final CommitInfo commit
public UploadSessionFinishArg(UploadSessionCursor cursor, CommitInfo commit)
cursor - Contains the upload session ID and the offset. Must not be
null.commit - Contains the path and other optional modifiers for the
commit. Must not be null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public UploadSessionCursor getCursor()
null.public CommitInfo getCommit()
null.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringMultiline()
The returned String may contain newlines.