Enum Subscription.State (0.4.0)

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

Possible states for the subscription.

Protobuf enum google.apps.events.subscriptions.v1.Subscription.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ACTIVE

The subscription is active and can receive and deliver events to its notification endpoint.

ACTIVE = 1;

ACTIVE_VALUE

The subscription is active and can receive and deliver events to its notification endpoint.

ACTIVE = 1;

DELETED

The subscription is deleted.

DELETED = 3;

DELETED_VALUE

The subscription is deleted.

DELETED = 3;

STATE_UNSPECIFIED

Default value. This value is unused.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Default value. This value is unused.

STATE_UNSPECIFIED = 0;

SUSPENDED

The subscription is unable to receive events due to an error. To identify the error, see the suspension_reason field.

SUSPENDED = 2;

SUSPENDED_VALUE

The subscription is unable to receive events due to an error. To identify the error, see the suspension_reason field.

SUSPENDED = 2;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()