public static final class AnswerQueryRequest.SearchSpec.Builder extends GeneratedMessageV3.Builder<AnswerQueryRequest.SearchSpec.Builder> implements AnswerQueryRequest.SearchSpecOrBuilder
Search specification.
Protobuf type google.cloud.discoveryengine.v1alpha.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.v1alpha.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
clearSearchResultList()
public AnswerQueryRequest.SearchSpec.Builder clearSearchResultList()
Search result list.
.google.cloud.discoveryengine.v1alpha.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.v1alpha.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
getSearchParamsBuilder()
public AnswerQueryRequest.SearchSpec.SearchParams.Builder getSearchParamsBuilder()
Search parameters.
.google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
getSearchParamsOrBuilder()
public AnswerQueryRequest.SearchSpec.SearchParamsOrBuilder getSearchParamsOrBuilder()
Search parameters.
.google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
getSearchResultList()
public AnswerQueryRequest.SearchSpec.SearchResultList getSearchResultList()
Search result list.
.google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
getSearchResultListBuilder()
public AnswerQueryRequest.SearchSpec.SearchResultList.Builder getSearchResultListBuilder()
Search result list.
.google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
getSearchResultListOrBuilder()
public AnswerQueryRequest.SearchSpec.SearchResultListOrBuilder getSearchResultListOrBuilder()
Search result list.
.google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
hasSearchParams()
public boolean hasSearchParams()
Search parameters.
.google.cloud.discoveryengine.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final AnswerQueryRequest.SearchSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides