public class UserLogInfo
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
UserLogInfo.Builder
Builder for
UserLogInfo . |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
accountId |
protected java.lang.String |
displayName |
protected java.lang.String |
email |
Constructor and Description |
---|
UserLogInfo()
User's logged information.
|
UserLogInfo(java.lang.String accountId,
java.lang.String displayName,
java.lang.String email)
User's logged information.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccountId()
User unique ID.
|
java.lang.String |
getDisplayName()
User display name.
|
java.lang.String |
getEmail()
User email address.
|
int |
hashCode() |
static UserLogInfo.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.lang.String accountId
protected final java.lang.String displayName
protected final java.lang.String email
public UserLogInfo(java.lang.String accountId, java.lang.String displayName, java.lang.String email)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
accountId
- User unique ID. Might be missing due to historical data
gap. Must have length of at least 40 and have length of at most 40.displayName
- User display name. Might be missing due to historical
data gap.email
- User email address. Might be missing due to historical data
gap. Must have length of at most 255.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public UserLogInfo()
The default values for unset fields will be used.
public java.lang.String getAccountId()
null
if not present.public java.lang.String getDisplayName()
null
if not present.public java.lang.String getEmail()
null
if not present.public static UserLogInfo.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.