public enum Subscription.DeliveryConfig.DeliveryRequirement extends Enum<Subscription.DeliveryConfig.DeliveryRequirement> implements ProtocolMessageEnum
When this subscription should send messages to subscribers relative to messages persistence in storage. For details, see Creating Lite subscriptions.
Protobuf enum
google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
DELIVERY_REQUIREMENT_UNSPECIFIED | Default value. This value is unused. |
DELIVERY_REQUIREMENT_UNSPECIFIED_VALUE | Default value. This value is unused. |
DELIVER_AFTER_STORED | The server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery. |
DELIVER_AFTER_STORED_VALUE | The server will not deliver a published message to subscribers until the message has been successfully written to storage. This will result in higher end-to-end latency, but consistent delivery. |
DELIVER_IMMEDIATELY | The server does not wait for a published message to be successfully written to storage before delivering it to subscribers. |
DELIVER_IMMEDIATELY_VALUE | The server does not wait for a published message to be successfully written to storage before delivering it to subscribers. |
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() |