Class FulfillIntentRequest (0.55.0)

public final class FulfillIntentRequest extends GeneratedMessageV3 implements FulfillIntentRequestOrBuilder

Request of [FulfillIntent][]

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

Static Fields

MATCH_FIELD_NUMBER

public static final int MATCH_FIELD_NUMBER
Field Value
Type Description
int

MATCH_INTENT_REQUEST_FIELD_NUMBER

public static final int MATCH_INTENT_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_AUDIO_CONFIG_FIELD_NUMBER

public static final int OUTPUT_AUDIO_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FulfillIntentRequest getDefaultInstance()
Returns
Type Description
FulfillIntentRequest

getDescriptor()

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

newBuilder()

public static FulfillIntentRequest.Builder newBuilder()
Returns
Type Description
FulfillIntentRequest.Builder

newBuilder(FulfillIntentRequest prototype)

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

parseDelimitedFrom(InputStream input)

public static FulfillIntentRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FulfillIntentRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static FulfillIntentRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FulfillIntentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static FulfillIntentRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FulfillIntentRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static FulfillIntentRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FulfillIntentRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static FulfillIntentRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FulfillIntentRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<FulfillIntentRequest> parser()
Returns
Type Description
Parser<FulfillIntentRequest>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FulfillIntentRequest getDefaultInstanceForType()
Returns
Type Description
FulfillIntentRequest

getMatch()

public Match getMatch()

The matched intent/event to fulfill.

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

Returns
Type Description
Match

The match.

getMatchIntentRequest()

public MatchIntentRequest getMatchIntentRequest()

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

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

Returns
Type Description
MatchIntentRequest

The matchIntentRequest.

getMatchIntentRequestOrBuilder()

public MatchIntentRequestOrBuilder getMatchIntentRequestOrBuilder()

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

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

Returns
Type Description
MatchIntentRequestOrBuilder

getMatchOrBuilder()

public MatchOrBuilder getMatchOrBuilder()

The matched intent/event to fulfill.

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

Returns
Type Description
MatchOrBuilder

getOutputAudioConfig()

public OutputAudioConfig getOutputAudioConfig()

Instructs the speech synthesizer how to generate output audio.

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

Returns
Type Description
OutputAudioConfig

The outputAudioConfig.

getOutputAudioConfigOrBuilder()

public OutputAudioConfigOrBuilder getOutputAudioConfigOrBuilder()

Instructs the speech synthesizer how to generate output audio.

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

Returns
Type Description
OutputAudioConfigOrBuilder

getParserForType()

public Parser<FulfillIntentRequest> getParserForType()
Returns
Type Description
Parser<FulfillIntentRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMatch()

public boolean hasMatch()

The matched intent/event to fulfill.

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

Returns
Type Description
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.v3beta1.MatchIntentRequest match_intent_request = 1;

Returns
Type Description
boolean

Whether the matchIntentRequest field is set.

hasOutputAudioConfig()

public boolean hasOutputAudioConfig()

Instructs the speech synthesizer how to generate output audio.

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

Returns
Type Description
boolean

Whether the outputAudioConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FulfillIntentRequest.Builder newBuilderForType()
Returns
Type Description
FulfillIntentRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FulfillIntentRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FulfillIntentRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FulfillIntentRequest.Builder toBuilder()
Returns
Type Description
FulfillIntentRequest.Builder

writeTo(CodedOutputStream output)

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