Interface DataConnectorOrBuilder (0.99.0)

public interface DataConnectorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAclEnabled()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 int

The index of the element to return.

Returns
Type Description
DataConnector.BlockingReason

The blockingReasons at the given index.

getBlockingReasonsCount()

public abstract 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 abstract 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 abstract 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 int

The 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 abstract 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 abstract 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 abstract 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 abstract 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 int

The index of the element to return.

Returns
Type Description
DataConnector.ConnectorMode

The connectorModes at the given index.

getConnectorModesCount()

public abstract 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 abstract 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 abstract 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 int

The 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract DataConnector.DataConnectorParamsCase getDataConnectorParamsCase()
Returns
Type Description
DataConnector.DataConnectorParamsCase

getDataProtectionPolicy()

public abstract 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 abstract 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 abstract 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 abstract 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.

getDestinationConfigs(int index)

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 int

The index of the element to return.

Returns
Type Description
String

The egressFqdns at the given index.

getEgressFqdnsBytes(int index)

public abstract 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the egressFqdns at the given index.

getEgressFqdnsCount()

public abstract 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 abstract List<String> 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
List<String>

A list containing the egressFqdns.

getEndUserConfig()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract String getJsonParams()

Required data connector parameters in json string format.

string json_params = 43;

Returns
Type Description
String

The jsonParams.

getJsonParamsBytes()

public abstract ByteString getJsonParamsBytes()

Required data connector parameters in json string format.

string json_params = 43;

Returns
Type Description
ByteString

The bytes for jsonParams.

getKmsKeyName()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 int

The index of the element to return.

Returns
Type Description
String

The oauthStaticIpAddresses at the given index.

getOauthStaticIpAddressesBytes(int index)

public abstract 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the oauthStaticIpAddresses at the given index.

getOauthStaticIpAddressesCount()

public abstract 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 abstract List<String> 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
List<String>

A list containing the oauthStaticIpAddresses.

getParams()

public abstract Struct getParams()

Required data connector parameters in structured json format.

.google.protobuf.Struct params = 4;

Returns
Type Description
Struct

The params.

getParamsOrBuilder()

public abstract StructOrBuilder getParamsOrBuilder()

Required data connector parameters in structured json format.

.google.protobuf.Struct params = 4;

Returns
Type Description
StructOrBuilder

getPrivateConnectivityProjectId()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 int

The index of the element to return.

Returns
Type Description
String

The removeParamKeys at the given index.

getRemoveParamKeysBytes(int index)

public abstract 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the removeParamKeys at the given index.

getRemoveParamKeysCount()

public abstract 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 abstract List<String> 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
List<String>

A list containing the removeParamKeys.

getState()

public abstract 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 abstract 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 abstract 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 int

The index of the element to return.

Returns
Type Description
String

The staticIpAddresses at the given index.

getStaticIpAddressesBytes(int index)

public abstract 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the staticIpAddresses at the given index.

getStaticIpAddressesCount()

public abstract 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 abstract List<String> 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
List<String>

A list containing the staticIpAddresses.

getStaticIpEnabled()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.