public static final class Answer.Step.Action.Observation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.Builder> implements Answer.Step.Action.ObservationOrBuilder
Observation.Protobuf type
google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation| Modifier and Type | Method and Description |
|---|---|
Answer.Step.Action.Observation.Builder |
addAllSearchResults(Iterable<? extends Answer.Step.Action.Observation.SearchResult> values)
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
Answer.Step.Action.Observation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Answer.Step.Action.Observation.Builder |
addSearchResults(Answer.Step.Action.Observation.SearchResult.Builder builderForValue)
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
Answer.Step.Action.Observation.Builder |
addSearchResults(Answer.Step.Action.Observation.SearchResult value)
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
Answer.Step.Action.Observation.Builder |
addSearchResults(int index,
Answer.Step.Action.Observation.SearchResult.Builder builderForValue)
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
Answer.Step.Action.Observation.Builder |
addSearchResults(int index,
Answer.Step.Action.Observation.SearchResult value)
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
Answer.Step.Action.Observation.SearchResult.Builder |
addSearchResultsBuilder()
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
Answer.Step.Action.Observation.SearchResult.Builder |
addSearchResultsBuilder(int index)
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
Answer.Step.Action.Observation |
build() |
Answer.Step.Action.Observation |
buildPartial() |
Answer.Step.Action.Observation.Builder |
clear() |
Answer.Step.Action.Observation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Answer.Step.Action.Observation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Answer.Step.Action.Observation.Builder |
clearSearchResults()
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
Answer.Step.Action.Observation.Builder |
clone() |
Answer.Step.Action.Observation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Answer.Step.Action.Observation.SearchResult |
getSearchResults(int index)
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
Answer.Step.Action.Observation.SearchResult.Builder |
getSearchResultsBuilder(int index)
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
List<Answer.Step.Action.Observation.SearchResult.Builder> |
getSearchResultsBuilderList()
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
int |
getSearchResultsCount()
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
List<Answer.Step.Action.Observation.SearchResult> |
getSearchResultsList()
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
Answer.Step.Action.Observation.SearchResultOrBuilder |
getSearchResultsOrBuilder(int index)
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
List<? extends Answer.Step.Action.Observation.SearchResultOrBuilder> |
getSearchResultsOrBuilderList()
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Answer.Step.Action.Observation.Builder |
mergeFrom(Answer.Step.Action.Observation other) |
Answer.Step.Action.Observation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Answer.Step.Action.Observation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Answer.Step.Action.Observation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Answer.Step.Action.Observation.Builder |
removeSearchResults(int index)
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
Answer.Step.Action.Observation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Answer.Step.Action.Observation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Answer.Step.Action.Observation.Builder |
setSearchResults(int index,
Answer.Step.Action.Observation.SearchResult.Builder builderForValue)
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
Answer.Step.Action.Observation.Builder |
setSearchResults(int index,
Answer.Step.Action.Observation.SearchResult value)
Search results observed by the search action, it can be snippets info
or chunk info, depending on the citation type set by the user.
|
Answer.Step.Action.Observation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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.Builder>public Answer.Step.Action.Observation.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.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.Builder>public Answer.Step.Action.Observation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Answer.Step.Action.Observation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Answer.Step.Action.Observation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Answer.Step.Action.Observation.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.Builder>public Answer.Step.Action.Observation.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.Builder>public Answer.Step.Action.Observation.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.Builder>public Answer.Step.Action.Observation.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.Builder>public Answer.Step.Action.Observation.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.Builder>public Answer.Step.Action.Observation.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.Builder>public Answer.Step.Action.Observation.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.Builder>public Answer.Step.Action.Observation.Builder mergeFrom(Answer.Step.Action.Observation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Answer.Step.Action.Observation.Builder>public Answer.Step.Action.Observation.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.Builder>IOExceptionpublic List<Answer.Step.Action.Observation.SearchResult> getSearchResultsList()
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
getSearchResultsList in interface Answer.Step.Action.ObservationOrBuilderpublic int getSearchResultsCount()
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
getSearchResultsCount in interface Answer.Step.Action.ObservationOrBuilderpublic Answer.Step.Action.Observation.SearchResult getSearchResults(int index)
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
getSearchResults in interface Answer.Step.Action.ObservationOrBuilderpublic Answer.Step.Action.Observation.Builder setSearchResults(int index, Answer.Step.Action.Observation.SearchResult value)
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
public Answer.Step.Action.Observation.Builder setSearchResults(int index, Answer.Step.Action.Observation.SearchResult.Builder builderForValue)
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
public Answer.Step.Action.Observation.Builder addSearchResults(Answer.Step.Action.Observation.SearchResult value)
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
public Answer.Step.Action.Observation.Builder addSearchResults(int index, Answer.Step.Action.Observation.SearchResult value)
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
public Answer.Step.Action.Observation.Builder addSearchResults(Answer.Step.Action.Observation.SearchResult.Builder builderForValue)
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
public Answer.Step.Action.Observation.Builder addSearchResults(int index, Answer.Step.Action.Observation.SearchResult.Builder builderForValue)
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
public Answer.Step.Action.Observation.Builder addAllSearchResults(Iterable<? extends Answer.Step.Action.Observation.SearchResult> values)
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
public Answer.Step.Action.Observation.Builder clearSearchResults()
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
public Answer.Step.Action.Observation.Builder removeSearchResults(int index)
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
public Answer.Step.Action.Observation.SearchResult.Builder getSearchResultsBuilder(int index)
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
public Answer.Step.Action.Observation.SearchResultOrBuilder getSearchResultsOrBuilder(int index)
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
getSearchResultsOrBuilder in interface Answer.Step.Action.ObservationOrBuilderpublic List<? extends Answer.Step.Action.Observation.SearchResultOrBuilder> getSearchResultsOrBuilderList()
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
getSearchResultsOrBuilderList in interface Answer.Step.Action.ObservationOrBuilderpublic Answer.Step.Action.Observation.SearchResult.Builder addSearchResultsBuilder()
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
public Answer.Step.Action.Observation.SearchResult.Builder addSearchResultsBuilder(int index)
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
public List<Answer.Step.Action.Observation.SearchResult.Builder> getSearchResultsBuilderList()
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult search_results = 2;
public final Answer.Step.Action.Observation.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.Builder>public final Answer.Step.Action.Observation.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.Builder>Copyright © 2025 Google LLC. All rights reserved.