Class Replay.ResultsSummary (0.9.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
TypeDescription
int

ERROR_COUNT_FIELD_NUMBER

public static final int ERROR_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

LOG_COUNT_FIELD_NUMBER

public static final int LOG_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

NEWEST_DATE_FIELD_NUMBER

public static final int NEWEST_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

OLDEST_DATE_FIELD_NUMBER

public static final int OLDEST_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

UNCHANGED_COUNT_FIELD_NUMBER

public static final int UNCHANGED_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Replay.ResultsSummary getDefaultInstance()
Returns
TypeDescription
Replay.ResultsSummary

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Replay.ResultsSummary.Builder newBuilder()
Returns
TypeDescription
Replay.ResultsSummary.Builder

newBuilder(Replay.ResultsSummary prototype)

public static Replay.ResultsSummary.Builder newBuilder(Replay.ResultsSummary prototype)
Parameter
NameDescription
prototypeReplay.ResultsSummary
Returns
TypeDescription
Replay.ResultsSummary.Builder

parseDelimitedFrom(InputStream input)

public static Replay.ResultsSummary parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Replay.ResultsSummary
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Replay.ResultsSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Replay.ResultsSummary
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Replay.ResultsSummary parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Replay.ResultsSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Replay.ResultsSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Replay.ResultsSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Replay.ResultsSummary parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Replay.ResultsSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Replay.ResultsSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Replay.ResultsSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Replay.ResultsSummary parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Replay.ResultsSummary
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Replay.ResultsSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Replay.ResultsSummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Replay.ResultsSummary parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Replay.ResultsSummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Replay.ResultsSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Replay.ResultsSummary
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Replay.ResultsSummary parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Replay.ResultsSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Replay.ResultsSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Replay.ResultsSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Replay.ResultsSummary getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
int

The differenceCount.

getErrorCount()

public int getErrorCount()

The number of log entries that could not be replayed.

int32 error_count = 4;

Returns
TypeDescription
int

The errorCount.

getLogCount()

public int getLogCount()

The total number of log entries replayed.

int32 log_count = 1;

Returns
TypeDescription
int

The logCount.

getNewestDate()

public Date getNewestDate()

The date of the newest log entry replayed.

.google.type.Date newest_date = 6;

Returns
TypeDescription
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
TypeDescription
com.google.type.DateOrBuilder

getOldestDate()

public Date getOldestDate()

The date of the oldest log entry replayed.

.google.type.Date oldest_date = 5;

Returns
TypeDescription
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
TypeDescription
com.google.type.DateOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
int

The unchangedCount.

hasNewestDate()

public boolean hasNewestDate()

The date of the newest log entry replayed.

.google.type.Date newest_date = 6;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the oldestDate field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Replay.ResultsSummary.Builder newBuilderForType()
Returns
TypeDescription
Replay.ResultsSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Replay.ResultsSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Replay.ResultsSummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Replay.ResultsSummary.Builder toBuilder()
Returns
TypeDescription
Replay.ResultsSummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException