Class Replay.ResultsSummary.Builder (0.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Replay.ResultsSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Replay.ResultsSummary.Builder
Overrides

build()

public Replay.ResultsSummary build()
Returns
TypeDescription
Replay.ResultsSummary

buildPartial()

public Replay.ResultsSummary buildPartial()
Returns
TypeDescription
Replay.ResultsSummary

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Replay.ResultsSummary.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Replay.ResultsSummary.Builder
Overrides

clearLogCount()

public Replay.ResultsSummary.Builder clearLogCount()

The total number of log entries replayed.

int32 log_count = 1;

Returns
TypeDescription
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
TypeDescription
Replay.ResultsSummary.Builder

clearOldestDate()

public Replay.ResultsSummary.Builder clearOldestDate()

The date of the oldest log entry replayed.

.google.type.Date oldest_date = 5;

Returns
TypeDescription
Replay.ResultsSummary.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Replay.ResultsSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Replay.ResultsSummary.Builder

This builder for chaining.

clone()

public Replay.ResultsSummary.Builder clone()
Returns
TypeDescription
Replay.ResultsSummary.Builder
Overrides

getDefaultInstanceForType()

public Replay.ResultsSummary getDefaultInstanceForType()
Returns
TypeDescription
Replay.ResultsSummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

getNewestDateBuilder()

public Date.Builder getNewestDateBuilder()

The date of the newest log entry replayed.

.google.type.Date newest_date = 6;

Returns
TypeDescription
com.google.type.Date.Builder

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.

getOldestDateBuilder()

public Date.Builder getOldestDateBuilder()

The date of the oldest log entry replayed.

.google.type.Date oldest_date = 5;

Returns
TypeDescription
com.google.type.Date.Builder

getOldestDateOrBuilder()

public DateOrBuilder getOldestDateOrBuilder()

The date of the oldest log entry replayed.

.google.type.Date oldest_date = 5;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Replay.ResultsSummary other)

public Replay.ResultsSummary.Builder mergeFrom(Replay.ResultsSummary other)
Parameter
NameDescription
otherReplay.ResultsSummary
Returns
TypeDescription
Replay.ResultsSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Replay.ResultsSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Replay.ResultsSummary.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Replay.ResultsSummary.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
Replay.ResultsSummary.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Replay.ResultsSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The differenceCount to set.

Returns
TypeDescription
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
NameDescription
valueint

The errorCount to set.

Returns
TypeDescription
Replay.ResultsSummary.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Replay.ResultsSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The logCount to set.

Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
Replay.ResultsSummary.Builder

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

public Replay.ResultsSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The unchangedCount to set.

Returns
TypeDescription
Replay.ResultsSummary.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Replay.ResultsSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Replay.ResultsSummary.Builder
Overrides