Enum TextMessage.TextType (0.9.0)

public enum TextMessage.TextType extends Enum<TextMessage.TextType> implements ProtocolMessageEnum

The type of the text message.

Protobuf enum google.cloud.geminidataanalytics.v1beta.TextMessage.TextType

Implements

ProtocolMessageEnum

Static Fields

Name Description
FINAL_RESPONSE

The text is a final response to the user question.

FINAL_RESPONSE = 1;

FINAL_RESPONSE_VALUE

The text is a final response to the user question.

FINAL_RESPONSE = 1;

PROGRESS

The text is an informational message about the agent's progress, such as a tool being invoked. This is distinct from the agent's internal thought process (THOUGHT) and the final answer to the user (FINAL_RESPONSE). These messages provide insight into the agent's actions.

PROGRESS = 3;

PROGRESS_VALUE

The text is an informational message about the agent's progress, such as a tool being invoked. This is distinct from the agent's internal thought process (THOUGHT) and the final answer to the user (FINAL_RESPONSE). These messages provide insight into the agent's actions.

PROGRESS = 3;

TEXT_TYPE_UNSPECIFIED

The default text type.

TEXT_TYPE_UNSPECIFIED = 0;

TEXT_TYPE_UNSPECIFIED_VALUE

The default text type.

TEXT_TYPE_UNSPECIFIED = 0;

THOUGHT

The text is a thinking plan generated by the thinking tool.

THOUGHT = 2;

THOUGHT_VALUE

The text is a thinking plan generated by the thinking tool.

THOUGHT = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()