Class PlaybookInput.Builder (0.48.0)

public static final class PlaybookInput.Builder extends GeneratedMessageV3.Builder<PlaybookInput.Builder> implements PlaybookInputOrBuilder

Input of the playbook.

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

Static Methods

getDescriptor()

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

Methods

addAllParameters(Iterable<? extends ActionParameter> values)

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

Optional. A list of input parameters for the invocation.

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

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

addParameters(ActionParameter value)

public PlaybookInput.Builder addParameters(ActionParameter value)

Optional. A list of input parameters for the invocation.

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

Parameter
Name Description
value ActionParameter
Returns
Type Description
PlaybookInput.Builder

addParameters(ActionParameter.Builder builderForValue)

public PlaybookInput.Builder addParameters(ActionParameter.Builder builderForValue)

Optional. A list of input parameters for the invocation.

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

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

addParameters(int index, ActionParameter value)

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

Optional. A list of input parameters for the invocation.

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

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

addParameters(int index, ActionParameter.Builder builderForValue)

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

Optional. A list of input parameters for the invocation.

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

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

addParametersBuilder()

public ActionParameter.Builder addParametersBuilder()

Optional. A list of input parameters for the invocation.

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

Returns
Type Description
ActionParameter.Builder

addParametersBuilder(int index)

public ActionParameter.Builder addParametersBuilder(int index)

Optional. A list of input parameters for the invocation.

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

Parameter
Name Description
index int
Returns
Type Description
ActionParameter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PlaybookInput build()
Returns
Type Description
PlaybookInput

buildPartial()

public PlaybookInput buildPartial()
Returns
Type Description
PlaybookInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameters()

public PlaybookInput.Builder clearParameters()

Optional. A list of input parameters for the invocation.

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

Returns
Type Description
PlaybookInput.Builder

clearPrecedingConversationSummary()

public PlaybookInput.Builder clearPrecedingConversationSummary()

Optional. Summary string of the preceding conversation for the child playbook invocation.

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

Returns
Type Description
PlaybookInput.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PlaybookInput getDefaultInstanceForType()
Returns
Type Description
PlaybookInput

getDescriptorForType()

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

getParameters(int index)

public ActionParameter getParameters(int index)

Optional. A list of input parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.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 input parameters for the invocation.

repeated .google.cloud.dialogflow.cx.v3beta1.ActionParameter parameters = 2 [(.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 input parameters for the invocation.

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

Returns
Type Description
List<Builder>

getParametersCount()

public int getParametersCount()

Optional. A list of input parameters for the invocation.

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

Returns
Type Description
int

getParametersList()

public List<ActionParameter> getParametersList()

Optional. A list of input parameters for the invocation.

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

Returns
Type Description
List<ActionParameter>

getParametersOrBuilder(int index)

public ActionParameterOrBuilder getParametersOrBuilder(int index)

Optional. A list of input parameters for the invocation.

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

Parameter
Name Description
index int
Returns
Type Description
ActionParameterOrBuilder

getParametersOrBuilderList()

public List<? extends ActionParameterOrBuilder> getParametersOrBuilderList()

Optional. A list of input parameters for the invocation.

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

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

getPrecedingConversationSummary()

public String getPrecedingConversationSummary()

Optional. Summary string of the preceding conversation for the child playbook invocation.

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

Returns
Type Description
String

The precedingConversationSummary.

getPrecedingConversationSummaryBytes()

public ByteString getPrecedingConversationSummaryBytes()

Optional. Summary string of the preceding conversation for the child playbook invocation.

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

Returns
Type Description
ByteString

The bytes for precedingConversationSummary.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PlaybookInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeParameters(int index)

public PlaybookInput.Builder removeParameters(int index)

Optional. A list of input parameters for the invocation.

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

Parameter
Name Description
index int
Returns
Type Description
PlaybookInput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParameters(int index, ActionParameter value)

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

Optional. A list of input parameters for the invocation.

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

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

setParameters(int index, ActionParameter.Builder builderForValue)

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

Optional. A list of input parameters for the invocation.

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

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

setPrecedingConversationSummary(String value)

public PlaybookInput.Builder setPrecedingConversationSummary(String value)

Optional. Summary string of the preceding conversation for the child playbook invocation.

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

Parameter
Name Description
value String

The precedingConversationSummary to set.

Returns
Type Description
PlaybookInput.Builder

This builder for chaining.

setPrecedingConversationSummaryBytes(ByteString value)

public PlaybookInput.Builder setPrecedingConversationSummaryBytes(ByteString value)

Optional. Summary string of the preceding conversation for the child playbook invocation.

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

Parameter
Name Description
value ByteString

The bytes for precedingConversationSummary to set.

Returns
Type Description
PlaybookInput.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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