Class PlaybookInvocation.Builder (0.52.0)

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

Stores metadata of the invocation of a child playbook. Next Id: 5

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PlaybookInvocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PlaybookInvocation.Builder
Overrides

build()

public PlaybookInvocation build()
Returns
TypeDescription
PlaybookInvocation

buildPartial()

public PlaybookInvocation buildPartial()
Returns
TypeDescription
PlaybookInvocation

clear()

public PlaybookInvocation.Builder clear()
Returns
TypeDescription
PlaybookInvocation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PlaybookInvocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PlaybookInvocation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PlaybookInvocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PlaybookInvocation.Builder
Overrides

clearPlaybook()

public PlaybookInvocation.Builder clearPlaybook()

Required. The unique identifier of the playbook. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>.

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

Returns
TypeDescription
PlaybookInvocation.Builder

This builder for chaining.

clearPlaybookInput()

public PlaybookInvocation.Builder clearPlaybookInput()

Optional. Input of the child playbook invocation.

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

Returns
TypeDescription
PlaybookInvocation.Builder

clearPlaybookOutput()

public PlaybookInvocation.Builder clearPlaybookOutput()

Optional. Output of the child playbook invocation.

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

Returns
TypeDescription
PlaybookInvocation.Builder

clearPlaybookState()

public PlaybookInvocation.Builder clearPlaybookState()

Required. Playbook invocation's output state.

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

Returns
TypeDescription
PlaybookInvocation.Builder

This builder for chaining.

clone()

public PlaybookInvocation.Builder clone()
Returns
TypeDescription
PlaybookInvocation.Builder
Overrides

getDefaultInstanceForType()

public PlaybookInvocation getDefaultInstanceForType()
Returns
TypeDescription
PlaybookInvocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPlaybook()

public String getPlaybook()

Required. The unique identifier of the playbook. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>.

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

Returns
TypeDescription
String

The playbook.

getPlaybookBytes()

public ByteString getPlaybookBytes()

Required. The unique identifier of the playbook. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>.

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

Returns
TypeDescription
ByteString

The bytes for playbook.

getPlaybookInput()

public PlaybookInput getPlaybookInput()

Optional. Input of the child playbook invocation.

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

Returns
TypeDescription
PlaybookInput

The playbookInput.

getPlaybookInputBuilder()

public PlaybookInput.Builder getPlaybookInputBuilder()

Optional. Input of the child playbook invocation.

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

Returns
TypeDescription
PlaybookInput.Builder

getPlaybookInputOrBuilder()

public PlaybookInputOrBuilder getPlaybookInputOrBuilder()

Optional. Input of the child playbook invocation.

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

Returns
TypeDescription
PlaybookInputOrBuilder

getPlaybookOutput()

public PlaybookOutput getPlaybookOutput()

Optional. Output of the child playbook invocation.

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

Returns
TypeDescription
PlaybookOutput

The playbookOutput.

getPlaybookOutputBuilder()

public PlaybookOutput.Builder getPlaybookOutputBuilder()

Optional. Output of the child playbook invocation.

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

Returns
TypeDescription
PlaybookOutput.Builder

getPlaybookOutputOrBuilder()

public PlaybookOutputOrBuilder getPlaybookOutputOrBuilder()

Optional. Output of the child playbook invocation.

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

Returns
TypeDescription
PlaybookOutputOrBuilder

getPlaybookState()

public OutputState getPlaybookState()

Required. Playbook invocation's output state.

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

Returns
TypeDescription
OutputState

The playbookState.

getPlaybookStateValue()

public int getPlaybookStateValue()

Required. Playbook invocation's output state.

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

Returns
TypeDescription
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.v3beta1.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the playbookInput field is set.

hasPlaybookOutput()

public boolean hasPlaybookOutput()

Optional. Output of the child playbook invocation.

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

Returns
TypeDescription
boolean

Whether the playbookOutput field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PlaybookInvocation other)

public PlaybookInvocation.Builder mergeFrom(PlaybookInvocation other)
Parameter
NameDescription
otherPlaybookInvocation
Returns
TypeDescription
PlaybookInvocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PlaybookInvocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PlaybookInvocation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PlaybookInvocation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PlaybookInvocation.Builder
Overrides

mergePlaybookInput(PlaybookInput value)

public PlaybookInvocation.Builder mergePlaybookInput(PlaybookInput value)

Optional. Input of the child playbook invocation.

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

Parameter
NameDescription
valuePlaybookInput
Returns
TypeDescription
PlaybookInvocation.Builder

mergePlaybookOutput(PlaybookOutput value)

public PlaybookInvocation.Builder mergePlaybookOutput(PlaybookOutput value)

Optional. Output of the child playbook invocation.

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

Parameter
NameDescription
valuePlaybookOutput
Returns
TypeDescription
PlaybookInvocation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PlaybookInvocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PlaybookInvocation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PlaybookInvocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PlaybookInvocation.Builder
Overrides

setPlaybook(String value)

public PlaybookInvocation.Builder setPlaybook(String value)

Required. The unique identifier of the playbook. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>.

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

Parameter
NameDescription
valueString

The playbook to set.

Returns
TypeDescription
PlaybookInvocation.Builder

This builder for chaining.

setPlaybookBytes(ByteString value)

public PlaybookInvocation.Builder setPlaybookBytes(ByteString value)

Required. The unique identifier of the playbook. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>.

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

Parameter
NameDescription
valueByteString

The bytes for playbook to set.

Returns
TypeDescription
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.v3beta1.PlaybookInput playbook_input = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuePlaybookInput
Returns
TypeDescription
PlaybookInvocation.Builder

setPlaybookInput(PlaybookInput.Builder builderForValue)

public PlaybookInvocation.Builder setPlaybookInput(PlaybookInput.Builder builderForValue)

Optional. Input of the child playbook invocation.

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

Parameter
NameDescription
builderForValuePlaybookInput.Builder
Returns
TypeDescription
PlaybookInvocation.Builder

setPlaybookOutput(PlaybookOutput value)

public PlaybookInvocation.Builder setPlaybookOutput(PlaybookOutput value)

Optional. Output of the child playbook invocation.

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

Parameter
NameDescription
valuePlaybookOutput
Returns
TypeDescription
PlaybookInvocation.Builder

setPlaybookOutput(PlaybookOutput.Builder builderForValue)

public PlaybookInvocation.Builder setPlaybookOutput(PlaybookOutput.Builder builderForValue)

Optional. Output of the child playbook invocation.

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

Parameter
NameDescription
builderForValuePlaybookOutput.Builder
Returns
TypeDescription
PlaybookInvocation.Builder

setPlaybookState(OutputState value)

public PlaybookInvocation.Builder setPlaybookState(OutputState value)

Required. Playbook invocation's output state.

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

Parameter
NameDescription
valueOutputState

The playbookState to set.

Returns
TypeDescription
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.v3beta1.OutputState playbook_state = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
PlaybookInvocation.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PlaybookInvocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PlaybookInvocation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PlaybookInvocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PlaybookInvocation.Builder
Overrides