Exception ExceptionDetail.Builder (0.94.0)

public static final class ExceptionDetail.Builder extends GeneratedMessage.Builder<ExceptionDetail.Builder> implements ExceptionDetailOrBuilder

Exception thrown during the execution of an action.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ExceptionDetail

Static Methods

getDescriptor()

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

Methods

build()

public ExceptionDetail build()
Returns
Type Description
ExceptionDetail

buildPartial()

public ExceptionDetail buildPartial()
Returns
Type Description
ExceptionDetail

clear()

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

clearErrorMessage()

public ExceptionDetail.Builder clearErrorMessage()

Optional. The error message.

string error_message = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExceptionDetail.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExceptionDetail getDefaultInstanceForType()
Returns
Type Description
ExceptionDetail

getDescriptorForType()

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

getErrorMessage()

public String getErrorMessage()

Optional. The error message.

string error_message = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

Optional. The error message.

string error_message = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for errorMessage.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExceptionDetail other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setErrorMessage(String value)

public ExceptionDetail.Builder setErrorMessage(String value)

Optional. The error message.

string error_message = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The errorMessage to set.

Returns
Type Description
ExceptionDetail.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public ExceptionDetail.Builder setErrorMessageBytes(ByteString value)

Optional. The error message.

string error_message = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for errorMessage to set.

Returns
Type Description
ExceptionDetail.Builder

This builder for chaining.