@Generated(value="org.immutables.processor.ProxyProcessor") public final class LogMessage extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LogMessage.Builder
Builds instances of type
LogMessage. |
| Modifier and Type | Method and Description |
|---|---|
static LogMessage.Builder |
builder()
Creates a builder for
LogMessage. |
boolean |
equals(Object another)
This instance is equal to all instances of
LogMessage that have equal attribute values. |
static LogMessage |
from(org.cloudfoundry.dropsonde.events.LogMessage dropsonde) |
String |
getApplicationId()
The application that emitted the message (or to which the application is related)
|
String |
getMessage()
The log message
|
MessageType |
getMessageType()
The type of the message
|
String |
getSourceInstance()
The instance that emitted the message
|
String |
getSourceType()
The source of the message.
|
Long |
getTimestamp()
The UNIX timestamp (in nanoseconds) when the log was written
|
int |
hashCode()
Computes a hash code from attributes:
applicationId, message, messageType, sourceInstance, sourceType, timestamp. |
String |
toString()
Prints the immutable value
LogMessage with attribute values. |
public String getApplicationId()
public String getMessage()
public MessageType getMessageType()
public String getSourceInstance()
public String getSourceType()
APPLICATION, RTR, DEA, STG, etc.public Long getTimestamp()
public boolean equals(Object another)
LogMessage that have equal attribute values.public int hashCode()
applicationId, message, messageType, sourceInstance, sourceType, timestamp.public String toString()
LogMessage with attribute values.public static LogMessage.Builder builder()
LogMessage.
LogMessage.builder()
.applicationId(String | null) // nullable applicationId
.message(String) // required message
.messageType(org.cloudfoundry.doppler.MessageType) // required messageType
.sourceInstance(String | null) // nullable sourceInstance
.sourceType(String | null) // nullable sourceType
.timestamp(Long) // required timestamp
.build();
public static LogMessage from(org.cloudfoundry.dropsonde.events.LogMessage dropsonde)
Copyright © 2020. All rights reserved.