public static final class AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder extends GeneratedMessageV3.Builder<AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder> implements AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswerOrBuilder
Extractive answer.
Guide
Protobuf type
google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer build()
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer buildPartial()
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder clear()
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder clearContent()
Extractive answer content.
string content = 2;
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder clearPageIdentifier()
Page identifier.
string page_identifier = 1;
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder clone()
Overrides
public String getContent()
Extractive answer content.
string content = 2;
Returns |
Type |
Description |
String |
The content.
|
public ByteString getContentBytes()
Extractive answer content.
string content = 2;
Returns |
Type |
Description |
ByteString |
The bytes for content.
|
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getPageIdentifier()
Page identifier.
string page_identifier = 1;
Returns |
Type |
Description |
String |
The pageIdentifier.
|
public ByteString getPageIdentifierBytes()
Page identifier.
string page_identifier = 1;
Returns |
Type |
Description |
ByteString |
The bytes for pageIdentifier.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder mergeFrom(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer other)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder setContent(String value)
Extractive answer content.
string content = 2;
Parameter |
Name |
Description |
value |
String
The content to set.
|
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder setContentBytes(ByteString value)
Extractive answer content.
string content = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for content to set.
|
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder setPageIdentifier(String value)
Page identifier.
string page_identifier = 1;
Parameter |
Name |
Description |
value |
String
The pageIdentifier to set.
|
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder setPageIdentifierBytes(ByteString value)
Page identifier.
string page_identifier = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for pageIdentifier to set.
|
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveAnswer.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides