Class CancelAssistantTurnResponse.Builder (0.19.0)

public static final class CancelAssistantTurnResponse.Builder extends GeneratedMessage.Builder<CancelAssistantTurnResponse.Builder> implements CancelAssistantTurnResponseOrBuilder

Response for CancelAssistantTurn.

Protobuf type google.cloud.ces.v1beta.CancelAssistantTurnResponse

Static Methods

getDescriptor()

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

Methods

build()

public CancelAssistantTurnResponse build()
Returns
Type Description
CancelAssistantTurnResponse

buildPartial()

public CancelAssistantTurnResponse buildPartial()
Returns
Type Description
CancelAssistantTurnResponse

clear()

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

clearCancelled()

public CancelAssistantTurnResponse.Builder clearCancelled()

Whether an in-flight turn was found and asked to stop (directly on this task, or through an epoch preemption for a turn hosted elsewhere).

bool cancelled = 1;

Returns
Type Description
CancelAssistantTurnResponse.Builder

This builder for chaining.

getCancelled()

public boolean getCancelled()

Whether an in-flight turn was found and asked to stop (directly on this task, or through an epoch preemption for a turn hosted elsewhere).

bool cancelled = 1;

Returns
Type Description
boolean

The cancelled.

getDefaultInstanceForType()

public CancelAssistantTurnResponse getDefaultInstanceForType()
Returns
Type Description
CancelAssistantTurnResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CancelAssistantTurnResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCancelled(boolean value)

public CancelAssistantTurnResponse.Builder setCancelled(boolean value)

Whether an in-flight turn was found and asked to stop (directly on this task, or through an epoch preemption for a turn hosted elsewhere).

bool cancelled = 1;

Parameter
Name Description
value boolean

The cancelled to set.

Returns
Type Description
CancelAssistantTurnResponse.Builder

This builder for chaining.