Class Answer.Step.Action.Observation.SearchResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.SearchResult.Builder>
com.google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.Builder
- All Implemented Interfaces:
Answer.Step.Action.Observation.SearchResultOrBuilder,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.SearchResult
public static final class Answer.Step.Action.Observation.SearchResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.SearchResult.Builder>
implements Answer.Step.Action.Observation.SearchResultOrBuilder
Protobuf type
google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult-
Method Summary
Modifier and TypeMethodDescriptionaddAllChunkInfo(Iterable<? extends Answer.Step.Action.Observation.SearchResult.ChunkInfo> values) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.addAllSnippetInfo(Iterable<? extends Answer.Step.Action.Observation.SearchResult.SnippetInfo> values) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.addChunkInfo(int index, Answer.Step.Action.Observation.SearchResult.ChunkInfo value) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.addChunkInfo(int index, Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder builderForValue) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.addChunkInfoBuilder(int index) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.addSnippetInfo(int index, Answer.Step.Action.Observation.SearchResult.SnippetInfo value) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.addSnippetInfo(int index, Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder builderForValue) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.addSnippetInfoBuilder(int index) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.build()clear()If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.Document resource name.If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.Data representation.Title.clearUri()URI for the document.getChunkInfo(int index) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.getChunkInfoBuilder(int index) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.intIf citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.getChunkInfoOrBuilder(int index) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDocument resource name.com.google.protobuf.ByteStringDocument resource name.getSnippetInfo(int index) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.getSnippetInfoBuilder(int index) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.intIf citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.getSnippetInfoOrBuilder(int index) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.com.google.protobuf.StructData representation.com.google.protobuf.Struct.BuilderData representation.com.google.protobuf.StructOrBuilderData representation.getTitle()Title.com.google.protobuf.ByteStringTitle.getUri()URI for the document.com.google.protobuf.ByteStringURI for the document.booleanData representation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStructData(com.google.protobuf.Struct value) Data representation.removeChunkInfo(int index) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.removeSnippetInfo(int index) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.setChunkInfo(int index, Answer.Step.Action.Observation.SearchResult.ChunkInfo value) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.setChunkInfo(int index, Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder builderForValue) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.setDocument(String value) Document resource name.setDocumentBytes(com.google.protobuf.ByteString value) Document resource name.setSnippetInfo(int index, Answer.Step.Action.Observation.SearchResult.SnippetInfo value) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.setSnippetInfo(int index, Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder builderForValue) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.setStructData(com.google.protobuf.Struct value) Data representation.setStructData(com.google.protobuf.Struct.Builder builderForValue) Data representation.Title.setTitleBytes(com.google.protobuf.ByteString value) Title.URI for the document.setUriBytes(com.google.protobuf.ByteString value) URI for the document.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.SearchResult.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.SearchResult.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.SearchResult.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
public Answer.Step.Action.Observation.SearchResult.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Answer.Step.Action.Observation.SearchResult.Builder>
-
mergeFrom
public Answer.Step.Action.Observation.SearchResult.Builder mergeFrom(Answer.Step.Action.Observation.SearchResult other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.SearchResult.Builder>
-
mergeFrom
public Answer.Step.Action.Observation.SearchResult.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.SearchResult.Builder>- Throws:
IOException
-
getDocument
Document resource name.
string document = 1;- Specified by:
getDocumentin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder- Returns:
- The document.
-
getDocumentBytes
public com.google.protobuf.ByteString getDocumentBytes()Document resource name.
string document = 1;- Specified by:
getDocumentBytesin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder- Returns:
- The bytes for document.
-
setDocument
Document resource name.
string document = 1;- Parameters:
value- The document to set.- Returns:
- This builder for chaining.
-
clearDocument
Document resource name.
string document = 1;- Returns:
- This builder for chaining.
-
setDocumentBytes
public Answer.Step.Action.Observation.SearchResult.Builder setDocumentBytes(com.google.protobuf.ByteString value) Document resource name.
string document = 1;- Parameters:
value- The bytes for document to set.- Returns:
- This builder for chaining.
-
getUri
URI for the document.
string uri = 2;- Specified by:
getUriin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()URI for the document.
string uri = 2;- Specified by:
getUriBytesin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder- Returns:
- The bytes for uri.
-
setUri
URI for the document.
string uri = 2;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
URI for the document.
string uri = 2;- Returns:
- This builder for chaining.
-
setUriBytes
public Answer.Step.Action.Observation.SearchResult.Builder setUriBytes(com.google.protobuf.ByteString value) URI for the document.
string uri = 2;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getTitle
Title.
string title = 3;- Specified by:
getTitlein interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()Title.
string title = 3;- Specified by:
getTitleBytesin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder- Returns:
- The bytes for title.
-
setTitle
Title.
string title = 3;- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
Title.
string title = 3;- Returns:
- This builder for chaining.
-
setTitleBytes
public Answer.Step.Action.Observation.SearchResult.Builder setTitleBytes(com.google.protobuf.ByteString value) Title.
string title = 3;- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
getSnippetInfoList
If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;- Specified by:
getSnippetInfoListin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder
-
getSnippetInfoCount
public int getSnippetInfoCount()If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;- Specified by:
getSnippetInfoCountin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder
-
getSnippetInfo
If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;- Specified by:
getSnippetInfoin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder
-
setSnippetInfo
public Answer.Step.Action.Observation.SearchResult.Builder setSnippetInfo(int index, Answer.Step.Action.Observation.SearchResult.SnippetInfo value) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; -
setSnippetInfo
public Answer.Step.Action.Observation.SearchResult.Builder setSnippetInfo(int index, Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder builderForValue) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; -
addSnippetInfo
public Answer.Step.Action.Observation.SearchResult.Builder addSnippetInfo(Answer.Step.Action.Observation.SearchResult.SnippetInfo value) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; -
addSnippetInfo
public Answer.Step.Action.Observation.SearchResult.Builder addSnippetInfo(int index, Answer.Step.Action.Observation.SearchResult.SnippetInfo value) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; -
addSnippetInfo
public Answer.Step.Action.Observation.SearchResult.Builder addSnippetInfo(Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder builderForValue) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; -
addSnippetInfo
public Answer.Step.Action.Observation.SearchResult.Builder addSnippetInfo(int index, Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder builderForValue) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; -
addAllSnippetInfo
public Answer.Step.Action.Observation.SearchResult.Builder addAllSnippetInfo(Iterable<? extends Answer.Step.Action.Observation.SearchResult.SnippetInfo> values) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; -
clearSnippetInfo
If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; -
removeSnippetInfo
If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; -
getSnippetInfoBuilder
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder getSnippetInfoBuilder(int index) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; -
getSnippetInfoOrBuilder
public Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilder getSnippetInfoOrBuilder(int index) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;- Specified by:
getSnippetInfoOrBuilderin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder
-
getSnippetInfoOrBuilderList
public List<? extends Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilder> getSnippetInfoOrBuilderList()If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;- Specified by:
getSnippetInfoOrBuilderListin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder
-
addSnippetInfoBuilder
If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; -
addSnippetInfoBuilder
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder addSnippetInfoBuilder(int index) If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; -
getSnippetInfoBuilderList
public List<Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder> getSnippetInfoBuilderList()If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4; -
getChunkInfoList
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;- Specified by:
getChunkInfoListin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder
-
getChunkInfoCount
public int getChunkInfoCount()If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;- Specified by:
getChunkInfoCountin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder
-
getChunkInfo
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;- Specified by:
getChunkInfoin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder
-
setChunkInfo
public Answer.Step.Action.Observation.SearchResult.Builder setChunkInfo(int index, Answer.Step.Action.Observation.SearchResult.ChunkInfo value) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; -
setChunkInfo
public Answer.Step.Action.Observation.SearchResult.Builder setChunkInfo(int index, Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder builderForValue) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; -
addChunkInfo
public Answer.Step.Action.Observation.SearchResult.Builder addChunkInfo(Answer.Step.Action.Observation.SearchResult.ChunkInfo value) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; -
addChunkInfo
public Answer.Step.Action.Observation.SearchResult.Builder addChunkInfo(int index, Answer.Step.Action.Observation.SearchResult.ChunkInfo value) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; -
addChunkInfo
public Answer.Step.Action.Observation.SearchResult.Builder addChunkInfo(Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder builderForValue) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; -
addChunkInfo
public Answer.Step.Action.Observation.SearchResult.Builder addChunkInfo(int index, Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder builderForValue) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; -
addAllChunkInfo
public Answer.Step.Action.Observation.SearchResult.Builder addAllChunkInfo(Iterable<? extends Answer.Step.Action.Observation.SearchResult.ChunkInfo> values) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; -
clearChunkInfo
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; -
removeChunkInfo
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; -
getChunkInfoBuilder
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; -
getChunkInfoOrBuilder
public Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilder getChunkInfoOrBuilder(int index) If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;- Specified by:
getChunkInfoOrBuilderin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder
-
getChunkInfoOrBuilderList
public List<? extends Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilder> getChunkInfoOrBuilderList()If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;- Specified by:
getChunkInfoOrBuilderListin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder
-
addChunkInfoBuilder
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; -
addChunkInfoBuilder
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; -
getChunkInfoBuilderList
public List<Answer.Step.Action.Observation.SearchResult.ChunkInfo.Builder> getChunkInfoBuilderList()If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.
repeated .google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5; -
hasStructData
public boolean hasStructData()Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.
.google.protobuf.Struct struct_data = 6;- Specified by:
hasStructDatain interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder- Returns:
- Whether the structData field is set.
-
getStructData
public com.google.protobuf.Struct getStructData()Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.
.google.protobuf.Struct struct_data = 6;- Specified by:
getStructDatain interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder- Returns:
- The structData.
-
setStructData
public Answer.Step.Action.Observation.SearchResult.Builder setStructData(com.google.protobuf.Struct value) Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.
.google.protobuf.Struct struct_data = 6; -
setStructData
public Answer.Step.Action.Observation.SearchResult.Builder setStructData(com.google.protobuf.Struct.Builder builderForValue) Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.
.google.protobuf.Struct struct_data = 6; -
mergeStructData
public Answer.Step.Action.Observation.SearchResult.Builder mergeStructData(com.google.protobuf.Struct value) Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.
.google.protobuf.Struct struct_data = 6; -
clearStructData
Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.
.google.protobuf.Struct struct_data = 6; -
getStructDataBuilder
public com.google.protobuf.Struct.Builder getStructDataBuilder()Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.
.google.protobuf.Struct struct_data = 6; -
getStructDataOrBuilder
public com.google.protobuf.StructOrBuilder getStructDataOrBuilder()Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result.
.google.protobuf.Struct struct_data = 6;- Specified by:
getStructDataOrBuilderin interfaceAnswer.Step.Action.Observation.SearchResultOrBuilder
-