public static final class SearchRequest.DisplaySpec extends GeneratedMessage implements SearchRequest.DisplaySpecOrBuilderSpecifies features for display, like match highlighting.
Protobuf type google.cloud.discoveryengine.v1.SearchRequest.DisplaySpec
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SearchRequest.DisplaySpecImplements
SearchRequest.DisplaySpecOrBuilderStatic Fields
MATCH_HIGHLIGHTING_CONDITION_FIELD_NUMBER
public static final int MATCH_HIGHLIGHTING_CONDITION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static SearchRequest.DisplaySpec getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SearchRequest.DisplaySpec.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec.Builder |
|
newBuilder(SearchRequest.DisplaySpec prototype)
public static SearchRequest.DisplaySpec.Builder newBuilder(SearchRequest.DisplaySpec prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SearchRequest.DisplaySpec |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec.Builder |
|
parseDelimitedFrom(InputStream input)
public static SearchRequest.DisplaySpec parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchRequest.DisplaySpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SearchRequest.DisplaySpec parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchRequest.DisplaySpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SearchRequest.DisplaySpec parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchRequest.DisplaySpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SearchRequest.DisplaySpec parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchRequest.DisplaySpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SearchRequest.DisplaySpec parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchRequest.DisplaySpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SearchRequest.DisplaySpec parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchRequest.DisplaySpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SearchRequest.DisplaySpec> parser()| Returns | |
|---|---|
| Type | Description |
Parser<DisplaySpec> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SearchRequest.DisplaySpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec |
|
getMatchHighlightingCondition()
public SearchRequest.DisplaySpec.MatchHighlightingCondition getMatchHighlightingCondition()The condition under which match highlighting should occur.
.google.cloud.discoveryengine.v1.SearchRequest.DisplaySpec.MatchHighlightingCondition match_highlighting_condition = 1;
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec.MatchHighlightingCondition |
The matchHighlightingCondition. |
getMatchHighlightingConditionValue()
public int getMatchHighlightingConditionValue()The condition under which match highlighting should occur.
.google.cloud.discoveryengine.v1.SearchRequest.DisplaySpec.MatchHighlightingCondition match_highlighting_condition = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for matchHighlightingCondition. |
getParserForType()
public Parser<SearchRequest.DisplaySpec> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<DisplaySpec> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SearchRequest.DisplaySpec.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SearchRequest.DisplaySpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec.Builder |
|
toBuilder()
public SearchRequest.DisplaySpec.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SearchRequest.DisplaySpec.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|