public static final class Answer.Step.Action.Observation.Builder extends GeneratedMessageV3.Builder<Answer.Step.Action.Observation.Builder> implements Answer.Step.Action.ObservationOrBuilder
Observation.
Protobuf type google.cloud.discoveryengine.v1.Answer.Step.Action.Observation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSearchResults(Iterable<? extends Answer.Step.Action.Observation.SearchResult> values)
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Answer.Step.Action.Observation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSearchResults(Answer.Step.Action.Observation.SearchResult value)
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
addSearchResults(Answer.Step.Action.Observation.SearchResult.Builder builderForValue)
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
addSearchResults(int index, Answer.Step.Action.Observation.SearchResult value)
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
addSearchResults(int index, Answer.Step.Action.Observation.SearchResult.Builder builderForValue)
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
addSearchResultsBuilder()
public 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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
addSearchResultsBuilder(int index)
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
Parameter |
Name |
Description |
index |
int
|
build()
public Answer.Step.Action.Observation build()
buildPartial()
public Answer.Step.Action.Observation buildPartial()
clear()
public Answer.Step.Action.Observation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Answer.Step.Action.Observation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Answer.Step.Action.Observation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSearchResults()
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
clone()
public Answer.Step.Action.Observation.Builder clone()
Overrides
getDefaultInstanceForType()
public Answer.Step.Action.Observation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSearchResults(int index)
public 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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
Parameter |
Name |
Description |
index |
int
|
getSearchResultsBuilder(int index)
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
Parameter |
Name |
Description |
index |
int
|
getSearchResultsBuilderList()
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
Returns |
Type |
Description |
int |
|
getSearchResultsList()
public 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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
getSearchResultsOrBuilder(int index)
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
Parameter |
Name |
Description |
index |
int
|
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResultOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Answer.Step.Action.Observation other)
public Answer.Step.Action.Observation.Builder mergeFrom(Answer.Step.Action.Observation other)
public Answer.Step.Action.Observation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Answer.Step.Action.Observation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Answer.Step.Action.Observation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSearchResults(int index)
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Answer.Step.Action.Observation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Answer.Step.Action.Observation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSearchResults(int index, Answer.Step.Action.Observation.SearchResult value)
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
setSearchResults(int index, Answer.Step.Action.Observation.SearchResult.Builder builderForValue)
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.v1.Answer.Step.Action.Observation.SearchResult search_results = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final Answer.Step.Action.Observation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides