Class PlaybookOutput.Builder (0.65.0)

public static final class PlaybookOutput.Builder extends GeneratedMessageV3.Builder<PlaybookOutput.Builder> implements PlaybookOutputOrBuilder

Output of the playbook.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PlaybookOutput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PlaybookOutput.Builder
Overrides

build()

public PlaybookOutput build()
Returns
Type Description
PlaybookOutput

buildPartial()

public PlaybookOutput buildPartial()
Returns
Type Description
PlaybookOutput

clear()

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

clearActionParameters()

public PlaybookOutput.Builder clearActionParameters()

Optional. A Struct object of output parameters for the action.

.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookOutput.Builder

clearExecutionSummary()

public PlaybookOutput.Builder clearExecutionSummary()

Optional. Summary string of the execution result of the child playbook.

string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookOutput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PlaybookOutput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PlaybookOutput.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PlaybookOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PlaybookOutput.Builder
Overrides

clone()

public PlaybookOutput.Builder clone()
Returns
Type Description
PlaybookOutput.Builder
Overrides

getActionParameters()

public Struct getActionParameters()

Optional. A Struct object of output parameters for the action.

.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The actionParameters.

getActionParametersBuilder()

public Struct.Builder getActionParametersBuilder()

Optional. A Struct object of output parameters for the action.

.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getActionParametersOrBuilder()

public StructOrBuilder getActionParametersOrBuilder()

Optional. A Struct object of output parameters for the action.

.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public PlaybookOutput getDefaultInstanceForType()
Returns
Type Description
PlaybookOutput

getDescriptorForType()

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

getExecutionSummary()

public String getExecutionSummary()

Optional. Summary string of the execution result of the child playbook.

string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The executionSummary.

getExecutionSummaryBytes()

public ByteString getExecutionSummaryBytes()

Optional. Summary string of the execution result of the child playbook.

string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for executionSummary.

hasActionParameters()

public boolean hasActionParameters()

Optional. A Struct object of output parameters for the action.

.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the actionParameters field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeActionParameters(Struct value)

public PlaybookOutput.Builder mergeActionParameters(Struct value)

Optional. A Struct object of output parameters for the action.

.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Struct
Returns
Type Description
PlaybookOutput.Builder

mergeFrom(PlaybookOutput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PlaybookOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PlaybookOutput.Builder
Overrides

setActionParameters(Struct value)

public PlaybookOutput.Builder setActionParameters(Struct value)

Optional. A Struct object of output parameters for the action.

.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Struct
Returns
Type Description
PlaybookOutput.Builder

setActionParameters(Struct.Builder builderForValue)

public PlaybookOutput.Builder setActionParameters(Struct.Builder builderForValue)

Optional. A Struct object of output parameters for the action.

.google.protobuf.Struct action_parameters = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PlaybookOutput.Builder

setExecutionSummary(String value)

public PlaybookOutput.Builder setExecutionSummary(String value)

Optional. Summary string of the execution result of the child playbook.

string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The executionSummary to set.

Returns
Type Description
PlaybookOutput.Builder

This builder for chaining.

setExecutionSummaryBytes(ByteString value)

public PlaybookOutput.Builder setExecutionSummaryBytes(ByteString value)

Optional. Summary string of the execution result of the child playbook.

string execution_summary = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for executionSummary to set.

Returns
Type Description
PlaybookOutput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PlaybookOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PlaybookOutput.Builder
Overrides

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

public PlaybookOutput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PlaybookOutput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PlaybookOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PlaybookOutput.Builder
Overrides