public static final class WidgetConfig.AssistantSettings extends GeneratedMessage implements WidgetConfig.AssistantSettingsOrBuilderDescribes the assistant settings of the widget.
Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.AssistantSettings
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > WidgetConfig.AssistantSettingsImplements
WidgetConfig.AssistantSettingsOrBuilderStatic Fields
DEFAULT_WEB_GROUNDING_TOGGLE_OFF_FIELD_NUMBER
public static final int DEFAULT_WEB_GROUNDING_TOGGLE_OFF_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DISABLE_LOCATION_CONTEXT_FIELD_NUMBER
public static final int DISABLE_LOCATION_CONTEXT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
WEB_GROUNDING_TYPE_FIELD_NUMBER
public static final int WEB_GROUNDING_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static WidgetConfig.AssistantSettings getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static WidgetConfig.AssistantSettings.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings.Builder |
|
newBuilder(WidgetConfig.AssistantSettings prototype)
public static WidgetConfig.AssistantSettings.Builder newBuilder(WidgetConfig.AssistantSettings prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
WidgetConfig.AssistantSettings |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings.Builder |
|
parseDelimitedFrom(InputStream input)
public static WidgetConfig.AssistantSettings parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.AssistantSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static WidgetConfig.AssistantSettings parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.AssistantSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static WidgetConfig.AssistantSettings parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.AssistantSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static WidgetConfig.AssistantSettings parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.AssistantSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static WidgetConfig.AssistantSettings parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.AssistantSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static WidgetConfig.AssistantSettings parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.AssistantSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<WidgetConfig.AssistantSettings> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AssistantSettings> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public WidgetConfig.AssistantSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings |
|
getDefaultWebGroundingToggleOff()
public boolean getDefaultWebGroundingToggleOff() Output only. This field controls the default web grounding toggle for end
users if web_grounding_type is set to
WEB_GROUNDING_TYPE_GOOGLE_SEARCH or
WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH.
By default, this field is set to false. If web_grounding_type is
WEB_GROUNDING_TYPE_GOOGLE_SEARCH or
WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH, end users will have web
grounding enabled by default on UI. If true, grounding toggle will be
disabled by default on UI. End users can still enable web grounding in
the UI if web grounding is enabled.
bool default_web_grounding_toggle_off = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The defaultWebGroundingToggleOff. |
getDisableLocationContext()
public boolean getDisableLocationContext()Optional. Output only. Whether to disable user location context.
bool disable_location_context = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The disableLocationContext. |
getParserForType()
public Parser<WidgetConfig.AssistantSettings> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AssistantSettings> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getWebGroundingType()
public WidgetConfig.AssistantSettings.WebGroundingType getWebGroundingType()Optional. The type of web grounding to use.
.google.cloud.discoveryengine.v1.WidgetConfig.AssistantSettings.WebGroundingType web_grounding_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings.WebGroundingType |
The webGroundingType. |
getWebGroundingTypeValue()
public int getWebGroundingTypeValue()Optional. The type of web grounding to use.
.google.cloud.discoveryengine.v1.WidgetConfig.AssistantSettings.WebGroundingType web_grounding_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for webGroundingType. |
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.AssistantSettings.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected WidgetConfig.AssistantSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings.Builder |
|
toBuilder()
public WidgetConfig.AssistantSettings.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.AssistantSettings.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|