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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Matchbuild()MatchbuildPartial()Match.Builderclear()Match.BuilderclearConfidence()The confidence of this match.Match.BuilderclearEvent()The event that matched the query.Match.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Match.BuilderclearIntent()The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.Match.BuilderclearMatchType()Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].Match.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Match.BuilderclearParameters()The collection of parameters extracted from the query.Match.BuilderclearResolvedInput()Final text input which was matched during MatchIntent.Match.Builderclone()floatgetConfidence()The confidence of this match.MatchgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEvent()The event that matched the query.com.google.protobuf.ByteStringgetEventBytes()The event that matched the query.IntentgetIntent()The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.Intent.BuildergetIntentBuilder()The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.IntentOrBuildergetIntentOrBuilder()The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.Match.MatchTypegetMatchType()Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].intgetMatchTypeValue()Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].com.google.protobuf.StructgetParameters()The collection of parameters extracted from the query.com.google.protobuf.Struct.BuildergetParametersBuilder()The collection of parameters extracted from the query.com.google.protobuf.StructOrBuildergetParametersOrBuilder()The collection of parameters extracted from the query.StringgetResolvedInput()Final text input which was matched during MatchIntent.com.google.protobuf.ByteStringgetResolvedInputBytes()Final text input which was matched during MatchIntent.booleanhasIntent()The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.booleanhasParameters()The collection of parameters extracted from the query.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Match.BuildermergeFrom(Match other)Match.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Match.BuildermergeFrom(com.google.protobuf.Message other)Match.BuildermergeIntent(Intent value)The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.Match.BuildermergeParameters(com.google.protobuf.Struct value)The collection of parameters extracted from the query.Match.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Match.BuildersetConfidence(float value)The confidence of this match.Match.BuildersetEvent(String value)The event that matched the query.Match.BuildersetEventBytes(com.google.protobuf.ByteString value)The event that matched the query.Match.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Match.BuildersetIntent(Intent value)The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.Match.BuildersetIntent(Intent.Builder builderForValue)The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query.Match.BuildersetMatchType(Match.MatchType value)Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].Match.BuildersetMatchTypeValue(int value)Type of this [Match][google.cloud.dialogflow.cx.v3beta1.Match].Match.BuildersetParameters(com.google.protobuf.Struct value)The collection of parameters extracted from the query.Match.BuildersetParameters(com.google.protobuf.Struct.Builder builderForValue)The collection of parameters extracted from the query.Match.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Match.BuildersetResolvedInput(String value)Final text input which was matched during MatchIntent.Match.BuildersetResolvedInputBytes(com.google.protobuf.ByteString value)Final text input which was matched during MatchIntent.Match.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
clear
public Match.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
getDefaultInstanceForType
public Match getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Match build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Match buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Match.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
setField
public Match.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
clearField
public Match.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
clearOneof
public Match.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
setRepeatedField
public Match.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
addRepeatedField
public Match.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
mergeFrom
public Match.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Match.Builder>
-
mergeFrom
public Match.Builder mergeFrom(Match other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasIntentin 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:
getIntentin 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:
getIntentOrBuilderin 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:
getEventin 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:
getEventBytesin 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:
hasParametersin 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:
getParametersin 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:
getParametersOrBuilderin 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:
getResolvedInputin 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:
getResolvedInputBytesin 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:
getMatchTypeValuein 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:
getMatchTypein 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:
getConfidencein 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
mergeUnknownFields
public final Match.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Match.Builder>
-
-