public static final class Chunk.StructuredContent.Builder extends com.google.protobuf.GeneratedMessage.Builder<Chunk.StructuredContent.Builder> implements Chunk.StructuredContentOrBuilder
The structured content information.Protobuf type
google.cloud.discoveryengine.v1.Chunk.StructuredContentaddRepeatedField, 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.StructuredContent.Builder>public Chunk.StructuredContent.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.StructuredContent.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.StructuredContent.Builder>public Chunk.StructuredContent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Chunk.StructuredContent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Chunk.StructuredContent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Chunk.StructuredContent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Chunk.StructuredContent.Builder>public Chunk.StructuredContent.Builder mergeFrom(Chunk.StructuredContent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Chunk.StructuredContent.Builder>public Chunk.StructuredContent.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.StructuredContent.Builder>IOExceptionpublic int getStructureTypeValue()
Output only. The structure type of the structured content.
.google.cloud.discoveryengine.v1.Chunk.StructureType structure_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStructureTypeValue in interface Chunk.StructuredContentOrBuilderpublic Chunk.StructuredContent.Builder setStructureTypeValue(int value)
Output only. The structure type of the structured content.
.google.cloud.discoveryengine.v1.Chunk.StructureType structure_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for structureType to set.public Chunk.StructureType getStructureType()
Output only. The structure type of the structured content.
.google.cloud.discoveryengine.v1.Chunk.StructureType structure_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStructureType in interface Chunk.StructuredContentOrBuilderpublic Chunk.StructuredContent.Builder setStructureType(Chunk.StructureType value)
Output only. The structure type of the structured content.
.google.cloud.discoveryengine.v1.Chunk.StructureType structure_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The structureType to set.public Chunk.StructuredContent.Builder clearStructureType()
Output only. The structure type of the structured content.
.google.cloud.discoveryengine.v1.Chunk.StructureType structure_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getContent()
Output only. The content of the structured content.
string content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getContent in interface Chunk.StructuredContentOrBuilderpublic com.google.protobuf.ByteString getContentBytes()
Output only. The content of the structured content.
string content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getContentBytes in interface Chunk.StructuredContentOrBuilderpublic Chunk.StructuredContent.Builder setContent(String value)
Output only. The content of the structured content.
string content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The content to set.public Chunk.StructuredContent.Builder clearContent()
Output only. The content of the structured content.
string content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public Chunk.StructuredContent.Builder setContentBytes(com.google.protobuf.ByteString value)
Output only. The content of the structured content.
string content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for content to set.Copyright © 2026 Google LLC. All rights reserved.