public static interface WidgetTool.TextResponseConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getStaticText()
public abstract String getStaticText()Optional. The static text response to return when type is STATIC.
string static_text = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The staticText. |
getStaticTextBytes()
public abstract ByteString getStaticTextBytes()Optional. The static text response to return when type is STATIC.
string static_text = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for staticText. |
getTextResponseInstruction()
public abstract String getTextResponseInstruction()Optional. Instruction for the LLM on how to generate the text response. Used as the description for the text response parameter if type is LLM_GENERATED.
string text_response_instruction = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The textResponseInstruction. |
getTextResponseInstructionBytes()
public abstract ByteString getTextResponseInstructionBytes()Optional. Instruction for the LLM on how to generate the text response. Used as the description for the text response parameter if type is LLM_GENERATED.
string text_response_instruction = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for textResponseInstruction. |
getType()
public abstract WidgetTool.TextResponseConfig.Type getType()Optional. The strategy for providing the text response.
.google.cloud.ces.v1beta.WidgetTool.TextResponseConfig.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
WidgetTool.TextResponseConfig.Type |
The type. |
getTypeValue()
public abstract int getTypeValue()Optional. The strategy for providing the text response.
.google.cloud.ces.v1beta.WidgetTool.TextResponseConfig.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |