public static final class AnswerQueryRequest.SearchSpec extends GeneratedMessageV3 implements AnswerQueryRequest.SearchSpecOrBuilder
Search specification.
Protobuf type google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
SEARCH_PARAMS_FIELD_NUMBER
public static final int SEARCH_PARAMS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SEARCH_RESULT_LIST_FIELD_NUMBER
public static final int SEARCH_RESULT_LIST_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AnswerQueryRequest.SearchSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AnswerQueryRequest.SearchSpec.Builder newBuilder()
newBuilder(AnswerQueryRequest.SearchSpec prototype)
public static AnswerQueryRequest.SearchSpec.Builder newBuilder(AnswerQueryRequest.SearchSpec prototype)
public static AnswerQueryRequest.SearchSpec parseDelimitedFrom(InputStream input)
public static AnswerQueryRequest.SearchSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AnswerQueryRequest.SearchSpec parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnswerQueryRequest.SearchSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AnswerQueryRequest.SearchSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnswerQueryRequest.SearchSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnswerQueryRequest.SearchSpec parseFrom(CodedInputStream input)
public static AnswerQueryRequest.SearchSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AnswerQueryRequest.SearchSpec parseFrom(InputStream input)
public static AnswerQueryRequest.SearchSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AnswerQueryRequest.SearchSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnswerQueryRequest.SearchSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AnswerQueryRequest.SearchSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public AnswerQueryRequest.SearchSpec getDefaultInstanceForType()
public AnswerQueryRequest.SearchSpec.InputCase getInputCase()
getParserForType()
public Parser<AnswerQueryRequest.SearchSpec> getParserForType()
Overrides
getSearchParams()
public AnswerQueryRequest.SearchSpec.SearchParams getSearchParams()
Search parameters.
.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
getSearchParamsOrBuilder()
public AnswerQueryRequest.SearchSpec.SearchParamsOrBuilder getSearchParamsOrBuilder()
Search parameters.
.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchParams search_params = 1;
getSearchResultList()
public AnswerQueryRequest.SearchSpec.SearchResultList getSearchResultList()
Search result list.
.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
getSearchResultListOrBuilder()
public AnswerQueryRequest.SearchSpec.SearchResultListOrBuilder getSearchResultListOrBuilder()
Search result list.
.google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasSearchParams()
public boolean hasSearchParams()
Search parameters.
.google.cloud.discoveryengine.v1beta.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.v1beta.AnswerQueryRequest.SearchSpec.SearchResultList search_result_list = 2;
Returns |
Type |
Description |
boolean |
Whether the searchResultList field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AnswerQueryRequest.SearchSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnswerQueryRequest.SearchSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AnswerQueryRequest.SearchSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides