Interface WidgetConfig.CollectionComponentOrBuilder (0.99.0)

public static interface WidgetConfig.CollectionComponentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConnectorAuthState()

public abstract WidgetConfig.ConnectorAuthState getConnectorAuthState()

Output only. The auth uri of the connector source.

.google.cloud.discoveryengine.v1.WidgetConfig.ConnectorAuthState connector_auth_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.ConnectorAuthState

The connectorAuthState.

getConnectorAuthStateOrBuilder()

public abstract WidgetConfig.ConnectorAuthStateOrBuilder getConnectorAuthStateOrBuilder()

Output only. The auth uri of the connector source.

.google.cloud.discoveryengine.v1.WidgetConfig.ConnectorAuthState connector_auth_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WidgetConfig.ConnectorAuthStateOrBuilder
public abstract String getConnectorIconLink()

Output only. The icon link of the connector source.

string connector_icon_link = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The connectorIconLink.

getConnectorIconLinkBytes()

public abstract ByteString getConnectorIconLinkBytes()

Output only. The icon link of the connector source.

string connector_icon_link = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for connectorIconLink.

getDataSource()

public abstract String getDataSource()

The name of the data source, retrieved from Collection.data_connector.data_source.

string data_source = 5;

Returns
Type Description
String

The dataSource.

getDataSourceBytes()

public abstract ByteString getDataSourceBytes()

The name of the data source, retrieved from Collection.data_connector.data_source.

string data_source = 5;

Returns
Type Description
ByteString

The bytes for dataSource.

getDataSourceDisplayName()

public abstract String getDataSourceDisplayName()

Output only. The display name of the data source.

string data_source_display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The dataSourceDisplayName.

getDataSourceDisplayNameBytes()

public abstract ByteString getDataSourceDisplayNameBytes()

Output only. The display name of the data source.

string data_source_display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for dataSourceDisplayName.

getDataSourceEndUserDisplayName()

public abstract String getDataSourceEndUserDisplayName()

Output only. The end-user-facing display name of the data source, sourced from ConnectorSource.end_user_display_name. When unset, clients fall back to data_source_display_name.

string data_source_end_user_display_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The dataSourceEndUserDisplayName.

getDataSourceEndUserDisplayNameBytes()

public abstract ByteString getDataSourceEndUserDisplayNameBytes()

Output only. The end-user-facing display name of the data source, sourced from ConnectorSource.end_user_display_name. When unset, clients fall back to data_source_display_name.

string data_source_end_user_display_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for dataSourceEndUserDisplayName.

getDataSourceVersion()

public abstract double getDataSourceVersion()

Output only. The version of the connector definition backing this collection, mirroring DataConnector.data_source_version.

double data_source_version = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The dataSourceVersion.

getDataStoreComponents(int index)

public abstract WidgetConfig.DataStoreComponent getDataStoreComponents(int index)

For the data store collection, list of the children data stores.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreComponent data_store_components = 4;

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.DataStoreComponent

getDataStoreComponentsCount()

public abstract int getDataStoreComponentsCount()

For the data store collection, list of the children data stores.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreComponent data_store_components = 4;

Returns
Type Description
int

getDataStoreComponentsList()

public abstract List<WidgetConfig.DataStoreComponent> getDataStoreComponentsList()

For the data store collection, list of the children data stores.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreComponent data_store_components = 4;

Returns
Type Description
List<DataStoreComponent>

getDataStoreComponentsOrBuilder(int index)

public abstract WidgetConfig.DataStoreComponentOrBuilder getDataStoreComponentsOrBuilder(int index)

For the data store collection, list of the children data stores.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreComponent data_store_components = 4;

Parameter
Name Description
index int
Returns
Type Description
WidgetConfig.DataStoreComponentOrBuilder

getDataStoreComponentsOrBuilderList()

public abstract List<? extends WidgetConfig.DataStoreComponentOrBuilder> getDataStoreComponentsOrBuilderList()

For the data store collection, list of the children data stores.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.DataStoreComponent data_store_components = 4;

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

getDisplayName()

public abstract String getDisplayName()

The display name of the collection.

string display_name = 3;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The display name of the collection.

string display_name = 3;

Returns
Type Description
ByteString

The bytes for displayName.

getId()

public abstract String getId()

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

For synthetic placeholder entries (see message-level comment) this is a synthetic placeholder id, not a real collection_id.

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 collection, used for widget service. For now it refers to collection_id, in the future we will migrate the field to encrypted collection name UUID.

For synthetic placeholder entries (see message-level comment) this is a synthetic placeholder id, not a real collection_id.

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

Returns
Type Description
ByteString

The bytes for id.

getIsFirstParty()

public abstract boolean getIsFirstParty()

Output only. Whether this is a first-party (Google-owned) connector, as opposed to a third-party connector.

bool is_first_party = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The isFirstParty.

getMetadata()

public abstract DataConnector.ConnectorMetadata getMetadata()

Output only. User-facing connector metadata (title, description, short_description, author, note), retrieved from the registry ConnectorSource.metadata (joined by data source). Shown on the connector detail page.

.google.cloud.discoveryengine.v1.DataConnector.ConnectorMetadata metadata = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataConnector.ConnectorMetadata

The metadata.

getMetadataOrBuilder()

public abstract DataConnector.ConnectorMetadataOrBuilder getMetadataOrBuilder()

Output only. User-facing connector metadata (title, description, short_description, author, note), retrieved from the registry ConnectorSource.metadata (joined by data source). Shown on the connector detail page.

.google.cloud.discoveryengine.v1.DataConnector.ConnectorMetadata metadata = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataConnector.ConnectorMetadataOrBuilder

getName()

public abstract String getName()

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

For synthetic placeholder entries (see message-level comment) this carries a synthetic placeholder collection id that does not correspond to a real collection. Callers must not attempt to resolve / GET this resource until the user authorizes the connector.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

For synthetic placeholder entries (see message-level comment) this carries a synthetic placeholder collection id that does not correspond to a real collection. Callers must not attempt to resolve / GET this resource until the user authorizes the connector.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getTag()

public abstract String getTag()

Output only. The version-independent label of the connector backing this collection, mirroring DataConnector.tag. Unlike the version-pinned data store id it survives a connector version upgrade, so an upgraded connector keeps the same tag.

Not a unique key. As DataConnector.tag documents, several connectors may share a tag under the same (project, location, collection, data_source), and tag-based lookup resolves to the one with the greatest create_time. Clients must not treat this as a connector identifier.

Empty when the connector was created before the tag-write launch, and for synthetic placeholder entries, which have no underlying DataConnector. Populated only when ConnectorsFeature.enable_connector_tag is on.

string tag = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The tag.

getTagBytes()

public abstract ByteString getTagBytes()

Output only. The version-independent label of the connector backing this collection, mirroring DataConnector.tag. Unlike the version-pinned data store id it survives a connector version upgrade, so an upgraded connector keeps the same tag.

Not a unique key. As DataConnector.tag documents, several connectors may share a tag under the same (project, location, collection, data_source), and tag-based lookup resolves to the one with the greatest create_time. Clients must not treat this as a connector identifier.

Empty when the connector was created before the tag-write launch, and for synthetic placeholder entries, which have no underlying DataConnector. Populated only when ConnectorsFeature.enable_connector_tag is on.

string tag = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for tag.

hasConnectorAuthState()

public abstract boolean hasConnectorAuthState()

Output only. The auth uri of the connector source.

.google.cloud.discoveryengine.v1.WidgetConfig.ConnectorAuthState connector_auth_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the connectorAuthState field is set.

hasMetadata()

public abstract boolean hasMetadata()

Output only. User-facing connector metadata (title, description, short_description, author, note), retrieved from the registry ConnectorSource.metadata (joined by data source). Shown on the connector detail page.

.google.cloud.discoveryengine.v1.DataConnector.ConnectorMetadata metadata = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the metadata field is set.