Class Replay.ResultsSummary (0.33.0)

public static final class Replay.ResultsSummary extends GeneratedMessageV3 implements Replay.ResultsSummaryOrBuilder

Summary statistics about the replayed log entries.

Protobuf type google.cloud.policysimulator.v1.Replay.ResultsSummary

Static Fields

DIFFERENCE_COUNT_FIELD_NUMBER

public static final int DIFFERENCE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

ERROR_COUNT_FIELD_NUMBER

public static final int ERROR_COUNT_FIELD_NUMBER
Field Value
Type Description
int

LOG_COUNT_FIELD_NUMBER

public static final int LOG_COUNT_FIELD_NUMBER
Field Value
Type Description
int

NEWEST_DATE_FIELD_NUMBER

public static final int NEWEST_DATE_FIELD_NUMBER
Field Value
Type Description
int

OLDEST_DATE_FIELD_NUMBER

public static final int OLDEST_DATE_FIELD_NUMBER
Field Value
Type Description
int

UNCHANGED_COUNT_FIELD_NUMBER

public static final int UNCHANGED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Replay.ResultsSummary getDefaultInstance()
Returns
Type Description
Replay.ResultsSummary

getDescriptor()

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

newBuilder()

public static Replay.ResultsSummary.Builder newBuilder()
Returns
Type Description
Replay.ResultsSummary.Builder

newBuilder(Replay.ResultsSummary prototype)

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

parseDelimitedFrom(InputStream input)

public static Replay.ResultsSummary parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Replay.ResultsSummary
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Replay.ResultsSummary parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Replay.ResultsSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Replay.ResultsSummary parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Replay.ResultsSummary
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Replay.ResultsSummary parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Replay.ResultsSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Replay.ResultsSummary parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Replay.ResultsSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Replay.ResultsSummary> parser()
Returns
Type Description
Parser<ResultsSummary>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Replay.ResultsSummary getDefaultInstanceForType()
Returns
Type Description
Replay.ResultsSummary

getDifferenceCount()

public int getDifferenceCount()

The number of replayed log entries with a difference between baseline and simulated policies.

int32 difference_count = 3;

Returns
Type Description
int

The differenceCount.

getErrorCount()

public int getErrorCount()

The number of log entries that could not be replayed.

int32 error_count = 4;

Returns
Type Description
int

The errorCount.

getLogCount()

public int getLogCount()

The total number of log entries replayed.

int32 log_count = 1;

Returns
Type Description
int

The logCount.

getNewestDate()

public Date getNewestDate()

The date of the newest log entry replayed.

.google.type.Date newest_date = 6;

Returns
Type Description
com.google.type.Date

The newestDate.

getNewestDateOrBuilder()

public DateOrBuilder getNewestDateOrBuilder()

The date of the newest log entry replayed.

.google.type.Date newest_date = 6;

Returns
Type Description
com.google.type.DateOrBuilder

getOldestDate()

public Date getOldestDate()

The date of the oldest log entry replayed.

.google.type.Date oldest_date = 5;

Returns
Type Description
com.google.type.Date

The oldestDate.

getOldestDateOrBuilder()

public DateOrBuilder getOldestDateOrBuilder()

The date of the oldest log entry replayed.

.google.type.Date oldest_date = 5;

Returns
Type Description
com.google.type.DateOrBuilder

getParserForType()

public Parser<Replay.ResultsSummary> getParserForType()
Returns
Type Description
Parser<ResultsSummary>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnchangedCount()

public int getUnchangedCount()

The number of replayed log entries with no difference between baseline and simulated policies.

int32 unchanged_count = 2;

Returns
Type Description
int

The unchangedCount.

hasNewestDate()

public boolean hasNewestDate()

The date of the newest log entry replayed.

.google.type.Date newest_date = 6;

Returns
Type Description
boolean

Whether the newestDate field is set.

hasOldestDate()

public boolean hasOldestDate()

The date of the oldest log entry replayed.

.google.type.Date oldest_date = 5;

Returns
Type Description
boolean

Whether the oldestDate field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Replay.ResultsSummary.Builder newBuilderForType()
Returns
Type Description
Replay.ResultsSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Replay.ResultsSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Replay.ResultsSummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Replay.ResultsSummary.Builder toBuilder()
Returns
Type Description
Replay.ResultsSummary.Builder

writeTo(CodedOutputStream output)

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