# Interface DiscoverConnectionProfileRequestOrBuilder (1.92.0)

1.92.0 (latest) 1.90.0 1.87.0 1.86.0 1.84.0 1.82.0 1.81.0 1.80.0 1.79.0 1.77.0 1.75.0 1.74.0 1.73.0 1.72.0 1.71.0 1.69.0 1.67.0 1.66.0 1.63.0 1.62.0 1.61.0 1.59.0 1.58.0 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.50.0 1.48.0 1.47.0 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.23.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.2 1.1.1 1.0.0 0.4.2

    public interface DiscoverConnectionProfileRequestOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getConnectionProfile()

    public abstract ConnectionProfile getConnectionProfile()

An ad-hoc connection profile configuration.

`.google.cloud.datastream.v1.ConnectionProfile connection_profile = 200;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.ConnectionProfile` | The connectionProfile. |

### getConnectionProfileName()

    public abstract String getConnectionProfileName()

A reference to an existing connection profile.

`string connection_profile_name = 201;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The connectionProfileName. |

### getConnectionProfileNameBytes()

    public abstract ByteString getConnectionProfileNameBytes()

A reference to an existing connection profile.

`string connection_profile_name = 201;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for connectionProfileName. |

### getConnectionProfileOrBuilder()

    public abstract ConnectionProfileOrBuilder getConnectionProfileOrBuilder()

An ad-hoc connection profile configuration.

`.google.cloud.datastream.v1.ConnectionProfile connection_profile = 200;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.ConnectionProfileOrBuilder` |   |

### getDataObjectCase()

    public abstract DiscoverConnectionProfileRequest.DataObjectCase getDataObjectCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.DataObjectCase` |   |

### getFullHierarchy()

    public abstract boolean getFullHierarchy()

Whether to retrieve the full hierarchy of data objects (TRUE) or only the
current level (FALSE).

`bool full_hierarchy = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The fullHierarchy. |

### getHierarchyCase()

    public abstract DiscoverConnectionProfileRequest.HierarchyCase getHierarchyCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.HierarchyCase` |   |

### getHierarchyDepth()

    public abstract int getHierarchyDepth()

The number of hierarchy levels below the current level to be retrieved.

`int32 hierarchy_depth = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The hierarchyDepth. |

### getMongodbCluster()

    public abstract MongodbCluster getMongodbCluster()

MongoDB cluster to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.MongodbCluster mongodb_cluster = 105;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.MongodbCluster` | The mongodbCluster. |

### getMongodbClusterOrBuilder()

    public abstract MongodbClusterOrBuilder getMongodbClusterOrBuilder()

MongoDB cluster to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.MongodbCluster mongodb_cluster = 105;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.MongodbClusterOrBuilder` |   |

### getMysqlRdbms()

    public abstract MysqlRdbms getMysqlRdbms()

MySQL RDBMS to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.MysqlRdbms` | The mysqlRdbms. |

### getMysqlRdbmsOrBuilder()

    public abstract MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder()

MySQL RDBMS to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.MysqlRdbmsOrBuilder` |   |

### getOracleRdbms()

    public abstract OracleRdbms getOracleRdbms()

Oracle RDBMS to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.OracleRdbms` | The oracleRdbms. |

### getOracleRdbmsOrBuilder()

    public abstract OracleRdbmsOrBuilder getOracleRdbmsOrBuilder()

Oracle RDBMS to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.OracleRdbmsOrBuilder` |   |

### getParent()

    public abstract String getParent()

Required. The parent resource of the connection profile type. Must be in
the format `projects/*/locations/*`.

`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The parent. |

### getParentBytes()

    public abstract ByteString getParentBytes()

Required. The parent resource of the connection profile type. Must be in
the format `projects/*/locations/*`.

`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for parent. |

### getPostgresqlRdbms()

    public abstract PostgresqlRdbms getPostgresqlRdbms()

PostgreSQL RDBMS to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.PostgresqlRdbms` | The postgresqlRdbms. |

### getPostgresqlRdbmsOrBuilder()

    public abstract PostgresqlRdbmsOrBuilder getPostgresqlRdbmsOrBuilder()

PostgreSQL RDBMS to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.PostgresqlRdbmsOrBuilder` |   |

### getSalesforceOrg()

    public abstract SalesforceOrg getSalesforceOrg()

Salesforce organization to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.SalesforceOrg salesforce_org = 104;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.SalesforceOrg` | The salesforceOrg. |

### getSalesforceOrgOrBuilder()

    public abstract SalesforceOrgOrBuilder getSalesforceOrgOrBuilder()

Salesforce organization to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.SalesforceOrg salesforce_org = 104;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.SalesforceOrgOrBuilder` |   |

### getSqlServerRdbms()

    public abstract SqlServerRdbms getSqlServerRdbms()

SQLServer RDBMS to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.SqlServerRdbms sql_server_rdbms = 103;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.SqlServerRdbms` | The sqlServerRdbms. |

### getSqlServerRdbmsOrBuilder()

    public abstract SqlServerRdbmsOrBuilder getSqlServerRdbmsOrBuilder()

SQLServer RDBMS to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.SqlServerRdbms sql_server_rdbms = 103;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.SqlServerRdbmsOrBuilder` |   |

### getTargetCase()

    public abstract DiscoverConnectionProfileRequest.TargetCase getTargetCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datastream/latest/com.google.cloud.datastream.v1.DiscoverConnectionProfileRequest.TargetCase` |   |

### hasConnectionProfile()

    public abstract boolean hasConnectionProfile()

An ad-hoc connection profile configuration.

`.google.cloud.datastream.v1.ConnectionProfile connection_profile = 200;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the connectionProfile field is set. |

### hasConnectionProfileName()

    public abstract boolean hasConnectionProfileName()

A reference to an existing connection profile.

`string connection_profile_name = 201;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the connectionProfileName field is set. |

### hasFullHierarchy()

    public abstract boolean hasFullHierarchy()

Whether to retrieve the full hierarchy of data objects (TRUE) or only the
current level (FALSE).

`bool full_hierarchy = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the fullHierarchy field is set. |

### hasHierarchyDepth()

    public abstract boolean hasHierarchyDepth()

The number of hierarchy levels below the current level to be retrieved.

`int32 hierarchy_depth = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the hierarchyDepth field is set. |

### hasMongodbCluster()

    public abstract boolean hasMongodbCluster()

MongoDB cluster to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.MongodbCluster mongodb_cluster = 105;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the mongodbCluster field is set. |

### hasMysqlRdbms()

    public abstract boolean hasMysqlRdbms()

MySQL RDBMS to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the mysqlRdbms field is set. |

### hasOracleRdbms()

    public abstract boolean hasOracleRdbms()

Oracle RDBMS to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the oracleRdbms field is set. |

### hasPostgresqlRdbms()

    public abstract boolean hasPostgresqlRdbms()

PostgreSQL RDBMS to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the postgresqlRdbms field is set. |

### hasSalesforceOrg()

    public abstract boolean hasSalesforceOrg()

Salesforce organization to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.SalesforceOrg salesforce_org = 104;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the salesforceOrg field is set. |

### hasSqlServerRdbms()

    public abstract boolean hasSqlServerRdbms()

SQLServer RDBMS to enrich with child data objects and metadata.

`.google.cloud.datastream.v1.SqlServerRdbms sql_server_rdbms = 103;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the sqlServerRdbms field is set. |