Class EvaluationErrorInfo (0.3.0)

public final class EvaluationErrorInfo extends GeneratedMessage implements EvaluationErrorInfoOrBuilder

Information about an error encountered during an evaluation execution.

Protobuf type google.cloud.ces.v1beta.EvaluationErrorInfo

Static Fields

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

ERROR_TYPE_FIELD_NUMBER

public static final int ERROR_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SESSION_ID_FIELD_NUMBER

public static final int SESSION_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EvaluationErrorInfo getDefaultInstance()
Returns
Type Description
EvaluationErrorInfo

getDescriptor()

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

newBuilder()

public static EvaluationErrorInfo.Builder newBuilder()
Returns
Type Description
EvaluationErrorInfo.Builder

newBuilder(EvaluationErrorInfo prototype)

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

parseDelimitedFrom(InputStream input)

public static EvaluationErrorInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvaluationErrorInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static EvaluationErrorInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EvaluationErrorInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static EvaluationErrorInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EvaluationErrorInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static EvaluationErrorInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EvaluationErrorInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static EvaluationErrorInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EvaluationErrorInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<EvaluationErrorInfo> parser()
Returns
Type Description
Parser<EvaluationErrorInfo>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EvaluationErrorInfo getDefaultInstanceForType()
Returns
Type Description
EvaluationErrorInfo

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.

getParserForType()

public Parser<EvaluationErrorInfo> getParserForType()
Returns
Type Description
Parser<EvaluationErrorInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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 EvaluationErrorInfo.Builder newBuilderForType()
Returns
Type Description
EvaluationErrorInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

public EvaluationErrorInfo.Builder toBuilder()
Returns
Type Description
EvaluationErrorInfo.Builder

writeTo(CodedOutputStream output)

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