Class EvaluationRun.EvaluationRunSummary.Builder (0.3.0)

public static final class EvaluationRun.EvaluationRunSummary.Builder extends GeneratedMessage.Builder<EvaluationRun.EvaluationRunSummary.Builder> implements EvaluationRun.EvaluationRunSummaryOrBuilder

Contains the summary of passed and failed result counts for a specific evaluation in an evaluation run.

Protobuf type google.cloud.ces.v1beta.EvaluationRun.EvaluationRunSummary

Static Methods

getDescriptor()

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

Methods

build()

public EvaluationRun.EvaluationRunSummary build()
Returns
Type Description
EvaluationRun.EvaluationRunSummary

buildPartial()

public EvaluationRun.EvaluationRunSummary buildPartial()
Returns
Type Description
EvaluationRun.EvaluationRunSummary

clear()

public EvaluationRun.EvaluationRunSummary.Builder clear()
Returns
Type Description
EvaluationRun.EvaluationRunSummary.Builder
Overrides

clearErrorCount()

public EvaluationRun.EvaluationRunSummary.Builder clearErrorCount()

Output only. Number of error results for the associated Evaluation in this run.

int32 error_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationRun.EvaluationRunSummary.Builder

This builder for chaining.

clearFailedCount()

public EvaluationRun.EvaluationRunSummary.Builder clearFailedCount()

Output only. Number of failed results for the associated Evaluation in this run.

int32 failed_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationRun.EvaluationRunSummary.Builder

This builder for chaining.

clearPassedCount()

public EvaluationRun.EvaluationRunSummary.Builder clearPassedCount()

Output only. Number of passed results for the associated Evaluation in this run.

int32 passed_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationRun.EvaluationRunSummary.Builder

This builder for chaining.

getDefaultInstanceForType()

public EvaluationRun.EvaluationRunSummary getDefaultInstanceForType()
Returns
Type Description
EvaluationRun.EvaluationRunSummary

getDescriptorForType()

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

getErrorCount()

public int getErrorCount()

Output only. Number of error results for the associated Evaluation in this run.

int32 error_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The errorCount.

getFailedCount()

public int getFailedCount()

Output only. Number of failed results for the associated Evaluation in this run.

int32 failed_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The failedCount.

getPassedCount()

public int getPassedCount()

Output only. Number of passed results for the associated Evaluation in this run.

int32 passed_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The passedCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EvaluationRun.EvaluationRunSummary other)

public EvaluationRun.EvaluationRunSummary.Builder mergeFrom(EvaluationRun.EvaluationRunSummary other)
Parameter
Name Description
other EvaluationRun.EvaluationRunSummary
Returns
Type Description
EvaluationRun.EvaluationRunSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public EvaluationRun.EvaluationRunSummary.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EvaluationRun.EvaluationRunSummary.Builder
Overrides

setErrorCount(int value)

public EvaluationRun.EvaluationRunSummary.Builder setErrorCount(int value)

Output only. Number of error results for the associated Evaluation in this run.

int32 error_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The errorCount to set.

Returns
Type Description
EvaluationRun.EvaluationRunSummary.Builder

This builder for chaining.

setFailedCount(int value)

public EvaluationRun.EvaluationRunSummary.Builder setFailedCount(int value)

Output only. Number of failed results for the associated Evaluation in this run.

int32 failed_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The failedCount to set.

Returns
Type Description
EvaluationRun.EvaluationRunSummary.Builder

This builder for chaining.

setPassedCount(int value)

public EvaluationRun.EvaluationRunSummary.Builder setPassedCount(int value)

Output only. Number of passed results for the associated Evaluation in this run.

int32 passed_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The passedCount to set.

Returns
Type Description
EvaluationRun.EvaluationRunSummary.Builder

This builder for chaining.