public static final class Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder extends com.google.protobuf.GeneratedMessage.Builder<Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder> implements Answer.Reference.UnstructuredDocumentInfo.ChunkContentOrBuilder
Chunk content.Protobuf type
google.cloud.discoveryengine.v1.Answer.Reference.UnstructuredDocumentInfo.ChunkContentaddRepeatedField, 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<Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder>public Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Answer.Reference.UnstructuredDocumentInfo.ChunkContent.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<Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder>public Answer.Reference.UnstructuredDocumentInfo.ChunkContent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Answer.Reference.UnstructuredDocumentInfo.ChunkContent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Answer.Reference.UnstructuredDocumentInfo.ChunkContent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder>public Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder mergeFrom(Answer.Reference.UnstructuredDocumentInfo.ChunkContent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder>public Answer.Reference.UnstructuredDocumentInfo.ChunkContent.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<Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder>IOExceptionpublic String getContent()
Chunk textual content.
string content = 1;getContent in interface Answer.Reference.UnstructuredDocumentInfo.ChunkContentOrBuilderpublic com.google.protobuf.ByteString getContentBytes()
Chunk textual content.
string content = 1;getContentBytes in interface Answer.Reference.UnstructuredDocumentInfo.ChunkContentOrBuilderpublic Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder setContent(String value)
Chunk textual content.
string content = 1;value - The content to set.public Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder clearContent()
Chunk textual content.
string content = 1;public Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder setContentBytes(com.google.protobuf.ByteString value)
Chunk textual content.
string content = 1;value - The bytes for content to set.public String getPageIdentifier()
Page identifier.
string page_identifier = 2;getPageIdentifier in interface Answer.Reference.UnstructuredDocumentInfo.ChunkContentOrBuilderpublic com.google.protobuf.ByteString getPageIdentifierBytes()
Page identifier.
string page_identifier = 2;getPageIdentifierBytes in interface Answer.Reference.UnstructuredDocumentInfo.ChunkContentOrBuilderpublic Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder setPageIdentifier(String value)
Page identifier.
string page_identifier = 2;value - The pageIdentifier to set.public Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder clearPageIdentifier()
Page identifier.
string page_identifier = 2;public Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder setPageIdentifierBytes(com.google.protobuf.ByteString value)
Page identifier.
string page_identifier = 2;value - The bytes for pageIdentifier to set.public boolean hasRelevanceScore()
The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.
optional float relevance_score = 3;hasRelevanceScore in interface Answer.Reference.UnstructuredDocumentInfo.ChunkContentOrBuilderpublic float getRelevanceScore()
The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.
optional float relevance_score = 3;getRelevanceScore in interface Answer.Reference.UnstructuredDocumentInfo.ChunkContentOrBuilderpublic Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder setRelevanceScore(float value)
The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.
optional float relevance_score = 3;value - The relevanceScore to set.public Answer.Reference.UnstructuredDocumentInfo.ChunkContent.Builder clearRelevanceScore()
The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.
optional float relevance_score = 3;Copyright © 2026 Google LLC. All rights reserved.