Class CompanionAgent.KnowledgeSource.Builder (4.105.0)

public static final class CompanionAgent.KnowledgeSource.Builder extends GeneratedMessage.Builder<CompanionAgent.KnowledgeSource.Builder> implements CompanionAgent.KnowledgeSourceOrBuilder

Knowledge source configuration for knowledge retrieval.

Protobuf type google.cloud.dialogflow.v2.CompanionAgent.KnowledgeSource

Static Methods

getDescriptor()

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

Methods

build()

public CompanionAgent.KnowledgeSource build()
Returns
Type Description
CompanionAgent.KnowledgeSource

buildPartial()

public CompanionAgent.KnowledgeSource buildPartial()
Returns
Type Description
CompanionAgent.KnowledgeSource

clear()

public CompanionAgent.KnowledgeSource.Builder clear()
Returns
Type Description
CompanionAgent.KnowledgeSource.Builder
Overrides

getDefaultInstanceForType()

public CompanionAgent.KnowledgeSource getDefaultInstanceForType()
Returns
Type Description
CompanionAgent.KnowledgeSource

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CompanionAgent.KnowledgeSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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