Enum Subscription.DeliveryConfig.DeliveryRequirement (1.8.0)

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

ProtocolMessageEnum

Static Fields

NameDescription
DELIVERY_REQUIREMENT_UNSPECIFIED

Default value. This value is unused.

DELIVERY_REQUIREMENT_UNSPECIFIED = 0;

DELIVERY_REQUIREMENT_UNSPECIFIED_VALUE

Default value. This value is unused.

DELIVERY_REQUIREMENT_UNSPECIFIED = 0;

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 = 2;

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_AFTER_STORED = 2;

DELIVER_IMMEDIATELY

The server does not wait for a published message to be successfully written to storage before delivering it to subscribers.

DELIVER_IMMEDIATELY = 1;

DELIVER_IMMEDIATELY_VALUE

The server does not wait for a published message to be successfully written to storage before delivering it to subscribers.

DELIVER_IMMEDIATELY = 1;

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