public static final class SearchResponse.GuidedSearchResult extends GeneratedMessageV3 implements SearchResponse.GuidedSearchResultOrBuilder
Guided search result. The guided search helps user to refine the search
results and narrow down to the real needs from a broaded search results.
Protobuf type google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
REFINEMENT_ATTRIBUTES_FIELD_NUMBER
public static final int REFINEMENT_ATTRIBUTES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SearchResponse.GuidedSearchResult getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SearchResponse.GuidedSearchResult.Builder newBuilder()
newBuilder(SearchResponse.GuidedSearchResult prototype)
public static SearchResponse.GuidedSearchResult.Builder newBuilder(SearchResponse.GuidedSearchResult prototype)
public static SearchResponse.GuidedSearchResult parseDelimitedFrom(InputStream input)
public static SearchResponse.GuidedSearchResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SearchResponse.GuidedSearchResult parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchResponse.GuidedSearchResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SearchResponse.GuidedSearchResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchResponse.GuidedSearchResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchResponse.GuidedSearchResult parseFrom(CodedInputStream input)
public static SearchResponse.GuidedSearchResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchResponse.GuidedSearchResult parseFrom(InputStream input)
public static SearchResponse.GuidedSearchResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SearchResponse.GuidedSearchResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchResponse.GuidedSearchResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SearchResponse.GuidedSearchResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public SearchResponse.GuidedSearchResult getDefaultInstanceForType()
getParserForType()
public Parser<SearchResponse.GuidedSearchResult> getParserForType()
Overrides
getRefinementAttributes(int index)
public SearchResponse.GuidedSearchResult.RefinementAttribute getRefinementAttributes(int index)
A list of ranked refinement attributes.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;
Parameter |
---|
Name | Description |
index | int
|
getRefinementAttributesCount()
public int getRefinementAttributesCount()
A list of ranked refinement attributes.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;
Returns |
---|
Type | Description |
int | |
getRefinementAttributesList()
public List<SearchResponse.GuidedSearchResult.RefinementAttribute> getRefinementAttributesList()
A list of ranked refinement attributes.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;
getRefinementAttributesOrBuilder(int index)
public SearchResponse.GuidedSearchResult.RefinementAttributeOrBuilder getRefinementAttributesOrBuilder(int index)
A list of ranked refinement attributes.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;
Parameter |
---|
Name | Description |
index | int
|
getRefinementAttributesOrBuilderList()
public List<? extends SearchResponse.GuidedSearchResult.RefinementAttributeOrBuilder> getRefinementAttributesOrBuilderList()
A list of ranked refinement attributes.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult.RefinementAttribute refinement_attributes = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult.RefinementAttributeOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SearchResponse.GuidedSearchResult.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchResponse.GuidedSearchResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SearchResponse.GuidedSearchResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides