- 0.94.0 (latest)
- 0.93.0
- 0.92.0
- 0.91.0
- 0.89.0
- 0.87.0
- 0.86.0
- 0.85.0
- 0.84.0
- 0.83.0
- 0.81.0
- 0.79.0
- 0.78.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class NluSettings.Builder extends GeneratedMessage.Builder<NluSettings.Builder> implements NluSettingsOrBuilderSettings related to NLU.
Protobuf type google.cloud.dialogflow.cx.v3beta1.NluSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NluSettings.BuilderImplements
NluSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NluSettings build()| Returns | |
|---|---|
| Type | Description |
NluSettings |
|
buildPartial()
public NluSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
NluSettings |
|
clear()
public NluSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
NluSettings.Builder |
|
clearClassificationThreshold()
public NluSettings.Builder clearClassificationThreshold()To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used. You can set a separate classification threshold for the flow in each language enabled for the agent.
float classification_threshold = 3;
| Returns | |
|---|---|
| Type | Description |
NluSettings.Builder |
This builder for chaining. |
clearModelTrainingMode()
public NluSettings.Builder clearModelTrainingMode()Indicates NLU model training mode.
.google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelTrainingMode model_training_mode = 4;
| Returns | |
|---|---|
| Type | Description |
NluSettings.Builder |
This builder for chaining. |
clearModelType()
public NluSettings.Builder clearModelType()Indicates the type of NLU model.
.google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelType model_type = 1;
| Returns | |
|---|---|
| Type | Description |
NluSettings.Builder |
This builder for chaining. |
getClassificationThreshold()
public float getClassificationThreshold()To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used. You can set a separate classification threshold for the flow in each language enabled for the agent.
float classification_threshold = 3;
| Returns | |
|---|---|
| Type | Description |
float |
The classificationThreshold. |
getDefaultInstanceForType()
public NluSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NluSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getModelTrainingMode()
public NluSettings.ModelTrainingMode getModelTrainingMode()Indicates NLU model training mode.
.google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelTrainingMode model_training_mode = 4;
| Returns | |
|---|---|
| Type | Description |
NluSettings.ModelTrainingMode |
The modelTrainingMode. |
getModelTrainingModeValue()
public int getModelTrainingModeValue()Indicates NLU model training mode.
.google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelTrainingMode model_training_mode = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for modelTrainingMode. |
getModelType()
public NluSettings.ModelType getModelType()Indicates the type of NLU model.
.google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelType model_type = 1;
| Returns | |
|---|---|
| Type | Description |
NluSettings.ModelType |
The modelType. |
getModelTypeValue()
public int getModelTypeValue()Indicates the type of NLU model.
.google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelType model_type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for modelType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(NluSettings other)
public NluSettings.Builder mergeFrom(NluSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
NluSettings |
| Returns | |
|---|---|
| Type | Description |
NluSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NluSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NluSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NluSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NluSettings.Builder |
|
setClassificationThreshold(float value)
public NluSettings.Builder setClassificationThreshold(float value)To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used. You can set a separate classification threshold for the flow in each language enabled for the agent.
float classification_threshold = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe classificationThreshold to set. |
| Returns | |
|---|---|
| Type | Description |
NluSettings.Builder |
This builder for chaining. |
setModelTrainingMode(NluSettings.ModelTrainingMode value)
public NluSettings.Builder setModelTrainingMode(NluSettings.ModelTrainingMode value)Indicates NLU model training mode.
.google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelTrainingMode model_training_mode = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
NluSettings.ModelTrainingModeThe modelTrainingMode to set. |
| Returns | |
|---|---|
| Type | Description |
NluSettings.Builder |
This builder for chaining. |
setModelTrainingModeValue(int value)
public NluSettings.Builder setModelTrainingModeValue(int value)Indicates NLU model training mode.
.google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelTrainingMode model_training_mode = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for modelTrainingMode to set. |
| Returns | |
|---|---|
| Type | Description |
NluSettings.Builder |
This builder for chaining. |
setModelType(NluSettings.ModelType value)
public NluSettings.Builder setModelType(NluSettings.ModelType value)Indicates the type of NLU model.
.google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelType model_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
NluSettings.ModelTypeThe modelType to set. |
| Returns | |
|---|---|
| Type | Description |
NluSettings.Builder |
This builder for chaining. |
setModelTypeValue(int value)
public NluSettings.Builder setModelTypeValue(int value)Indicates the type of NLU model.
.google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelType model_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for modelType to set. |
| Returns | |
|---|---|
| Type | Description |
NluSettings.Builder |
This builder for chaining. |