Interface Chunk.AnnotationMetadataOrBuilder (0.60.0)

public static interface Chunk.AnnotationMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getImageId()

public abstract String getImageId()

Output only. Image id is provided if the structured content is based on an image.

string image_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The imageId.

getImageIdBytes()

public abstract ByteString getImageIdBytes()

Output only. Image id is provided if the structured content is based on an image.

string image_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for imageId.

getStructuredContent()

public abstract Chunk.StructuredContent getStructuredContent()

Output only. The structured content information.

.google.cloud.discoveryengine.v1.Chunk.StructuredContent structured_content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Chunk.StructuredContent

The structuredContent.

getStructuredContentOrBuilder()

public abstract Chunk.StructuredContentOrBuilder getStructuredContentOrBuilder()

Output only. The structured content information.

.google.cloud.discoveryengine.v1.Chunk.StructuredContent structured_content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Chunk.StructuredContentOrBuilder

hasStructuredContent()

public abstract boolean hasStructuredContent()

Output only. The structured content information.

.google.cloud.discoveryengine.v1.Chunk.StructuredContent structured_content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the structuredContent field is set.