public static final class Replay.ResultsSummary.Builder extends GeneratedMessage.Builder<Replay.ResultsSummary.Builder> implements Replay.ResultsSummaryOrBuilderSummary statistics about the replayed log entries.
Protobuf type google.cloud.policysimulator.v1.Replay.ResultsSummary
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Replay.ResultsSummary.BuilderImplements
Replay.ResultsSummaryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 |
|
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. |
getDefaultInstanceForType()
public Replay.ResultsSummary getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Replay.ResultsSummary |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
|
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 |
intThe 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 |
intThe errorCount to set. |
| Returns | |
|---|---|
| Type | Description |
Replay.ResultsSummary.Builder |
This builder for chaining. |
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 |
intThe 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 |
|
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 |
intThe unchangedCount to set. |
| Returns | |
|---|---|
| Type | Description |
Replay.ResultsSummary.Builder |
This builder for chaining. |