Class PlaybookOutput.Builder (0.52.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ActionParameter>
Returns
TypeDescription
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
NameDescription
valueActionParameter
Returns
TypeDescription
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
NameDescription
builderForValueActionParameter.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueActionParameter
Returns
TypeDescription
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
NameDescription
indexint
builderForValueActionParameter.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ActionParameter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PlaybookOutput build()
Returns
TypeDescription
PlaybookOutput

buildPartial()

public PlaybookOutput buildPartial()
Returns
TypeDescription
PlaybookOutput

clear()

public PlaybookOutput.Builder clear()
Returns
TypeDescription
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
TypeDescription
PlaybookOutput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PlaybookOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
PlaybookOutput.Builder

clone()

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

getDefaultInstanceForType()

public PlaybookOutput getDefaultInstanceForType()
Returns
TypeDescription
PlaybookOutput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ActionParameterOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PlaybookOutput other)

public PlaybookOutput.Builder mergeFrom(PlaybookOutput other)
Parameter
NameDescription
otherPlaybookOutput
Returns
TypeDescription
PlaybookOutput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PlaybookOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The executionSummary to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for executionSummary to set.

Returns
TypeDescription
PlaybookOutput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PlaybookOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueActionParameter
Returns
TypeDescription
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
NameDescription
indexint
builderForValueActionParameter.Builder
Returns
TypeDescription
PlaybookOutput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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