Enum Topic.State (1.131.0)

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

The state of the topic.

Protobuf enum google.pubsub.v1.Topic.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

The topic does not have any persistent errors.

ACTIVE = 1;

ACTIVE_VALUE

The topic does not have any persistent errors.

ACTIVE = 1;

INGESTION_RESOURCE_ERROR

Ingestion from the data source has encountered a permanent error. See the more detailed error state in the corresponding ingestion source configuration.

INGESTION_RESOURCE_ERROR = 2;

INGESTION_RESOURCE_ERROR_VALUE

Ingestion from the data source has encountered a permanent error. See the more detailed error state in the corresponding ingestion source configuration.

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