@Generated(value={"Immutables.generator","_Envelope"}) public final class Envelope extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Envelope.Builder
Builds instances of type
Envelope. |
| Modifier and Type | Method and Description |
|---|---|
static Envelope.Builder |
builder()
Creates a builder for
Envelope. |
boolean |
equals(Object another)
This instance is equal to all instances of
Envelope that have equal attribute values. |
static Envelope |
from(org.cloudfoundry.dropsonde.events.Envelope dropsonde) |
ContainerMetric |
getContainerMetric()
The enclosed
ContainerMetric |
CounterEvent |
getCounterEvent()
The enclosed
CounterEvent |
String |
getDeployment()
Deployment name (used to uniquely identify source)
|
Error |
getError()
The enclosed
Error |
EventType |
getEventType()
Type of wrapped event.
|
HttpStartStop |
getHttpStartStop()
The enclosed
HttpStartStop |
String |
getIndex()
Index of job (used to uniquely identify source)
|
String |
getIp()
IP address (used to uniquely identify source)
|
String |
getJob()
Job name (used to uniquely identify source)
|
LogMessage |
getLogMessage()
The enclosed
LogMessage |
String |
getOrigin()
Unique description of the origin of this event
|
Map<String,String> |
getTags()
key/value tags to include additional identifying information
|
Long |
getTimestamp()
UNIX timestamp (in nanoseconds) event was wrapped in this Envelope.
|
ValueMetric |
getValueMetric()
The enclosed
ValueMetric |
int |
hashCode()
Computes a hash code from attributes:
containerMetric, counterEvent, deployment, error, eventType, httpStartStop, index, ip, job, logMessage, origin, tags, timestamp, valueMetric. |
String |
toString()
Prints the immutable value
Envelope with attribute values. |
public ContainerMetric getContainerMetric()
ContainerMetricpublic CounterEvent getCounterEvent()
CounterEventpublic String getDeployment()
public EventType getEventType()
public HttpStartStop getHttpStartStop()
HttpStartStoppublic String getIndex()
public String getIp()
public String getJob()
public LogMessage getLogMessage()
LogMessagepublic String getOrigin()
public Map<String,String> getTags()
public Long getTimestamp()
public ValueMetric getValueMetric()
ValueMetricpublic boolean equals(Object another)
Envelope that have equal attribute values.public int hashCode()
containerMetric, counterEvent, deployment, error, eventType, httpStartStop, index, ip, job, logMessage, origin, tags, timestamp, valueMetric.public String toString()
Envelope with attribute values.public static Envelope.Builder builder()
Envelope.public static Envelope from(org.cloudfoundry.dropsonde.events.Envelope dropsonde)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.