public static final class SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder extends GeneratedMessageV3.Builder<SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder> implements SearchResponse.NaturalLanguageQueryUnderstandingInfoOrBuilder
Information describing what natural language understanding was
done on the input query.
Protobuf type
google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo
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 SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchResponse.NaturalLanguageQueryUnderstandingInfo build()
buildPartial()
public SearchResponse.NaturalLanguageQueryUnderstandingInfo buildPartial()
clear()
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder clear()
Overrides
clearExtractedFilters()
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder clearExtractedFilters()
The filters that were extracted from the input query.
string extracted_filters = 1;
clearField(Descriptors.FieldDescriptor field)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRewrittenQuery()
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder clearRewrittenQuery()
Rewritten input query minus the extracted filters.
string rewritten_query = 2;
clearStructuredExtractedFilter()
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder clearStructuredExtractedFilter()
The filters that were extracted from the input query represented in a
structured form.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter structured_extracted_filter = 3;
clone()
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchResponse.NaturalLanguageQueryUnderstandingInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExtractedFilters()
public String getExtractedFilters()
The filters that were extracted from the input query.
string extracted_filters = 1;
Returns |
Type |
Description |
String |
The extractedFilters.
|
getExtractedFiltersBytes()
public ByteString getExtractedFiltersBytes()
The filters that were extracted from the input query.
string extracted_filters = 1;
Returns |
Type |
Description |
ByteString |
The bytes for extractedFilters.
|
getRewrittenQuery()
public String getRewrittenQuery()
Rewritten input query minus the extracted filters.
string rewritten_query = 2;
Returns |
Type |
Description |
String |
The rewrittenQuery.
|
getRewrittenQueryBytes()
public ByteString getRewrittenQueryBytes()
Rewritten input query minus the extracted filters.
string rewritten_query = 2;
Returns |
Type |
Description |
ByteString |
The bytes for rewrittenQuery.
|
getStructuredExtractedFilter()
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter getStructuredExtractedFilter()
The filters that were extracted from the input query represented in a
structured form.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter structured_extracted_filter = 3;
getStructuredExtractedFilterBuilder()
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Builder getStructuredExtractedFilterBuilder()
The filters that were extracted from the input query represented in a
structured form.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter structured_extracted_filter = 3;
getStructuredExtractedFilterOrBuilder()
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilterOrBuilder getStructuredExtractedFilterOrBuilder()
The filters that were extracted from the input query represented in a
structured form.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter structured_extracted_filter = 3;
hasStructuredExtractedFilter()
public boolean hasStructuredExtractedFilter()
The filters that were extracted from the input query represented in a
structured form.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter structured_extracted_filter = 3;
Returns |
Type |
Description |
boolean |
Whether the structuredExtractedFilter field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchResponse.NaturalLanguageQueryUnderstandingInfo other)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder mergeFrom(SearchResponse.NaturalLanguageQueryUnderstandingInfo other)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeStructuredExtractedFilter(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter value)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder mergeStructuredExtractedFilter(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter value)
The filters that were extracted from the input query represented in a
structured form.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter structured_extracted_filter = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setExtractedFilters(String value)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder setExtractedFilters(String value)
The filters that were extracted from the input query.
string extracted_filters = 1;
Parameter |
Name |
Description |
value |
String
The extractedFilters to set.
|
setExtractedFiltersBytes(ByteString value)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder setExtractedFiltersBytes(ByteString value)
The filters that were extracted from the input query.
string extracted_filters = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for extractedFilters to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRewrittenQuery(String value)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder setRewrittenQuery(String value)
Rewritten input query minus the extracted filters.
string rewritten_query = 2;
Parameter |
Name |
Description |
value |
String
The rewrittenQuery to set.
|
setRewrittenQueryBytes(ByteString value)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder setRewrittenQueryBytes(ByteString value)
Rewritten input query minus the extracted filters.
string rewritten_query = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for rewrittenQuery to set.
|
setStructuredExtractedFilter(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter value)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder setStructuredExtractedFilter(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter value)
The filters that were extracted from the input query represented in a
structured form.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter structured_extracted_filter = 3;
setStructuredExtractedFilter(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Builder builderForValue)
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder setStructuredExtractedFilter(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Builder builderForValue)
The filters that were extracted from the input query represented in a
structured form.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter structured_extracted_filter = 3;
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides