Class EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder (0.3.0)

public static final class EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder extends GeneratedMessage.Builder<EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder> implements EvaluationResult.ScenarioExpectationOutcome.ObservedToolCallOrBuilder

The observed tool call and response.

Protobuf type google.cloud.ces.v1beta.EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall build()
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall

buildPartial()

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall buildPartial()
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall

clear()

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder clear()
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder
Overrides

clearToolCall()

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder clearToolCall()

Output only. The observed tool call.

.google.cloud.ces.v1beta.ToolCall tool_call = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder

clearToolResponse()

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder clearToolResponse()

Output only. The observed tool response.

.google.cloud.ces.v1beta.ToolResponse tool_response = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder

getDefaultInstanceForType()

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall getDefaultInstanceForType()
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getToolCall()

public ToolCall getToolCall()

Output only. The observed tool call.

.google.cloud.ces.v1beta.ToolCall tool_call = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolCall

The toolCall.

getToolCallBuilder()

public ToolCall.Builder getToolCallBuilder()

Output only. The observed tool call.

.google.cloud.ces.v1beta.ToolCall tool_call = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolCall.Builder

getToolCallOrBuilder()

public ToolCallOrBuilder getToolCallOrBuilder()

Output only. The observed tool call.

.google.cloud.ces.v1beta.ToolCall tool_call = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolCallOrBuilder

getToolResponse()

public ToolResponse getToolResponse()

Output only. The observed tool response.

.google.cloud.ces.v1beta.ToolResponse tool_response = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolResponse

The toolResponse.

getToolResponseBuilder()

public ToolResponse.Builder getToolResponseBuilder()

Output only. The observed tool response.

.google.cloud.ces.v1beta.ToolResponse tool_response = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolResponse.Builder

getToolResponseOrBuilder()

public ToolResponseOrBuilder getToolResponseOrBuilder()

Output only. The observed tool response.

.google.cloud.ces.v1beta.ToolResponse tool_response = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ToolResponseOrBuilder

hasToolCall()

public boolean hasToolCall()

Output only. The observed tool call.

.google.cloud.ces.v1beta.ToolCall tool_call = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the toolCall field is set.

hasToolResponse()

public boolean hasToolResponse()

Output only. The observed tool response.

.google.cloud.ces.v1beta.ToolResponse tool_response = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the toolResponse field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall other)

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder mergeFrom(EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall other)
Parameter
Name Description
other EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder
Overrides

mergeToolCall(ToolCall value)

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder mergeToolCall(ToolCall value)

Output only. The observed tool call.

.google.cloud.ces.v1beta.ToolCall tool_call = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ToolCall
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder

mergeToolResponse(ToolResponse value)

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder mergeToolResponse(ToolResponse value)

Output only. The observed tool response.

.google.cloud.ces.v1beta.ToolResponse tool_response = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ToolResponse
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder

setToolCall(ToolCall value)

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder setToolCall(ToolCall value)

Output only. The observed tool call.

.google.cloud.ces.v1beta.ToolCall tool_call = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ToolCall
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder

setToolCall(ToolCall.Builder builderForValue)

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder setToolCall(ToolCall.Builder builderForValue)

Output only. The observed tool call.

.google.cloud.ces.v1beta.ToolCall tool_call = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ToolCall.Builder
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder

setToolResponse(ToolResponse value)

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder setToolResponse(ToolResponse value)

Output only. The observed tool response.

.google.cloud.ces.v1beta.ToolResponse tool_response = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ToolResponse
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder

setToolResponse(ToolResponse.Builder builderForValue)

public EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder setToolResponse(ToolResponse.Builder builderForValue)

Output only. The observed tool response.

.google.cloud.ces.v1beta.ToolResponse tool_response = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ToolResponse.Builder
Returns
Type Description
EvaluationResult.ScenarioExpectationOutcome.ObservedToolCall.Builder