Class LatencyMetrics (0.3.0)

public final class LatencyMetrics extends GeneratedMessage 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 Fields

INGESTION_LATENCY_FIELD_NUMBER

public static final int INGESTION_LATENCY_FIELD_NUMBER
Field Value
Type Description
int

NEWEST_EVENT_TIME_FIELD_NUMBER

public static final int NEWEST_EVENT_TIME_FIELD_NUMBER
Field Value
Type Description
int

NEWEST_INGESTION_TIME_FIELD_NUMBER

public static final int NEWEST_INGESTION_TIME_FIELD_NUMBER
Field Value
Type Description
int

OLDEST_EVENT_TIME_FIELD_NUMBER

public static final int OLDEST_EVENT_TIME_FIELD_NUMBER
Field Value
Type Description
int

OLDEST_INGESTION_TIME_FIELD_NUMBER

public static final int OLDEST_INGESTION_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LatencyMetrics getDefaultInstance()
Returns
Type Description
LatencyMetrics

getDescriptor()

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

newBuilder()

public static LatencyMetrics.Builder newBuilder()
Returns
Type Description
LatencyMetrics.Builder

newBuilder(LatencyMetrics prototype)

public static LatencyMetrics.Builder newBuilder(LatencyMetrics prototype)
Parameter
Name Description
prototype LatencyMetrics
Returns
Type Description
LatencyMetrics.Builder

parseDelimitedFrom(InputStream input)

public static LatencyMetrics parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LatencyMetrics
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LatencyMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyMetrics
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LatencyMetrics parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LatencyMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LatencyMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LatencyMetrics parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LatencyMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LatencyMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LatencyMetrics parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LatencyMetrics
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LatencyMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyMetrics
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LatencyMetrics parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LatencyMetrics
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LatencyMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyMetrics
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LatencyMetrics parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LatencyMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LatencyMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LatencyMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LatencyMetrics> parser()
Returns
Type Description
Parser<LatencyMetrics>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public LatencyMetrics getDefaultInstanceForType()
Returns
Type Description
LatencyMetrics

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.

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.

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.

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.

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.

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

getParserForType()

public Parser<LatencyMetrics> getParserForType()
Returns
Type Description
Parser<LatencyMetrics>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LatencyMetrics.Builder newBuilderForType()
Returns
Type Description
LatencyMetrics.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected LatencyMetrics.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LatencyMetrics.Builder
Overrides

toBuilder()

public LatencyMetrics.Builder toBuilder()
Returns
Type Description
LatencyMetrics.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException