Send feedback
Class AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo (0.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.40.0 keyboard_arrow_down
public static final class AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo extends GeneratedMessageV3 implements AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfoOrBuilder
Unstructured document information.
Protobuf type
google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DOCUMENT_CONTEXTS_FIELD_NUMBER
public static final int DOCUMENT_CONTEXTS_FIELD_NUMBER
Field Value
Type
Description
int
DOCUMENT_FIELD_NUMBER
public static final int DOCUMENT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int EXTRACTIVE_ANSWERS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int EXTRACTIVE_SEGMENTS_FIELD_NUMBER
Field Value
Type
Description
int
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
Field Value
Type
Description
int
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . Builder newBuilder ()
newBuilder(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo prototype)
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . Builder newBuilder ( AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo prototype )
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo parseDelimitedFrom ( InputStream input )
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo parseFrom ( CodedInputStream input )
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo parseFrom ( InputStream input )
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo getDefaultInstanceForType ()
getDocument()
public String getDocument ()
Document resource name.
string document = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The document.
getDocumentBytes()
public ByteString getDocumentBytes ()
Document resource name.
string document = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for document.
getDocumentContexts(int index)
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . DocumentContext getDocumentContexts ( int index )
List of document contexts.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext document_contexts = 4;
Parameter
Name
Description
index
int
getDocumentContextsCount()
public int getDocumentContextsCount ()
List of document contexts.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext document_contexts = 4;
Returns
Type
Description
int
getDocumentContextsList()
public List<AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . DocumentContext > getDocumentContextsList ()
List of document contexts.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext document_contexts = 4;
getDocumentContextsOrBuilder(int index)
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . DocumentContextOrBuilder getDocumentContextsOrBuilder ( int index )
List of document contexts.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext document_contexts = 4;
Parameter
Name
Description
index
int
getDocumentContextsOrBuilderList()
public List <? extends AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . DocumentContextOrBuilder > getDocumentContextsOrBuilderList ()
List of document contexts.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContext document_contexts = 4;
Returns
Type
Description
List <? extends com.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.DocumentContextOrBuilder >
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . ExtractiveAnswer getExtractiveAnswers ( int index )
List of extractive answers.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer extractive_answers = 6;
Parameter
Name
Description
index
int
public int getExtractiveAnswersCount ()
List of extractive answers.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer extractive_answers = 6;
Returns
Type
Description
int
public List<AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . ExtractiveAnswer > getExtractiveAnswersList ()
List of extractive answers.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer extractive_answers = 6;
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . ExtractiveAnswerOrBuilder getExtractiveAnswersOrBuilder ( int index )
List of extractive answers.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer extractive_answers = 6;
Parameter
Name
Description
index
int
public List <? extends AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . ExtractiveAnswerOrBuilder > getExtractiveAnswersOrBuilderList ()
List of extractive answers.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer extractive_answers = 6;
Returns
Type
Description
List <? extends com.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswerOrBuilder >
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . ExtractiveSegment getExtractiveSegments ( int index )
List of extractive segments.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment extractive_segments = 5;
Parameter
Name
Description
index
int
public int getExtractiveSegmentsCount ()
List of extractive segments.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment extractive_segments = 5;
Returns
Type
Description
int
public List<AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . ExtractiveSegment > getExtractiveSegmentsList ()
List of extractive segments.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment extractive_segments = 5;
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . ExtractiveSegmentOrBuilder getExtractiveSegmentsOrBuilder ( int index )
List of extractive segments.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment extractive_segments = 5;
Parameter
Name
Description
index
int
public List <? extends AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . ExtractiveSegmentOrBuilder > getExtractiveSegmentsOrBuilderList ()
List of extractive segments.
repeated .google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment extractive_segments = 5;
Returns
Type
Description
List <? extends com.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegmentOrBuilder >
getParserForType()
public Parser<AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getTitle()
Returns
Type
Description
String
The title.
getTitleBytes()
public ByteString getTitleBytes ()
Returns
Type
Description
ByteString
The bytes for title.
getUri()
URI for the document.
string uri = 2;
Returns
Type
Description
String
The uri.
getUriBytes()
public ByteString getUriBytes ()
URI for the document.
string uri = 2;
Returns
Type
Description
ByteString
The bytes for uri.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public AnswerQueryRequest . SearchSpec . SearchResultList . SearchResult . UnstructuredDocumentInfo . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]