Class FulfillIntentRequest.Builder (0.52.0)

public static final class FulfillIntentRequest.Builder extends GeneratedMessageV3.Builder<FulfillIntentRequest.Builder> implements FulfillIntentRequestOrBuilder

Request of [FulfillIntent][]

Protobuf type google.cloud.dialogflow.cx.v3.FulfillIntentRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FulfillIntentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FulfillIntentRequest.Builder
Overrides

build()

public FulfillIntentRequest build()
Returns
TypeDescription
FulfillIntentRequest

buildPartial()

public FulfillIntentRequest buildPartial()
Returns
TypeDescription
FulfillIntentRequest

clear()

public FulfillIntentRequest.Builder clear()
Returns
TypeDescription
FulfillIntentRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FulfillIntentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FulfillIntentRequest.Builder
Overrides

clearMatch()

public FulfillIntentRequest.Builder clearMatch()

The matched intent/event to fulfill.

.google.cloud.dialogflow.cx.v3.Match match = 2;

Returns
TypeDescription
FulfillIntentRequest.Builder

clearMatchIntentRequest()

public FulfillIntentRequest.Builder clearMatchIntentRequest()

Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.

.google.cloud.dialogflow.cx.v3.MatchIntentRequest match_intent_request = 1;

Returns
TypeDescription
FulfillIntentRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FulfillIntentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FulfillIntentRequest.Builder
Overrides

clearOutputAudioConfig()

public FulfillIntentRequest.Builder clearOutputAudioConfig()

Instructs the speech synthesizer how to generate output audio.

.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 3;

Returns
TypeDescription
FulfillIntentRequest.Builder

clone()

public FulfillIntentRequest.Builder clone()
Returns
TypeDescription
FulfillIntentRequest.Builder
Overrides

getDefaultInstanceForType()

public FulfillIntentRequest getDefaultInstanceForType()
Returns
TypeDescription
FulfillIntentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMatch()

public Match getMatch()

The matched intent/event to fulfill.

.google.cloud.dialogflow.cx.v3.Match match = 2;

Returns
TypeDescription
Match

The match.

getMatchBuilder()

public Match.Builder getMatchBuilder()

The matched intent/event to fulfill.

.google.cloud.dialogflow.cx.v3.Match match = 2;

Returns
TypeDescription
Match.Builder

getMatchIntentRequest()

public MatchIntentRequest getMatchIntentRequest()

Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.

.google.cloud.dialogflow.cx.v3.MatchIntentRequest match_intent_request = 1;

Returns
TypeDescription
MatchIntentRequest

The matchIntentRequest.

getMatchIntentRequestBuilder()

public MatchIntentRequest.Builder getMatchIntentRequestBuilder()

Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.

.google.cloud.dialogflow.cx.v3.MatchIntentRequest match_intent_request = 1;

Returns
TypeDescription
MatchIntentRequest.Builder

getMatchIntentRequestOrBuilder()

public MatchIntentRequestOrBuilder getMatchIntentRequestOrBuilder()

Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.

.google.cloud.dialogflow.cx.v3.MatchIntentRequest match_intent_request = 1;

Returns
TypeDescription
MatchIntentRequestOrBuilder

getMatchOrBuilder()

public MatchOrBuilder getMatchOrBuilder()

The matched intent/event to fulfill.

.google.cloud.dialogflow.cx.v3.Match match = 2;

Returns
TypeDescription
MatchOrBuilder

getOutputAudioConfig()

public OutputAudioConfig getOutputAudioConfig()

Instructs the speech synthesizer how to generate output audio.

.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 3;

Returns
TypeDescription
OutputAudioConfig

The outputAudioConfig.

getOutputAudioConfigBuilder()

public OutputAudioConfig.Builder getOutputAudioConfigBuilder()

Instructs the speech synthesizer how to generate output audio.

.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 3;

Returns
TypeDescription
OutputAudioConfig.Builder

getOutputAudioConfigOrBuilder()

public OutputAudioConfigOrBuilder getOutputAudioConfigOrBuilder()

Instructs the speech synthesizer how to generate output audio.

.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 3;

Returns
TypeDescription
OutputAudioConfigOrBuilder

hasMatch()

public boolean hasMatch()

The matched intent/event to fulfill.

.google.cloud.dialogflow.cx.v3.Match match = 2;

Returns
TypeDescription
boolean

Whether the match field is set.

hasMatchIntentRequest()

public boolean hasMatchIntentRequest()

Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.

.google.cloud.dialogflow.cx.v3.MatchIntentRequest match_intent_request = 1;

Returns
TypeDescription
boolean

Whether the matchIntentRequest field is set.

hasOutputAudioConfig()

public boolean hasOutputAudioConfig()

Instructs the speech synthesizer how to generate output audio.

.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 3;

Returns
TypeDescription
boolean

Whether the outputAudioConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FulfillIntentRequest other)

public FulfillIntentRequest.Builder mergeFrom(FulfillIntentRequest other)
Parameter
NameDescription
otherFulfillIntentRequest
Returns
TypeDescription
FulfillIntentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FulfillIntentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FulfillIntentRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FulfillIntentRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FulfillIntentRequest.Builder
Overrides

mergeMatch(Match value)

public FulfillIntentRequest.Builder mergeMatch(Match value)

The matched intent/event to fulfill.

.google.cloud.dialogflow.cx.v3.Match match = 2;

Parameter
NameDescription
valueMatch
Returns
TypeDescription
FulfillIntentRequest.Builder

mergeMatchIntentRequest(MatchIntentRequest value)

public FulfillIntentRequest.Builder mergeMatchIntentRequest(MatchIntentRequest value)

Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.

.google.cloud.dialogflow.cx.v3.MatchIntentRequest match_intent_request = 1;

Parameter
NameDescription
valueMatchIntentRequest
Returns
TypeDescription
FulfillIntentRequest.Builder

mergeOutputAudioConfig(OutputAudioConfig value)

public FulfillIntentRequest.Builder mergeOutputAudioConfig(OutputAudioConfig value)

Instructs the speech synthesizer how to generate output audio.

.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 3;

Parameter
NameDescription
valueOutputAudioConfig
Returns
TypeDescription
FulfillIntentRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FulfillIntentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FulfillIntentRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FulfillIntentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FulfillIntentRequest.Builder
Overrides

setMatch(Match value)

public FulfillIntentRequest.Builder setMatch(Match value)

The matched intent/event to fulfill.

.google.cloud.dialogflow.cx.v3.Match match = 2;

Parameter
NameDescription
valueMatch
Returns
TypeDescription
FulfillIntentRequest.Builder

setMatch(Match.Builder builderForValue)

public FulfillIntentRequest.Builder setMatch(Match.Builder builderForValue)

The matched intent/event to fulfill.

.google.cloud.dialogflow.cx.v3.Match match = 2;

Parameter
NameDescription
builderForValueMatch.Builder
Returns
TypeDescription
FulfillIntentRequest.Builder

setMatchIntentRequest(MatchIntentRequest value)

public FulfillIntentRequest.Builder setMatchIntentRequest(MatchIntentRequest value)

Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.

.google.cloud.dialogflow.cx.v3.MatchIntentRequest match_intent_request = 1;

Parameter
NameDescription
valueMatchIntentRequest
Returns
TypeDescription
FulfillIntentRequest.Builder

setMatchIntentRequest(MatchIntentRequest.Builder builderForValue)

public FulfillIntentRequest.Builder setMatchIntentRequest(MatchIntentRequest.Builder builderForValue)

Must be same as the corresponding MatchIntent request, otherwise the behavior is undefined.

.google.cloud.dialogflow.cx.v3.MatchIntentRequest match_intent_request = 1;

Parameter
NameDescription
builderForValueMatchIntentRequest.Builder
Returns
TypeDescription
FulfillIntentRequest.Builder

setOutputAudioConfig(OutputAudioConfig value)

public FulfillIntentRequest.Builder setOutputAudioConfig(OutputAudioConfig value)

Instructs the speech synthesizer how to generate output audio.

.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 3;

Parameter
NameDescription
valueOutputAudioConfig
Returns
TypeDescription
FulfillIntentRequest.Builder

setOutputAudioConfig(OutputAudioConfig.Builder builderForValue)

public FulfillIntentRequest.Builder setOutputAudioConfig(OutputAudioConfig.Builder builderForValue)

Instructs the speech synthesizer how to generate output audio.

.google.cloud.dialogflow.cx.v3.OutputAudioConfig output_audio_config = 3;

Parameter
NameDescription
builderForValueOutputAudioConfig.Builder
Returns
TypeDescription
FulfillIntentRequest.Builder

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

public FulfillIntentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FulfillIntentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FulfillIntentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FulfillIntentRequest.Builder
Overrides