public static final class AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder extends GeneratedMessageV3.Builder<AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder> implements AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfoOrBuilder
Chunk information.
Protobuf type
google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo build()
buildPartial()
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo buildPartial()
clear()
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder clear()
Overrides
clearChunk()
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder clearChunk()
Chunk resource name.
string chunk = 1 [(.google.api.resource_reference) = { ... }
clearContent()
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder clearContent()
Chunk textual content.
string content = 2;
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder clearDocumentMetadata()
Metadata of the document from the current chunk.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata document_metadata = 4;
clearField(Descriptors.FieldDescriptor field)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder clone()
Overrides
getChunk()
Chunk resource name.
string chunk = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The chunk.
|
getChunkBytes()
public ByteString getChunkBytes()
Chunk resource name.
string chunk = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for chunk.
|
getContent()
public String getContent()
Chunk textual content.
string content = 2;
Returns |
Type |
Description |
String |
The content.
|
getContentBytes()
public ByteString getContentBytes()
Chunk textual content.
string content = 2;
Returns |
Type |
Description |
ByteString |
The bytes for content.
|
getDefaultInstanceForType()
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata getDocumentMetadata()
Metadata of the document from the current chunk.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata document_metadata = 4;
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata.Builder getDocumentMetadataBuilder()
Metadata of the document from the current chunk.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata document_metadata = 4;
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadataOrBuilder getDocumentMetadataOrBuilder()
Metadata of the document from the current chunk.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata document_metadata = 4;
public boolean hasDocumentMetadata()
Metadata of the document from the current chunk.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata document_metadata = 4;
Returns |
Type |
Description |
boolean |
Whether the documentMetadata field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder mergeDocumentMetadata(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata value)
Metadata of the document from the current chunk.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata document_metadata = 4;
mergeFrom(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo other)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder mergeFrom(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo other)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setChunk(String value)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder setChunk(String value)
Chunk resource name.
string chunk = 1 [(.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The chunk to set.
|
setChunkBytes(ByteString value)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder setChunkBytes(ByteString value)
Chunk resource name.
string chunk = 1 [(.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for chunk to set.
|
setContent(String value)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder setContent(String value)
Chunk textual content.
string content = 2;
Parameter |
Name |
Description |
value |
String
The content to set.
|
setContentBytes(ByteString value)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder setContentBytes(ByteString value)
Chunk textual content.
string content = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for content to set.
|
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder setDocumentMetadata(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata value)
Metadata of the document from the current chunk.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata document_metadata = 4;
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder setDocumentMetadata(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata.Builder builderForValue)
Metadata of the document from the current chunk.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.DocumentMetadata document_metadata = 4;
setField(Descriptors.FieldDescriptor field, Object value)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.ChunkInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides