@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableSyntheticResultRollup0 extends Object implements SyntheticResultDao.SyntheticResultRollup0
SyntheticResultDao.SyntheticResultRollup0.
Use the builder to create immutable instances:
ImmutableSyntheticResultRollup0.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableSyntheticResultRollup0.Builder
Builds instances of type
ImmutableSyntheticResultRollup0. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableSyntheticResultRollup0.Builder |
builder()
Creates a builder for
ImmutableSyntheticResultRollup0. |
long |
captureTime() |
static ImmutableSyntheticResultRollup0 |
copyOf(SyntheticResultDao.SyntheticResultRollup0 instance)
Creates an immutable copy of a
SyntheticResultDao.SyntheticResultRollup0 value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableSyntheticResultRollup0 that have equal attribute values. |
boolean |
error() |
int |
hashCode()
Computes a hash code from attributes:
captureTime, totalDurationNanos, error. |
String |
toString()
Prints the immutable value
SyntheticResultRollup0 with attribute values. |
double |
totalDurationNanos() |
ImmutableSyntheticResultRollup0 |
withCaptureTime(long value)
Copy the current immutable object by setting a value for the
captureTime attribute. |
ImmutableSyntheticResultRollup0 |
withError(boolean value)
Copy the current immutable object by setting a value for the
error attribute. |
ImmutableSyntheticResultRollup0 |
withTotalDurationNanos(double value)
Copy the current immutable object by setting a value for the
totalDurationNanos attribute. |
public static ImmutableSyntheticResultRollup0.Builder builder()
ImmutableSyntheticResultRollup0.
ImmutableSyntheticResultRollup0.builder()
.captureTime(long) // required captureTime
.totalDurationNanos(double) // required totalDurationNanos
.error(boolean) // required error
.build();
public long captureTime()
captureTime in interface SyntheticResultDao.SyntheticResultRollup0captureTime attributepublic static ImmutableSyntheticResultRollup0 copyOf(SyntheticResultDao.SyntheticResultRollup0 instance)
SyntheticResultDao.SyntheticResultRollup0 value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic boolean equals(@Nullable Object another)
ImmutableSyntheticResultRollup0 that have equal attribute values.public boolean error()
error in interface SyntheticResultDao.SyntheticResultRollup0error attributepublic int hashCode()
captureTime, totalDurationNanos, error.public String toString()
SyntheticResultRollup0 with attribute values.public double totalDurationNanos()
totalDurationNanos in interface SyntheticResultDao.SyntheticResultRollup0totalDurationNanos attributepublic final ImmutableSyntheticResultRollup0 withCaptureTime(long value)
captureTime attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for captureTimethis objectpublic final ImmutableSyntheticResultRollup0 withError(boolean value)
error attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for errorthis objectpublic final ImmutableSyntheticResultRollup0 withTotalDurationNanos(double value)
totalDurationNanos attribute.
A value strict bits equality used to prevent copying of the same value by returning this.value - A new value for totalDurationNanosthis objectCopyright © 2011–2019 Glowroot contributors. All rights reserved.