Class Action.IntentMatch (0.89.0)

public static final class Action.IntentMatch extends GeneratedMessageV3 implements Action.IntentMatchOrBuilder

Stores metadata of the intent match action.

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

Static Fields

MATCHED_INTENTS_FIELD_NUMBER

public static final int MATCHED_INTENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Action.IntentMatch prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getMatchedIntents(int index)

public Action.IntentMatch.MatchedIntent getMatchedIntents(int index)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameter
Name Description
index int
Returns
Type Description
Action.IntentMatch.MatchedIntent

getMatchedIntentsCount()

public int getMatchedIntentsCount()

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Returns
Type Description
int

getMatchedIntentsList()

public List<Action.IntentMatch.MatchedIntent> getMatchedIntentsList()

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Returns
Type Description
List<MatchedIntent>

getMatchedIntentsOrBuilder(int index)

public Action.IntentMatch.MatchedIntentOrBuilder getMatchedIntentsOrBuilder(int index)

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Parameter
Name Description
index int
Returns
Type Description
Action.IntentMatch.MatchedIntentOrBuilder

getMatchedIntentsOrBuilderList()

public List<? extends Action.IntentMatch.MatchedIntentOrBuilder> getMatchedIntentsOrBuilderList()

The matched intent.

repeated .google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntent matched_intents = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.Action.IntentMatch.MatchedIntentOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Action.IntentMatch.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Action.IntentMatch.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.Builder toBuilder()
Returns
Type Description
Action.IntentMatch.Builder

writeTo(CodedOutputStream output)

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