public class Message extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Message.Builder |
Modifier | Constructor and Description |
---|---|
protected |
Message(String id,
int ttl,
String body,
int age,
String claimId) |
Modifier and Type | Method and Description |
---|---|
static Message.Builder |
builder() |
boolean |
equals(Object obj) |
int |
getAge() |
String |
getBody() |
com.google.common.base.Optional<String> |
getClaimId() |
String |
getId() |
int |
getTTL() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Message.Builder |
toBuilder() |
String |
toString() |
public String getId()
public int getTTL()
CreateMessage.Builder.ttl(int)
public String getBody()
CreateMessage.Builder.body(String)
public int getAge()
public com.google.common.base.Optional<String> getClaimId()
protected com.google.common.base.Objects.ToStringHelper string()
public static Message.Builder builder()
public Message.Builder toBuilder()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.