@Generated
public interface AssistantContentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
AssistantContent.CodeExecutionResult |
getCodeExecutionResult()
Result of executing an ExecutableCode.
|
AssistantContent.CodeExecutionResultOrBuilder |
getCodeExecutionResultOrBuilder()
Result of executing an ExecutableCode.
|
AssistantContent.DataCase |
getDataCase() |
AssistantContent.ExecutableCode |
getExecutableCode()
Code generated by the model that is meant to be executed.
|
AssistantContent.ExecutableCodeOrBuilder |
getExecutableCodeOrBuilder()
Code generated by the model that is meant to be executed.
|
AssistantContent.File |
getFile()
A file, e.g., an audio summary.
|
AssistantContent.FileOrBuilder |
getFileOrBuilder()
A file, e.g., an audio summary.
|
AssistantContent.Blob |
getInlineData()
Inline binary data.
|
AssistantContent.BlobOrBuilder |
getInlineDataOrBuilder()
Inline binary data.
|
String |
getRole()
The producer of the content.
|
com.google.protobuf.ByteString |
getRoleBytes()
The producer of the content.
|
String |
getText()
Inline text.
|
com.google.protobuf.ByteString |
getTextBytes()
Inline text.
|
boolean |
getThought()
Optional.
|
boolean |
hasCodeExecutionResult()
Result of executing an ExecutableCode.
|
boolean |
hasExecutableCode()
Code generated by the model that is meant to be executed.
|
boolean |
hasFile()
A file, e.g., an audio summary.
|
boolean |
hasInlineData()
Inline binary data.
|
boolean |
hasText()
Inline text.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasText()
Inline text.
string text = 2;String getText()
Inline text.
string text = 2;com.google.protobuf.ByteString getTextBytes()
Inline text.
string text = 2;boolean hasInlineData()
Inline binary data.
.google.cloud.discoveryengine.v1.AssistantContent.Blob inline_data = 3;AssistantContent.Blob getInlineData()
Inline binary data.
.google.cloud.discoveryengine.v1.AssistantContent.Blob inline_data = 3;AssistantContent.BlobOrBuilder getInlineDataOrBuilder()
Inline binary data.
.google.cloud.discoveryengine.v1.AssistantContent.Blob inline_data = 3;boolean hasFile()
A file, e.g., an audio summary.
.google.cloud.discoveryengine.v1.AssistantContent.File file = 4;AssistantContent.File getFile()
A file, e.g., an audio summary.
.google.cloud.discoveryengine.v1.AssistantContent.File file = 4;AssistantContent.FileOrBuilder getFileOrBuilder()
A file, e.g., an audio summary.
.google.cloud.discoveryengine.v1.AssistantContent.File file = 4;boolean hasExecutableCode()
Code generated by the model that is meant to be executed.
.google.cloud.discoveryengine.v1.AssistantContent.ExecutableCode executable_code = 7;
AssistantContent.ExecutableCode getExecutableCode()
Code generated by the model that is meant to be executed.
.google.cloud.discoveryengine.v1.AssistantContent.ExecutableCode executable_code = 7;
AssistantContent.ExecutableCodeOrBuilder getExecutableCodeOrBuilder()
Code generated by the model that is meant to be executed.
.google.cloud.discoveryengine.v1.AssistantContent.ExecutableCode executable_code = 7;
boolean hasCodeExecutionResult()
Result of executing an ExecutableCode.
.google.cloud.discoveryengine.v1.AssistantContent.CodeExecutionResult code_execution_result = 8;
AssistantContent.CodeExecutionResult getCodeExecutionResult()
Result of executing an ExecutableCode.
.google.cloud.discoveryengine.v1.AssistantContent.CodeExecutionResult code_execution_result = 8;
AssistantContent.CodeExecutionResultOrBuilder getCodeExecutionResultOrBuilder()
Result of executing an ExecutableCode.
.google.cloud.discoveryengine.v1.AssistantContent.CodeExecutionResult code_execution_result = 8;
String getRole()
The producer of the content. Can be "model" or "user".
string role = 1;com.google.protobuf.ByteString getRoleBytes()
The producer of the content. Can be "model" or "user".
string role = 1;boolean getThought()
Optional. Indicates if the part is thought from the model.
bool thought = 6 [(.google.api.field_behavior) = OPTIONAL];AssistantContent.DataCase getDataCase()
Copyright © 2026 Google LLC. All rights reserved.