Enum Subscription.State (1.132.0)

public enum Subscription.State extends Enum<Subscription.State> implements ProtocolMessageEnum

Possible states for a subscription.

Protobuf enum google.pubsub.v1.Subscription.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

The subscription can actively receive messages

ACTIVE = 1;

ACTIVE_VALUE

The subscription can actively receive messages

ACTIVE = 1;

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 = 2;

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.

RESOURCE_ERROR = 2;

STATE_UNSPECIFIED

Default value. This value is unused.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Default value. This value is unused.

STATE_UNSPECIFIED = 0;

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()