public static final class PlaybookTransition.Builder extends GeneratedMessage.Builder<PlaybookTransition.Builder> implements PlaybookTransitionOrBuilderStores 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PlaybookTransition.BuilderImplements
PlaybookTransitionOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PlaybookTransition.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PlaybookTransition.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for playbook to set. |
| Returns | |
|---|---|
| Type | Description |
PlaybookTransition.Builder |
This builder for chaining. |