public static final class EvaluationSettings.Builder extends GeneratedMessage.Builder<EvaluationSettings.Builder> implements EvaluationSettingsOrBuilderSettings for evaluation.
Protobuf type google.cloud.ces.v1beta.EvaluationSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EvaluationSettings.BuilderImplements
EvaluationSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EvaluationSettings build()| Returns | |
|---|---|
| Type | Description |
EvaluationSettings |
|
buildPartial()
public EvaluationSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
EvaluationSettings |
|
clear()
public EvaluationSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
|
clearGoldenEvaluationToolCallBehaviour()
public EvaluationSettings.Builder clearGoldenEvaluationToolCallBehaviour()Optional. Configures the default tool call behaviour for golden evaluations.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour golden_evaluation_tool_call_behaviour = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
This builder for chaining. |
clearGoldenRunMethod()
public EvaluationSettings.Builder clearGoldenRunMethod()Optional. The default method used to run golden evaluations. This will be used if no golden_run_method is specified in the RunEvaluationRequest.
.google.cloud.ces.v1beta.GoldenRunMethod golden_run_method = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
This builder for chaining. |
clearScenarioConversationInitiator()
public EvaluationSettings.Builder clearScenarioConversationInitiator()Optional. Who starts the conversation in a scenario evaluation.
.google.cloud.ces.v1beta.EvaluationSettings.ScenarioConversationInitiator scenario_conversation_initiator = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
This builder for chaining. |
clearScenarioEvaluationToolCallBehaviour()
public EvaluationSettings.Builder clearScenarioEvaluationToolCallBehaviour()Optional. Configures the default tool call behaviour for scenario evaluations.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour scenario_evaluation_tool_call_behaviour = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public EvaluationSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EvaluationSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGoldenEvaluationToolCallBehaviour()
public EvaluationToolCallBehaviour getGoldenEvaluationToolCallBehaviour()Optional. Configures the default tool call behaviour for golden evaluations.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour golden_evaluation_tool_call_behaviour = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationToolCallBehaviour |
The goldenEvaluationToolCallBehaviour. |
getGoldenEvaluationToolCallBehaviourValue()
public int getGoldenEvaluationToolCallBehaviourValue()Optional. Configures the default tool call behaviour for golden evaluations.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour golden_evaluation_tool_call_behaviour = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for goldenEvaluationToolCallBehaviour. |
getGoldenRunMethod()
public GoldenRunMethod getGoldenRunMethod()Optional. The default method used to run golden evaluations. This will be used if no golden_run_method is specified in the RunEvaluationRequest.
.google.cloud.ces.v1beta.GoldenRunMethod golden_run_method = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GoldenRunMethod |
The goldenRunMethod. |
getGoldenRunMethodValue()
public int getGoldenRunMethodValue()Optional. The default method used to run golden evaluations. This will be used if no golden_run_method is specified in the RunEvaluationRequest.
.google.cloud.ces.v1beta.GoldenRunMethod golden_run_method = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for goldenRunMethod. |
getScenarioConversationInitiator()
public EvaluationSettings.ScenarioConversationInitiator getScenarioConversationInitiator()Optional. Who starts the conversation in a scenario evaluation.
.google.cloud.ces.v1beta.EvaluationSettings.ScenarioConversationInitiator scenario_conversation_initiator = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.ScenarioConversationInitiator |
The scenarioConversationInitiator. |
getScenarioConversationInitiatorValue()
public int getScenarioConversationInitiatorValue()Optional. Who starts the conversation in a scenario evaluation.
.google.cloud.ces.v1beta.EvaluationSettings.ScenarioConversationInitiator scenario_conversation_initiator = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for scenarioConversationInitiator. |
getScenarioEvaluationToolCallBehaviour()
public EvaluationToolCallBehaviour getScenarioEvaluationToolCallBehaviour()Optional. Configures the default tool call behaviour for scenario evaluations.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour scenario_evaluation_tool_call_behaviour = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationToolCallBehaviour |
The scenarioEvaluationToolCallBehaviour. |
getScenarioEvaluationToolCallBehaviourValue()
public int getScenarioEvaluationToolCallBehaviourValue()Optional. Configures the default tool call behaviour for scenario evaluations.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour scenario_evaluation_tool_call_behaviour = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for scenarioEvaluationToolCallBehaviour. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(EvaluationSettings other)
public EvaluationSettings.Builder mergeFrom(EvaluationSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
EvaluationSettings |
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EvaluationSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EvaluationSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
|
setGoldenEvaluationToolCallBehaviour(EvaluationToolCallBehaviour value)
public EvaluationSettings.Builder setGoldenEvaluationToolCallBehaviour(EvaluationToolCallBehaviour value)Optional. Configures the default tool call behaviour for golden evaluations.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour golden_evaluation_tool_call_behaviour = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationToolCallBehaviourThe goldenEvaluationToolCallBehaviour to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
This builder for chaining. |
setGoldenEvaluationToolCallBehaviourValue(int value)
public EvaluationSettings.Builder setGoldenEvaluationToolCallBehaviourValue(int value)Optional. Configures the default tool call behaviour for golden evaluations.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour golden_evaluation_tool_call_behaviour = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for goldenEvaluationToolCallBehaviour to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
This builder for chaining. |
setGoldenRunMethod(GoldenRunMethod value)
public EvaluationSettings.Builder setGoldenRunMethod(GoldenRunMethod value)Optional. The default method used to run golden evaluations. This will be used if no golden_run_method is specified in the RunEvaluationRequest.
.google.cloud.ces.v1beta.GoldenRunMethod golden_run_method = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
GoldenRunMethodThe goldenRunMethod to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
This builder for chaining. |
setGoldenRunMethodValue(int value)
public EvaluationSettings.Builder setGoldenRunMethodValue(int value)Optional. The default method used to run golden evaluations. This will be used if no golden_run_method is specified in the RunEvaluationRequest.
.google.cloud.ces.v1beta.GoldenRunMethod golden_run_method = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for goldenRunMethod to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
This builder for chaining. |
setScenarioConversationInitiator(EvaluationSettings.ScenarioConversationInitiator value)
public EvaluationSettings.Builder setScenarioConversationInitiator(EvaluationSettings.ScenarioConversationInitiator value)Optional. Who starts the conversation in a scenario evaluation.
.google.cloud.ces.v1beta.EvaluationSettings.ScenarioConversationInitiator scenario_conversation_initiator = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationSettings.ScenarioConversationInitiatorThe scenarioConversationInitiator to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
This builder for chaining. |
setScenarioConversationInitiatorValue(int value)
public EvaluationSettings.Builder setScenarioConversationInitiatorValue(int value)Optional. Who starts the conversation in a scenario evaluation.
.google.cloud.ces.v1beta.EvaluationSettings.ScenarioConversationInitiator scenario_conversation_initiator = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for scenarioConversationInitiator to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
This builder for chaining. |
setScenarioEvaluationToolCallBehaviour(EvaluationToolCallBehaviour value)
public EvaluationSettings.Builder setScenarioEvaluationToolCallBehaviour(EvaluationToolCallBehaviour value)Optional. Configures the default tool call behaviour for scenario evaluations.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour scenario_evaluation_tool_call_behaviour = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationToolCallBehaviourThe scenarioEvaluationToolCallBehaviour to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
This builder for chaining. |
setScenarioEvaluationToolCallBehaviourValue(int value)
public EvaluationSettings.Builder setScenarioEvaluationToolCallBehaviourValue(int value)Optional. Configures the default tool call behaviour for scenario evaluations.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour scenario_evaluation_tool_call_behaviour = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for scenarioEvaluationToolCallBehaviour to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationSettings.Builder |
This builder for chaining. |