Enum Channel.State (1.13.0)

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

State lists all the possible states of a Channel

Protobuf enum google.cloud.eventarc.v1.Channel.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ACTIVE

The ACTIVE state indicates that a Channel has been successfully connected with the event provider. An ACTIVE Channel is ready to receive and route events from the event provider.

ACTIVE = 2;

ACTIVE_VALUE

The ACTIVE state indicates that a Channel has been successfully connected with the event provider. An ACTIVE Channel is ready to receive and route events from the event provider.

ACTIVE = 2;

INACTIVE

The INACTIVE state indicates that the Channel cannot receive events permanently. There are two possible cases this state can happen:

  1. The SaaS provider disconnected from this Channel.
  2. The Channel activation token has expired but the SaaS provider wasn't connected. To re-establish a Connection with a provider, the subscriber should create a new Channel and give it to the provider.

INACTIVE = 3;

INACTIVE_VALUE

The INACTIVE state indicates that the Channel cannot receive events permanently. There are two possible cases this state can happen:

  1. The SaaS provider disconnected from this Channel.
  2. The Channel activation token has expired but the SaaS provider wasn't connected. To re-establish a Connection with a provider, the subscriber should create a new Channel and give it to the provider.

INACTIVE = 3;

PENDING

The PENDING state indicates that a Channel has been created successfully and there is a new activation token available for the subscriber to use to convey the Channel to the provider in order to create a Connection.

PENDING = 1;

PENDING_VALUE

The PENDING state indicates that a Channel has been created successfully and there is a new activation token available for the subscriber to use to convey the Channel to the provider in order to create a Connection.

PENDING = 1;

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

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