Class ResponseMessage.KnowledgeInfoCard.Builder (0.56.0)

public static final class ResponseMessage.KnowledgeInfoCard.Builder extends GeneratedMessageV3.Builder<ResponseMessage.KnowledgeInfoCard.Builder> implements ResponseMessage.KnowledgeInfoCardOrBuilder

Represents info card response. If the response contains generative knowledge prediction, Dialogflow will return a payload with Infobot Messenger compatible info card.

Otherwise, the info card response is skipped.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ResponseMessage.KnowledgeInfoCard

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResponseMessage.KnowledgeInfoCard build()
Returns
Type Description
ResponseMessage.KnowledgeInfoCard

buildPartial()

public ResponseMessage.KnowledgeInfoCard buildPartial()
Returns
Type Description
ResponseMessage.KnowledgeInfoCard

clear()

public ResponseMessage.KnowledgeInfoCard.Builder clear()
Returns
Type Description
ResponseMessage.KnowledgeInfoCard.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ResponseMessage.KnowledgeInfoCard.Builder clone()
Returns
Type Description
ResponseMessage.KnowledgeInfoCard.Builder
Overrides

getDefaultInstanceForType()

public ResponseMessage.KnowledgeInfoCard getDefaultInstanceForType()
Returns
Type Description
ResponseMessage.KnowledgeInfoCard

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(ResponseMessage.KnowledgeInfoCard other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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