Class LatencyMetrics.Builder (0.3.0)

public static final class LatencyMetrics.Builder extends GeneratedMessage.Builder<LatencyMetrics.Builder> implements LatencyMetricsOrBuilder

LatencyMetrics contains relevant timestamps for measuring latency per event variable. These metrics are calculated from ALL of the events that contribute to the detection, not just the sampled ones.

Protobuf type google.backstory.LatencyMetrics

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public LatencyMetrics build()
Returns
Type Description
LatencyMetrics

buildPartial()

public LatencyMetrics buildPartial()
Returns
Type Description
LatencyMetrics

clear()

public LatencyMetrics.Builder clear()
Returns
Type Description
LatencyMetrics.Builder
Overrides

clearIngestionLatency()

public LatencyMetrics.Builder clearIngestionLatency()

The difference between newest ingestion timestamp and newest event timestamp.

.google.protobuf.Duration ingestion_latency = 5;

Returns
Type Description
LatencyMetrics.Builder

clearNewestEventTime()

public LatencyMetrics.Builder clearNewestEventTime()

The newest (most recent) event timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_event_time = 4;

Returns
Type Description
LatencyMetrics.Builder

clearNewestIngestionTime()

public LatencyMetrics.Builder clearNewestIngestionTime()

The newest (most recent) ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_ingestion_time = 2;

Returns
Type Description
LatencyMetrics.Builder

clearOldestEventTime()

public LatencyMetrics.Builder clearOldestEventTime()

The oldest event timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_event_time = 3;

Returns
Type Description
LatencyMetrics.Builder

clearOldestIngestionTime()

public LatencyMetrics.Builder clearOldestIngestionTime()

The oldest ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_ingestion_time = 1;

Returns
Type Description
LatencyMetrics.Builder

getDefaultInstanceForType()

public LatencyMetrics getDefaultInstanceForType()
Returns
Type Description
LatencyMetrics

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIngestionLatency()

public Duration getIngestionLatency()

The difference between newest ingestion timestamp and newest event timestamp.

.google.protobuf.Duration ingestion_latency = 5;

Returns
Type Description
Duration

The ingestionLatency.

getIngestionLatencyBuilder()

public Duration.Builder getIngestionLatencyBuilder()

The difference between newest ingestion timestamp and newest event timestamp.

.google.protobuf.Duration ingestion_latency = 5;

Returns
Type Description
Builder

getIngestionLatencyOrBuilder()

public DurationOrBuilder getIngestionLatencyOrBuilder()

The difference between newest ingestion timestamp and newest event timestamp.

.google.protobuf.Duration ingestion_latency = 5;

Returns
Type Description
DurationOrBuilder

getNewestEventTime()

public Timestamp getNewestEventTime()

The newest (most recent) event timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_event_time = 4;

Returns
Type Description
Timestamp

The newestEventTime.

getNewestEventTimeBuilder()

public Timestamp.Builder getNewestEventTimeBuilder()

The newest (most recent) event timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_event_time = 4;

Returns
Type Description
Builder

getNewestEventTimeOrBuilder()

public TimestampOrBuilder getNewestEventTimeOrBuilder()

The newest (most recent) event timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_event_time = 4;

Returns
Type Description
TimestampOrBuilder

getNewestIngestionTime()

public Timestamp getNewestIngestionTime()

The newest (most recent) ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_ingestion_time = 2;

Returns
Type Description
Timestamp

The newestIngestionTime.

getNewestIngestionTimeBuilder()

public Timestamp.Builder getNewestIngestionTimeBuilder()

The newest (most recent) ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_ingestion_time = 2;

Returns
Type Description
Builder

getNewestIngestionTimeOrBuilder()

public TimestampOrBuilder getNewestIngestionTimeOrBuilder()

The newest (most recent) ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_ingestion_time = 2;

Returns
Type Description
TimestampOrBuilder

getOldestEventTime()

public Timestamp getOldestEventTime()

The oldest event timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_event_time = 3;

Returns
Type Description
Timestamp

The oldestEventTime.

getOldestEventTimeBuilder()

public Timestamp.Builder getOldestEventTimeBuilder()

The oldest event timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_event_time = 3;

Returns
Type Description
Builder

getOldestEventTimeOrBuilder()

public TimestampOrBuilder getOldestEventTimeOrBuilder()

The oldest event timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_event_time = 3;

Returns
Type Description
TimestampOrBuilder

getOldestIngestionTime()

public Timestamp getOldestIngestionTime()

The oldest ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_ingestion_time = 1;

Returns
Type Description
Timestamp

The oldestIngestionTime.

getOldestIngestionTimeBuilder()

public Timestamp.Builder getOldestIngestionTimeBuilder()

The oldest ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_ingestion_time = 1;

Returns
Type Description
Builder

getOldestIngestionTimeOrBuilder()

public TimestampOrBuilder getOldestIngestionTimeOrBuilder()

The oldest ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_ingestion_time = 1;

Returns
Type Description
TimestampOrBuilder

hasIngestionLatency()

public boolean hasIngestionLatency()

The difference between newest ingestion timestamp and newest event timestamp.

.google.protobuf.Duration ingestion_latency = 5;

Returns
Type Description
boolean

Whether the ingestionLatency field is set.

hasNewestEventTime()

public boolean hasNewestEventTime()

The newest (most recent) event timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_event_time = 4;

Returns
Type Description
boolean

Whether the newestEventTime field is set.

hasNewestIngestionTime()

public boolean hasNewestIngestionTime()

The newest (most recent) ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_ingestion_time = 2;

Returns
Type Description
boolean

Whether the newestIngestionTime field is set.

hasOldestEventTime()

public boolean hasOldestEventTime()

The oldest event timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_event_time = 3;

Returns
Type Description
boolean

Whether the oldestEventTime field is set.

hasOldestIngestionTime()

public boolean hasOldestIngestionTime()

The oldest ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_ingestion_time = 1;

Returns
Type Description
boolean

Whether the oldestIngestionTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LatencyMetrics other)

public LatencyMetrics.Builder mergeFrom(LatencyMetrics other)
Parameter
Name Description
other LatencyMetrics
Returns
Type Description
LatencyMetrics.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LatencyMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyMetrics.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LatencyMetrics.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LatencyMetrics.Builder
Overrides

mergeIngestionLatency(Duration value)

public LatencyMetrics.Builder mergeIngestionLatency(Duration value)

The difference between newest ingestion timestamp and newest event timestamp.

.google.protobuf.Duration ingestion_latency = 5;

Parameter
Name Description
value Duration
Returns
Type Description
LatencyMetrics.Builder

mergeNewestEventTime(Timestamp value)

public LatencyMetrics.Builder mergeNewestEventTime(Timestamp value)

The newest (most recent) event timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_event_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
LatencyMetrics.Builder

mergeNewestIngestionTime(Timestamp value)

public LatencyMetrics.Builder mergeNewestIngestionTime(Timestamp value)

The newest (most recent) ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_ingestion_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
LatencyMetrics.Builder

mergeOldestEventTime(Timestamp value)

public LatencyMetrics.Builder mergeOldestEventTime(Timestamp value)

The oldest event timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_event_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
LatencyMetrics.Builder

mergeOldestIngestionTime(Timestamp value)

public LatencyMetrics.Builder mergeOldestIngestionTime(Timestamp value)

The oldest ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_ingestion_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
LatencyMetrics.Builder

setIngestionLatency(Duration value)

public LatencyMetrics.Builder setIngestionLatency(Duration value)

The difference between newest ingestion timestamp and newest event timestamp.

.google.protobuf.Duration ingestion_latency = 5;

Parameter
Name Description
value Duration
Returns
Type Description
LatencyMetrics.Builder

setIngestionLatency(Duration.Builder builderForValue)

public LatencyMetrics.Builder setIngestionLatency(Duration.Builder builderForValue)

The difference between newest ingestion timestamp and newest event timestamp.

.google.protobuf.Duration ingestion_latency = 5;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LatencyMetrics.Builder

setNewestEventTime(Timestamp value)

public LatencyMetrics.Builder setNewestEventTime(Timestamp value)

The newest (most recent) event timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_event_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
LatencyMetrics.Builder

setNewestEventTime(Timestamp.Builder builderForValue)

public LatencyMetrics.Builder setNewestEventTime(Timestamp.Builder builderForValue)

The newest (most recent) event timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_event_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LatencyMetrics.Builder

setNewestIngestionTime(Timestamp value)

public LatencyMetrics.Builder setNewestIngestionTime(Timestamp value)

The newest (most recent) ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_ingestion_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
LatencyMetrics.Builder

setNewestIngestionTime(Timestamp.Builder builderForValue)

public LatencyMetrics.Builder setNewestIngestionTime(Timestamp.Builder builderForValue)

The newest (most recent) ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp newest_ingestion_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LatencyMetrics.Builder

setOldestEventTime(Timestamp value)

public LatencyMetrics.Builder setOldestEventTime(Timestamp value)

The oldest event timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_event_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
LatencyMetrics.Builder

setOldestEventTime(Timestamp.Builder builderForValue)

public LatencyMetrics.Builder setOldestEventTime(Timestamp.Builder builderForValue)

The oldest event timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_event_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LatencyMetrics.Builder

setOldestIngestionTime(Timestamp value)

public LatencyMetrics.Builder setOldestIngestionTime(Timestamp value)

The oldest ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_ingestion_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
LatencyMetrics.Builder

setOldestIngestionTime(Timestamp.Builder builderForValue)

public LatencyMetrics.Builder setOldestIngestionTime(Timestamp.Builder builderForValue)

The oldest ingestion timestamp from the events used to create the detection.

.google.protobuf.Timestamp oldest_ingestion_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LatencyMetrics.Builder