public static final class WidgetConfig.UiSettings.SearchAddonSpec extends GeneratedMessage implements WidgetConfig.UiSettings.SearchAddonSpecOrBuilderSearchAddonSpec is used to disable add-ons for search. By default, if this field is not specified, add-ons are enabled wherever applicable.
Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.UiSettings.SearchAddonSpec
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > WidgetConfig.UiSettings.SearchAddonSpecStatic Fields
GENERATIVE_ANSWER_ADD_ON_DISABLED_FIELD_NUMBER
public static final int GENERATIVE_ANSWER_ADD_ON_DISABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
KPI_PERSONALIZATION_ADD_ON_DISABLED_FIELD_NUMBER
public static final int KPI_PERSONALIZATION_ADD_ON_DISABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SEMANTIC_ADD_ON_DISABLED_FIELD_NUMBER
public static final int SEMANTIC_ADD_ON_DISABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static WidgetConfig.UiSettings.SearchAddonSpec getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static WidgetConfig.UiSettings.SearchAddonSpec.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec.Builder |
|
newBuilder(WidgetConfig.UiSettings.SearchAddonSpec prototype)
public static WidgetConfig.UiSettings.SearchAddonSpec.Builder newBuilder(WidgetConfig.UiSettings.SearchAddonSpec prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
WidgetConfig.UiSettings.SearchAddonSpec |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec.Builder |
|
parseDelimitedFrom(InputStream input)
public static WidgetConfig.UiSettings.SearchAddonSpec parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.UiSettings.SearchAddonSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static WidgetConfig.UiSettings.SearchAddonSpec parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.UiSettings.SearchAddonSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static WidgetConfig.UiSettings.SearchAddonSpec parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.UiSettings.SearchAddonSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static WidgetConfig.UiSettings.SearchAddonSpec parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.UiSettings.SearchAddonSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static WidgetConfig.UiSettings.SearchAddonSpec parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.UiSettings.SearchAddonSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static WidgetConfig.UiSettings.SearchAddonSpec parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.UiSettings.SearchAddonSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<WidgetConfig.UiSettings.SearchAddonSpec> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SearchAddonSpec> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public WidgetConfig.UiSettings.SearchAddonSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec |
|
getGenerativeAnswerAddOnDisabled()
public boolean getGenerativeAnswerAddOnDisabled()Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers.
bool generative_answer_add_on_disabled = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The generativeAnswerAddOnDisabled. |
getKpiPersonalizationAddOnDisabled()
public boolean getKpiPersonalizationAddOnDisabled()Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results.
bool kpi_personalization_add_on_disabled = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The kpiPersonalizationAddOnDisabled. |
getParserForType()
public Parser<WidgetConfig.UiSettings.SearchAddonSpec> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SearchAddonSpec> |
|
getSemanticAddOnDisabled()
public boolean getSemanticAddOnDisabled()Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream.
bool semantic_add_on_disabled = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The semanticAddOnDisabled. |
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 WidgetConfig.UiSettings.SearchAddonSpec.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected WidgetConfig.UiSettings.SearchAddonSpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec.Builder |
|
toBuilder()
public WidgetConfig.UiSettings.SearchAddonSpec.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.UiSettings.SearchAddonSpec.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|