public enum Subscription.State extends Enum<Subscription.State> implements ProtocolMessageEnum
Possible states for a subscription.
Protobuf enum google.pubsub.v1.Subscription.State
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
ACTIVE | The subscription can actively receive messages |
ACTIVE_VALUE | The subscription can actively receive messages |
RESOURCE_ERROR | The subscription cannot receive messages because of an error with the resource to which it pushes messages. See the more detailed error state in the corresponding configuration. |
RESOURCE_ERROR_VALUE | The subscription cannot receive messages because of an error with the resource to which it pushes messages. See the more detailed error state in the corresponding configuration. |
STATE_UNSPECIFIED | Default value. This value is unused. |
STATE_UNSPECIFIED_VALUE | Default value. This value is unused. |
UNRECOGNIZED |
Static Methods | |
---|---|
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods | |
---|---|
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |