Class Action.IntentMatch.MatchedIntent (0.89.0)

public static final class Action.IntentMatch.MatchedIntent extends GeneratedMessageV3 implements Action.IntentMatch.MatchedIntentOrBuilder

Stores the matched intent, which is the result of the intent match action.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Action.IntentMatch.MatchedIntent

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

GENERATIVE_FALLBACK_FIELD_NUMBER

public static final int GENERATIVE_FALLBACK_FIELD_NUMBER
Field Value
Type Description
int

INTENT_ID_FIELD_NUMBER

public static final int INTENT_ID_FIELD_NUMBER
Field Value
Type Description
int

SCORE_FIELD_NUMBER

public static final int SCORE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Action.IntentMatch.MatchedIntent getDefaultInstance()
Returns
Type Description
Action.IntentMatch.MatchedIntent

getDescriptor()

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

newBuilder()

public static Action.IntentMatch.MatchedIntent.Builder newBuilder()
Returns
Type Description
Action.IntentMatch.MatchedIntent.Builder

newBuilder(Action.IntentMatch.MatchedIntent prototype)

public static Action.IntentMatch.MatchedIntent.Builder newBuilder(Action.IntentMatch.MatchedIntent prototype)
Parameter
Name Description
prototype Action.IntentMatch.MatchedIntent
Returns
Type Description
Action.IntentMatch.MatchedIntent.Builder

parseDelimitedFrom(InputStream input)

public static Action.IntentMatch.MatchedIntent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Action.IntentMatch.MatchedIntent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Action.IntentMatch.MatchedIntent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.IntentMatch.MatchedIntent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Action.IntentMatch.MatchedIntent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Action.IntentMatch.MatchedIntent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Action.IntentMatch.MatchedIntent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.IntentMatch.MatchedIntent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Action.IntentMatch.MatchedIntent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Action.IntentMatch.MatchedIntent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Action.IntentMatch.MatchedIntent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.IntentMatch.MatchedIntent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Action.IntentMatch.MatchedIntent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Action.IntentMatch.MatchedIntent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Action.IntentMatch.MatchedIntent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.IntentMatch.MatchedIntent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Action.IntentMatch.MatchedIntent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Action.IntentMatch.MatchedIntent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Action.IntentMatch.MatchedIntent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.IntentMatch.MatchedIntent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Action.IntentMatch.MatchedIntent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Action.IntentMatch.MatchedIntent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Action.IntentMatch.MatchedIntent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.IntentMatch.MatchedIntent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Action.IntentMatch.MatchedIntent> parser()
Returns
Type Description
Parser<MatchedIntent>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Action.IntentMatch.MatchedIntent getDefaultInstanceForType()
Returns
Type Description
Action.IntentMatch.MatchedIntent

getDisplayName()

public String getDisplayName()

The display name of the matched intent.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the matched intent.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getGenerativeFallback()

public Struct getGenerativeFallback()

The generative fallback response of the matched intent.

.google.protobuf.Struct generative_fallback = 4;

Returns
Type Description
Struct

The generativeFallback.

getGenerativeFallbackOrBuilder()

public StructOrBuilder getGenerativeFallbackOrBuilder()

The generative fallback response of the matched intent.

.google.protobuf.Struct generative_fallback = 4;

Returns
Type Description
StructOrBuilder

getIntentId()

public String getIntentId()

The ID of the matched intent.

string intent_id = 1;

Returns
Type Description
String

The intentId.

getIntentIdBytes()

public ByteString getIntentIdBytes()

The ID of the matched intent.

string intent_id = 1;

Returns
Type Description
ByteString

The bytes for intentId.

getParserForType()

public Parser<Action.IntentMatch.MatchedIntent> getParserForType()
Returns
Type Description
Parser<MatchedIntent>
Overrides

getScore()

public float getScore()

The score of the matched intent.

float score = 3;

Returns
Type Description
float

The score.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasGenerativeFallback()

public boolean hasGenerativeFallback()

The generative fallback response of the matched intent.

.google.protobuf.Struct generative_fallback = 4;

Returns
Type Description
boolean

Whether the generativeFallback 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 Action.IntentMatch.MatchedIntent.Builder newBuilderForType()
Returns
Type Description
Action.IntentMatch.MatchedIntent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Action.IntentMatch.MatchedIntent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Action.IntentMatch.MatchedIntent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Action.IntentMatch.MatchedIntent.Builder toBuilder()
Returns
Type Description
Action.IntentMatch.MatchedIntent.Builder

writeTo(CodedOutputStream output)

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