Class PlaybookInput.Builder (0.57.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

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

clearActionParameters()

public PlaybookInput.Builder clearActionParameters()

Optional. A list of input parameters for the action.

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

Returns
Type Description
PlaybookInput.Builder

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

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

getActionParameters()

public Struct getActionParameters()

Optional. A list of input parameters for the action.

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

Returns
Type Description
Struct

The actionParameters.

getActionParametersBuilder()

public Struct.Builder getActionParametersBuilder()

Optional. A list of input parameters for the action.

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

Returns
Type Description
Builder

getActionParametersOrBuilder()

public StructOrBuilder getActionParametersOrBuilder()

Optional. A list of input parameters for the action.

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

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public PlaybookInput getDefaultInstanceForType()
Returns
Type Description
PlaybookInput

getDescriptorForType()

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

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.

hasActionParameters()

public boolean hasActionParameters()

Optional. A list of input parameters for the action.

.google.protobuf.Struct action_parameters = 3 [(.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 PlaybookInput.Builder mergeActionParameters(Struct value)

Optional. A list of input parameters for the action.

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

Parameter
Name Description
value Struct
Returns
Type Description
PlaybookInput.Builder

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

setActionParameters(Struct value)

public PlaybookInput.Builder setActionParameters(Struct value)

Optional. A list of input parameters for the action.

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

Parameter
Name Description
value Struct
Returns
Type Description
PlaybookInput.Builder

setActionParameters(Struct.Builder builderForValue)

public PlaybookInput.Builder setActionParameters(Struct.Builder builderForValue)

Optional. A list of input parameters for the action.

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

Parameter
Name Description
builderForValue Builder
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

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