# Interface IngestionDataSourceSettingsOrBuilder (1.151.0)

1.151.0 (latest) 1.150.1 1.149.0 1.148.0 1.147.0 1.145.0 1.143.1 1.142.0 1.141.5 1.140.2 1.139.4 1.138.0 1.137.1 1.136.1 1.135.0 1.134.2 1.133.1 1.132.2 1.131.0 1.130.0 1.129.6 1.127.3 1.126.6 1.125.13 1.123.18 1.122.2 1.121.1 1.120.24 1.119.1 1.118.0 1.117.0 1.116.4 1.115.5

    public interface IngestionDataSourceSettingsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAwsKinesis()

    public abstract IngestionDataSourceSettings.AwsKinesis getAwsKinesis()

Optional. Amazon Kinesis Data Streams.

`
.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis` | The awsKinesis. |

### getAwsKinesisOrBuilder()

    public abstract IngestionDataSourceSettings.AwsKinesisOrBuilder getAwsKinesisOrBuilder()

Optional. Amazon Kinesis Data Streams.

`
.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder` |   |

### getAwsMsk()

    public abstract IngestionDataSourceSettings.AwsMsk getAwsMsk()

Optional. Amazon MSK.

`
.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk aws_msk = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk` | The awsMsk. |

### getAwsMskOrBuilder()

    public abstract IngestionDataSourceSettings.AwsMskOrBuilder getAwsMskOrBuilder()

Optional. Amazon MSK.

`
.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk aws_msk = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.IngestionDataSourceSettings.AwsMskOrBuilder` |   |

### getAzureEventHubs()

    public abstract IngestionDataSourceSettings.AzureEventHubs getAzureEventHubs()

Optional. Azure Event Hubs.

`
.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs azure_event_hubs = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs` | The azureEventHubs. |

### getAzureEventHubsOrBuilder()

    public abstract IngestionDataSourceSettings.AzureEventHubsOrBuilder getAzureEventHubsOrBuilder()

Optional. Azure Event Hubs.

`
.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs azure_event_hubs = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder` |   |

### getCloudStorage()

    public abstract IngestionDataSourceSettings.CloudStorage getCloudStorage()

Optional. Cloud Storage.

`
.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage` | The cloudStorage. |

### getCloudStorageOrBuilder()

    public abstract IngestionDataSourceSettings.CloudStorageOrBuilder getCloudStorageOrBuilder()

Optional. Cloud Storage.

`
.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageOrBuilder` |   |

### getConfluentCloud()

    public abstract IngestionDataSourceSettings.ConfluentCloud getConfluentCloud()

Optional. Confluent Cloud.

`
.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud confluent_cloud = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud` | The confluentCloud. |

### getConfluentCloudOrBuilder()

    public abstract IngestionDataSourceSettings.ConfluentCloudOrBuilder getConfluentCloudOrBuilder()

Optional. Confluent Cloud.

`
.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud confluent_cloud = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloudOrBuilder` |   |

### getPlatformLogsSettings()

    public abstract PlatformLogsSettings getPlatformLogsSettings()

Optional. Platform Logs settings. If unset, no Platform Logs will be
generated.

`
.google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.PlatformLogsSettings` | The platformLogsSettings. |

### getPlatformLogsSettingsOrBuilder()

    public abstract PlatformLogsSettingsOrBuilder getPlatformLogsSettingsOrBuilder()

Optional. Platform Logs settings. If unset, no Platform Logs will be
generated.

`
.google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getSourceCase()

    public abstract IngestionDataSourceSettings.SourceCase getSourceCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.IngestionDataSourceSettings.SourceCase` |   |

### hasAwsKinesis()

    public abstract boolean hasAwsKinesis()

Optional. Amazon Kinesis Data Streams.

`
.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasAwsMsk()

    public abstract boolean hasAwsMsk()

Optional. Amazon MSK.

`
.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk aws_msk = 5 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasAzureEventHubs()

    public abstract boolean hasAzureEventHubs()

Optional. Azure Event Hubs.

`
.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs azure_event_hubs = 3 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasCloudStorage()

    public abstract boolean hasCloudStorage()

Optional. Cloud Storage.

`
.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasConfluentCloud()

    public abstract boolean hasConfluentCloud()

Optional. Confluent Cloud.

`
.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud confluent_cloud = 6 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasPlatformLogsSettings()

    public abstract boolean hasPlatformLogsSettings()

Optional. Platform Logs settings. If unset, no Platform Logs will be
generated.

`
.google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
`

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