Class AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder (0.40.0)

public static final class AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder extends GeneratedMessageV3.Builder<AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder> implements AnswerQueryRequest.SearchSpec.SearchResultList.SearchResultOrBuilder

Search result.

Protobuf type google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder
Overrides

build()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult build()
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult

buildPartial()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult buildPartial()
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult

clear()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder clear()
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder
Overrides

clearChunkInfo()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder clearChunkInfo()

Chunk information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo chunk_info = 2;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder

clearContent()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder clearContent()
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder

clearField(Descriptors.FieldDescriptor field)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder
Overrides

clearUnstructuredDocumentInfo()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder clearUnstructuredDocumentInfo()

Unstructured document information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo unstructured_document_info = 1;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder

clone()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder clone()
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder
Overrides

getChunkInfo()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo getChunkInfo()

Chunk information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo chunk_info = 2;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo

The chunkInfo.

getChunkInfoBuilder()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder getChunkInfoBuilder()

Chunk information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo chunk_info = 2;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder

getChunkInfoOrBuilder()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfoOrBuilder getChunkInfoOrBuilder()

Chunk information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo chunk_info = 2;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfoOrBuilder

getContentCase()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ContentCase getContentCase()
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ContentCase

getDefaultInstanceForType()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult getDefaultInstanceForType()
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUnstructuredDocumentInfo()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo getUnstructuredDocumentInfo()

Unstructured document information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo unstructured_document_info = 1;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo

The unstructuredDocumentInfo.

getUnstructuredDocumentInfoBuilder()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.Builder getUnstructuredDocumentInfoBuilder()

Unstructured document information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo unstructured_document_info = 1;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.Builder

getUnstructuredDocumentInfoOrBuilder()

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfoOrBuilder getUnstructuredDocumentInfoOrBuilder()

Unstructured document information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo unstructured_document_info = 1;

Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfoOrBuilder

hasChunkInfo()

public boolean hasChunkInfo()

Chunk information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo chunk_info = 2;

Returns
Type Description
boolean

Whether the chunkInfo field is set.

hasUnstructuredDocumentInfo()

public boolean hasUnstructuredDocumentInfo()

Unstructured document information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo unstructured_document_info = 1;

Returns
Type Description
boolean

Whether the unstructuredDocumentInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeChunkInfo(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo value)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder mergeChunkInfo(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo value)

Chunk information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo chunk_info = 2;

Parameter
Name Description
value AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder

mergeFrom(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult other)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder mergeFrom(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult other)
Parameter
Name Description
other AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder
Overrides

mergeUnstructuredDocumentInfo(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo value)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder mergeUnstructuredDocumentInfo(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo value)

Unstructured document information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo unstructured_document_info = 1;

Parameter
Name Description
value AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder

setChunkInfo(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo value)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder setChunkInfo(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo value)

Chunk information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo chunk_info = 2;

Parameter
Name Description
value AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder

setChunkInfo(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder builderForValue)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder setChunkInfo(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder builderForValue)

Chunk information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo chunk_info = 2;

Parameter
Name Description
builderForValue AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder
Overrides

setUnstructuredDocumentInfo(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo value)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder setUnstructuredDocumentInfo(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo value)

Unstructured document information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo unstructured_document_info = 1;

Parameter
Name Description
value AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder

setUnstructuredDocumentInfo(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.Builder builderForValue)

public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder setUnstructuredDocumentInfo(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.Builder builderForValue)

Unstructured document information.

.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo unstructured_document_info = 1;

Parameter
Name Description
builderForValue AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.Builder
Returns
Type Description
AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.Builder