Class CompanionAgent.KnowledgeSource (4.105.0)

public static final class CompanionAgent.KnowledgeSource extends GeneratedMessage implements CompanionAgent.KnowledgeSourceOrBuilder

Knowledge source configuration for knowledge retrieval.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CompanionAgent.KnowledgeSource

Static Methods

getDefaultInstance()

public static CompanionAgent.KnowledgeSource getDefaultInstance()
Returns
Type Description
CompanionAgent.KnowledgeSource

getDescriptor()

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

newBuilder()

public static CompanionAgent.KnowledgeSource.Builder newBuilder()
Returns
Type Description
CompanionAgent.KnowledgeSource.Builder

newBuilder(CompanionAgent.KnowledgeSource prototype)

public static CompanionAgent.KnowledgeSource.Builder newBuilder(CompanionAgent.KnowledgeSource prototype)
Parameter
Name Description
prototype CompanionAgent.KnowledgeSource
Returns
Type Description
CompanionAgent.KnowledgeSource.Builder

parseDelimitedFrom(InputStream input)

public static CompanionAgent.KnowledgeSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompanionAgent.KnowledgeSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompanionAgent.KnowledgeSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompanionAgent.KnowledgeSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CompanionAgent.KnowledgeSource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CompanionAgent.KnowledgeSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CompanionAgent.KnowledgeSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompanionAgent.KnowledgeSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CompanionAgent.KnowledgeSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CompanionAgent.KnowledgeSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CompanionAgent.KnowledgeSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompanionAgent.KnowledgeSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CompanionAgent.KnowledgeSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CompanionAgent.KnowledgeSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CompanionAgent.KnowledgeSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompanionAgent.KnowledgeSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CompanionAgent.KnowledgeSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompanionAgent.KnowledgeSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompanionAgent.KnowledgeSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompanionAgent.KnowledgeSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CompanionAgent.KnowledgeSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CompanionAgent.KnowledgeSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompanionAgent.KnowledgeSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompanionAgent.KnowledgeSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CompanionAgent.KnowledgeSource> parser()
Returns
Type Description
Parser<KnowledgeSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<CompanionAgent.KnowledgeSource> getParserForType()
Returns
Type Description
Parser<KnowledgeSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CompanionAgent.KnowledgeSource.Builder newBuilderForType()
Returns
Type Description
CompanionAgent.KnowledgeSource.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CompanionAgent.KnowledgeSource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CompanionAgent.KnowledgeSource.Builder
Overrides

toBuilder()

public CompanionAgent.KnowledgeSource.Builder toBuilder()
Returns
Type Description
CompanionAgent.KnowledgeSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException