Class Tool.DataStoreTool.FallbackPrompt.Builder (0.50.0)

public static final class Tool.DataStoreTool.FallbackPrompt.Builder extends GeneratedMessageV3.Builder<Tool.DataStoreTool.FallbackPrompt.Builder> implements Tool.DataStoreTool.FallbackPromptOrBuilder

A FallbackPrompt is a way to provide specifications for the Data Store fallback prompt when generating responses.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool.FallbackPrompt

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Tool.DataStoreTool.FallbackPrompt build()
Returns
Type Description
Tool.DataStoreTool.FallbackPrompt

buildPartial()

public Tool.DataStoreTool.FallbackPrompt buildPartial()
Returns
Type Description
Tool.DataStoreTool.FallbackPrompt

clear()

public Tool.DataStoreTool.FallbackPrompt.Builder clear()
Returns
Type Description
Tool.DataStoreTool.FallbackPrompt.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Tool.DataStoreTool.FallbackPrompt.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Tool.DataStoreTool.FallbackPrompt.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Tool.DataStoreTool.FallbackPrompt.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Tool.DataStoreTool.FallbackPrompt.Builder
Overrides

clone()

public Tool.DataStoreTool.FallbackPrompt.Builder clone()
Returns
Type Description
Tool.DataStoreTool.FallbackPrompt.Builder
Overrides

getDefaultInstanceForType()

public Tool.DataStoreTool.FallbackPrompt getDefaultInstanceForType()
Returns
Type Description
Tool.DataStoreTool.FallbackPrompt

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Tool.DataStoreTool.FallbackPrompt other)

public Tool.DataStoreTool.FallbackPrompt.Builder mergeFrom(Tool.DataStoreTool.FallbackPrompt other)
Parameter
Name Description
other Tool.DataStoreTool.FallbackPrompt
Returns
Type Description
Tool.DataStoreTool.FallbackPrompt.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Tool.DataStoreTool.FallbackPrompt.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Tool.DataStoreTool.FallbackPrompt.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Tool.DataStoreTool.FallbackPrompt.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Tool.DataStoreTool.FallbackPrompt.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Tool.DataStoreTool.FallbackPrompt.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Tool.DataStoreTool.FallbackPrompt.Builder
Overrides