Interface DataConnector.SourceEntityOrBuilder (0.99.0)

public static interface DataConnector.SourceEntityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsKeyPropertyMappings(String key)

public abstract boolean containsKeyPropertyMappings(String key)

Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as title, and description. Supported key properties:

  • title: The title for data record. This would be displayed on search results.
  • description: The description for data record. This would be displayed on search results.

map<string, string> key_property_mappings = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDataStore()

public abstract String getDataStore()

Output only. The full resource name of the associated data store for the source entity. Format: projects/*/locations/*/collections/*/dataStores/*. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity.

string data_store = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The dataStore.

getDataStoreBytes()

public abstract ByteString getDataStoreBytes()

Output only. The full resource name of the associated data store for the source entity. Format: projects/*/locations/*/collections/*/dataStores/*. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity.

string data_store = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for dataStore.

getEntityName()

public abstract String getEntityName()

The name of the entity. Supported values by data source:

  • Salesforce: Lead, Opportunity, Contact, Account, Case, Contract, Campaign
  • Jira: Issue
  • Confluence: Content, Space

string entity_name = 1;

Returns
Type Description
String

The entityName.

getEntityNameBytes()

public abstract ByteString getEntityNameBytes()

The name of the entity. Supported values by data source:

  • Salesforce: Lead, Opportunity, Contact, Account, Case, Contract, Campaign
  • Jira: Issue
  • Confluence: Content, Space

string entity_name = 1;

Returns
Type Description
ByteString

The bytes for entityName.

getEntityParamsCase()

public abstract DataConnector.SourceEntity.EntityParamsCase getEntityParamsCase()
Returns
Type Description
DataConnector.SourceEntity.EntityParamsCase

getHealthcareFhirConfig()

public abstract HealthcareFhirConfig getHealthcareFhirConfig()

Optional. Configuration for HEALTHCARE_FHIR vertical.

.google.cloud.discoveryengine.v1.HealthcareFhirConfig healthcare_fhir_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HealthcareFhirConfig

The healthcareFhirConfig.

getHealthcareFhirConfigOrBuilder()

public abstract HealthcareFhirConfigOrBuilder getHealthcareFhirConfigOrBuilder()

Optional. Configuration for HEALTHCARE_FHIR vertical.

.google.cloud.discoveryengine.v1.HealthcareFhirConfig healthcare_fhir_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HealthcareFhirConfigOrBuilder

getJsonParams()

public abstract String getJsonParams()

The parameters for the entity to facilitate data ingestion in json string format.

string json_params = 10;

Returns
Type Description
String

The jsonParams.

getJsonParamsBytes()

public abstract ByteString getJsonParamsBytes()

The parameters for the entity to facilitate data ingestion in json string format.

string json_params = 10;

Returns
Type Description
ByteString

The bytes for jsonParams.

getKeyPropertyMappings() (deprecated)

public abstract Map<String,String> getKeyPropertyMappings()
Returns
Type Description
Map<String,String>

getKeyPropertyMappingsCount()

public abstract int getKeyPropertyMappingsCount()

Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as title, and description. Supported key properties:

  • title: The title for data record. This would be displayed on search results.
  • description: The description for data record. This would be displayed on search results.

map<string, string> key_property_mappings = 2;

Returns
Type Description
int

getKeyPropertyMappingsMap()

public abstract Map<String,String> getKeyPropertyMappingsMap()

Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as title, and description. Supported key properties:

  • title: The title for data record. This would be displayed on search results.
  • description: The description for data record. This would be displayed on search results.

map<string, string> key_property_mappings = 2;

Returns
Type Description
Map<String,String>

getKeyPropertyMappingsOrDefault(String key, String defaultValue)

public abstract String getKeyPropertyMappingsOrDefault(String key, String defaultValue)

Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as title, and description. Supported key properties:

  • title: The title for data record. This would be displayed on search results.
  • description: The description for data record. This would be displayed on search results.

map<string, string> key_property_mappings = 2;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getKeyPropertyMappingsOrThrow(String key)

public abstract String getKeyPropertyMappingsOrThrow(String key)

Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as title, and description. Supported key properties:

  • title: The title for data record. This would be displayed on search results.
  • description: The description for data record. This would be displayed on search results.

map<string, string> key_property_mappings = 2;

Parameter
Name Description
key String
Returns
Type Description
String

getParams()

public abstract Struct getParams()

The parameters for the entity to facilitate data ingestion in structured json format.

.google.protobuf.Struct params = 4;

Returns
Type Description
Struct

The params.

getParamsOrBuilder()

public abstract StructOrBuilder getParamsOrBuilder()

The parameters for the entity to facilitate data ingestion in structured json format.

.google.protobuf.Struct params = 4;

Returns
Type Description
StructOrBuilder

getStartingSchema()

public abstract Schema getStartingSchema()

Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used.

This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead.

The provided schema will be validated against certain rules on schema. Learn more from this doc.

.google.cloud.discoveryengine.v1.Schema starting_schema = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Schema

The startingSchema.

getStartingSchemaOrBuilder()

public abstract SchemaOrBuilder getStartingSchemaOrBuilder()

Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used.

This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead.

The provided schema will be validated against certain rules on schema. Learn more from this doc.

.google.cloud.discoveryengine.v1.Schema starting_schema = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SchemaOrBuilder

hasHealthcareFhirConfig()

public abstract boolean hasHealthcareFhirConfig()

Optional. Configuration for HEALTHCARE_FHIR vertical.

.google.cloud.discoveryengine.v1.HealthcareFhirConfig healthcare_fhir_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the healthcareFhirConfig field is set.

hasJsonParams()

public abstract boolean hasJsonParams()

The parameters for the entity to facilitate data ingestion in json string format.

string json_params = 10;

Returns
Type Description
boolean

Whether the jsonParams field is set.

hasParams()

public abstract boolean hasParams()

The parameters for the entity to facilitate data ingestion in structured json format.

.google.protobuf.Struct params = 4;

Returns
Type Description
boolean

Whether the params field is set.

hasStartingSchema()

public abstract boolean hasStartingSchema()

Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used.

This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead.

The provided schema will be validated against certain rules on schema. Learn more from this doc.

.google.cloud.discoveryengine.v1.Schema starting_schema = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the startingSchema field is set.