public static final class FulfillIntentResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FulfillIntentResponse.Builder> implements FulfillIntentResponseOrBuilder
Response of [FulfillIntent][]Protobuf type
google.cloud.dialogflow.cx.v3.FulfillIntentResponse| Modifier and Type | Method and Description |
|---|---|
FulfillIntentResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FulfillIntentResponse |
build() |
FulfillIntentResponse |
buildPartial() |
FulfillIntentResponse.Builder |
clear() |
FulfillIntentResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FulfillIntentResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FulfillIntentResponse.Builder |
clearOutputAudio()
The audio data bytes encoded as specified in the request.
|
FulfillIntentResponse.Builder |
clearOutputAudioConfig()
The config used by the speech synthesizer to generate the output audio.
|
FulfillIntentResponse.Builder |
clearQueryResult()
The result of the conversational query.
|
FulfillIntentResponse.Builder |
clearResponseId()
Output only.
|
FulfillIntentResponse.Builder |
clone() |
FulfillIntentResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getOutputAudio()
The audio data bytes encoded as specified in the request.
|
OutputAudioConfig |
getOutputAudioConfig()
The config used by the speech synthesizer to generate the output audio.
|
OutputAudioConfig.Builder |
getOutputAudioConfigBuilder()
The config used by the speech synthesizer to generate the output audio.
|
OutputAudioConfigOrBuilder |
getOutputAudioConfigOrBuilder()
The config used by the speech synthesizer to generate the output audio.
|
QueryResult |
getQueryResult()
The result of the conversational query.
|
QueryResult.Builder |
getQueryResultBuilder()
The result of the conversational query.
|
QueryResultOrBuilder |
getQueryResultOrBuilder()
The result of the conversational query.
|
String |
getResponseId()
Output only.
|
com.google.protobuf.ByteString |
getResponseIdBytes()
Output only.
|
boolean |
hasOutputAudioConfig()
The config used by the speech synthesizer to generate the output audio.
|
boolean |
hasQueryResult()
The result of the conversational query.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FulfillIntentResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FulfillIntentResponse.Builder |
mergeFrom(FulfillIntentResponse other) |
FulfillIntentResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
FulfillIntentResponse.Builder |
mergeOutputAudioConfig(OutputAudioConfig value)
The config used by the speech synthesizer to generate the output audio.
|
FulfillIntentResponse.Builder |
mergeQueryResult(QueryResult value)
The result of the conversational query.
|
FulfillIntentResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FulfillIntentResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FulfillIntentResponse.Builder |
setOutputAudio(com.google.protobuf.ByteString value)
The audio data bytes encoded as specified in the request.
|
FulfillIntentResponse.Builder |
setOutputAudioConfig(OutputAudioConfig.Builder builderForValue)
The config used by the speech synthesizer to generate the output audio.
|
FulfillIntentResponse.Builder |
setOutputAudioConfig(OutputAudioConfig value)
The config used by the speech synthesizer to generate the output audio.
|
FulfillIntentResponse.Builder |
setQueryResult(QueryResult.Builder builderForValue)
The result of the conversational query.
|
FulfillIntentResponse.Builder |
setQueryResult(QueryResult value)
The result of the conversational query.
|
FulfillIntentResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FulfillIntentResponse.Builder |
setResponseId(String value)
Output only.
|
FulfillIntentResponse.Builder |
setResponseIdBytes(com.google.protobuf.ByteString value)
Output only.
|
FulfillIntentResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FulfillIntentResponse.Builder>public FulfillIntentResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FulfillIntentResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FulfillIntentResponse.Builder>public FulfillIntentResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FulfillIntentResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FulfillIntentResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FulfillIntentResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FulfillIntentResponse.Builder>public FulfillIntentResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<FulfillIntentResponse.Builder>public FulfillIntentResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FulfillIntentResponse.Builder>public FulfillIntentResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FulfillIntentResponse.Builder>public FulfillIntentResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FulfillIntentResponse.Builder>public FulfillIntentResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FulfillIntentResponse.Builder>public FulfillIntentResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FulfillIntentResponse.Builder>public FulfillIntentResponse.Builder mergeFrom(FulfillIntentResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FulfillIntentResponse.Builder>public FulfillIntentResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FulfillIntentResponse.Builder>IOExceptionpublic String getResponseId()
Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;getResponseId in interface FulfillIntentResponseOrBuilderpublic com.google.protobuf.ByteString getResponseIdBytes()
Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;getResponseIdBytes in interface FulfillIntentResponseOrBuilderpublic FulfillIntentResponse.Builder setResponseId(String value)
Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;value - The responseId to set.public FulfillIntentResponse.Builder clearResponseId()
Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;public FulfillIntentResponse.Builder setResponseIdBytes(com.google.protobuf.ByteString value)
Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.
string response_id = 1;value - The bytes for responseId to set.public boolean hasQueryResult()
The result of the conversational query.
.google.cloud.dialogflow.cx.v3.QueryResult query_result = 2;hasQueryResult in interface FulfillIntentResponseOrBuilderpublic QueryResult getQueryResult()
The result of the conversational query.
.google.cloud.dialogflow.cx.v3.QueryResult query_result = 2;getQueryResult in interface FulfillIntentResponseOrBuilderpublic FulfillIntentResponse.Builder setQueryResult(QueryResult value)
The result of the conversational query.
.google.cloud.dialogflow.cx.v3.QueryResult query_result = 2;public FulfillIntentResponse.Builder setQueryResult(QueryResult.Builder builderForValue)
The result of the conversational query.
.google.cloud.dialogflow.cx.v3.QueryResult query_result = 2;public FulfillIntentResponse.Builder mergeQueryResult(QueryResult value)
The result of the conversational query.
.google.cloud.dialogflow.cx.v3.QueryResult query_result = 2;public FulfillIntentResponse.Builder clearQueryResult()
The result of the conversational query.
.google.cloud.dialogflow.cx.v3.QueryResult query_result = 2;public QueryResult.Builder getQueryResultBuilder()
The result of the conversational query.
.google.cloud.dialogflow.cx.v3.QueryResult query_result = 2;public QueryResultOrBuilder getQueryResultOrBuilder()
The result of the conversational query.
.google.cloud.dialogflow.cx.v3.QueryResult query_result = 2;getQueryResultOrBuilder in interface FulfillIntentResponseOrBuilderpublic com.google.protobuf.ByteString getOutputAudio()
The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages] field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
bytes output_audio = 3;getOutputAudio in interface FulfillIntentResponseOrBuilderpublic FulfillIntentResponse.Builder setOutputAudio(com.google.protobuf.ByteString value)
The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages] field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
bytes output_audio = 3;value - The outputAudio to set.public FulfillIntentResponse.Builder clearOutputAudio()
The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages] field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
bytes output_audio = 3;public boolean hasOutputAudioConfig()
The config used by the speech synthesizer to generate the output audio.
.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 4;hasOutputAudioConfig in interface FulfillIntentResponseOrBuilderpublic OutputAudioConfig getOutputAudioConfig()
The config used by the speech synthesizer to generate the output audio.
.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 4;getOutputAudioConfig in interface FulfillIntentResponseOrBuilderpublic FulfillIntentResponse.Builder setOutputAudioConfig(OutputAudioConfig value)
The config used by the speech synthesizer to generate the output audio.
.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 4;public FulfillIntentResponse.Builder setOutputAudioConfig(OutputAudioConfig.Builder builderForValue)
The config used by the speech synthesizer to generate the output audio.
.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 4;public FulfillIntentResponse.Builder mergeOutputAudioConfig(OutputAudioConfig value)
The config used by the speech synthesizer to generate the output audio.
.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 4;public FulfillIntentResponse.Builder clearOutputAudioConfig()
The config used by the speech synthesizer to generate the output audio.
.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 4;public OutputAudioConfig.Builder getOutputAudioConfigBuilder()
The config used by the speech synthesizer to generate the output audio.
.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 4;public OutputAudioConfigOrBuilder getOutputAudioConfigOrBuilder()
The config used by the speech synthesizer to generate the output audio.
.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 4;getOutputAudioConfigOrBuilder in interface FulfillIntentResponseOrBuilderpublic final FulfillIntentResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FulfillIntentResponse.Builder>public final FulfillIntentResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FulfillIntentResponse.Builder>Copyright © 2025 Google LLC. All rights reserved.