public final class DataConnector extends GeneratedMessage implements DataConnectorOrBuilderManages the connection to external data sources for all data stores grouped under a Collection. It's a singleton resource of Collection. The initialization is only supported through DataConnectorService.SetUpDataConnector method, which will create a new Collection and initialize its DataConnector.
Protobuf type google.cloud.discoveryengine.v1.DataConnector
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DataConnectorImplements
DataConnectorOrBuilderStatic Fields
ACL_ENABLED_FIELD_NUMBER
public static final int ACL_ENABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ACTION_CONFIG_FIELD_NUMBER
public static final int ACTION_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ACTION_STATE_FIELD_NUMBER
public static final int ACTION_STATE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ALERT_POLICY_CONFIGS_FIELD_NUMBER
public static final int ALERT_POLICY_CONFIGS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
AUTO_RUN_DISABLED_FIELD_NUMBER
public static final int AUTO_RUN_DISABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
BAP_CONFIG_FIELD_NUMBER
public static final int BAP_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
BLOCKING_REASONS_FIELD_NUMBER
public static final int BLOCKING_REASONS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CLI_CONFIG_FIELD_NUMBER
public static final int CLI_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CONNECTOR_MODES_FIELD_NUMBER
public static final int CONNECTOR_MODES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CONNECTOR_SOURCE_ID_FIELD_NUMBER
public static final int CONNECTOR_SOURCE_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CONNECTOR_TYPE_FIELD_NUMBER
public static final int CONNECTOR_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CREATE_EUA_SAAS_FIELD_NUMBER
public static final int CREATE_EUA_SAAS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DATA_PROTECTION_POLICY_FIELD_NUMBER
public static final int DATA_PROTECTION_POLICY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DATA_SOURCE_FIELD_NUMBER
public static final int DATA_SOURCE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DESTINATION_CONFIGS_FIELD_NUMBER
public static final int DESTINATION_CONFIGS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DYNAMIC_TOOLS_FIELD_NUMBER
public static final int DYNAMIC_TOOLS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
EGRESS_FQDNS_FIELD_NUMBER
public static final int EGRESS_FQDNS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
END_USER_CONFIG_FIELD_NUMBER
public static final int END_USER_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ENTITIES_FIELD_NUMBER
public static final int ENTITIES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
FEDERATED_CONFIG_FIELD_NUMBER
public static final int FEDERATED_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
HYBRID_INGESTION_DISABLED_FIELD_NUMBER
public static final int HYBRID_INGESTION_DISABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
IDENTITY_SCHEDULE_CONFIG_FIELD_NUMBER
public static final int IDENTITY_SCHEDULE_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
INCREMENTAL_REFRESH_INTERVAL_FIELD_NUMBER
public static final int INCREMENTAL_REFRESH_INTERVAL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
INCREMENTAL_SYNC_DISABLED_FIELD_NUMBER
public static final int INCREMENTAL_SYNC_DISABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
JSON_PARAMS_FIELD_NUMBER
public static final int JSON_PARAMS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LAST_SYNC_TIME_FIELD_NUMBER
public static final int LAST_SYNC_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LATEST_PAUSE_TIME_FIELD_NUMBER
public static final int LATEST_PAUSE_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NEXT_SYNC_TIME_FIELD_NUMBER
public static final int NEXT_SYNC_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
OAUTH_STATIC_IP_ADDRESSES_FIELD_NUMBER
public static final int OAUTH_STATIC_IP_ADDRESSES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PRIVATE_CONNECTIVITY_PROJECT_ID_FIELD_NUMBER
public static final int PRIVATE_CONNECTIVITY_PROJECT_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
REALTIME_STATE_FIELD_NUMBER
public static final int REALTIME_STATE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
REALTIME_SYNC_CONFIG_FIELD_NUMBER
public static final int REALTIME_SYNC_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
REFRESH_INTERVAL_FIELD_NUMBER
public static final int REFRESH_INTERVAL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
REMOVE_PARAM_KEYS_FIELD_NUMBER
public static final int REMOVE_PARAM_KEYS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STATIC_IP_ADDRESSES_FIELD_NUMBER
public static final int STATIC_IP_ADDRESSES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STATIC_IP_ENABLED_FIELD_NUMBER
public static final int STATIC_IP_ENABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SYNC_MODE_FIELD_NUMBER
public static final int SYNC_MODE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TAG_FIELD_NUMBER
public static final int TAG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VPCSC_ENABLED_FIELD_NUMBER
public static final int VPCSC_ENABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static DataConnector getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static DataConnector.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
DataConnector.Builder |
|
newBuilder(DataConnector prototype)
public static DataConnector.Builder newBuilder(DataConnector prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
DataConnector |
| Returns | |
|---|---|
| Type | Description |
DataConnector.Builder |
|
parseDelimitedFrom(InputStream input)
public static DataConnector parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DataConnector parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static DataConnector parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataConnector parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static DataConnector parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataConnector parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static DataConnector parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataConnector parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static DataConnector parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DataConnector parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static DataConnector parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataConnector parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<DataConnector> parser()| Returns | |
|---|---|
| Type | Description |
Parser<DataConnector> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAclEnabled()
public boolean getAclEnabled()Optional. Whether the connector will be created with an ACL config. Currently this field only affects Cloud Storage and BigQuery connectors.
bool acl_enabled = 33 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The aclEnabled. |
getActionConfig()
public ActionConfig getActionConfig()Optional. Action configurations to make the connector support actions.
.google.cloud.discoveryengine.v1.ActionConfig action_config = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ActionConfig |
The actionConfig. |
getActionConfigOrBuilder()
public ActionConfigOrBuilder getActionConfigOrBuilder()Optional. Action configurations to make the connector support actions.
.google.cloud.discoveryengine.v1.ActionConfig action_config = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ActionConfigOrBuilder |
|
getActionState()
public DataConnector.State getActionState()Output only. State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors.
.google.cloud.discoveryengine.v1.DataConnector.State action_state = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataConnector.State |
The actionState. |
getActionStateValue()
public int getActionStateValue()Output only. State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors.
.google.cloud.discoveryengine.v1.DataConnector.State action_state = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for actionState. |
getAlertPolicyConfigs(int index)
public AlertPolicyConfig getAlertPolicyConfigs(int index)Optional. The connector level alert config.
repeated .google.cloud.discoveryengine.v1.AlertPolicyConfig alert_policy_configs = 28 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfig |
|
getAlertPolicyConfigsCount()
public int getAlertPolicyConfigsCount()Optional. The connector level alert config.
repeated .google.cloud.discoveryengine.v1.AlertPolicyConfig alert_policy_configs = 28 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAlertPolicyConfigsList()
public List<AlertPolicyConfig> getAlertPolicyConfigsList()Optional. The connector level alert config.
repeated .google.cloud.discoveryengine.v1.AlertPolicyConfig alert_policy_configs = 28 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AlertPolicyConfig> |
|
getAlertPolicyConfigsOrBuilder(int index)
public AlertPolicyConfigOrBuilder getAlertPolicyConfigsOrBuilder(int index)Optional. The connector level alert config.
repeated .google.cloud.discoveryengine.v1.AlertPolicyConfig alert_policy_configs = 28 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AlertPolicyConfigOrBuilder |
|
getAlertPolicyConfigsOrBuilderList()
public List<? extends AlertPolicyConfigOrBuilder> getAlertPolicyConfigsOrBuilderList()Optional. The connector level alert config.
repeated .google.cloud.discoveryengine.v1.AlertPolicyConfig alert_policy_configs = 28 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.discoveryengine.v1.AlertPolicyConfigOrBuilder> |
|
getAutoRunDisabled()
public boolean getAutoRunDisabled()Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs
bool auto_run_disabled = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The autoRunDisabled. |
getBapConfig()
public BAPConfig getBapConfig()Optional. The configuration for establishing a BAP connection.
.google.cloud.discoveryengine.v1.BAPConfig bap_config = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BAPConfig |
The bapConfig. |
getBapConfigOrBuilder()
public BAPConfigOrBuilder getBapConfigOrBuilder()Optional. The configuration for establishing a BAP connection.
.google.cloud.discoveryengine.v1.BAPConfig bap_config = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BAPConfigOrBuilder |
|
getBlockingReasons(int index)
public DataConnector.BlockingReason getBlockingReasons(int index)Output only. User actions that must be completed before the connector can start syncing data.
repeated .google.cloud.discoveryengine.v1.DataConnector.BlockingReason blocking_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
DataConnector.BlockingReason |
The blockingReasons at the given index. |
getBlockingReasonsCount()
public int getBlockingReasonsCount()Output only. User actions that must be completed before the connector can start syncing data.
repeated .google.cloud.discoveryengine.v1.DataConnector.BlockingReason blocking_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of blockingReasons. |
getBlockingReasonsList()
public List<DataConnector.BlockingReason> getBlockingReasonsList()Output only. User actions that must be completed before the connector can start syncing data.
repeated .google.cloud.discoveryengine.v1.DataConnector.BlockingReason blocking_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<BlockingReason> |
A list containing the blockingReasons. |
getBlockingReasonsValue(int index)
public int getBlockingReasonsValue(int index)Output only. User actions that must be completed before the connector can start syncing data.
repeated .google.cloud.discoveryengine.v1.DataConnector.BlockingReason blocking_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of blockingReasons at the given index. |
getBlockingReasonsValueList()
public List<Integer> getBlockingReasonsValueList()Output only. User actions that must be completed before the connector can start syncing data.
repeated .google.cloud.discoveryengine.v1.DataConnector.BlockingReason blocking_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for blockingReasons. |
getCliConfig()
public CliConfig getCliConfig()Optional. The configuration for establishing a CLI connection.
.google.cloud.discoveryengine.v1.CliConfig cli_config = 48 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CliConfig |
The cliConfig. |
getCliConfigOrBuilder()
public CliConfigOrBuilder getCliConfigOrBuilder()Optional. The configuration for establishing a CLI connection.
.google.cloud.discoveryengine.v1.CliConfig cli_config = 48 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CliConfigOrBuilder |
|
getConnectorModes(int index)
public DataConnector.ConnectorMode getConnectorModes(int index)Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED.
repeated .google.cloud.discoveryengine.v1.DataConnector.ConnectorMode connector_modes = 31 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
DataConnector.ConnectorMode |
The connectorModes at the given index. |
getConnectorModesCount()
public int getConnectorModesCount()Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED.
repeated .google.cloud.discoveryengine.v1.DataConnector.ConnectorMode connector_modes = 31 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of connectorModes. |
getConnectorModesList()
public List<DataConnector.ConnectorMode> getConnectorModesList()Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED.
repeated .google.cloud.discoveryengine.v1.DataConnector.ConnectorMode connector_modes = 31 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ConnectorMode> |
A list containing the connectorModes. |
getConnectorModesValue(int index)
public int getConnectorModesValue(int index)Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED.
repeated .google.cloud.discoveryengine.v1.DataConnector.ConnectorMode connector_modes = 31 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of connectorModes at the given index. |
getConnectorModesValueList()
public List<Integer> getConnectorModesValueList()Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED.
repeated .google.cloud.discoveryengine.v1.DataConnector.ConnectorMode connector_modes = 31 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for connectorModes. |
getConnectorSourceId()
public String getConnectorSourceId() Optional. If set, this value instead of data_source is used to fetch the
corresponding connector source.
string connector_source_id = 49 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The connectorSourceId. |
getConnectorSourceIdBytes()
public ByteString getConnectorSourceIdBytes() Optional. If set, this value instead of data_source is used to fetch the
corresponding connector source.
string connector_source_id = 49 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for connectorSourceId. |
getConnectorType()
public ConnectorType getConnectorType()Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.
.google.cloud.discoveryengine.v1.ConnectorType connector_type = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ConnectorType |
The connectorType. |
getConnectorTypeValue()
public int getConnectorTypeValue()Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.
.google.cloud.discoveryengine.v1.ConnectorType connector_type = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for connectorType. |
getCreateEuaSaas()
public boolean getCreateEuaSaas()Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.
bool create_eua_saas = 34 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The createEuaSaas. |
getCreateTime()
public Timestamp getCreateTime()Output only. Timestamp the DataConnector was created at.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp the DataConnector was created at.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDataConnectorParamsCase()
public DataConnector.DataConnectorParamsCase getDataConnectorParamsCase()| Returns | |
|---|---|
| Type | Description |
DataConnector.DataConnectorParamsCase |
|
getDataProtectionPolicy()
public DataProtectionPolicy getDataProtectionPolicy()Optional. Specifies the data protection policy for the connector.
.google.cloud.discoveryengine.v1.DataProtectionPolicy data_protection_policy = 44 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataProtectionPolicy |
The dataProtectionPolicy. |
getDataProtectionPolicyOrBuilder()
public DataProtectionPolicyOrBuilder getDataProtectionPolicyOrBuilder()Optional. Specifies the data protection policy for the connector.
.google.cloud.discoveryengine.v1.DataProtectionPolicy data_protection_policy = 44 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataProtectionPolicyOrBuilder |
|
getDataSource()
public String getDataSource()Required. The identifier for the data source. For the full, up-to-date list of supported connectors and their values, see Connect a third-party data source.
string data_source = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The dataSource. |
getDataSourceBytes()
public ByteString getDataSourceBytes()Required. The identifier for the data source. For the full, up-to-date list of supported connectors and their values, see Connect a third-party data source.
string data_source = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataSource. |
getDefaultInstanceForType()
public DataConnector getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataConnector |
|
getDestinationConfigs(int index)
public DestinationConfig getDestinationConfigs(int index)Optional. Any target destinations used to connect to third-party services.
repeated .google.cloud.discoveryengine.v1.DestinationConfig destination_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DestinationConfig |
|
getDestinationConfigsCount()
public int getDestinationConfigsCount()Optional. Any target destinations used to connect to third-party services.
repeated .google.cloud.discoveryengine.v1.DestinationConfig destination_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getDestinationConfigsList()
public List<DestinationConfig> getDestinationConfigsList()Optional. Any target destinations used to connect to third-party services.
repeated .google.cloud.discoveryengine.v1.DestinationConfig destination_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<DestinationConfig> |
|
getDestinationConfigsOrBuilder(int index)
public DestinationConfigOrBuilder getDestinationConfigsOrBuilder(int index)Optional. Any target destinations used to connect to third-party services.
repeated .google.cloud.discoveryengine.v1.DestinationConfig destination_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DestinationConfigOrBuilder |
|
getDestinationConfigsOrBuilderList()
public List<? extends DestinationConfigOrBuilder> getDestinationConfigsOrBuilderList()Optional. Any target destinations used to connect to third-party services.
repeated .google.cloud.discoveryengine.v1.DestinationConfig destination_configs = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.discoveryengine.v1.DestinationConfigOrBuilder> |
|
getDynamicTools(int index)
public DynamicTool getDynamicTools(int index)Output only. The dynamic tools fetched for this connector.
repeated .google.cloud.discoveryengine.v1.DynamicTool dynamic_tools = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DynamicTool |
|
getDynamicToolsCount()
public int getDynamicToolsCount()Output only. The dynamic tools fetched for this connector.
repeated .google.cloud.discoveryengine.v1.DynamicTool dynamic_tools = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getDynamicToolsList()
public List<DynamicTool> getDynamicToolsList()Output only. The dynamic tools fetched for this connector.
repeated .google.cloud.discoveryengine.v1.DynamicTool dynamic_tools = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<DynamicTool> |
|
getDynamicToolsOrBuilder(int index)
public DynamicToolOrBuilder getDynamicToolsOrBuilder(int index)Output only. The dynamic tools fetched for this connector.
repeated .google.cloud.discoveryengine.v1.DynamicTool dynamic_tools = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DynamicToolOrBuilder |
|
getDynamicToolsOrBuilderList()
public List<? extends DynamicToolOrBuilder> getDynamicToolsOrBuilderList()Output only. The dynamic tools fetched for this connector.
repeated .google.cloud.discoveryengine.v1.DynamicTool dynamic_tools = 47 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.discoveryengine.v1.DynamicToolOrBuilder> |
|
getEgressFqdns(int index)
public String getEgressFqdns(int index)Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs.
repeated string egress_fqdns = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The egressFqdns at the given index. |
getEgressFqdnsBytes(int index)
public ByteString getEgressFqdnsBytes(int index)Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs.
repeated string egress_fqdns = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the egressFqdns at the given index. |
getEgressFqdnsCount()
public int getEgressFqdnsCount()Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs.
repeated string egress_fqdns = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of egressFqdns. |
getEgressFqdnsList()
public ProtocolStringList getEgressFqdnsList()Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs.
repeated string egress_fqdns = 45 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the egressFqdns. |
getEndUserConfig()
public DataConnector.EndUserConfig getEndUserConfig()Optional. Any params and credentials used specifically for EUA connectors.
.google.cloud.discoveryengine.v1.DataConnector.EndUserConfig end_user_config = 30 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataConnector.EndUserConfig |
The endUserConfig. |
getEndUserConfigOrBuilder()
public DataConnector.EndUserConfigOrBuilder getEndUserConfigOrBuilder()Optional. Any params and credentials used specifically for EUA connectors.
.google.cloud.discoveryengine.v1.DataConnector.EndUserConfig end_user_config = 30 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataConnector.EndUserConfigOrBuilder |
|
getEntities(int index)
public DataConnector.SourceEntity getEntities(int index)List of entities from the connected data source to ingest.
repeated .google.cloud.discoveryengine.v1.DataConnector.SourceEntity entities = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataConnector.SourceEntity |
|
getEntitiesCount()
public int getEntitiesCount()List of entities from the connected data source to ingest.
repeated .google.cloud.discoveryengine.v1.DataConnector.SourceEntity entities = 6;
| Returns | |
|---|---|
| Type | Description |
int |
|
getEntitiesList()
public List<DataConnector.SourceEntity> getEntitiesList()List of entities from the connected data source to ingest.
repeated .google.cloud.discoveryengine.v1.DataConnector.SourceEntity entities = 6;
| Returns | |
|---|---|
| Type | Description |
List<SourceEntity> |
|
getEntitiesOrBuilder(int index)
public DataConnector.SourceEntityOrBuilder getEntitiesOrBuilder(int index)List of entities from the connected data source to ingest.
repeated .google.cloud.discoveryengine.v1.DataConnector.SourceEntity entities = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DataConnector.SourceEntityOrBuilder |
|
getEntitiesOrBuilderList()
public List<? extends DataConnector.SourceEntityOrBuilder> getEntitiesOrBuilderList()List of entities from the connected data source to ingest.
repeated .google.cloud.discoveryengine.v1.DataConnector.SourceEntity entities = 6;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.discoveryengine.v1.DataConnector.SourceEntityOrBuilder> |
|
getErrors(int index)
public Status getErrors(int index)Output only. The errors from initialization or from the latest connector run.
repeated .google.rpc.Status errors = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status |
|
getErrorsCount()
public int getErrorsCount()Output only. The errors from initialization or from the latest connector run.
repeated .google.rpc.Status errors = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getErrorsList()
public List<Status> getErrorsList()Output only. The errors from initialization or from the latest connector run.
repeated .google.rpc.Status errors = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<com.google.rpc.Status> |
|
getErrorsOrBuilder(int index)
public StatusOrBuilder getErrorsOrBuilder(int index)Output only. The errors from initialization or from the latest connector run.
repeated .google.rpc.Status errors = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.StatusOrBuilder |
|
getErrorsOrBuilderList()
public List<? extends StatusOrBuilder> getErrorsOrBuilderList()Output only. The errors from initialization or from the latest connector run.
repeated .google.rpc.Status errors = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.rpc.StatusOrBuilder> |
|
getFederatedConfig()
public DataConnector.FederatedConfig getFederatedConfig()Optional. Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode. This field should only be set if the connector is a hybrid connector and we want to enable FEDERATED mode.
.google.cloud.discoveryengine.v1.DataConnector.FederatedConfig federated_config = 41 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataConnector.FederatedConfig |
The federatedConfig. |
getFederatedConfigOrBuilder()
public DataConnector.FederatedConfigOrBuilder getFederatedConfigOrBuilder()Optional. Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode. This field should only be set if the connector is a hybrid connector and we want to enable FEDERATED mode.
.google.cloud.discoveryengine.v1.DataConnector.FederatedConfig federated_config = 41 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataConnector.FederatedConfigOrBuilder |
|
getHybridIngestionDisabled()
public boolean getHybridIngestionDisabled()Optional. If the connector is a hybrid connector, determines whether ingestion is enabled and appropriate resources are provisioned during connector creation. If the connector is not a hybrid connector, this field is ignored.
bool hybrid_ingestion_disabled = 40 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The hybridIngestionDisabled. |
getIdentityScheduleConfig()
public IdentityScheduleConfig getIdentityScheduleConfig()The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector.
.google.cloud.discoveryengine.v1.IdentityScheduleConfig identity_schedule_config = 23;
| Returns | |
|---|---|
| Type | Description |
IdentityScheduleConfig |
The identityScheduleConfig. |
getIdentityScheduleConfigOrBuilder()
public IdentityScheduleConfigOrBuilder getIdentityScheduleConfigOrBuilder()The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector.
.google.cloud.discoveryengine.v1.IdentityScheduleConfig identity_schedule_config = 23;
| Returns | |
|---|---|
| Type | Description |
IdentityScheduleConfigOrBuilder |
|
getIncrementalRefreshInterval()
public Duration getIncrementalRefreshInterval()Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
.google.protobuf.Duration incremental_refresh_interval = 36 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Duration |
The incrementalRefreshInterval. |
getIncrementalRefreshIntervalOrBuilder()
public DurationOrBuilder getIncrementalRefreshIntervalOrBuilder()Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
.google.protobuf.Duration incremental_refresh_interval = 36 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getIncrementalSyncDisabled()
public boolean getIncrementalSyncDisabled()Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled, i.e. set to true.
bool incremental_sync_disabled = 35 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The incrementalSyncDisabled. |
getJsonParams()
public String getJsonParams()Required data connector parameters in json string format.
string json_params = 43;
| Returns | |
|---|---|
| Type | Description |
String |
The jsonParams. |
getJsonParamsBytes()
public ByteString getJsonParamsBytes()Required data connector parameters in json string format.
string json_params = 43;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for jsonParams. |
getKmsKeyName()
public String getKmsKeyName()Input only. The KMS key to be used to protect the DataStores managed by this connector.
Must be set for requests that need to comply with CMEK Org Policy protections.
If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
string kms_key_name = 32 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The kmsKeyName. |
getKmsKeyNameBytes()
public ByteString getKmsKeyNameBytes()Input only. The KMS key to be used to protect the DataStores managed by this connector.
Must be set for requests that need to comply with CMEK Org Policy protections.
If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
string kms_key_name = 32 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kmsKeyName. |
getLastSyncTime()
public Timestamp getLastSyncTime()Output only. For periodic connectors only, the last time a data sync was completed.
.google.protobuf.Timestamp last_sync_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The lastSyncTime. |
getLastSyncTimeOrBuilder()
public TimestampOrBuilder getLastSyncTimeOrBuilder()Output only. For periodic connectors only, the last time a data sync was completed.
.google.protobuf.Timestamp last_sync_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getLatestPauseTime()
public Timestamp getLatestPauseTime()Output only. The most recent timestamp when this DataConnector was paused, affecting all functionalities such as data synchronization. Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
.google.protobuf.Timestamp latest_pause_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The latestPauseTime. |
getLatestPauseTimeOrBuilder()
public TimestampOrBuilder getLatestPauseTimeOrBuilder()Output only. The most recent timestamp when this DataConnector was paused, affecting all functionalities such as data synchronization. Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
.google.protobuf.Timestamp latest_pause_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getMetadata()
public DataConnector.ConnectorMetadata getMetadata() Optional. User-facing metadata for the connector. Populated from the
connector's generated metadata / registry ConnectorSource.
.google.cloud.discoveryengine.v1.DataConnector.ConnectorMetadata metadata = 52 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataConnector.ConnectorMetadata |
The metadata. |
getMetadataOrBuilder()
public DataConnector.ConnectorMetadataOrBuilder getMetadataOrBuilder() Optional. User-facing metadata for the connector. Populated from the
connector's generated metadata / registry ConnectorSource.
.google.cloud.discoveryengine.v1.DataConnector.ConnectorMetadata metadata = 52 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataConnector.ConnectorMetadataOrBuilder |
|
getName()
public String getName() Identifier. The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The full resource name of the Data Connector.
Format:
projects/*/locations/*/collections/*/dataConnector.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNextSyncTime()
public DateTime getNextSyncTime()Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the IANA Time Zone Database. This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity.
.google.type.DateTime next_sync_time = 22;
| Returns | |
|---|---|
| Type | Description |
com.google.type.DateTime |
The nextSyncTime. |
getNextSyncTimeOrBuilder()
public DateTimeOrBuilder getNextSyncTimeOrBuilder()Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the IANA Time Zone Database. This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity.
.google.type.DateTime next_sync_time = 22;
| Returns | |
|---|---|
| Type | Description |
com.google.type.DateTimeOrBuilder |
|
getOauthStaticIpAddresses(int index)
public String getOauthStaticIpAddresses(int index) Output only. The static IP addresses used by this connector for OAuth APIs
(e.g. end user authentication). These are surfaced separately from
static_ip_addresses so that customers can apply granular firewall
settings for OAuth endpoints. Only populated for connectors that have
static IP enabled and are used for actions and/or federated search.
repeated string oauth_static_ip_addresses = 50 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The oauthStaticIpAddresses at the given index. |
getOauthStaticIpAddressesBytes(int index)
public ByteString getOauthStaticIpAddressesBytes(int index) Output only. The static IP addresses used by this connector for OAuth APIs
(e.g. end user authentication). These are surfaced separately from
static_ip_addresses so that customers can apply granular firewall
settings for OAuth endpoints. Only populated for connectors that have
static IP enabled and are used for actions and/or federated search.
repeated string oauth_static_ip_addresses = 50 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the oauthStaticIpAddresses at the given index. |
getOauthStaticIpAddressesCount()
public int getOauthStaticIpAddressesCount() Output only. The static IP addresses used by this connector for OAuth APIs
(e.g. end user authentication). These are surfaced separately from
static_ip_addresses so that customers can apply granular firewall
settings for OAuth endpoints. Only populated for connectors that have
static IP enabled and are used for actions and/or federated search.
repeated string oauth_static_ip_addresses = 50 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of oauthStaticIpAddresses. |
getOauthStaticIpAddressesList()
public ProtocolStringList getOauthStaticIpAddressesList() Output only. The static IP addresses used by this connector for OAuth APIs
(e.g. end user authentication). These are surfaced separately from
static_ip_addresses so that customers can apply granular firewall
settings for OAuth endpoints. Only populated for connectors that have
static IP enabled and are used for actions and/or federated search.
repeated string oauth_static_ip_addresses = 50 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the oauthStaticIpAddresses. |
getParams()
public Struct getParams()Required data connector parameters in structured json format.
.google.protobuf.Struct params = 4;
| Returns | |
|---|---|
| Type | Description |
Struct |
The params. |
getParamsOrBuilder()
public StructOrBuilder getParamsOrBuilder()Required data connector parameters in structured json format.
.google.protobuf.Struct params = 4;
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getParserForType()
public Parser<DataConnector> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<DataConnector> |
|
getPrivateConnectivityProjectId()
public String getPrivateConnectivityProjectId()Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
string private_connectivity_project_id = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The privateConnectivityProjectId. |
getPrivateConnectivityProjectIdBytes()
public ByteString getPrivateConnectivityProjectIdBytes()Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
string private_connectivity_project_id = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for privateConnectivityProjectId. |
getRealtimeState()
public DataConnector.State getRealtimeState()Output only. real-time sync state
.google.cloud.discoveryengine.v1.DataConnector.State realtime_state = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataConnector.State |
The realtimeState. |
getRealtimeStateValue()
public int getRealtimeStateValue()Output only. real-time sync state
.google.cloud.discoveryengine.v1.DataConnector.State realtime_state = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for realtimeState. |
getRealtimeSyncConfig()
public DataConnector.RealtimeSyncConfig getRealtimeSyncConfig()Optional. The configuration for realtime sync.
.google.cloud.discoveryengine.v1.DataConnector.RealtimeSyncConfig realtime_sync_config = 29 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataConnector.RealtimeSyncConfig |
The realtimeSyncConfig. |
getRealtimeSyncConfigOrBuilder()
public DataConnector.RealtimeSyncConfigOrBuilder getRealtimeSyncConfigOrBuilder()Optional. The configuration for realtime sync.
.google.cloud.discoveryengine.v1.DataConnector.RealtimeSyncConfig realtime_sync_config = 29 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataConnector.RealtimeSyncConfigOrBuilder |
|
getRefreshInterval()
public Duration getRefreshInterval()Required. The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
.google.protobuf.Duration refresh_interval = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Duration |
The refreshInterval. |
getRefreshIntervalOrBuilder()
public DurationOrBuilder getRefreshIntervalOrBuilder()Required. The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
.google.protobuf.Duration refresh_interval = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getRemoveParamKeys(int index)
public String getRemoveParamKeys(int index)Optional. Specifies keys to be removed from the 'params' field. This is only active when 'params' is included in the 'update_mask' in an UpdateDataConnectorRequest. Deletion takes precedence if a key is both in 'remove_param_keys' and present in the 'params' field of the request.
repeated string remove_param_keys = 38 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The removeParamKeys at the given index. |
getRemoveParamKeysBytes(int index)
public ByteString getRemoveParamKeysBytes(int index)Optional. Specifies keys to be removed from the 'params' field. This is only active when 'params' is included in the 'update_mask' in an UpdateDataConnectorRequest. Deletion takes precedence if a key is both in 'remove_param_keys' and present in the 'params' field of the request.
repeated string remove_param_keys = 38 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the removeParamKeys at the given index. |
getRemoveParamKeysCount()
public int getRemoveParamKeysCount()Optional. Specifies keys to be removed from the 'params' field. This is only active when 'params' is included in the 'update_mask' in an UpdateDataConnectorRequest. Deletion takes precedence if a key is both in 'remove_param_keys' and present in the 'params' field of the request.
repeated string remove_param_keys = 38 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of removeParamKeys. |
getRemoveParamKeysList()
public ProtocolStringList getRemoveParamKeysList()Optional. Specifies keys to be removed from the 'params' field. This is only active when 'params' is included in the 'update_mask' in an UpdateDataConnectorRequest. Deletion takes precedence if a key is both in 'remove_param_keys' and present in the 'params' field of the request.
repeated string remove_param_keys = 38 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the removeParamKeys. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getState()
public DataConnector.State getState()Output only. State of the connector.
.google.cloud.discoveryengine.v1.DataConnector.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataConnector.State |
The state. |
getStateValue()
public int getStateValue()Output only. State of the connector.
.google.cloud.discoveryengine.v1.DataConnector.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getStaticIpAddresses(int index)
public String getStaticIpAddresses(int index)Output only. The static IP addresses used by this connector.
repeated string static_ip_addresses = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The staticIpAddresses at the given index. |
getStaticIpAddressesBytes(int index)
public ByteString getStaticIpAddressesBytes(int index)Output only. The static IP addresses used by this connector.
repeated string static_ip_addresses = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the staticIpAddresses at the given index. |
getStaticIpAddressesCount()
public int getStaticIpAddressesCount()Output only. The static IP addresses used by this connector.
repeated string static_ip_addresses = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of staticIpAddresses. |
getStaticIpAddressesList()
public ProtocolStringList getStaticIpAddressesList()Output only. The static IP addresses used by this connector.
repeated string static_ip_addresses = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the staticIpAddresses. |
getStaticIpEnabled()
public boolean getStaticIpEnabled()Optional. Whether customer has enabled static IP addresses for this connector.
bool static_ip_enabled = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The staticIpEnabled. |
getSyncMode()
public DataConnector.SyncMode getSyncMode()The data synchronization mode supported by the data connector.
.google.cloud.discoveryengine.v1.DataConnector.SyncMode sync_mode = 9;
| Returns | |
|---|---|
| Type | Description |
DataConnector.SyncMode |
The syncMode. |
getSyncModeValue()
public int getSyncModeValue()The data synchronization mode supported by the data connector.
.google.cloud.discoveryengine.v1.DataConnector.SyncMode sync_mode = 9;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for syncMode. |
getTag()
public String getTag()Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time.
Optional at Create time. If the caller omits tag, the server
auto-derives one from the collection_id (falling back to data_source,
else a time-based t-<micros> sentinel). The auto-derived tag is
subject to the same immutability guarantee as a caller-supplied one,
so callers who care about the exact tag value should provide it
explicitly rather than relying on the server default.
Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill.
string tag = 51 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The tag. |
getTagBytes()
public ByteString getTagBytes()Optional. Immutable. User-facing, version-independent label for this connector. May be shared by multiple connectors under the same (project, location, collection, data_source); tag-based lookup returns the one with the greatest create_time.
Optional at Create time. If the caller omits tag, the server
auto-derives one from the collection_id (falling back to data_source,
else a time-based t-<micros> sentinel). The auto-derived tag is
subject to the same immutability guarantee as a caller-supplied one,
so callers who care about the exact tag value should provide it
explicitly rather than relying on the server default.
Agent Designer resolves connectors via (data_source, tag) when set, falling back to the legacy resource-name lookup when unset, so connectors created before the tag-write launch continue to work without a backfill.
string tag = 51 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tag. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. Timestamp the DataConnector was last updated.
.google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp the DataConnector was last updated.
.google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getVpcscEnabled()
public boolean getVpcscEnabled()Output only. Whether the connector is created with VPC-SC enabled.
bool vpcsc_enabled = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The vpcscEnabled. |
hasActionConfig()
public boolean hasActionConfig()Optional. Action configurations to make the connector support actions.
.google.cloud.discoveryengine.v1.ActionConfig action_config = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the actionConfig field is set. |
hasBapConfig()
public boolean hasBapConfig()Optional. The configuration for establishing a BAP connection.
.google.cloud.discoveryengine.v1.BAPConfig bap_config = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the bapConfig field is set. |
hasCliConfig()
public boolean hasCliConfig()Optional. The configuration for establishing a CLI connection.
.google.cloud.discoveryengine.v1.CliConfig cli_config = 48 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cliConfig field is set. |
hasCreateTime()
public boolean hasCreateTime()Output only. Timestamp the DataConnector was created at.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasDataProtectionPolicy()
public boolean hasDataProtectionPolicy()Optional. Specifies the data protection policy for the connector.
.google.cloud.discoveryengine.v1.DataProtectionPolicy data_protection_policy = 44 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataProtectionPolicy field is set. |
hasEndUserConfig()
public boolean hasEndUserConfig()Optional. Any params and credentials used specifically for EUA connectors.
.google.cloud.discoveryengine.v1.DataConnector.EndUserConfig end_user_config = 30 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endUserConfig field is set. |
hasFederatedConfig()
public boolean hasFederatedConfig()Optional. Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode. This field should only be set if the connector is a hybrid connector and we want to enable FEDERATED mode.
.google.cloud.discoveryengine.v1.DataConnector.FederatedConfig federated_config = 41 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the federatedConfig field is set. |
hasIdentityScheduleConfig()
public boolean hasIdentityScheduleConfig()The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector.
.google.cloud.discoveryengine.v1.IdentityScheduleConfig identity_schedule_config = 23;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the identityScheduleConfig field is set. |
hasIncrementalRefreshInterval()
public boolean hasIncrementalRefreshInterval()Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
.google.protobuf.Duration incremental_refresh_interval = 36 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the incrementalRefreshInterval field is set. |
hasJsonParams()
public boolean hasJsonParams()Required data connector parameters in json string format.
string json_params = 43;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the jsonParams field is set. |
hasLastSyncTime()
public boolean hasLastSyncTime()Output only. For periodic connectors only, the last time a data sync was completed.
.google.protobuf.Timestamp last_sync_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lastSyncTime field is set. |
hasLatestPauseTime()
public boolean hasLatestPauseTime()Output only. The most recent timestamp when this DataConnector was paused, affecting all functionalities such as data synchronization. Pausing a connector has the following effects:
- All functionalities, including data synchronization, are halted.
- Any ongoing data synchronization job will be canceled.
- No future data synchronization runs will be scheduled nor can be triggered.
.google.protobuf.Timestamp latest_pause_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the latestPauseTime field is set. |
hasMetadata()
public boolean hasMetadata() Optional. User-facing metadata for the connector. Populated from the
connector's generated metadata / registry ConnectorSource.
.google.cloud.discoveryengine.v1.DataConnector.ConnectorMetadata metadata = 52 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metadata field is set. |
hasNextSyncTime()
public boolean hasNextSyncTime()Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the IANA Time Zone Database. This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity.
.google.type.DateTime next_sync_time = 22;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the nextSyncTime field is set. |
hasParams()
public boolean hasParams()Required data connector parameters in structured json format.
.google.protobuf.Struct params = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the params field is set. |
hasRealtimeSyncConfig()
public boolean hasRealtimeSyncConfig()Optional. The configuration for realtime sync.
.google.cloud.discoveryengine.v1.DataConnector.RealtimeSyncConfig realtime_sync_config = 29 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the realtimeSyncConfig field is set. |
hasRefreshInterval()
public boolean hasRefreshInterval()Required. The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
.google.protobuf.Duration refresh_interval = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the refreshInterval field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Timestamp the DataConnector was last updated.
.google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public DataConnector.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
DataConnector.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DataConnector.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
DataConnector.Builder |
|
toBuilder()
public DataConnector.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
DataConnector.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|