Class Answer.Step.Action.Observation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.Builder>
com.google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.Builder
- All Implemented Interfaces:
Answer.Step.Action.ObservationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Answer.Step.Action.Observation
public static final class Answer.Step.Action.Observation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.Builder>
implements Answer.Step.Action.ObservationOrBuilder
Observation.Protobuf type
google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation-
Method Summary
Modifier and TypeMethodDescriptionaddAllSearchResults(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.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.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.Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.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.Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.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.build()clear()Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetSearchResults(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.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.Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.intSearch results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.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.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.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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.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.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Answer.Step.Action.Observation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.Builder>
-
mergeFrom
public Answer.Step.Action.Observation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Answer.Step.Action.Observation.Builder>- Throws:
IOException
-
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;- Specified by:
getSearchResultsListin interfaceAnswer.Step.Action.ObservationOrBuilder
-
getSearchResultsCount
public 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;- Specified by:
getSearchResultsCountin interfaceAnswer.Step.Action.ObservationOrBuilder
-
getSearchResults
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;- Specified by:
getSearchResultsin interfaceAnswer.Step.Action.ObservationOrBuilder
-
setSearchResults
public 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; -
setSearchResults
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; -
addSearchResults
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; -
addSearchResults
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; -
addSearchResults
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; -
addSearchResults
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; -
addAllSearchResults
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; -
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; -
removeSearchResults
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; -
getSearchResultsBuilder
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
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;- Specified by:
getSearchResultsOrBuilderin interfaceAnswer.Step.Action.ObservationOrBuilder
-
getSearchResultsOrBuilderList
public 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;- Specified by:
getSearchResultsOrBuilderListin interfaceAnswer.Step.Action.ObservationOrBuilder
-
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; -
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; -
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;
-