Class FulfillIntentRequest (0.52.0)

public final class FulfillIntentRequest extends GeneratedMessageV3 implements FulfillIntentRequestOrBuilder

Request of [FulfillIntent][]

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

Static Fields

MATCH_FIELD_NUMBER

public static final int MATCH_FIELD_NUMBER
Field Value
TypeDescription
int

MATCH_INTENT_REQUEST_FIELD_NUMBER

public static final int MATCH_INTENT_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

OUTPUT_AUDIO_CONFIG_FIELD_NUMBER

public static final int OUTPUT_AUDIO_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FulfillIntentRequest getDefaultInstance()
Returns
TypeDescription
FulfillIntentRequest

getDescriptor()

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

newBuilder()

public static FulfillIntentRequest.Builder newBuilder()
Returns
TypeDescription
FulfillIntentRequest.Builder

newBuilder(FulfillIntentRequest prototype)

public static FulfillIntentRequest.Builder newBuilder(FulfillIntentRequest prototype)
Parameter
NameDescription
prototypeFulfillIntentRequest
Returns
TypeDescription
FulfillIntentRequest.Builder

parseDelimitedFrom(InputStream input)

public static FulfillIntentRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FulfillIntentRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FulfillIntentRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FulfillIntentRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FulfillIntentRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FulfillIntentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FulfillIntentRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FulfillIntentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FulfillIntentRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FulfillIntentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FulfillIntentRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FulfillIntentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FulfillIntentRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FulfillIntentRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FulfillIntentRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FulfillIntentRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FulfillIntentRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FulfillIntentRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FulfillIntentRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FulfillIntentRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FulfillIntentRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FulfillIntentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FulfillIntentRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FulfillIntentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FulfillIntentRequest> parser()
Returns
TypeDescription
Parser<FulfillIntentRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public FulfillIntentRequest getDefaultInstanceForType()
Returns
TypeDescription
FulfillIntentRequest

getMatch()

public Match getMatch()

The matched intent/event to fulfill.

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

Returns
TypeDescription
Match

The match.

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.

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.

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

getParserForType()

public Parser<FulfillIntentRequest> getParserForType()
Returns
TypeDescription
Parser<FulfillIntentRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FulfillIntentRequest.Builder newBuilderForType()
Returns
TypeDescription
FulfillIntentRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FulfillIntentRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FulfillIntentRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FulfillIntentRequest.Builder toBuilder()
Returns
TypeDescription
FulfillIntentRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException