public static final class Chunk.AnnotationMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<Chunk.AnnotationMetadata.Builder> implements Chunk.AnnotationMetadataOrBuilder
The annotation metadata includes structured content in the current chunk.Protobuf type
google.cloud.discoveryengine.v1.Chunk.AnnotationMetadataaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Chunk.AnnotationMetadata.Builder>public Chunk.AnnotationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Chunk.AnnotationMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Chunk.AnnotationMetadata.Builder>public Chunk.AnnotationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Chunk.AnnotationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Chunk.AnnotationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Chunk.AnnotationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Chunk.AnnotationMetadata.Builder>public Chunk.AnnotationMetadata.Builder mergeFrom(Chunk.AnnotationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Chunk.AnnotationMetadata.Builder>public Chunk.AnnotationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Chunk.AnnotationMetadata.Builder>IOExceptionpublic boolean hasStructuredContent()
Output only. The structured content information.
.google.cloud.discoveryengine.v1.Chunk.StructuredContent structured_content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStructuredContent in interface Chunk.AnnotationMetadataOrBuilderpublic Chunk.StructuredContent getStructuredContent()
Output only. The structured content information.
.google.cloud.discoveryengine.v1.Chunk.StructuredContent structured_content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStructuredContent in interface Chunk.AnnotationMetadataOrBuilderpublic Chunk.AnnotationMetadata.Builder setStructuredContent(Chunk.StructuredContent value)
Output only. The structured content information.
.google.cloud.discoveryengine.v1.Chunk.StructuredContent structured_content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Chunk.AnnotationMetadata.Builder setStructuredContent(Chunk.StructuredContent.Builder builderForValue)
Output only. The structured content information.
.google.cloud.discoveryengine.v1.Chunk.StructuredContent structured_content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Chunk.AnnotationMetadata.Builder mergeStructuredContent(Chunk.StructuredContent value)
Output only. The structured content information.
.google.cloud.discoveryengine.v1.Chunk.StructuredContent structured_content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Chunk.AnnotationMetadata.Builder clearStructuredContent()
Output only. The structured content information.
.google.cloud.discoveryengine.v1.Chunk.StructuredContent structured_content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Chunk.StructuredContent.Builder getStructuredContentBuilder()
Output only. The structured content information.
.google.cloud.discoveryengine.v1.Chunk.StructuredContent structured_content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Chunk.StructuredContentOrBuilder getStructuredContentOrBuilder()
Output only. The structured content information.
.google.cloud.discoveryengine.v1.Chunk.StructuredContent structured_content = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStructuredContentOrBuilder in interface Chunk.AnnotationMetadataOrBuilderpublic 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];getImageId in interface Chunk.AnnotationMetadataOrBuilderpublic com.google.protobuf.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];getImageIdBytes in interface Chunk.AnnotationMetadataOrBuilderpublic Chunk.AnnotationMetadata.Builder setImageId(String value)
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];value - The imageId to set.public Chunk.AnnotationMetadata.Builder clearImageId()
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];public Chunk.AnnotationMetadata.Builder setImageIdBytes(com.google.protobuf.ByteString value)
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];value - The bytes for imageId to set.Copyright © 2026 Google LLC. All rights reserved.