# Enum IngestionDataSourceSettings.AzureEventHubs.State (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 enum IngestionDataSourceSettings.AzureEventHubs.State extends Enum<IngestionDataSourceSettings.AzureEventHubs.State> implements ProtocolMessageEnum

Possible states for managed ingestion from Event Hubs.

Protobuf enum `google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State`

## Implements

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

## Inherited Members

[Enum.\<T\>valueOf(Class\<T\>,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) [Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) [Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) [Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) [Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) [Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) [Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) [Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) [Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) [Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

| ## Static Fields ||
|---|---|
| **Name** | **Description** |
| `ACTIVE` | Ingestion is active. `ACTIVE = 1;` |
| `ACTIVE_VALUE` | Ingestion is active. `ACTIVE = 1;` |
| `EVENT_HUBS_PERMISSION_DENIED` | Permission denied encountered while consuming data from Event Hubs. This can happen when `client_id`, or `tenant_id` are invalid. Or the right permissions haven't been granted. `EVENT_HUBS_PERMISSION_DENIED = 2;` |
| `EVENT_HUBS_PERMISSION_DENIED_VALUE` | Permission denied encountered while consuming data from Event Hubs. This can happen when `client_id`, or `tenant_id` are invalid. Or the right permissions haven't been granted. `EVENT_HUBS_PERMISSION_DENIED = 2;` |
| `EVENT_HUB_NOT_FOUND` | The provided Event Hub couldn't be found. `EVENT_HUB_NOT_FOUND = 5;` |
| `EVENT_HUB_NOT_FOUND_VALUE` | The provided Event Hub couldn't be found. `EVENT_HUB_NOT_FOUND = 5;` |
| `NAMESPACE_NOT_FOUND` | The provided Event Hubs namespace couldn't be found. `NAMESPACE_NOT_FOUND = 4;` |
| `NAMESPACE_NOT_FOUND_VALUE` | The provided Event Hubs namespace couldn't be found. `NAMESPACE_NOT_FOUND = 4;` |
| `PUBLISH_PERMISSION_DENIED` | Permission denied encountered while publishing to the topic. `PUBLISH_PERMISSION_DENIED = 3;` |
| `PUBLISH_PERMISSION_DENIED_VALUE` | Permission denied encountered while publishing to the topic. `PUBLISH_PERMISSION_DENIED = 3;` |
| `RESOURCE_GROUP_NOT_FOUND` | The provided Event Hubs resource group couldn't be found. `RESOURCE_GROUP_NOT_FOUND = 7;` |
| `RESOURCE_GROUP_NOT_FOUND_VALUE` | The provided Event Hubs resource group couldn't be found. `RESOURCE_GROUP_NOT_FOUND = 7;` |
| `STATE_UNSPECIFIED` | Default value. This value is unused. `STATE_UNSPECIFIED = 0;` |
| `STATE_UNSPECIFIED_VALUE` | Default value. This value is unused. `STATE_UNSPECIFIED = 0;` |
| `SUBSCRIPTION_NOT_FOUND` | The provided Event Hubs subscription couldn't be found. `SUBSCRIPTION_NOT_FOUND = 6;` |
| `SUBSCRIPTION_NOT_FOUND_VALUE` | The provided Event Hubs subscription couldn't be found. `SUBSCRIPTION_NOT_FOUND = 6;` |
| `UNRECOGNIZED` |   |

| ## Static Methods ||
|---|---|
| **Name** | **Description** |
| `forNumber(int value)` |   |
| `getDescriptor()` |   |
| `internalGetValueMap()` |   |
| `valueOf(Descriptors.EnumValueDescriptor desc)` |   |
| `valueOf(int value)` | **Deprecated.** *Use [#forNumber(int)](https://docs.cloud.google.com/java/docs/reference/google-cloud-pubsub/latest/com.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State#com_google_pubsub_v1_IngestionDataSourceSettings_AzureEventHubs_State_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

| ## Methods ||
|---|---|
| **Name** | **Description** |
| `getDescriptorForType()` |   |
| `getNumber()` |   |
| `getValueDescriptor()` |   |