Send feedback
Class AnswerQueryRequest.SearchSpec.Builder (0.41.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.41.0 keyboard_arrow_down
public static final class AnswerQueryRequest . SearchSpec . Builder extends GeneratedMessageV3 . Builder<AnswerQueryRequest . SearchSpec . Builder > implements AnswerQueryRequest . SearchSpecOrBuilder
Search specification.
Protobuf type google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec
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 . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public AnswerQueryRequest . SearchSpec build ()
buildPartial()
public AnswerQueryRequest . SearchSpec buildPartial ()
clear()
public AnswerQueryRequest . SearchSpec . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AnswerQueryRequest . SearchSpec . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public AnswerQueryRequest . SearchSpec . Builder clearInput ()
clearOneof(Descriptors.OneofDescriptor oneof)
public AnswerQueryRequest . SearchSpec . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSearchParams()
public AnswerQueryRequest . SearchSpec . Builder clearSearchParams ()
Search parameters.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
clearSearchResultList()
public AnswerQueryRequest . SearchSpec . Builder clearSearchResultList ()
Search result list.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
clone()
public AnswerQueryRequest . SearchSpec . Builder clone ()
Overrides
getDefaultInstanceForType()
public AnswerQueryRequest . SearchSpec getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public AnswerQueryRequest . SearchSpec . InputCase getInputCase ()
getSearchParams()
public AnswerQueryRequest . SearchSpec . SearchParams getSearchParams ()
Search parameters.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
getSearchParamsBuilder()
public AnswerQueryRequest . SearchSpec . SearchParams . Builder getSearchParamsBuilder ()
Search parameters.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
getSearchParamsOrBuilder()
public AnswerQueryRequest . SearchSpec . SearchParamsOrBuilder getSearchParamsOrBuilder ()
Search parameters.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
getSearchResultList()
public AnswerQueryRequest . SearchSpec . SearchResultList getSearchResultList ()
Search result list.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
getSearchResultListBuilder()
public AnswerQueryRequest . SearchSpec . SearchResultList . Builder getSearchResultListBuilder ()
Search result list.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
getSearchResultListOrBuilder()
public AnswerQueryRequest . SearchSpec . SearchResultListOrBuilder getSearchResultListOrBuilder ()
Search result list.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
hasSearchParams()
public boolean hasSearchParams ()
Search parameters.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
Returns
Type
Description
boolean
Whether the searchParams field is set.
hasSearchResultList()
public boolean hasSearchResultList ()
Search result list.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
Returns
Type
Description
boolean
Whether the searchResultList field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(AnswerQueryRequest.SearchSpec other)
public AnswerQueryRequest . SearchSpec . Builder mergeFrom ( AnswerQueryRequest . SearchSpec other )
public AnswerQueryRequest . SearchSpec . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public AnswerQueryRequest . SearchSpec . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeSearchParams(AnswerQueryRequest.SearchSpec.SearchParams value)
public AnswerQueryRequest . SearchSpec . Builder mergeSearchParams ( AnswerQueryRequest . SearchSpec . SearchParams value )
Search parameters.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
mergeSearchResultList(AnswerQueryRequest.SearchSpec.SearchResultList value)
public AnswerQueryRequest . SearchSpec . Builder mergeSearchResultList ( AnswerQueryRequest . SearchSpec . SearchResultList value )
Search result list.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnswerQueryRequest . SearchSpec . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AnswerQueryRequest . SearchSpec . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnswerQueryRequest . SearchSpec . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSearchParams(AnswerQueryRequest.SearchSpec.SearchParams value)
public AnswerQueryRequest . SearchSpec . Builder setSearchParams ( AnswerQueryRequest . SearchSpec . SearchParams value )
Search parameters.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
setSearchParams(AnswerQueryRequest.SearchSpec.SearchParams.Builder builderForValue)
public AnswerQueryRequest . SearchSpec . Builder setSearchParams ( AnswerQueryRequest . SearchSpec . SearchParams . Builder builderForValue )
Search parameters.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
setSearchResultList(AnswerQueryRequest.SearchSpec.SearchResultList value)
public AnswerQueryRequest . SearchSpec . Builder setSearchResultList ( AnswerQueryRequest . SearchSpec . SearchResultList value )
Search result list.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
setSearchResultList(AnswerQueryRequest.SearchSpec.SearchResultList.Builder builderForValue)
public AnswerQueryRequest . SearchSpec . Builder setSearchResultList ( AnswerQueryRequest . SearchSpec . SearchResultList . Builder builderForValue )
Search result list.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final AnswerQueryRequest . SearchSpec . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]