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
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ACTIVE |
The subscription can actively send messages to Cloud Storage. |
ACTIVE_VALUE |
The subscription can actively send messages to Cloud Storage. |
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_VALUE |
Cannot write to the destination because enforce_in_transit is set to true and the destination locations are not in the allowed regions. |
NOT_FOUND |
Cannot write to the Cloud Storage bucket because it does not exist. |
NOT_FOUND_VALUE |
Cannot write to the Cloud Storage bucket because it does not exist. |
PERMISSION_DENIED |
Cannot write to the Cloud Storage bucket because of permission denied errors. |
PERMISSION_DENIED_VALUE |
Cannot write to the Cloud Storage bucket because of permission denied errors. |
STATE_UNSPECIFIED |
Default value. This value is unused. |
STATE_UNSPECIFIED_VALUE |
Default value. This value is unused. |
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() |