public static final class EvaluationConfig.Builder extends GeneratedMessage.Builder<EvaluationConfig.Builder> implements EvaluationConfigOrBuilderEvaluationConfig configures settings for running the evaluation.
Protobuf type google.cloud.ces.v1beta.EvaluationConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EvaluationConfig.BuilderImplements
EvaluationConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EvaluationConfig build()| Returns | |
|---|---|
| Type | Description |
EvaluationConfig |
|
buildPartial()
public EvaluationConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
EvaluationConfig |
|
clear()
public EvaluationConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
clearEvaluationChannel()
public EvaluationConfig.Builder clearEvaluationChannel()Optional. The channel to evaluate.
.google.cloud.ces.v1beta.EvaluationConfig.EvaluationChannel evaluation_channel = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
This builder for chaining. |
clearInputAudioConfig() (deprecated)
public EvaluationConfig.Builder clearInputAudioConfig()Optional. Configuration for processing the input audio.
.google.cloud.ces.v1beta.InputAudioConfig input_audio_config = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
clearOutputAudioConfig() (deprecated)
public EvaluationConfig.Builder clearOutputAudioConfig()Optional. Configuration for generating the output audio.
.google.cloud.ces.v1beta.OutputAudioConfig output_audio_config = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
clearToolCallBehaviour()
public EvaluationConfig.Builder clearToolCallBehaviour()Optional. Specifies whether the evaluation should use real tool calls or fake tools.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour tool_call_behaviour = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public EvaluationConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EvaluationConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEvaluationChannel()
public EvaluationConfig.EvaluationChannel getEvaluationChannel()Optional. The channel to evaluate.
.google.cloud.ces.v1beta.EvaluationConfig.EvaluationChannel evaluation_channel = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.EvaluationChannel |
The evaluationChannel. |
getEvaluationChannelValue()
public int getEvaluationChannelValue()Optional. The channel to evaluate.
.google.cloud.ces.v1beta.EvaluationConfig.EvaluationChannel evaluation_channel = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for evaluationChannel. |
getInputAudioConfig() (deprecated)
public InputAudioConfig getInputAudioConfig()Deprecated. google.cloud.ces.v1beta.EvaluationConfig.input_audio_config is deprecated. See google/cloud/ces/v1beta/evaluation.proto;l=1421
Optional. Configuration for processing the input audio.
.google.cloud.ces.v1beta.InputAudioConfig input_audio_config = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
InputAudioConfig |
The inputAudioConfig. |
getInputAudioConfigBuilder() (deprecated)
public InputAudioConfig.Builder getInputAudioConfigBuilder()Optional. Configuration for processing the input audio.
.google.cloud.ces.v1beta.InputAudioConfig input_audio_config = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
InputAudioConfig.Builder |
|
getInputAudioConfigOrBuilder() (deprecated)
public InputAudioConfigOrBuilder getInputAudioConfigOrBuilder()Optional. Configuration for processing the input audio.
.google.cloud.ces.v1beta.InputAudioConfig input_audio_config = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
InputAudioConfigOrBuilder |
|
getOutputAudioConfig() (deprecated)
public OutputAudioConfig getOutputAudioConfig()Deprecated. google.cloud.ces.v1beta.EvaluationConfig.output_audio_config is deprecated. See google/cloud/ces/v1beta/evaluation.proto;l=1425
Optional. Configuration for generating the output audio.
.google.cloud.ces.v1beta.OutputAudioConfig output_audio_config = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OutputAudioConfig |
The outputAudioConfig. |
getOutputAudioConfigBuilder() (deprecated)
public OutputAudioConfig.Builder getOutputAudioConfigBuilder()Optional. Configuration for generating the output audio.
.google.cloud.ces.v1beta.OutputAudioConfig output_audio_config = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OutputAudioConfig.Builder |
|
getOutputAudioConfigOrBuilder() (deprecated)
public OutputAudioConfigOrBuilder getOutputAudioConfigOrBuilder()Optional. Configuration for generating the output audio.
.google.cloud.ces.v1beta.OutputAudioConfig output_audio_config = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OutputAudioConfigOrBuilder |
|
getToolCallBehaviour()
public EvaluationToolCallBehaviour getToolCallBehaviour()Optional. Specifies whether the evaluation should use real tool calls or fake tools.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour tool_call_behaviour = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EvaluationToolCallBehaviour |
The toolCallBehaviour. |
getToolCallBehaviourValue()
public int getToolCallBehaviourValue()Optional. Specifies whether the evaluation should use real tool calls or fake tools.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour tool_call_behaviour = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for toolCallBehaviour. |
hasInputAudioConfig() (deprecated)
public boolean hasInputAudioConfig()Deprecated. google.cloud.ces.v1beta.EvaluationConfig.input_audio_config is deprecated. See google/cloud/ces/v1beta/evaluation.proto;l=1421
Optional. Configuration for processing the input audio.
.google.cloud.ces.v1beta.InputAudioConfig input_audio_config = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the inputAudioConfig field is set. |
hasOutputAudioConfig() (deprecated)
public boolean hasOutputAudioConfig()Deprecated. google.cloud.ces.v1beta.EvaluationConfig.output_audio_config is deprecated. See google/cloud/ces/v1beta/evaluation.proto;l=1425
Optional. Configuration for generating the output audio.
.google.cloud.ces.v1beta.OutputAudioConfig output_audio_config = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the outputAudioConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(EvaluationConfig other)
public EvaluationConfig.Builder mergeFrom(EvaluationConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
EvaluationConfig |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EvaluationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EvaluationConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
mergeInputAudioConfig(InputAudioConfig value) (deprecated)
public EvaluationConfig.Builder mergeInputAudioConfig(InputAudioConfig value)Optional. Configuration for processing the input audio.
.google.cloud.ces.v1beta.InputAudioConfig input_audio_config = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
InputAudioConfig |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
mergeOutputAudioConfig(OutputAudioConfig value) (deprecated)
public EvaluationConfig.Builder mergeOutputAudioConfig(OutputAudioConfig value)Optional. Configuration for generating the output audio.
.google.cloud.ces.v1beta.OutputAudioConfig output_audio_config = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
OutputAudioConfig |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
setEvaluationChannel(EvaluationConfig.EvaluationChannel value)
public EvaluationConfig.Builder setEvaluationChannel(EvaluationConfig.EvaluationChannel value)Optional. The channel to evaluate.
.google.cloud.ces.v1beta.EvaluationConfig.EvaluationChannel evaluation_channel = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationConfig.EvaluationChannelThe evaluationChannel to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
This builder for chaining. |
setEvaluationChannelValue(int value)
public EvaluationConfig.Builder setEvaluationChannelValue(int value)Optional. The channel to evaluate.
.google.cloud.ces.v1beta.EvaluationConfig.EvaluationChannel evaluation_channel = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for evaluationChannel to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
This builder for chaining. |
setInputAudioConfig(InputAudioConfig value) (deprecated)
public EvaluationConfig.Builder setInputAudioConfig(InputAudioConfig value)Optional. Configuration for processing the input audio.
.google.cloud.ces.v1beta.InputAudioConfig input_audio_config = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
InputAudioConfig |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
setInputAudioConfig(InputAudioConfig.Builder builderForValue) (deprecated)
public EvaluationConfig.Builder setInputAudioConfig(InputAudioConfig.Builder builderForValue)Optional. Configuration for processing the input audio.
.google.cloud.ces.v1beta.InputAudioConfig input_audio_config = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InputAudioConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
setOutputAudioConfig(OutputAudioConfig value) (deprecated)
public EvaluationConfig.Builder setOutputAudioConfig(OutputAudioConfig value)Optional. Configuration for generating the output audio.
.google.cloud.ces.v1beta.OutputAudioConfig output_audio_config = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
OutputAudioConfig |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
setOutputAudioConfig(OutputAudioConfig.Builder builderForValue) (deprecated)
public EvaluationConfig.Builder setOutputAudioConfig(OutputAudioConfig.Builder builderForValue)Optional. Configuration for generating the output audio.
.google.cloud.ces.v1beta.OutputAudioConfig output_audio_config = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OutputAudioConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
|
setToolCallBehaviour(EvaluationToolCallBehaviour value)
public EvaluationConfig.Builder setToolCallBehaviour(EvaluationToolCallBehaviour value)Optional. Specifies whether the evaluation should use real tool calls or fake tools.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour tool_call_behaviour = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
EvaluationToolCallBehaviourThe toolCallBehaviour to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
This builder for chaining. |
setToolCallBehaviourValue(int value)
public EvaluationConfig.Builder setToolCallBehaviourValue(int value)Optional. Specifies whether the evaluation should use real tool calls or fake tools.
.google.cloud.ces.v1beta.EvaluationToolCallBehaviour tool_call_behaviour = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for toolCallBehaviour to set. |
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig.Builder |
This builder for chaining. |