Class PlaybookInvocation.Builder (0.94.0)

public static final class PlaybookInvocation.Builder extends GeneratedMessage.Builder<PlaybookInvocation.Builder> implements PlaybookInvocationOrBuilder

Stores metadata of the invocation of a child playbook.

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

Static Methods

getDescriptor()

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

Methods

build()

public PlaybookInvocation build()
Returns
Type Description
PlaybookInvocation

buildPartial()

public PlaybookInvocation buildPartial()
Returns
Type Description
PlaybookInvocation

clear()

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

clearDisplayName()

public PlaybookInvocation.Builder clearDisplayName()

Output only. The display name of the playbook.

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

Returns
Type Description
PlaybookInvocation.Builder

This builder for chaining.

clearPlaybook()

public PlaybookInvocation.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
PlaybookInvocation.Builder

This builder for chaining.

clearPlaybookInput()

public PlaybookInvocation.Builder clearPlaybookInput()

Optional. Input of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookInvocation.Builder

clearPlaybookOutput()

public PlaybookInvocation.Builder clearPlaybookOutput()

Optional. Output of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookInvocation.Builder

clearPlaybookState()

public PlaybookInvocation.Builder clearPlaybookState()

Required. Playbook invocation's output state.

.google.cloud.dialogflow.cx.v3.OutputState playbook_state = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PlaybookInvocation.Builder

This builder for chaining.

getDefaultInstanceForType()

public PlaybookInvocation getDefaultInstanceForType()
Returns
Type Description
PlaybookInvocation

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 = 5 [(.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 = 5 [(.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.

getPlaybookInput()

public PlaybookInput getPlaybookInput()

Optional. Input of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookInput

The playbookInput.

getPlaybookInputBuilder()

public PlaybookInput.Builder getPlaybookInputBuilder()

Optional. Input of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookInput.Builder

getPlaybookInputOrBuilder()

public PlaybookInputOrBuilder getPlaybookInputOrBuilder()

Optional. Input of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookInputOrBuilder

getPlaybookOutput()

public PlaybookOutput getPlaybookOutput()

Optional. Output of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookOutput

The playbookOutput.

getPlaybookOutputBuilder()

public PlaybookOutput.Builder getPlaybookOutputBuilder()

Optional. Output of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookOutput.Builder

getPlaybookOutputOrBuilder()

public PlaybookOutputOrBuilder getPlaybookOutputOrBuilder()

Optional. Output of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookOutputOrBuilder

getPlaybookState()

public OutputState getPlaybookState()

Required. Playbook invocation's output state.

.google.cloud.dialogflow.cx.v3.OutputState playbook_state = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputState

The playbookState.

getPlaybookStateValue()

public int getPlaybookStateValue()

Required. Playbook invocation's output state.

.google.cloud.dialogflow.cx.v3.OutputState playbook_state = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for playbookState.

hasPlaybookInput()

public boolean hasPlaybookInput()

Optional. Input of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the playbookInput field is set.

hasPlaybookOutput()

public boolean hasPlaybookOutput()

Optional. Output of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the playbookOutput field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PlaybookInvocation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePlaybookInput(PlaybookInput value)

public PlaybookInvocation.Builder mergePlaybookInput(PlaybookInput value)

Optional. Input of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PlaybookInput
Returns
Type Description
PlaybookInvocation.Builder

mergePlaybookOutput(PlaybookOutput value)

public PlaybookInvocation.Builder mergePlaybookOutput(PlaybookOutput value)

Optional. Output of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PlaybookOutput
Returns
Type Description
PlaybookInvocation.Builder

setDisplayName(String value)

public PlaybookInvocation.Builder setDisplayName(String value)

Output only. The display name of the playbook.

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

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
PlaybookInvocation.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public PlaybookInvocation.Builder setDisplayNameBytes(ByteString value)

Output only. The display name of the playbook.

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

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
PlaybookInvocation.Builder

This builder for chaining.

setPlaybook(String value)

public PlaybookInvocation.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
PlaybookInvocation.Builder

This builder for chaining.

setPlaybookBytes(ByteString value)

public PlaybookInvocation.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
PlaybookInvocation.Builder

This builder for chaining.

setPlaybookInput(PlaybookInput value)

public PlaybookInvocation.Builder setPlaybookInput(PlaybookInput value)

Optional. Input of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PlaybookInput
Returns
Type Description
PlaybookInvocation.Builder

setPlaybookInput(PlaybookInput.Builder builderForValue)

public PlaybookInvocation.Builder setPlaybookInput(PlaybookInput.Builder builderForValue)

Optional. Input of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue PlaybookInput.Builder
Returns
Type Description
PlaybookInvocation.Builder

setPlaybookOutput(PlaybookOutput value)

public PlaybookInvocation.Builder setPlaybookOutput(PlaybookOutput value)

Optional. Output of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PlaybookOutput
Returns
Type Description
PlaybookInvocation.Builder

setPlaybookOutput(PlaybookOutput.Builder builderForValue)

public PlaybookInvocation.Builder setPlaybookOutput(PlaybookOutput.Builder builderForValue)

Optional. Output of the child playbook invocation.

.google.cloud.dialogflow.cx.v3.PlaybookOutput playbook_output = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue PlaybookOutput.Builder
Returns
Type Description
PlaybookInvocation.Builder

setPlaybookState(OutputState value)

public PlaybookInvocation.Builder setPlaybookState(OutputState value)

Required. Playbook invocation's output state.

.google.cloud.dialogflow.cx.v3.OutputState playbook_state = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OutputState

The playbookState to set.

Returns
Type Description
PlaybookInvocation.Builder

This builder for chaining.

setPlaybookStateValue(int value)

public PlaybookInvocation.Builder setPlaybookStateValue(int value)

Required. Playbook invocation's output state.

.google.cloud.dialogflow.cx.v3.OutputState playbook_state = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for playbookState to set.

Returns
Type Description
PlaybookInvocation.Builder

This builder for chaining.