Class EvaluationRun.Progress (0.3.0)

public static final class EvaluationRun.Progress extends GeneratedMessage implements EvaluationRun.ProgressOrBuilder

The progress of the evaluation run.

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

Static Fields

COMPLETED_COUNT_FIELD_NUMBER

public static final int COMPLETED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

ERROR_COUNT_FIELD_NUMBER

public static final int ERROR_COUNT_FIELD_NUMBER
Field Value
Type Description
int

FAILED_COUNT_FIELD_NUMBER

public static final int FAILED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

PASSED_COUNT_FIELD_NUMBER

public static final int PASSED_COUNT_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_COUNT_FIELD_NUMBER

public static final int TOTAL_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EvaluationRun.Progress getDefaultInstance()
Returns
Type Description
EvaluationRun.Progress

getDescriptor()

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

newBuilder()

public static EvaluationRun.Progress.Builder newBuilder()
Returns
Type Description
EvaluationRun.Progress.Builder

newBuilder(EvaluationRun.Progress prototype)

public static EvaluationRun.Progress.Builder newBuilder(EvaluationRun.Progress prototype)
Parameter
Name Description
prototype EvaluationRun.Progress
Returns
Type Description
EvaluationRun.Progress.Builder

parseDelimitedFrom(InputStream input)

public static EvaluationRun.Progress parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvaluationRun.Progress
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationRun.Progress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationRun.Progress
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EvaluationRun.Progress parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EvaluationRun.Progress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EvaluationRun.Progress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationRun.Progress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EvaluationRun.Progress parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EvaluationRun.Progress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EvaluationRun.Progress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationRun.Progress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EvaluationRun.Progress parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EvaluationRun.Progress
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationRun.Progress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationRun.Progress
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EvaluationRun.Progress parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvaluationRun.Progress
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EvaluationRun.Progress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationRun.Progress
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EvaluationRun.Progress parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EvaluationRun.Progress
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EvaluationRun.Progress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationRun.Progress
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EvaluationRun.Progress> parser()
Returns
Type Description
Parser<Progress>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<EvaluationRun.Progress> getParserForType()
Returns
Type Description
Parser<Progress>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EvaluationRun.Progress.Builder newBuilderForType()
Returns
Type Description
EvaluationRun.Progress.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected EvaluationRun.Progress.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EvaluationRun.Progress.Builder
Overrides

toBuilder()

public EvaluationRun.Progress.Builder toBuilder()
Returns
Type Description
EvaluationRun.Progress.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException