[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface IngestionDataSourceSettings.AzureEventHubsOrBuilder (1.141.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.141.2 (latest)](/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.141.1](/java/docs/reference/google-cloud-pubsub/1.141.1/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.140.2](/java/docs/reference/google-cloud-pubsub/1.140.2/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.139.4](/java/docs/reference/google-cloud-pubsub/1.139.4/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.138.0](/java/docs/reference/google-cloud-pubsub/1.138.0/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.137.1](/java/docs/reference/google-cloud-pubsub/1.137.1/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.136.1](/java/docs/reference/google-cloud-pubsub/1.136.1/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.135.0](/java/docs/reference/google-cloud-pubsub/1.135.0/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.134.2](/java/docs/reference/google-cloud-pubsub/1.134.2/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.133.1](/java/docs/reference/google-cloud-pubsub/1.133.1/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.132.2](/java/docs/reference/google-cloud-pubsub/1.132.2/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.131.0](/java/docs/reference/google-cloud-pubsub/1.131.0/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.130.0](/java/docs/reference/google-cloud-pubsub/1.130.0/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.129.6](/java/docs/reference/google-cloud-pubsub/1.129.6/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.127.3](/java/docs/reference/google-cloud-pubsub/1.127.3/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.126.6](/java/docs/reference/google-cloud-pubsub/1.126.6/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.125.13](/java/docs/reference/google-cloud-pubsub/1.125.13/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.123.18](/java/docs/reference/google-cloud-pubsub/1.123.18/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.122.2](/java/docs/reference/google-cloud-pubsub/1.122.2/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.121.1](/java/docs/reference/google-cloud-pubsub/1.121.1/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.120.24](/java/docs/reference/google-cloud-pubsub/1.120.24/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.119.1](/java/docs/reference/google-cloud-pubsub/1.119.1/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.118.0](/java/docs/reference/google-cloud-pubsub/1.118.0/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.117.0](/java/docs/reference/google-cloud-pubsub/1.117.0/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.116.4](/java/docs/reference/google-cloud-pubsub/1.116.4/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder)\n- [1.115.5](/java/docs/reference/google-cloud-pubsub/1.115.5/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsOrBuilder) \n\n public static interface IngestionDataSourceSettings.AzureEventHubsOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getClientId()\n\n public abstract String getClientId()\n\nOptional. The client id of the Azure application that is being used to\nauthenticate Pub/Sub.\n\n`string client_id = 5 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getClientIdBytes()\n\n public abstract ByteString getClientIdBytes()\n\nOptional. The client id of the Azure application that is being used to\nauthenticate Pub/Sub.\n\n`string client_id = 5 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getEventHub()\n\n public abstract String getEventHub()\n\nOptional. The name of the Event Hub.\n\n`string event_hub = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getEventHubBytes()\n\n public abstract ByteString getEventHubBytes()\n\nOptional. The name of the Event Hub.\n\n`string event_hub = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getGcpServiceAccount()\n\n public abstract String getGcpServiceAccount()\n\nOptional. The GCP service account to be used for Federated Identity\nauthentication.\n\n`string gcp_service_account = 8 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getGcpServiceAccountBytes()\n\n public abstract ByteString getGcpServiceAccountBytes()\n\nOptional. The GCP service account to be used for Federated Identity\nauthentication.\n\n`string gcp_service_account = 8 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getNamespace()\n\n public abstract String getNamespace()\n\nOptional. The name of the Event Hubs namespace.\n\n`string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getNamespaceBytes()\n\n public abstract ByteString getNamespaceBytes()\n\nOptional. The name of the Event Hubs namespace.\n\n`string namespace = 3 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getResourceGroup()\n\n public abstract String getResourceGroup()\n\nOptional. Name of the resource group within the azure subscription.\n\n`string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getResourceGroupBytes()\n\n public abstract ByteString getResourceGroupBytes()\n\nOptional. Name of the resource group within the azure subscription.\n\n`string resource_group = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getState()\n\n public abstract IngestionDataSourceSettings.AzureEventHubs.State getState()\n\nOutput only. An output-only field that indicates the state of the Event\nHubs ingestion source.\n\n`\n.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getStateValue()\n\n public abstract int getStateValue()\n\nOutput only. An output-only field that indicates the state of the Event\nHubs ingestion source.\n\n`\n.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getSubscriptionId()\n\n public abstract String getSubscriptionId()\n\nOptional. The Azure subscription id.\n\n`string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getSubscriptionIdBytes()\n\n public abstract ByteString getSubscriptionIdBytes()\n\nOptional. The Azure subscription id.\n\n`string subscription_id = 7 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getTenantId()\n\n public abstract String getTenantId()\n\nOptional. The tenant id of the Azure application that is being used to\nauthenticate Pub/Sub.\n\n`string tenant_id = 6 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getTenantIdBytes()\n\n public abstract ByteString getTenantIdBytes()\n\nOptional. The tenant id of the Azure application that is being used to\nauthenticate Pub/Sub.\n\n`string tenant_id = 6 [(.google.api.field_behavior) = OPTIONAL];`"]]