Class PlaybookTransition.Builder (0.94.0)

public static final class PlaybookTransition.Builder extends GeneratedMessage.Builder<PlaybookTransition.Builder> implements PlaybookTransitionOrBuilder

Stores metadata of the transition to another target playbook. Playbook transition actions exit the caller playbook and enter the target playbook.

Protobuf type google.cloud.dialogflow.cx.v3.PlaybookTransition

Static Methods

getDescriptor()

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

Methods

build()

public PlaybookTransition build()
Returns
Type Description
PlaybookTransition

buildPartial()

public PlaybookTransition buildPartial()
Returns
Type Description
PlaybookTransition

clear()

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

clearDisplayName()

public PlaybookTransition.Builder clearDisplayName()

Output only. The display name of the playbook.

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

Returns
Type Description
PlaybookTransition.Builder

This builder for chaining.

clearPlaybook()

public PlaybookTransition.Builder clearPlaybook()

Required. The unique identifier of the playbook. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.

string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
PlaybookTransition.Builder

This builder for chaining.

getDefaultInstanceForType()

public PlaybookTransition getDefaultInstanceForType()
Returns
Type Description
PlaybookTransition

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Output only. The display name of the playbook.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The display name of the playbook.

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

Returns
Type Description
ByteString

The bytes for displayName.

getPlaybook()

public String getPlaybook()

Required. The unique identifier of the playbook. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.

string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The playbook.

getPlaybookBytes()

public ByteString getPlaybookBytes()

Required. The unique identifier of the playbook. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.

string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for playbook.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PlaybookTransition other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDisplayName(String value)

public PlaybookTransition.Builder setDisplayName(String value)

Output only. The display name of the playbook.

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

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
PlaybookTransition.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public PlaybookTransition.Builder setDisplayNameBytes(ByteString value)

Output only. The display name of the playbook.

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

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
PlaybookTransition.Builder

This builder for chaining.

setPlaybook(String value)

public PlaybookTransition.Builder setPlaybook(String value)

Required. The unique identifier of the playbook. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.

string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The playbook to set.

Returns
Type Description
PlaybookTransition.Builder

This builder for chaining.

setPlaybookBytes(ByteString value)

public PlaybookTransition.Builder setPlaybookBytes(ByteString value)

Required. The unique identifier of the playbook. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.

string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for playbook to set.

Returns
Type Description
PlaybookTransition.Builder

This builder for chaining.