Class EvaluationStatus.Builder (4.89.0)

public static final class EvaluationStatus.Builder extends GeneratedMessage.Builder<EvaluationStatus.Builder> implements EvaluationStatusOrBuilder

A common evalaution pipeline status.

Protobuf type google.cloud.dialogflow.v2beta1.EvaluationStatus

Static Methods

getDescriptor()

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

Methods

build()

public EvaluationStatus build()
Returns
Type Description
EvaluationStatus

buildPartial()

public EvaluationStatus buildPartial()
Returns
Type Description
EvaluationStatus

clear()

public EvaluationStatus.Builder clear()
Returns
Type Description
EvaluationStatus.Builder
Overrides

clearDone()

public EvaluationStatus.Builder clearDone()

Output only. If the value is false, it means the evaluation is still in progress. If true, the operation is completed, and either error or response is available.

optional bool done = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationStatus.Builder

This builder for chaining.

clearPipelineStatus()

public EvaluationStatus.Builder clearPipelineStatus()

Output only. The error result of the evaluation in case of failure in evaluation pipeline.

.google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationStatus.Builder

getDefaultInstanceForType()

public EvaluationStatus getDefaultInstanceForType()
Returns
Type Description
EvaluationStatus

getDescriptorForType()

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

getDone()

public boolean getDone()

Output only. If the value is false, it means the evaluation is still in progress. If true, the operation is completed, and either error or response is available.

optional bool done = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The done.

getPipelineStatus()

public Status getPipelineStatus()

Output only. The error result of the evaluation in case of failure in evaluation pipeline.

.google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The pipelineStatus.

getPipelineStatusBuilder()

public Status.Builder getPipelineStatusBuilder()

Output only. The error result of the evaluation in case of failure in evaluation pipeline.

.google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status.Builder

getPipelineStatusOrBuilder()

public StatusOrBuilder getPipelineStatusOrBuilder()

Output only. The error result of the evaluation in case of failure in evaluation pipeline.

.google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

hasDone()

public boolean hasDone()

Output only. If the value is false, it means the evaluation is still in progress. If true, the operation is completed, and either error or response is available.

optional bool done = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the done field is set.

hasPipelineStatus()

public boolean hasPipelineStatus()

Output only. The error result of the evaluation in case of failure in evaluation pipeline.

.google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the pipelineStatus field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EvaluationStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePipelineStatus(Status value)

public EvaluationStatus.Builder mergePipelineStatus(Status value)

Output only. The error result of the evaluation in case of failure in evaluation pipeline.

.google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
EvaluationStatus.Builder

setDone(boolean value)

public EvaluationStatus.Builder setDone(boolean value)

Output only. If the value is false, it means the evaluation is still in progress. If true, the operation is completed, and either error or response is available.

optional bool done = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The done to set.

Returns
Type Description
EvaluationStatus.Builder

This builder for chaining.

setPipelineStatus(Status value)

public EvaluationStatus.Builder setPipelineStatus(Status value)

Output only. The error result of the evaluation in case of failure in evaluation pipeline.

.google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
EvaluationStatus.Builder

setPipelineStatus(Status.Builder builderForValue)

public EvaluationStatus.Builder setPipelineStatus(Status.Builder builderForValue)

Output only. The error result of the evaluation in case of failure in evaluation pipeline.

.google.rpc.Status pipeline_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
EvaluationStatus.Builder