Class EvaluationRun.Progress.Builder (0.3.0)

public static final class EvaluationRun.Progress.Builder extends GeneratedMessage.Builder<EvaluationRun.Progress.Builder> implements EvaluationRun.ProgressOrBuilder

The progress of the evaluation run.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearCompletedCount()

public EvaluationRun.Progress.Builder clearCompletedCount()

Output only. Number of evaluation results that finished successfully. (EvaluationResult.execution_state is COMPLETED).

int32 completed_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationRun.Progress.Builder

This builder for chaining.

clearErrorCount()

public EvaluationRun.Progress.Builder clearErrorCount()

Output only. Number of evaluation results that failed to execute. (EvaluationResult.execution_state is ERROR).

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

Returns
Type Description
EvaluationRun.Progress.Builder

This builder for chaining.

clearFailedCount()

public EvaluationRun.Progress.Builder clearFailedCount()

Output only. Number of completed evaluation results with an outcome of FAIL. (EvaluationResult.execution_state is COMPLETED and EvaluationResult.evaluation_status is FAIL).

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

Returns
Type Description
EvaluationRun.Progress.Builder

This builder for chaining.

clearPassedCount()

public EvaluationRun.Progress.Builder clearPassedCount()

Output only. Number of completed evaluation results with an outcome of PASS. (EvaluationResult.execution_state is COMPLETED and EvaluationResult.evaluation_status is PASS).

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

Returns
Type Description
EvaluationRun.Progress.Builder

This builder for chaining.

clearTotalCount()

public EvaluationRun.Progress.Builder clearTotalCount()

Output only. Total number of evaluation results in this run.

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

Returns
Type Description
EvaluationRun.Progress.Builder

This builder for chaining.

getCompletedCount()

public int getCompletedCount()

Output only. Number of evaluation results that finished successfully. (EvaluationResult.execution_state is COMPLETED).

int32 completed_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The completedCount.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getErrorCount()

public int getErrorCount()

Output only. Number of evaluation results that failed to execute. (EvaluationResult.execution_state is ERROR).

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

Returns
Type Description
int

The errorCount.

getFailedCount()

public int getFailedCount()

Output only. Number of completed evaluation results with an outcome of FAIL. (EvaluationResult.execution_state is COMPLETED and EvaluationResult.evaluation_status is FAIL).

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

Returns
Type Description
int

The failedCount.

getPassedCount()

public int getPassedCount()

Output only. Number of completed evaluation results with an outcome of PASS. (EvaluationResult.execution_state is COMPLETED and EvaluationResult.evaluation_status is PASS).

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

Returns
Type Description
int

The passedCount.

getTotalCount()

public int getTotalCount()

Output only. Total number of evaluation results in this run.

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

Returns
Type Description
int

The totalCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EvaluationRun.Progress other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCompletedCount(int value)

public EvaluationRun.Progress.Builder setCompletedCount(int value)

Output only. Number of evaluation results that finished successfully. (EvaluationResult.execution_state is COMPLETED).

int32 completed_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The completedCount to set.

Returns
Type Description
EvaluationRun.Progress.Builder

This builder for chaining.

setErrorCount(int value)

public EvaluationRun.Progress.Builder setErrorCount(int value)

Output only. Number of evaluation results that failed to execute. (EvaluationResult.execution_state is ERROR).

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

Parameter
Name Description
value int

The errorCount to set.

Returns
Type Description
EvaluationRun.Progress.Builder

This builder for chaining.

setFailedCount(int value)

public EvaluationRun.Progress.Builder setFailedCount(int value)

Output only. Number of completed evaluation results with an outcome of FAIL. (EvaluationResult.execution_state is COMPLETED and EvaluationResult.evaluation_status is FAIL).

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

Parameter
Name Description
value int

The failedCount to set.

Returns
Type Description
EvaluationRun.Progress.Builder

This builder for chaining.

setPassedCount(int value)

public EvaluationRun.Progress.Builder setPassedCount(int value)

Output only. Number of completed evaluation results with an outcome of PASS. (EvaluationResult.execution_state is COMPLETED and EvaluationResult.evaluation_status is PASS).

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

Parameter
Name Description
value int

The passedCount to set.

Returns
Type Description
EvaluationRun.Progress.Builder

This builder for chaining.

setTotalCount(int value)

public EvaluationRun.Progress.Builder setTotalCount(int value)

Output only. Total number of evaluation results in this run.

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

Parameter
Name Description
value int

The totalCount to set.

Returns
Type Description
EvaluationRun.Progress.Builder

This builder for chaining.