Class Replay.ResultsSummary.Builder (0.24.0)

public static final class Replay.ResultsSummary.Builder extends GeneratedMessageV3.Builder<Replay.ResultsSummary.Builder> implements Replay.ResultsSummaryOrBuilder

Summary statistics about the replayed log entries.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Replay.ResultsSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Replay.ResultsSummary.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Replay.ResultsSummary.Builder clear()
Returns
Type Description
Replay.ResultsSummary.Builder
Overrides

clearDifferenceCount()

public Replay.ResultsSummary.Builder clearDifferenceCount()

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

int32 difference_count = 3;

Returns
Type Description
Replay.ResultsSummary.Builder

This builder for chaining.

clearErrorCount()

public Replay.ResultsSummary.Builder clearErrorCount()

The number of log entries that could not be replayed.

int32 error_count = 4;

Returns
Type Description
Replay.ResultsSummary.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Replay.ResultsSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Replay.ResultsSummary.Builder
Overrides

clearLogCount()

public Replay.ResultsSummary.Builder clearLogCount()

The total number of log entries replayed.

int32 log_count = 1;

Returns
Type Description
Replay.ResultsSummary.Builder

This builder for chaining.

clearNewestDate()

public Replay.ResultsSummary.Builder clearNewestDate()

The date of the newest log entry replayed.

.google.type.Date newest_date = 6;

Returns
Type Description
Replay.ResultsSummary.Builder

clearOldestDate()

public Replay.ResultsSummary.Builder clearOldestDate()

The date of the oldest log entry replayed.

.google.type.Date oldest_date = 5;

Returns
Type Description
Replay.ResultsSummary.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Replay.ResultsSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Replay.ResultsSummary.Builder
Overrides

clearUnchangedCount()

public Replay.ResultsSummary.Builder clearUnchangedCount()

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

int32 unchanged_count = 2;

Returns
Type Description
Replay.ResultsSummary.Builder

This builder for chaining.

clone()

public Replay.ResultsSummary.Builder clone()
Returns
Type Description
Replay.ResultsSummary.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

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.

getNewestDateBuilder()

public Date.Builder getNewestDateBuilder()

The date of the newest log entry replayed.

.google.type.Date newest_date = 6;

Returns
Type Description
com.google.type.Date.Builder

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.

getOldestDateBuilder()

public Date.Builder getOldestDateBuilder()

The date of the oldest log entry replayed.

.google.type.Date oldest_date = 5;

Returns
Type Description
com.google.type.Date.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Replay.ResultsSummary other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNewestDate(Date value)

public Replay.ResultsSummary.Builder mergeNewestDate(Date value)

The date of the newest log entry replayed.

.google.type.Date newest_date = 6;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
Replay.ResultsSummary.Builder

mergeOldestDate(Date value)

public Replay.ResultsSummary.Builder mergeOldestDate(Date value)

The date of the oldest log entry replayed.

.google.type.Date oldest_date = 5;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
Replay.ResultsSummary.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Replay.ResultsSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Replay.ResultsSummary.Builder
Overrides

setDifferenceCount(int value)

public Replay.ResultsSummary.Builder setDifferenceCount(int value)

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

int32 difference_count = 3;

Parameter
Name Description
value int

The differenceCount to set.

Returns
Type Description
Replay.ResultsSummary.Builder

This builder for chaining.

setErrorCount(int value)

public Replay.ResultsSummary.Builder setErrorCount(int value)

The number of log entries that could not be replayed.

int32 error_count = 4;

Parameter
Name Description
value int

The errorCount to set.

Returns
Type Description
Replay.ResultsSummary.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Replay.ResultsSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Replay.ResultsSummary.Builder
Overrides

setLogCount(int value)

public Replay.ResultsSummary.Builder setLogCount(int value)

The total number of log entries replayed.

int32 log_count = 1;

Parameter
Name Description
value int

The logCount to set.

Returns
Type Description
Replay.ResultsSummary.Builder

This builder for chaining.

setNewestDate(Date value)

public Replay.ResultsSummary.Builder setNewestDate(Date value)

The date of the newest log entry replayed.

.google.type.Date newest_date = 6;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
Replay.ResultsSummary.Builder

setNewestDate(Date.Builder builderForValue)

public Replay.ResultsSummary.Builder setNewestDate(Date.Builder builderForValue)

The date of the newest log entry replayed.

.google.type.Date newest_date = 6;

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
Replay.ResultsSummary.Builder

setOldestDate(Date value)

public Replay.ResultsSummary.Builder setOldestDate(Date value)

The date of the oldest log entry replayed.

.google.type.Date oldest_date = 5;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
Replay.ResultsSummary.Builder

setOldestDate(Date.Builder builderForValue)

public Replay.ResultsSummary.Builder setOldestDate(Date.Builder builderForValue)

The date of the oldest log entry replayed.

.google.type.Date oldest_date = 5;

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
Replay.ResultsSummary.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Replay.ResultsSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Replay.ResultsSummary.Builder
Overrides

setUnchangedCount(int value)

public Replay.ResultsSummary.Builder setUnchangedCount(int value)

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

int32 unchanged_count = 2;

Parameter
Name Description
value int

The unchangedCount to set.

Returns
Type Description
Replay.ResultsSummary.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Replay.ResultsSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Replay.ResultsSummary.Builder
Overrides