Class Match.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
- com.google.cloud.dialogflow.cx.v3beta1.Match.Builder
-
- All Implemented Interfaces:
MatchOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Match
public static final class Match.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Match.Builder> implements MatchOrBuilder
Represents one match result of [MatchIntent][].
Protobuf typegoogle.cloud.dialogflow.cx.v3beta1.Match
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Match.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Match
build()
Match
buildPartial()
Match.Builder
clear()
Match.Builder
clearConfidence()
The confidence of this match.Match.Builder
clearEvent()
The event that matched the query.Match.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Match.Builder
clearIntent()
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.Match.Builder
clearMatchType()
Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].Match.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Match.Builder
clearParameters()
The collection of parameters extracted from the query.Match.Builder
clearResolvedInput()
Final text input which was matched during MatchIntent.Match.Builder
clone()
float
getConfidence()
The confidence of this match.Match
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEvent()
The event that matched the query.com.google.protobuf.ByteString
getEventBytes()
The event that matched the query.Intent
getIntent()
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.Intent.Builder
getIntentBuilder()
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.IntentOrBuilder
getIntentOrBuilder()
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.Match.MatchType
getMatchType()
Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].int
getMatchTypeValue()
Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].com.google.protobuf.Struct
getParameters()
The collection of parameters extracted from the query.com.google.protobuf.Struct.Builder
getParametersBuilder()
The collection of parameters extracted from the query.com.google.protobuf.StructOrBuilder
getParametersOrBuilder()
The collection of parameters extracted from the query.String
getResolvedInput()
Final text input which was matched during MatchIntent.com.google.protobuf.ByteString
getResolvedInputBytes()
Final text input which was matched during MatchIntent.boolean
hasIntent()
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.boolean
hasParameters()
The collection of parameters extracted from the query.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Match.Builder
mergeFrom(Match other)
Match.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Match.Builder
mergeFrom(com.google.protobuf.Message other)
Match.Builder
mergeIntent(Intent value)
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.Match.Builder
mergeParameters(com.google.protobuf.Struct value)
The collection of parameters extracted from the query.Match.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Match.Builder
setConfidence(float value)
The confidence of this match.Match.Builder
setEvent(String value)
The event that matched the query.Match.Builder
setEventBytes(com.google.protobuf.ByteString value)
The event that matched the query.Match.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Match.Builder
setIntent(Intent value)
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.Match.Builder
setIntent(Intent.Builder builderForValue)
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.Match.Builder
setMatchType(Match.MatchType value)
Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].Match.Builder
setMatchTypeValue(int value)
Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].Match.Builder
setParameters(com.google.protobuf.Struct value)
The collection of parameters extracted from the query.Match.Builder
setParameters(com.google.protobuf.Struct.Builder builderForValue)
The collection of parameters extracted from the query.Match.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Match.Builder
setResolvedInput(String value)
Final text input which was matched during MatchIntent.Match.Builder
setResolvedInputBytes(com.google.protobuf.ByteString value)
Final text input which was matched during MatchIntent.Match.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
clear
public Match.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
getDefaultInstanceForType
public Match getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Match build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Match buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Match.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
setField
public Match.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
clearField
public Match.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
clearOneof
public Match.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
setRepeatedField
public Match.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
addRepeatedField
public Match.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
mergeFrom
public Match.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Match.Builder>
-
mergeFrom
public Match.Builder mergeFrom(Match other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
mergeFrom
public Match.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Match.Builder>
- Throws:
IOException
-
hasIntent
public boolean hasIntent()
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. Only filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
- Specified by:
hasIntent
in interfaceMatchOrBuilder
- Returns:
- Whether the intent field is set.
-
getIntent
public Intent getIntent()
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. Only filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
- Specified by:
getIntent
in interfaceMatchOrBuilder
- Returns:
- The intent.
-
setIntent
public Match.Builder setIntent(Intent value)
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. Only filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
-
setIntent
public Match.Builder setIntent(Intent.Builder builderForValue)
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. Only filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
-
mergeIntent
public Match.Builder mergeIntent(Intent value)
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. Only filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
-
clearIntent
public Match.Builder clearIntent()
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. Only filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
-
getIntentBuilder
public Intent.Builder getIntentBuilder()
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. Only filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
-
getIntentOrBuilder
public IntentOrBuilder getIntentOrBuilder()
The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. Only filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
.google.cloud.dialogflow.cx.v3beta1.Intent intent = 1;
- Specified by:
getIntentOrBuilder
in interfaceMatchOrBuilder
-
getEvent
public String getEvent()
The event that matched the query. Filled for [`EVENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType], [`NO_MATCH`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] and [`NO_INPUT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match types.
string event = 6;
- Specified by:
getEvent
in interfaceMatchOrBuilder
- Returns:
- The event.
-
getEventBytes
public com.google.protobuf.ByteString getEventBytes()
The event that matched the query. Filled for [`EVENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType], [`NO_MATCH`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] and [`NO_INPUT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match types.
string event = 6;
- Specified by:
getEventBytes
in interfaceMatchOrBuilder
- Returns:
- The bytes for event.
-
setEvent
public Match.Builder setEvent(String value)
The event that matched the query. Filled for [`EVENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType], [`NO_MATCH`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] and [`NO_INPUT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match types.
string event = 6;
- Parameters:
value
- The event to set.- Returns:
- This builder for chaining.
-
clearEvent
public Match.Builder clearEvent()
The event that matched the query. Filled for [`EVENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType], [`NO_MATCH`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] and [`NO_INPUT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match types.
string event = 6;
- Returns:
- This builder for chaining.
-
setEventBytes
public Match.Builder setEventBytes(com.google.protobuf.ByteString value)
The event that matched the query. Filled for [`EVENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType], [`NO_MATCH`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] and [`NO_INPUT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match types.
string event = 6;
- Parameters:
value
- The bytes for event to set.- Returns:
- This builder for chaining.
-
hasParameters
public boolean hasParameters()
The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
.google.protobuf.Struct parameters = 2;
- Specified by:
hasParameters
in interfaceMatchOrBuilder
- Returns:
- Whether the parameters field is set.
-
getParameters
public com.google.protobuf.Struct getParameters()
The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
.google.protobuf.Struct parameters = 2;
- Specified by:
getParameters
in interfaceMatchOrBuilder
- Returns:
- The parameters.
-
setParameters
public Match.Builder setParameters(com.google.protobuf.Struct value)
The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
.google.protobuf.Struct parameters = 2;
-
setParameters
public Match.Builder setParameters(com.google.protobuf.Struct.Builder builderForValue)
The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
.google.protobuf.Struct parameters = 2;
-
mergeParameters
public Match.Builder mergeParameters(com.google.protobuf.Struct value)
The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
.google.protobuf.Struct parameters = 2;
-
clearParameters
public Match.Builder clearParameters()
The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
.google.protobuf.Struct parameters = 2;
-
getParametersBuilder
public com.google.protobuf.Struct.Builder getParametersBuilder()
The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
.google.protobuf.Struct parameters = 2;
-
getParametersOrBuilder
public com.google.protobuf.StructOrBuilder getParametersOrBuilder()
The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
.google.protobuf.Struct parameters = 2;
- Specified by:
getParametersOrBuilder
in interfaceMatchOrBuilder
-
getResolvedInput
public String getResolvedInput()
Final text input which was matched during MatchIntent. This value can be different from original input sent in request because of spelling correction or other processing.
string resolved_input = 3;
- Specified by:
getResolvedInput
in interfaceMatchOrBuilder
- Returns:
- The resolvedInput.
-
getResolvedInputBytes
public com.google.protobuf.ByteString getResolvedInputBytes()
Final text input which was matched during MatchIntent. This value can be different from original input sent in request because of spelling correction or other processing.
string resolved_input = 3;
- Specified by:
getResolvedInputBytes
in interfaceMatchOrBuilder
- Returns:
- The bytes for resolvedInput.
-
setResolvedInput
public Match.Builder setResolvedInput(String value)
Final text input which was matched during MatchIntent. This value can be different from original input sent in request because of spelling correction or other processing.
string resolved_input = 3;
- Parameters:
value
- The resolvedInput to set.- Returns:
- This builder for chaining.
-
clearResolvedInput
public Match.Builder clearResolvedInput()
Final text input which was matched during MatchIntent. This value can be different from original input sent in request because of spelling correction or other processing.
string resolved_input = 3;
- Returns:
- This builder for chaining.
-
setResolvedInputBytes
public Match.Builder setResolvedInputBytes(com.google.protobuf.ByteString value)
Final text input which was matched during MatchIntent. This value can be different from original input sent in request because of spelling correction or other processing.
string resolved_input = 3;
- Parameters:
value
- The bytes for resolvedInput to set.- Returns:
- This builder for chaining.
-
getMatchTypeValue
public int getMatchTypeValue()
Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].
.google.cloud.dialogflow.cx.v3beta1.Match.MatchType match_type = 4;
- Specified by:
getMatchTypeValue
in interfaceMatchOrBuilder
- Returns:
- The enum numeric value on the wire for matchType.
-
setMatchTypeValue
public Match.Builder setMatchTypeValue(int value)
Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].
.google.cloud.dialogflow.cx.v3beta1.Match.MatchType match_type = 4;
- Parameters:
value
- The enum numeric value on the wire for matchType to set.- Returns:
- This builder for chaining.
-
getMatchType
public Match.MatchType getMatchType()
Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].
.google.cloud.dialogflow.cx.v3beta1.Match.MatchType match_type = 4;
- Specified by:
getMatchType
in interfaceMatchOrBuilder
- Returns:
- The matchType.
-
setMatchType
public Match.Builder setMatchType(Match.MatchType value)
Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].
.google.cloud.dialogflow.cx.v3beta1.Match.MatchType match_type = 4;
- Parameters:
value
- The matchType to set.- Returns:
- This builder for chaining.
-
clearMatchType
public Match.Builder clearMatchType()
Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].
.google.cloud.dialogflow.cx.v3beta1.Match.MatchType match_type = 4;
- Returns:
- This builder for chaining.
-
getConfidence
public float getConfidence()
The confidence of this match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.
float confidence = 5;
- Specified by:
getConfidence
in interfaceMatchOrBuilder
- Returns:
- The confidence.
-
setConfidence
public Match.Builder setConfidence(float value)
The confidence of this match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.
float confidence = 5;
- Parameters:
value
- The confidence to set.- Returns:
- This builder for chaining.
-
clearConfidence
public Match.Builder clearConfidence()
The confidence of this match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.
float confidence = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Match.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
mergeUnknownFields
public final Match.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
-