public static interface GroundingChunk.RetrievedContextOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getText()
public abstract String getText()Output only. The content of the retrieved data source.
string text = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public abstract ByteString getTextBytes()Output only. The content of the retrieved data source.
string text = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
getTitle()
public abstract String getTitle()Output only. The title of the retrieved data source.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public abstract ByteString getTitleBytes()Output only. The title of the retrieved data source.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
getUri()
public abstract String getUri()Output only. The URI of the retrieved data source.
string uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public abstract ByteString getUriBytes()Output only. The URI of the retrieved data source.
string uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |