public static final class Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder> implements Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilder
Chunk information.Protobuf type
google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfogetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder>public Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.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.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder>public Answer.Step.Action.Observation.SearchResult.ChunkInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Answer.Step.Action.Observation.SearchResult.ChunkInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Answer.Step.Action.Observation.SearchResult.ChunkInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder>public Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder>public Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder>public Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder>public Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder>public Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder>public Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder>public Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder mergeFrom(Answer.Step.Action.Observation.SearchResult.ChunkInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder>public Answer.Step.Action.Observation.SearchResult.ChunkInfo.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.Step.Action.Observation.SearchResult.ChunkInfo.Builder>IOExceptionpublic String getChunk()
Chunk resource name.
string chunk = 1;getChunk in interface Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilderpublic com.google.protobuf.ByteString getChunkBytes()
Chunk resource name.
string chunk = 1;getChunkBytes in interface Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilderpublic Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder setChunk(String value)
Chunk resource name.
string chunk = 1;value - The chunk to set.public Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder clearChunk()
Chunk resource name.
string chunk = 1;public Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder setChunkBytes(com.google.protobuf.ByteString value)
Chunk resource name.
string chunk = 1;value - The bytes for chunk to set.public String getContent()
Chunk textual content.
string content = 2;getContent in interface Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilderpublic com.google.protobuf.ByteString getContentBytes()
Chunk textual content.
string content = 2;getContentBytes in interface Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilderpublic Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder setContent(String value)
Chunk textual content.
string content = 2;value - The content to set.public Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder clearContent()
Chunk textual content.
string content = 2;public Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder setContentBytes(com.google.protobuf.ByteString value)
Chunk textual content.
string content = 2;value - The bytes for content 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.Step.Action.Observation.SearchResult.ChunkInfoOrBuilderpublic 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.Step.Action.Observation.SearchResult.ChunkInfoOrBuilderpublic Answer.Step.Action.Observation.SearchResult.ChunkInfo.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.Step.Action.Observation.SearchResult.ChunkInfo.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;public final Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder>public final Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder>Copyright © 2025 Google LLC. All rights reserved.