Interface WidgetConfig.DataStoreUiConfigOrBuilder (0.99.0)

public static interface WidgetConfig.DataStoreUiConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsFieldsUiComponentsMap(String key)

public abstract boolean containsFieldsUiComponentsMap(String key)

The key is the UI component. Mock. Currently supported title, thumbnail, url, custom1, custom2, custom3.

The value is the name of the field along with its device visibility.

The 3 custom fields are optional and can be added or removed. title, thumbnail, url are required UI components that cannot be removed.

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField> fields_ui_components_map = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getFacetField(int index)

public abstract WidgetConfig.FacetField getFacetField(int index)

Facet fields that store the mapping of fields to end user widget appearance.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.FacetField facet_field = 3;

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.FacetField

getFacetFieldCount()

public abstract int getFacetFieldCount()

Facet fields that store the mapping of fields to end user widget appearance.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.FacetField facet_field = 3;

Returns
Type Description
int

getFacetFieldList()

public abstract List<WidgetConfig.FacetField> getFacetFieldList()

Facet fields that store the mapping of fields to end user widget appearance.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.FacetField facet_field = 3;

Returns
Type Description
List<FacetField>

getFacetFieldOrBuilder(int index)

public abstract WidgetConfig.FacetFieldOrBuilder getFacetFieldOrBuilder(int index)

Facet fields that store the mapping of fields to end user widget appearance.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.FacetField facet_field = 3;

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.FacetFieldOrBuilder

getFacetFieldOrBuilderList()

public abstract List<? extends WidgetConfig.FacetFieldOrBuilder> getFacetFieldOrBuilderList()

Facet fields that store the mapping of fields to end user widget appearance.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.FacetField facet_field = 3;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.WidgetConfig.FacetFieldOrBuilder>

getFieldsUiComponentsMap() (deprecated)

public abstract Map<String,WidgetConfig.UIComponentField> getFieldsUiComponentsMap()
Returns
Type Description
Map<String,UIComponentField>

getFieldsUiComponentsMapCount()

public abstract int getFieldsUiComponentsMapCount()

The key is the UI component. Mock. Currently supported title, thumbnail, url, custom1, custom2, custom3.

The value is the name of the field along with its device visibility.

The 3 custom fields are optional and can be added or removed. title, thumbnail, url are required UI components that cannot be removed.

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField> fields_ui_components_map = 4;

Returns
Type Description
int

getFieldsUiComponentsMapMap()

public abstract Map<String,WidgetConfig.UIComponentField> getFieldsUiComponentsMapMap()

The key is the UI component. Mock. Currently supported title, thumbnail, url, custom1, custom2, custom3.

The value is the name of the field along with its device visibility.

The 3 custom fields are optional and can be added or removed. title, thumbnail, url are required UI components that cannot be removed.

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField> fields_ui_components_map = 4;

Returns
Type Description
Map<String,UIComponentField>

getFieldsUiComponentsMapOrDefault(String key, WidgetConfig.UIComponentField defaultValue)

public abstract WidgetConfig.UIComponentField getFieldsUiComponentsMapOrDefault(String key, WidgetConfig.UIComponentField defaultValue)

The key is the UI component. Mock. Currently supported title, thumbnail, url, custom1, custom2, custom3.

The value is the name of the field along with its device visibility.

The 3 custom fields are optional and can be added or removed. title, thumbnail, url are required UI components that cannot be removed.

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField> fields_ui_components_map = 4;

Parameters
Name Description
key String
defaultValue WidgetConfig.UIComponentField
Returns
Type Description
WidgetConfig.UIComponentField

getFieldsUiComponentsMapOrThrow(String key)

public abstract WidgetConfig.UIComponentField getFieldsUiComponentsMapOrThrow(String key)

The key is the UI component. Mock. Currently supported title, thumbnail, url, custom1, custom2, custom3.

The value is the name of the field along with its device visibility.

The 3 custom fields are optional and can be added or removed. title, thumbnail, url are required UI components that cannot be removed.

map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField> fields_ui_components_map = 4;

Parameter
Name Description
key String
Returns
Type Description
WidgetConfig.UIComponentField

getId()

public abstract String getId()

Output only. the identifier of the data store, used for widget service. For now it refers to data_store_id, in the future we will migrate the field to encrypted data store name UUID.

string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Output only. the identifier of the data store, used for widget service. For now it refers to data_store_id, in the future we will migrate the field to encrypted data store name UUID.

string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for id.

getName()

public abstract String getName()

The name of the data store. It should be data store resource name Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the data store. It should be data store resource name Format: projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}. For APIs under WidgetService, such as WidgetService.LookupWidgetConfig, the project number and location part is erased in this field.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.