Class EvaluationErrorInfo.Builder (0.3.0)

public static final class EvaluationErrorInfo.Builder extends GeneratedMessage.Builder<EvaluationErrorInfo.Builder> implements EvaluationErrorInfoOrBuilder

Information about an error encountered during an evaluation execution.

Protobuf type google.cloud.ces.v1beta.EvaluationErrorInfo

Static Methods

getDescriptor()

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

Methods

build()

public EvaluationErrorInfo build()
Returns
Type Description
EvaluationErrorInfo

buildPartial()

public EvaluationErrorInfo buildPartial()
Returns
Type Description
EvaluationErrorInfo

clear()

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

clearErrorMessage()

public EvaluationErrorInfo.Builder clearErrorMessage()

Output only. The error message.

string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationErrorInfo.Builder

This builder for chaining.

clearErrorType()

public EvaluationErrorInfo.Builder clearErrorType()

Output only. The type of error.

.google.cloud.ces.v1beta.EvaluationErrorInfo.ErrorType error_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationErrorInfo.Builder

This builder for chaining.

clearSessionId()

public EvaluationErrorInfo.Builder clearSessionId()

Output only. The session ID for the conversation that caused the error.

string session_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationErrorInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public EvaluationErrorInfo getDefaultInstanceForType()
Returns
Type Description
EvaluationErrorInfo

getDescriptorForType()

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

getErrorMessage()

public String getErrorMessage()

Output only. The error message.

string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

Output only. The error message.

string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for errorMessage.

getErrorType()

public EvaluationErrorInfo.ErrorType getErrorType()

Output only. The type of error.

.google.cloud.ces.v1beta.EvaluationErrorInfo.ErrorType error_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationErrorInfo.ErrorType

The errorType.

getErrorTypeValue()

public int getErrorTypeValue()

Output only. The type of error.

.google.cloud.ces.v1beta.EvaluationErrorInfo.ErrorType error_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for errorType.

getSessionId()

public String getSessionId()

Output only. The session ID for the conversation that caused the error.

string session_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The sessionId.

getSessionIdBytes()

public ByteString getSessionIdBytes()

Output only. The session ID for the conversation that caused the error.

string session_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for sessionId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EvaluationErrorInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setErrorMessage(String value)

public EvaluationErrorInfo.Builder setErrorMessage(String value)

Output only. The error message.

string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The errorMessage to set.

Returns
Type Description
EvaluationErrorInfo.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public EvaluationErrorInfo.Builder setErrorMessageBytes(ByteString value)

Output only. The error message.

string error_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for errorMessage to set.

Returns
Type Description
EvaluationErrorInfo.Builder

This builder for chaining.

setErrorType(EvaluationErrorInfo.ErrorType value)

public EvaluationErrorInfo.Builder setErrorType(EvaluationErrorInfo.ErrorType value)

Output only. The type of error.

.google.cloud.ces.v1beta.EvaluationErrorInfo.ErrorType error_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value EvaluationErrorInfo.ErrorType

The errorType to set.

Returns
Type Description
EvaluationErrorInfo.Builder

This builder for chaining.

setErrorTypeValue(int value)

public EvaluationErrorInfo.Builder setErrorTypeValue(int value)

Output only. The type of error.

.google.cloud.ces.v1beta.EvaluationErrorInfo.ErrorType error_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for errorType to set.

Returns
Type Description
EvaluationErrorInfo.Builder

This builder for chaining.

setSessionId(String value)

public EvaluationErrorInfo.Builder setSessionId(String value)

Output only. The session ID for the conversation that caused the error.

string session_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The sessionId to set.

Returns
Type Description
EvaluationErrorInfo.Builder

This builder for chaining.

setSessionIdBytes(ByteString value)

public EvaluationErrorInfo.Builder setSessionIdBytes(ByteString value)

Output only. The session ID for the conversation that caused the error.

string session_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for sessionId to set.

Returns
Type Description
EvaluationErrorInfo.Builder

This builder for chaining.