Interface GetWidgetConfigRequestOrBuilder (0.99.0)

public interface GetWidgetConfigRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceptCache()

public abstract boolean getAcceptCache()

Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development.

bool accept_cache = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The acceptCache.

getGetWidgetConfigRequestOption()

public abstract GetWidgetConfigRequest.GetWidgetConfigRequestOption getGetWidgetConfigRequestOption()

Optional. Options for GetWidgetConfigRequest.

.google.cloud.discoveryengine.v1.GetWidgetConfigRequest.GetWidgetConfigRequestOption get_widget_config_request_option = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GetWidgetConfigRequest.GetWidgetConfigRequestOption

The getWidgetConfigRequestOption.

getGetWidgetConfigRequestOptionOrBuilder()

public abstract GetWidgetConfigRequest.GetWidgetConfigRequestOptionOrBuilder getGetWidgetConfigRequestOptionOrBuilder()

Optional. Options for GetWidgetConfigRequest.

.google.cloud.discoveryengine.v1.GetWidgetConfigRequest.GetWidgetConfigRequestOption get_widget_config_request_option = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GetWidgetConfigRequest.GetWidgetConfigRequestOptionOrBuilder

getLanguageCode()

public abstract String getLanguageCode()

Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector display_name / description on WidgetConfig.UiSettings.ModelConfigInfo. Empty / unset falls back to the default language (English).

string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector display_name / description on WidgetConfig.UiSettings.ModelConfigInfo. Empty / unset falls back to the default language (English).

string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for languageCode.

getModelInfoView()

public abstract ModelInfoView getModelInfoView()

Optional. Selects which view of WidgetConfig.UiSettings.ModelConfigInfo the backend computes. ADMIN is set by the Cloud Console admin "Feature Management" page to receive the admin-surfaced model set with ResolvedModel.admin_view populated; END_USER_MOBILE is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / END_USER_WEB returns the end-user web selector.

.google.cloud.discoveryengine.v1.ModelInfoView model_info_view = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ModelInfoView

The modelInfoView.

getModelInfoViewValue()

public abstract int getModelInfoViewValue()

Optional. Selects which view of WidgetConfig.UiSettings.ModelConfigInfo the backend computes. ADMIN is set by the Cloud Console admin "Feature Management" page to receive the admin-surfaced model set with ResolvedModel.admin_view populated; END_USER_MOBILE is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / END_USER_WEB returns the end-user web selector.

.google.cloud.discoveryengine.v1.ModelInfoView model_info_view = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for modelInfoView.

getName()

public abstract String getName()

Required. Full WidgetConfig resource name. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Full WidgetConfig resource name. Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

hasGetWidgetConfigRequestOption()

public abstract boolean hasGetWidgetConfigRequestOption()

Optional. Options for GetWidgetConfigRequest.

.google.cloud.discoveryengine.v1.GetWidgetConfigRequest.GetWidgetConfigRequestOption get_widget_config_request_option = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the getWidgetConfigRequestOption field is set.