public static final class Answer.Step.Action.Observation.SearchResult extends GeneratedMessageV3 implements Answer.Step.Action.Observation.SearchResultOrBuilder
Protobuf type
google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult
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
CHUNK_INFO_FIELD_NUMBER
public static final int CHUNK_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DOCUMENT_FIELD_NUMBER
public static final int DOCUMENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SNIPPET_INFO_FIELD_NUMBER
public static final int SNIPPET_INFO_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 Answer.Step.Action.Observation.SearchResult getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Answer.Step.Action.Observation.SearchResult.Builder newBuilder()
newBuilder(Answer.Step.Action.Observation.SearchResult prototype)
public static Answer.Step.Action.Observation.SearchResult.Builder newBuilder(Answer.Step.Action.Observation.SearchResult prototype)
public static Answer.Step.Action.Observation.SearchResult parseDelimitedFrom(InputStream input)
public static Answer.Step.Action.Observation.SearchResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Answer.Step.Action.Observation.SearchResult parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Answer.Step.Action.Observation.SearchResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Answer.Step.Action.Observation.SearchResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Answer.Step.Action.Observation.SearchResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Answer.Step.Action.Observation.SearchResult parseFrom(CodedInputStream input)
public static Answer.Step.Action.Observation.SearchResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Answer.Step.Action.Observation.SearchResult parseFrom(InputStream input)
public static Answer.Step.Action.Observation.SearchResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Answer.Step.Action.Observation.SearchResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Answer.Step.Action.Observation.SearchResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Answer.Step.Action.Observation.SearchResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getChunkInfo(int index)
public Answer.Step.Action.Observation.SearchResult.ChunkInfo getChunkInfo(int index)
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on,
populate chunk info.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
Parameter |
Name |
Description |
index |
int
|
getChunkInfoCount()
public int getChunkInfoCount()
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on,
populate chunk info.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
Returns |
Type |
Description |
int |
|
getChunkInfoList()
public List<Answer.Step.Action.Observation.SearchResult.ChunkInfo> getChunkInfoList()
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on,
populate chunk info.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
getChunkInfoOrBuilder(int index)
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.v1.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
Parameter |
Name |
Description |
index |
int
|
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.v1.Answer.Step.Action.Observation.SearchResult.ChunkInfo chunk_info = 5;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult.ChunkInfoOrBuilder> |
|
getDefaultInstanceForType()
public Answer.Step.Action.Observation.SearchResult getDefaultInstanceForType()
getDocument()
public String getDocument()
Document resource name.
string document = 1;
Returns |
Type |
Description |
String |
The document.
|
getDocumentBytes()
public ByteString getDocumentBytes()
Document resource name.
string document = 1;
Returns |
Type |
Description |
ByteString |
The bytes for document.
|
getParserForType()
public Parser<Answer.Step.Action.Observation.SearchResult> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSnippetInfo(int index)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo getSnippetInfo(int index)
If citation_type is DOCUMENT_LEVEL_CITATION, populate document
level snippets.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
Parameter |
Name |
Description |
index |
int
|
getSnippetInfoCount()
public int getSnippetInfoCount()
If citation_type is DOCUMENT_LEVEL_CITATION, populate document
level snippets.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
Returns |
Type |
Description |
int |
|
getSnippetInfoList()
public List<Answer.Step.Action.Observation.SearchResult.SnippetInfo> getSnippetInfoList()
If citation_type is DOCUMENT_LEVEL_CITATION, populate document
level snippets.
repeated .google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
getSnippetInfoOrBuilder(int index)
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.v1.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
Parameter |
Name |
Description |
index |
int
|
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.v1.Answer.Step.Action.Observation.SearchResult.SnippetInfo snippet_info = 4;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilder> |
|
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 Answer.Step.Action.Observation.SearchResult.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Answer.Step.Action.Observation.SearchResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Answer.Step.Action.Observation.SearchResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides