Class PlaybookOutput.Builder (0.54.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

addAllParameters(Iterable<? extends ActionParameter> values)

public PlaybookOutput.Builder addAllParameters(Iterable<? extends ActionParameter> values)

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ActionParameter>
Returns
Type Description
PlaybookOutput.Builder

addParameters(ActionParameter value)

public PlaybookOutput.Builder addParameters(ActionParameter value)

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ActionParameter
Returns
Type Description
PlaybookOutput.Builder

addParameters(ActionParameter.Builder builderForValue)

public PlaybookOutput.Builder addParameters(ActionParameter.Builder builderForValue)

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

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

addParameters(int index, ActionParameter value)

public PlaybookOutput.Builder addParameters(int index, ActionParameter value)

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ActionParameter
Returns
Type Description
PlaybookOutput.Builder

addParameters(int index, ActionParameter.Builder builderForValue)

public PlaybookOutput.Builder addParameters(int index, ActionParameter.Builder builderForValue)

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ActionParameter.Builder
Returns
Type Description
PlaybookOutput.Builder

addParametersBuilder()

public ActionParameter.Builder addParametersBuilder()

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActionParameter.Builder

addParametersBuilder(int index)

public ActionParameter.Builder addParametersBuilder(int index)

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ActionParameter.Builder

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

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

clearParameters()

public PlaybookOutput.Builder clearParameters()

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PlaybookOutput.Builder

clone()

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

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.

getParameters(int index)

public ActionParameter getParameters(int index)

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ActionParameter

getParametersBuilder(int index)

public ActionParameter.Builder getParametersBuilder(int index)

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ActionParameter.Builder

getParametersBuilderList()

public List<ActionParameter.Builder> getParametersBuilderList()

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getParametersCount()

public int getParametersCount()

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getParametersList()

public List<ActionParameter> getParametersList()

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ActionParameter>

getParametersOrBuilder(int index)

public ActionParameterOrBuilder getParametersOrBuilder(int index)

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ActionParameterOrBuilder

getParametersOrBuilderList()

public List<? extends ActionParameterOrBuilder> getParametersOrBuilderList()

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ActionParameterOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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

removeParameters(int index)

public PlaybookOutput.Builder removeParameters(int index)

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
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

setParameters(int index, ActionParameter value)

public PlaybookOutput.Builder setParameters(int index, ActionParameter value)

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ActionParameter
Returns
Type Description
PlaybookOutput.Builder

setParameters(int index, ActionParameter.Builder builderForValue)

public PlaybookOutput.Builder setParameters(int index, ActionParameter.Builder builderForValue)

Optional. A list of output parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ActionParameter.Builder
Returns
Type Description
PlaybookOutput.Builder

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