public static interface AssistantGroundedContent.TextGroundingMetadata.ReferenceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getChunkMetadata()
public abstract Struct getChunkMetadata()Output only. Generic structured chunk metadata from upstream data source connectors.
.google.protobuf.Struct chunk_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Struct |
The chunkMetadata. |
getChunkMetadataOrBuilder()
public abstract StructOrBuilder getChunkMetadataOrBuilder()Output only. Generic structured chunk metadata from upstream data source connectors.
.google.protobuf.Struct chunk_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getCodeSnippet()
public abstract String getCodeSnippet()Chunk of code snippet from the referenced document.
string code_snippet = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The codeSnippet. |
getCodeSnippetBytes()
public abstract ByteString getCodeSnippetBytes()Chunk of code snippet from the referenced document.
string code_snippet = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for codeSnippet. |
getContent()
public abstract String getContent()Referenced text content.
string content = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The content. |
getContentBytes()
public abstract ByteString getContentBytes()Referenced text content.
string content = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for content. |
getDocumentMetadata()
public abstract AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata getDocumentMetadata()Document metadata.
.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata document_metadata = 2;
| Returns | |
|---|---|
| Type | Description |
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata |
The documentMetadata. |
getDocumentMetadataOrBuilder()
public abstract AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilder getDocumentMetadataOrBuilder()Document metadata.
.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata document_metadata = 2;
| Returns | |
|---|---|
| Type | Description |
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilder |
|
hasChunkMetadata()
public abstract boolean hasChunkMetadata()Output only. Generic structured chunk metadata from upstream data source connectors.
.google.protobuf.Struct chunk_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the chunkMetadata field is set. |
hasDocumentMetadata()
public abstract boolean hasDocumentMetadata()Document metadata.
.google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata document_metadata = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the documentMetadata field is set. |