public static final class DataConnector.SourceEntity extends GeneratedMessage implements DataConnector.SourceEntityOrBuilder
Represents an entity in the data source. For example, the Account object
in Salesforce.
Protobuf type google.cloud.discoveryengine.v1.DataConnector.SourceEntity
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
DATA_STORE_FIELD_NUMBER
public static final int DATA_STORE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENTITY_NAME_FIELD_NUMBER
public static final int ENTITY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
HEALTHCARE_FHIR_CONFIG_FIELD_NUMBER
public static final int HEALTHCARE_FHIR_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
JSON_PARAMS_FIELD_NUMBER
public static final int JSON_PARAMS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
KEY_PROPERTY_MAPPINGS_FIELD_NUMBER
public static final int KEY_PROPERTY_MAPPINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STARTING_SCHEMA_FIELD_NUMBER
public static final int STARTING_SCHEMA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DataConnector.SourceEntity getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataConnector.SourceEntity.Builder newBuilder()
newBuilder(DataConnector.SourceEntity prototype)
public static DataConnector.SourceEntity.Builder newBuilder(DataConnector.SourceEntity prototype)
public static DataConnector.SourceEntity parseDelimitedFrom(InputStream input)
public static DataConnector.SourceEntity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataConnector.SourceEntity parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataConnector.SourceEntity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataConnector.SourceEntity parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataConnector.SourceEntity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataConnector.SourceEntity parseFrom(CodedInputStream input)
public static DataConnector.SourceEntity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataConnector.SourceEntity parseFrom(InputStream input)
public static DataConnector.SourceEntity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataConnector.SourceEntity parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataConnector.SourceEntity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataConnector.SourceEntity> parser()
Methods
containsKeyPropertyMappings(String key)
public 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
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDataStore()
public 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 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.
|
getDefaultInstanceForType()
public DataConnector.SourceEntity getDefaultInstanceForType()
getEntityName()
public 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 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 DataConnector.SourceEntity.EntityParamsCase getEntityParamsCase()
getHealthcareFhirConfig()
public HealthcareFhirConfig getHealthcareFhirConfig()
Optional. Configuration for HEALTHCARE_FHIR vertical.
.google.cloud.discoveryengine.v1.HealthcareFhirConfig healthcare_fhir_config = 7 [(.google.api.field_behavior) = OPTIONAL];
getHealthcareFhirConfigOrBuilder()
public HealthcareFhirConfigOrBuilder getHealthcareFhirConfigOrBuilder()
Optional. Configuration for HEALTHCARE_FHIR vertical.
.google.cloud.discoveryengine.v1.HealthcareFhirConfig healthcare_fhir_config = 7 [(.google.api.field_behavior) = OPTIONAL];
getJsonParams()
public 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 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 Map<String,String> getKeyPropertyMappings()
getKeyPropertyMappingsCount()
public 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 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;
getKeyPropertyMappingsOrDefault(String key, String defaultValue)
public 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;
| Returns |
| Type |
Description |
String |
|
getKeyPropertyMappingsOrThrow(String key)
public 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 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 StructOrBuilder getParamsOrBuilder()
The parameters for the entity to facilitate data ingestion in
structured json format.
.google.protobuf.Struct params = 4;
getParserForType()
public Parser<DataConnector.SourceEntity> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStartingSchema()
public 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 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];
hasHealthcareFhirConfig()
public 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 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 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 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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataConnector.SourceEntity.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DataConnector.SourceEntity.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DataConnector.SourceEntity.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides