public static final class AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder extends GeneratedMessageV3.Builder<AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder> implements AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegmentOrBuilder
Extractive segment.
Guide
Protobuf type
google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment
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.ExtractiveSegment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment build()
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment buildPartial()
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder clear()
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder clearContent()
Extractive segment content.
string content = 2;
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder clearPageIdentifier()
Page identifier.
string page_identifier = 1;
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder clone()
Overrides
public String getContent()
Extractive segment content.
string content = 2;
Returns |
Type |
Description |
String |
The content.
|
public ByteString getContentBytes()
Extractive segment content.
string content = 2;
Returns |
Type |
Description |
ByteString |
The bytes for content.
|
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment 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.ExtractiveSegment.Builder mergeFrom(AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment other)
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder setContent(String value)
Extractive segment content.
string content = 2;
Parameter |
Name |
Description |
value |
String
The content to set.
|
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder setContentBytes(ByteString value)
Extractive segment content.
string content = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for content to set.
|
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.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.ExtractiveSegment.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.ExtractiveSegment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AnswerQueryRequest.SearchSpec.SearchResultList.SearchResult.UnstructuredDocumentInfo.ExtractiveSegment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides