Enum CloudStorageConfig.State (1.134.1)

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

Possible states for a Cloud Storage subscription.

Protobuf enum google.pubsub.v1.CloudStorageConfig.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

The subscription can actively send messages to Cloud Storage.

ACTIVE = 1;

ACTIVE_VALUE

The subscription can actively send messages to Cloud Storage.

ACTIVE = 1;

IN_TRANSIT_LOCATION_RESTRICTION

Cannot write to the destination because enforce_in_transit is set to true and the destination locations are not in the allowed regions.

IN_TRANSIT_LOCATION_RESTRICTION = 4;

IN_TRANSIT_LOCATION_RESTRICTION_VALUE

Cannot write to the destination because enforce_in_transit is set to true and the destination locations are not in the allowed regions.

IN_TRANSIT_LOCATION_RESTRICTION = 4;

NOT_FOUND

Cannot write to the Cloud Storage bucket because it does not exist.

NOT_FOUND = 3;

NOT_FOUND_VALUE

Cannot write to the Cloud Storage bucket because it does not exist.

NOT_FOUND = 3;

PERMISSION_DENIED

Cannot write to the Cloud Storage bucket because of permission denied errors.

PERMISSION_DENIED = 2;

PERMISSION_DENIED_VALUE

Cannot write to the Cloud Storage bucket because of permission denied errors.

PERMISSION_DENIED = 2;

SCHEMA_MISMATCH

Cannot write to the Cloud Storage bucket due to an incompatibility between the topic schema and subscription settings.

SCHEMA_MISMATCH = 5;

SCHEMA_MISMATCH_VALUE

Cannot write to the Cloud Storage bucket due to an incompatibility between the topic schema and subscription settings.

SCHEMA_MISMATCH = 5;

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