Class Status.Builder (0.94.0)

public static final class Status.Builder extends GeneratedMessage.Builder<Status.Builder> implements StatusOrBuilder

The status of the action.

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

Implements

StatusOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Status build()
Returns
Type Description
Status

buildPartial()

public Status buildPartial()
Returns
Type Description
Status

clear()

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

clearException()

public Status.Builder clearException()

Optional. The exception thrown during the execution of the action.

.google.cloud.dialogflow.cx.v3beta1.ExceptionDetail exception = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Status.Builder

getDefaultInstanceForType()

public Status getDefaultInstanceForType()
Returns
Type Description
Status

getDescriptorForType()

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

getException()

public ExceptionDetail getException()

Optional. The exception thrown during the execution of the action.

.google.cloud.dialogflow.cx.v3beta1.ExceptionDetail exception = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExceptionDetail

The exception.

getExceptionBuilder()

public ExceptionDetail.Builder getExceptionBuilder()

Optional. The exception thrown during the execution of the action.

.google.cloud.dialogflow.cx.v3beta1.ExceptionDetail exception = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExceptionDetail.Builder

getExceptionOrBuilder()

public ExceptionDetailOrBuilder getExceptionOrBuilder()

Optional. The exception thrown during the execution of the action.

.google.cloud.dialogflow.cx.v3beta1.ExceptionDetail exception = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExceptionDetailOrBuilder

hasException()

public boolean hasException()

Optional. The exception thrown during the execution of the action.

.google.cloud.dialogflow.cx.v3beta1.ExceptionDetail exception = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the exception field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeException(ExceptionDetail value)

public Status.Builder mergeException(ExceptionDetail value)

Optional. The exception thrown during the execution of the action.

.google.cloud.dialogflow.cx.v3beta1.ExceptionDetail exception = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExceptionDetail
Returns
Type Description
Status.Builder

mergeFrom(Status other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setException(ExceptionDetail value)

public Status.Builder setException(ExceptionDetail value)

Optional. The exception thrown during the execution of the action.

.google.cloud.dialogflow.cx.v3beta1.ExceptionDetail exception = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ExceptionDetail
Returns
Type Description
Status.Builder

setException(ExceptionDetail.Builder builderForValue)

public Status.Builder setException(ExceptionDetail.Builder builderForValue)

Optional. The exception thrown during the execution of the action.

.google.cloud.dialogflow.cx.v3beta1.ExceptionDetail exception = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ExceptionDetail.Builder
Returns
Type Description
Status.Builder